Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 446968 - net-misc/netkit-telnetd-0.17-r10 - Use native gcc instead of CC (cross compile issue)
Summary: net-misc/netkit-telnetd-0.17-r10 - Use native gcc instead of CC (cross compil...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: No maintainer - Look at if you want to take care of it
Keywords: PATCH
Depends on:
Reported: 2012-12-12 10:18 UTC by Bertrand Jacquin
Modified: 2013-10-13 14:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

net-misc:netkit-telnetd-0.17-r10:20121212-100136.log (net-misc:netkit-telnetd-0.17-r10:20121212-100136.log,4.20 KB, text/plain)
2012-12-12 10:19 UTC, Bertrand Jacquin
netkit-telnetd-0.17-r10-use-tc-export-CC-CXX.diff (netkit-telnetd-0.17-r10-use-tc-export-CC-CXX.diff,503 bytes, patch)
2012-12-12 10:21 UTC, Bertrand Jacquin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bertrand Jacquin 2012-12-12 10:18:12 UTC
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:
 *, 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
Comment 1 Bertrand Jacquin 2012-12-12 10:19:43 UTC
Created attachment 332110 [details]
Comment 2 Bertrand Jacquin 2012-12-12 10:21:01 UTC
Created attachment 332112 [details, diff]

patch on ebuild netkit-telnetd-0.17-r10
Comment 3 Pacho Ramos gentoo-dev 2013-10-13 14:11:33 UTC
+  13 Oct 2013; Pacho Ramos <> netkit-telnetd-0.17-r10.ebuild:
+  Fix cross compile issue (#446968)