im guessing its from the late 70's or early 80's
as far as i can remember some kid, on a small planet, builds a space ship and or catches a ride on one that passes by. eventually they run into some space pirates and the kid gets stranded or some such. long story short... the kid is saved by...