nacl-toolchain-newlib-0_p8989 can't find all-tree.def tail of build.log gcc -c -O2 -g -Dinhibit_libc -D__gthr_posix_h -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/mnt/junk/portage-tmpdir/portage/dev-lang/nacl-toolchain-newlib-0_p8989/work/SRC/gcc/gcc -I/mnt/junk/portage-tmpdir/portage/dev-lang/nacl-toolchain-newlib-0_p8989/work/SRC/gcc/gcc/build -I/mnt/junk/portage-tmpdir/portage/dev-lang/nacl-toolchain-newlib-0_p8989/work/SRC/gcc/gcc/../include -I/mnt/junk/portage-tmpdir/portage/dev-lang/nacl-toolchain-newlib-0_p8989/work/SRC/gcc/gcc/../libcpp/include -Iyes/include -Iyes/include -I/mnt/junk/portage-tmpdir/portage/dev-lang/nacl-toolchain-newlib-0_p8989/work/SRC/gcc/gcc/../libdecnumber -I/mnt/junk/portage-tmpdir/portage/dev-lang/nacl-toolchain-newlib-0_p8989/work/SRC/gcc/gcc/../libdecnumber/dpd -I../libdecnumber -o build/genmodes.o /mnt/junk/portage-tmpdir/portage/dev-lang/nacl-toolchain-newlib-0_p8989/work/SRC/gcc/gcc/genmodes.c /mnt/junk/portage-tmpdir/portage/dev-lang/nacl-toolchain-newlib-0_p8989/work/SRC/gcc/gcc/gencheck.c:30:24: fatal error: all-tree.def: No such file or directory compilation terminated. full build log attached emerge --info attached make.conf # See /usr/share/portage/config/make.conf.example for a detailed example. CHOST="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -ggdb" CXXFLAGS="${CFLAGS}" ACCEPT_KEYWORDS="~amd64" # 2 cores * 2 (for hyperthreading) + 1 MAKEOPTS="--jobs --load-average=5" EMERGE_DEFAULT_OPTS="--ask --deep --tree --verbose --jobs --load-average=5" USE="$USE bash-completion scanner" USE="$USE -ppp" ACCEPT_LICENSE="skype-4.0.0.7-copyright AdobeFlash-10.1 Broadcom googleearth" LINGUAS="en" DOC_SYMLINK_DIR="/usr/share/doc/docsFromPortage" PORTAGE_ELOG_CLASSES="info log warn error" PORTAGE_ELOG_SYSTEM="save echo" INPUT_DEVICES="keyboard mouse evdev" VIDEO_CARDS="vesa nouveau" FEATURES=" buildsyspkg" source /var/lib/layman/make.conf
Created attachment 316005 [details] emerge --info
build.log is very big. Here is the end gcc -c -O2 -g -Dinhibit_libc -D__gthr_posix_h -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/mnt/junk/portage-tmpdir/portage/dev-lang/nacl-toolchain-newlib-0_p8989/work/SRC/gcc/gcc -I/mnt/junk/portage-tmpdir/portage/dev-lang/nacl-toolchain-newlib-0_p8989/work/SRC/gcc/gcc/build -I/mnt/junk/portage-tmpdir/portage/dev-lang/nacl-toolchain-newlib-0_p8989/work/SRC/gcc/gcc/../include -I/mnt/junk/portage-tmpdir/portage/dev-lang/nacl-toolchain-newlib-0_p8989/work/SRC/gcc/gcc/../libcpp/include -Iyes/include -Iyes/include -I/mnt/junk/portage-tmpdir/portage/dev-lang/nacl-toolchain-newlib-0_p8989/work/SRC/gcc/gcc/../libdecnumber -I/mnt/junk/portage-tmpdir/portage/dev-lang/nacl-toolchain-newlib-0_p8989/work/SRC/gcc/gcc/../libdecnumber/dpd -I../libdecnumber -o build/gencheck.o /mnt/junk/portage-tmpdir/portage/dev-lang/nacl-toolchain-newlib-0_p8989/work/SRC/gcc/gcc/gencheck.c gcc -c -O2 -g -Dinhibit_libc -D__gthr_posix_h -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/mnt/junk/portage-tmpdir/portage/dev-lang/nacl-toolchain-newlib-0_p8989/work/SRC/gcc/gcc -I/mnt/junk/portage-tmpdir/portage/dev-lang/nacl-toolchain-newlib-0_p8989/work/SRC/gcc/gcc/build -I/mnt/junk/portage-tmpdir/portage/dev-lang/nacl-toolchain-newlib-0_p8989/work/SRC/gcc/gcc/../include -I/mnt/junk/portage-tmpdir/portage/dev-lang/nacl-toolchain-newlib-0_p8989/work/SRC/gcc/gcc/../libcpp/include -Iyes/include -Iyes/include -I/mnt/junk/portage-tmpdir/portage/dev-lang/nacl-toolchain-newlib-0_p8989/work/SRC/gcc/gcc/../libdecnumber -I/mnt/junk/portage-tmpdir/portage/dev-lang/nacl-toolchain-newlib-0_p8989/work/SRC/gcc/gcc/../libdecnumber/dpd -I../libdecnumber -o build/genmodes.o /mnt/junk/portage-tmpdir/portage/dev-lang/nacl-toolchain-newlib-0_p8989/work/SRC/gcc/gcc/genmodes.c /mnt/junk/portage-tmpdir/portage/dev-lang/nacl-toolchain-newlib-0_p8989/work/SRC/gcc/gcc/gencheck.c:30:24: fatal error: all-tree.def: No such file or directory compilation terminated. make[4]: *** [build/gencheck.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/mnt/junk/portage-tmpdir/portage/dev-lang/nacl-toolchain-newlib-0_p8989/work/BUILD/build-gcc-x86_64-nacl/gcc' make[3]: *** [all-gcc] Error 2 make[3]: Leaving directory `/mnt/junk/portage-tmpdir/portage/dev-lang/nacl-toolchain-newlib-0_p8989/work/BUILD/build-gcc-x86_64-nacl' make[2]: *** [all] Error 2 make[2]: Leaving directory `/mnt/junk/portage-tmpdir/portage/dev-lang/nacl-toolchain-newlib-0_p8989/work/BUILD/build-gcc-x86_64-nacl' make[1]: *** [BUILD/stamp-x86_64-nacl-gcc] Error 2 make[1]: Leaving directory `/mnt/junk/portage-tmpdir/portage/dev-lang/nacl-toolchain-newlib-0_p8989/work' make: *** [build-with-newlib] Error 2 * ERROR: dev-lang/nacl-toolchain-newlib-0_p8989 failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-lang/nacl-toolchain-newlib-0_p8989'`, * the complete build log and the output of `emerge -pqv '=dev-lang/nacl-toolchain-newlib-0_p8989'`. * The complete build log is located at '/mnt/junk/portage-tmpdir/portage/dev-lang/nacl-toolchain-newlib-0_p8989/temp/build.log'. * The ebuild environment file is located at '/mnt/junk/portage-tmpdir/portage/dev-lang/nacl-toolchain-newlib-0_p8989/temp/environment'. * Working directory: '/mnt/junk/portage-tmpdir/portage/dev-lang/nacl-toolchain-newlib-0_p8989/work' * S: '/mnt/junk/portage-tmpdir/portage/dev-lang/nacl-toolchain-newlib-0_p8989/work'
Please attach the entire build log to this bug report. Compress the file if need be.
Created attachment 316285 [details] compressed build.log.gz
Could you give it another try with MAKEOPTS="-j1"?
(In reply to comment #5) > Could you give it another try with MAKEOPTS="-j1"? That "fixed" it. Merges successfully.
Does the issue still occur with nacl-toolchain-newlib-0_p9093? It's easy to force -j1, but maybe upstream has fixed the root cause.
(In reply to comment #7) > Does the issue still occur with nacl-toolchain-newlib-0_p9093? It's easy to > force -j1, but maybe upstream has fixed the root cause. Feel free to re-open after answering this.
The new version builds fine without -j1. thanks.