Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 423033 - 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
Summary: dev-lang/nacl-toolchain-newlib-0_p8989 - work/SRC/gcc/gcc/gencheck.c:30:24: f...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-23 01:35 UTC by Allan Gottlieb
Modified: 2012-09-04 17:45 UTC (History)
0 users

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


Attachments
emerge --info (emerge-info,14.33 KB, text/plain)
2012-06-23 01:37 UTC, Allan Gottlieb
Details
compressed build.log.gz (build.log.gz,177.01 KB, application/x-gzip)
2012-06-26 07:38 UTC, Allan Gottlieb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Allan Gottlieb 2012-06-23 01:35:14 UTC
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
Comment 1 Allan Gottlieb 2012-06-23 01:37:05 UTC
Created attachment 316005 [details]
emerge --info
Comment 2 Allan Gottlieb 2012-06-23 01:43:00 UTC
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'
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-06-25 18:20:45 UTC
Please attach the entire build log to this bug report. Compress the file if need be.
Comment 4 Allan Gottlieb 2012-06-26 07:38:20 UTC
Created attachment 316285 [details]
compressed build.log.gz
Comment 5 Mike Gilbert gentoo-dev 2012-06-27 02:38:51 UTC
Could you give it another try with MAKEOPTS="-j1"?
Comment 6 Allan Gottlieb 2012-06-27 06:51:47 UTC
(In reply to comment #5)
> Could you give it another try with MAKEOPTS="-j1"?

That "fixed" it.  Merges successfully.
Comment 7 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2012-08-01 07:53:24 UTC
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.
Comment 8 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2012-09-04 08:37:06 UTC
(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.
Comment 9 Allan Gottlieb 2012-09-04 17:45:41 UTC
The new version builds fine without -j1.
thanks.