This package uses just 'gcc' when compiling so it uses the wrong compiler when cross compiling. It gets built for the build-architecture not for the host-architecture: >>> Compiling source in /var/tmp/portage/mail-client/mailx-8.1.2.20050715-r1/work/mailx-8.1.2-0.20050715cvs.orig/ ... sed: no input files gcc -D_BSD_SOURCE -DDEBIAN -g -Wall -IEXT -O2 -pipe -fomit-frame-pointer -march=pentium -c version.c -o version.o version.c:1: error: CPU you selected does not support x86-64 instruction set version.c:1: error: CPU you selected does not support x86-64 instruction set make: *** [version.o] Error 1 It should use 'i586-pc-linux-gnu-gcc' in this case. I just added the line sed -i -e "s|gcc|${CHOST}-&|" Makefile to src_compile for fixing this, but it seems like a dirty hack to me. Anyway, I think this ebuild needs to be fixed in some way. Reproducible: Always
Fixed in -r3. Thank you for reporting.