Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 435908 - www-client/chromium-21.0.1180.89 compile failed: nacl_bootstrap_raw Error 252
Summary: www-client/chromium-21.0.1180.89 compile failed: nacl_bootstrap_raw Error 252
Status: RESOLVED DUPLICATE of bug 394683
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-22 18:23 UTC by Marc
Modified: 2012-09-24 11:14 UTC (History)
0 users

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


Attachments
chromium-21.0.1180.89-build.log (file_435908.txt,16.98 KB, text/plain)
2012-09-22 18:28 UTC, Marc
Details
build.log (build.log.7z,74.25 KB, text/plain)
2012-09-23 11:13 UTC, Marc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marc 2012-09-22 18:23:57 UTC
Compilation of www-client/chromium-21.0.1180.89 failed with the error msg:
[...]
ld_bfd.py: exec /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld.bfd -m elf_x86_64 --build-id -static --script=nacl_bootstrap.x -o /var/tmp/portage/www-client/chromium-21.0.1180.89/work/chromium-21.0.1180.89/out/Release/nacl_bootstrap_raw -z max-page-size=0x1000 --whole-archive /var/tmp/portage/www-client/chromium-21.0.1180.89/work/chromium-21.0.1180.89/out/Release/obj/gen/nacl_bootstrap/libnacl_bootstrap_lib.a --no-whole-archive /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/libgcc.a
make: *** [out/Release/nacl_bootstrap_raw] Error 252
make: *** Waiting for unfinished jobs....
[...]



Reproducible: Always

Steps to Reproduce:
1. emerge chromium
2. can't reproduce it on the other system




Portage 2.1.11.9 (default/linux/amd64/10.0, gcc-4.5.4, glibc-2.15-r2, 3.4.9-gentoo x86_64)
=================================================================
System uname: Linux-3.4.9-gentoo-x86_64-AMD_Phenom-tm-_II_X6_1100T_Processor-with-gentoo-2.1
Timestamp of tree: Sat, 22 Sep 2012 16:35:01 +0000
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.1.5, 3.2.3
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.4.5, 4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=3"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac alsa amd64 bzip2 cairo cli consolekit cracklib crypt cups cxx dbus dri drm dvd faac fam ffmpeg flac iconv icu jpeg kde lame mmx mmxext modules mp3 mpeg mudflap multilib ncurses nptl ogg opengl openmp oss pam pcre phonon png policykit pppd python qt3support qt4 readline session sse sse2 ssl svg tcpd theora truetype udev unicode vaapi vorbis x264 xcb xcomposite xinerama xv xvid zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="hp215" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fglrx" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Marc 2012-09-22 18:28:44 UTC
Created attachment 324648 [details]
chromium-21.0.1180.89-build.log

tail -n200 /var/tmp/portage/www-client/chromium-21.0.1180.89/temp/build.log
Comment 2 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2012-09-23 08:04:53 UTC
Are you possibly hitting bug #394683 ?

Please look at the debugging hints in that bug and apply them on your system, then post the results.

Are you using any chroots, moving binaries between different systems, or anything non-obvious that might be relevant here?

Also, please attach the full build log for reference (compress it).
Comment 3 Marc 2012-09-23 11:12:37 UTC
(In reply to comment #2)
> Are you possibly hitting bug #394683 ?
> 
> Please look at the debugging hints in that bug and apply them on your
> system, then post the results.
> 
> Are you using any chroots, moving binaries between different systems, or
> anything non-obvious that might be relevant here?
> 
> Also, please attach the full build log for reference (compress it).

/var/tmp/portage is a tmpfs but diskspace seems not to be problem which I already increased from 2 to 8Gb just to make sure. 

I'm trying with MAKEOPTS="-j1" first as stated in another report (which takes ages) and if this doesnt work I'll apply the debug options.
Comment 4 Marc 2012-09-23 11:13:39 UTC
Created attachment 324688 [details]
build.log
Comment 5 Marc 2012-09-23 15:45:53 UTC
I found the problem during rebuilding glibc and it was related to #394683. I copied the files /etc/portage from a different system and had a glibc and binutils config I didnt consider until now.

env/sys-devel/binutils 
CFLAGS="-march=atom -O2 -pipe"
CXXFLAGS="${CFLAGS}"

Sorry for your time and effort.
Comment 6 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2012-09-24 11:14:23 UTC

*** This bug has been marked as a duplicate of bug 394683 ***