Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 644078 - sys-devel/gcc-7.2.0 - xg++: error: .../work/gcc-7.2.0/gcc/go/go-lang.c: No such file or directory
Summary: sys-devel/gcc-7.2.0 - xg++: error: .../work/gcc-7.2.0/gcc/go/go-lang.c: No su...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-09 23:23 UTC by Bertrand Jacquin
Modified: 2020-02-02 00:06 UTC (History)
1 user (show)

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


Attachments
build.log.xz (build.log.xz,81.95 KB, application/x-xz)
2018-01-09 23:24 UTC, Bertrand Jacquin
Details
gcc-build-logs.tar.bz2 (gcc-build-logs.tar.bz2,267.19 KB, application/x-bzip)
2018-01-09 23:25 UTC, Bertrand Jacquin
Details
emerge --info (info.log,16.49 KB, text/x-log)
2018-01-09 23:25 UTC, Bertrand Jacquin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bertrand Jacquin 2018-01-09 23:23:27 UTC
Hi,

sys-devel/gcc-7.2.0 fail to be build with the following error:

# emerge -va1t sys-devel/gcc

These are the packages that would be merged, in order:

[ebuild  NS    ] sys-devel/gcc-7.2.0:7.2.0::gentoo [6.4.0:6.4.0::gentoo] USE="cxx fortran go graphite hardened (multilib) nptl objc objc++ objc-gc openmp (pie) (ssp) vtv (-altivec) (-awt) -cilk -debug -doc (-fixed-point) (-gcj) (-jit) (-libssp) -mpx -nls (-pch) -pgo -regression-test (-sanitize) -vanilla" 0 KiB

...

/var/tmp/portage/sys-devel/gcc-7.2.0/work/build/./prev-gcc/xg++ -B/var/tmp/portage/sys-devel/gcc-7.2.0/work/build/./prev-gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -nostdinc++ -B/var/tmp/portage/sys-devel/gcc-7.2.0/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -B/var/tmp/portage/sys-devel/gcc-7.2.0/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs  -isystem /var/tmp/portage/sys-devel/gcc-7.2.0/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu  -isystem /var/tmp/portage/sys-devel/gcc-7.2.0/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/include  -isystem /var/tmp/portage/sys-devel/gcc-7.2.0/work/gcc-7.2.0/libstdc++-v3/libsupc++ -L/var/tmp/portage/sys-devel/gcc-7.2.0/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -L/var/tmp/portage/sys-devel/gcc-7.2.0/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -fno-PIE -c -fno-PIE -DEXTRA_OPTIONS    -DDEFAULT_TARGET_VERSION=\"7.2.0\" -DDEFAULT_TARGET_MACHINE=\"x86_64-pc-linux-gnu\" -DIN_GCC_FRONTEND -m64 -march=native -O2 -pipe -gtoggle -DIN_GCC     -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -Igo -I/var/tmp/portage/sys-devel/gcc-7.2.0/work/gcc-7.2.0/gcc -I/var/tmp/portage/sys-devel/gcc-7.2.0/work/gcc-7.2.0/gcc/go -I/var/tmp/portage/sys-devel/gcc-7.2.0/work/gcc-7.2.0/gcc/../include -I/var/tmp/portage/sys-devel/gcc-7.2.0/work/gcc-7.2.0/gcc/../libcpp/include  -I/var/tmp/portage/sys-devel/gcc-7.2.0/work/gcc-7.2.0/gcc/../libdecnumber -I/var/tmp/portage/sys-devel/gcc-7.2.0/work/gcc-7.2.0/gcc/../libdecnumber/bid -I../libdecnumber -I/var/tmp/portage/sys-devel/gcc-7.2.0/work/gcc-7.2.0/gcc/../libbacktrace   -o go/go-lang.o -MT go/go-lang.o -MMD -MP -MF go/.deps/go-lang.TPo /var/tmp/portage/sys-devel/gcc-7.2.0/work/gcc-7.2.0/gcc/go/go-lang.c
xg++: error: /var/tmp/portage/sys-devel/gcc-7.2.0/work/gcc-7.2.0/gcc/go/go-lang.c: No such file or directory
xg++: fatal error: no input files
compilation terminated.
make[3]: *** [Makefile:1101: go/go-lang.o] Error 1
make[3]: Leaving directory '/var/tmp/portage/sys-devel/gcc-7.2.0/work/build/gcc'
make[2]: *** [Makefile:4582: all-stage2-gcc] Error 2
make[2]: Leaving directory '/var/tmp/portage/sys-devel/gcc-7.2.0/work/build'
make[1]: *** [Makefile:23326: stage2-bubble] Error 2
make[1]: Leaving directory '/var/tmp/portage/sys-devel/gcc-7.2.0/work/build'
make: *** [Makefile:23541: bootstrap-lean] Error 2
 * ERROR: sys-devel/gcc-7.2.0::gentoo failed (compile phase):
 *   emake failed

Full log attached as long as emerge --info

Reproducible: Always
Comment 1 Bertrand Jacquin 2018-01-09 23:24:50 UTC
Created attachment 514040 [details]
build.log.xz
Comment 2 Bertrand Jacquin 2018-01-09 23:25:08 UTC
Created attachment 514042 [details]
gcc-build-logs.tar.bz2
Comment 3 Bertrand Jacquin 2018-01-09 23:25:22 UTC
Created attachment 514044 [details]
emerge --info
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2019-11-24 23:11:58 UTC
Does it still happen for you? Is it deterministically reproducible?
Comment 5 Bertrand Jacquin 2019-11-25 20:51:56 UTC
(In reply to Sergei Trofimovich from comment #4)
> Does it still happen for you? Is it deterministically reproducible?

I am afraid sys-devel/gcc-7.2.0 is no longer in portage now, but yes it was deterministically reproducible
Comment 6 Sergei Trofimovich (RETIRED) gentoo-dev 2020-02-02 00:06:18 UTC
Let's declare it obsolete then. Please file a new bug if it happens on newer version.