Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 671742 - app-arch/star-1.5.3-r1 fails with distcc compiler-shadow
Summary: app-arch/star-1.5.3-r1 fails with distcc compiler-shadow
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-23 09:29 UTC by Tamas Jantvik
Modified: 2019-04-09 14:11 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tamas Jantvik 2018-11-23 09:29:47 UTC
app-arch/star-1.5.3-r1 fails with compiler-shadow because it finds "cc" (removing the shadow makes it build).
I.e. if I have run "/usr/bin/eselect compiler-shadow update distcc", and then try to emerge I get:

 * Package:    app-arch/star-1.5.3-r1
 * Repository: gentoo
 * Maintainer: shell-tools@gentoo.org
 * USE:        abi_x86_64 acl amd64 elibc_glibc kernel_linux userland_GNU xattr
 * FEATURES:   distcc distcc-pump preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking star-1.5.3.tar.bz2 to /tmp/portage/app-arch/star-1.5.3-r1/work
>>> Source unpacked in /tmp/portage/app-arch/star-1.5.3-r1/work
>>> Preparing source in /tmp/portage/app-arch/star-1.5.3-r1/work/star-1.5.3 ...
>>> Source prepared.
>>> Configuring source in /tmp/portage/app-arch/star-1.5.3-r1/work/star-1.5.3 ...
>>> Source configured.
>>> Compiling source in /tmp/portage/app-arch/star-1.5.3-r1/work/star-1.5.3 ...
make -j4 GMAKE_NOWARN=true CC=x86_64-pc-linux-gnu-gcc 'COPTX=-march=native -mtune=native -pipe -O2 -fomit-frame-pointer -Wno-error -Wno-error -Wno-error -Wno-error -Wno-error' CPPOPTX= COPTGPROF= COPTOPT= 'LDOPTX=-Wl,-O1 -Wl,--as-needed'
        ==> MAKING DIRECTORY "incs/amd64-linux-cc/Inull"
sh conf/cc-config.sh cc cc incs/Dcc.amd64-linux
        ==> MAKING SYMLINKS in ./RULES/
Trying to find cc
        ==> CONFIGURING RULES "incs/amd64-linux-cc/rules.cnf"
Found cc
creating cache ./config.cache
Creating empty 'incs/Dcc.amd64-linux', using cc as default compiler
checking host system type... Invalid configuration `unknownCPU-unknownMFR-unknownOS': machine `unknownCPU-unknownMFR' not recognized

checking if sh is bash... yes
checking if /bin/sh is bash... yes
checking whether sh -ce is broken... no
checking whether /bin/sh -ce is broken... no
checking whether /bin/bosh is a working shell... no
checking whether /opt/schily/bin/bosh is a working shell... no
checking for cc... cc
checking for gcc... (cached) cc
checking whether the C compiler (cc -march=native -mtune=native -pipe -O2 -fomit-frame-pointer -Wno-error -Wno-error -Wno-error -Wno-error -Wno-error ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
RULES/rules.top:47: RULES/ldummy.lnk: No such file or directory
make: *** [RULES/rules.cnf:59: incs/amd64-linux-cc/rules.cnf] Error 1
make: *** Waiting for unfinished jobs....
ln: failed to create symbolic link 'ppc64-linux-cc.rul': File exists
ln: failed to create symbolic link 'ppc64-linux-gcc.rul': File exists
ln: failed to create symbolic link 's390x-linux-cc.rul': File exists
ln: failed to create symbolic link 's390x-linux-gcc.rul': File exists
        ==> MAKING SYMLINKS in ./TEMPLATES/
 * ERROR: app-arch/star-1.5.3-r1::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-arch/star-1.5.3-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-arch/star-1.5.3-r1::gentoo'`.
 * The complete build log is located at '/var/log/portage/app-arch:star-1.5.3-r1:20181123-091248.log.gz'.
 * The ebuild environment file is located at '/tmp/portage/app-arch/star-1.5.3-r1/temp/environment'.
 * Working directory: '/tmp/portage/app-arch/star-1.5.3-r1/work/star-1.5.3'
 * S: '/tmp/portage/app-arch/star-1.5.3-r1/work/star-1.5.3'
Comment 1 schily 2019-02-26 17:57:35 UTC
Do you have a compiler binary that is called "x86_64-pc-linux-gnu-gcc"?

If not, I recommend you to read README.compile for an instruction on how to use the makefile system.

In general, it is not recommended to use "gmake" since there are bug that are not fixed 20 years after they have been reported.

Full support is available for smake and for the schily enhanced version of SunPro Make. The latter supports parallel builds and has been verified for POSIX compliance.
Comment 2 Tamas Jantvik 2019-02-27 07:02:09 UTC
I understand you are the author of star, and I'm sure your comment makes sense in the context of manually building star. That however is not my goal.

My report concerns emerge (Gentoo's package manager) failing to build the software under some circumstances.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-04-09 14:11:32 UTC
Package removed.