When trying to build =net-misc/netkit-telnetd-0.17-r10 with crossdev for i586-pc-linux-gnu, if fail with the following error : >>> Compiling source in /var/tmp/i586-pc-linux-gnu/portage/net-misc/netkit-telnetd-0.17-r10/work/netkit-telnet-0.17 ... Directories: /usr/bin /usr/sbin /usr/man Looking for a C compiler... gcc Checking if gcc accepts gcc warnings... yes Looking for a C++ compiler... g++ Checking if g++ accepts gcc warnings... yes Checking if gcc accepts -O2... yes Checking if g++ accepts -O2... yes Checking if g++ accepts -fno-rtti... yes Checking if g++ accepts -fno-exceptions... yes Checking for BSD signal semantics... no This package needs BSD signal semantics to run. sed: can't read MCONFIG: No such file or directory * ERROR: net-misc/netkit-telnetd-0.17-r10 failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_compile Full build log is attached. The main thing is that ./configure fail check on 'Checking for BSD signal semantics' and no MCONFIG is created. This check fail as CC=gcc is used and determined by ./configure itself, it should use CC from portage. Here is a fix that is linked to incomplete #132867 Reproducible: Always
Created attachment 332110 [details] net-misc:netkit-telnetd-0.17-r10:20121212-100136.log
Created attachment 332112 [details, diff] netkit-telnetd-0.17-r10-use-tc-export-CC-CXX.diff patch on ebuild netkit-telnetd-0.17-r10
+ 13 Oct 2013; Pacho Ramos <pacho@gentoo.org> netkit-telnetd-0.17-r10.ebuild: + Fix cross compile issue (#446968) +