After: Compiling lib/talloctort.c make: *** No rule to make ctarget '@EXTRA_SUBIN_PROGS@', needed by 'all'. Stop. Then the emerge dies
Please, post couple more lines of the output, samba version and emerge --info.