Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 593016

Summary: dev-java/icedtea-3.1.0 fails to build with CC set to x86_64-pc-linux-gnu-gcc-<version>
Product: Gentoo Linux Reporter: Maciej Piechotka <uzytkownik2>
Component: Current packagesAssignee: Andrew John Hughes <gnu_andrew>
Status: RESOLVED OBSOLETE    
Severity: minor CC: chewi, java, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: config.log
dev-java:icedtea-3.1.0:20160921-205921.log

Description Maciej Piechotka 2016-09-06 22:39:12 UTC
hecking for jtreg... no
checking for x86_64-pc-linux-gnu-gcc-5.4.0... /usr/bin/x86_64-pc-linux-gnu-gcc-5.4.0
configure: Resolving CC (as /usr/bin/x86_64-pc-linux-gnu-gcc-5.4.0) failed, using /usr/bin/x86_64-pc-linux-gnu-gcc-5.4.0 directly.
checking resolved symbolic links for CC... /usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0/x86_64-pc-linux-gnu-gcc
configure: The C compiler (located as /usr/bin/x86_64-pc-linux-gnu-gcc-5.4.0) does not seem to be the recommended GCC compiler.
configure: The result from running with --version was: "x86_64-pc-linux-gnu-gcc-5.4.0 (Gentoo 5.4.0 p1.0, pie-0.6.5) 5.4.0"
configure: The C compiler (located as /usr/bin/x86_64-pc-linux-gnu-gcc-5.4.0) does not seem to be the Clang compiler either.
configure: The result from running with --version was: "x86_64-pc-linux-gnu-gcc-5.4.0 (Gentoo 5.4.0 p1.0, pie-0.6.5) 5.4.0"
configure: error: GCC or Clang compiler is required. Try setting --with-tools-dir.
configure exiting with result code 1
make: *** [Makefile:2472: stamps/icedtea-boot-configure.stamp] Error 1

I was recommended to set CC to x86_64-pc-linux-gnu-gcc-<version> by one of Gentoo devs to avoid distcc mismatch (the problem is triggered by CC variable, not distcc).
Comment 1 Mike Gilbert gentoo-dev 2016-09-17 13:42:06 UTC
Please attache the full build log, as well as config.log if that exists.
Comment 2 Maciej Piechotka 2016-09-21 21:01:32 UTC
Created attachment 447252 [details]
config.log
Comment 3 Maciej Piechotka 2016-09-21 21:04:02 UTC
Created attachment 447254 [details]
dev-java:icedtea-3.1.0:20160921-205921.log

Those are for distcc but the essential problem is the same (--version returns "x86_64-pc-linux-gnu-gcc-5.4.0 (Gentoo 5.4.0 p1.0, pie-0.6.5) 5.4.0" instead of "gcc (Gentoo 5.4.0 p1.0, pie-0.6.5) 5.4.0").
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-03-29 14:37:17 UTC
Package removed.