Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 478460 - www-client/chromium-28.0.1500.89 fails to build with dev-lang/nacl-toolchain-newlib-0_p11846
Summary: www-client/chromium-28.0.1500.89 fails to build with dev-lang/nacl-toolchain-...
Status: RESOLVED FIXED
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: 2013-07-28 12:17 UTC by Johannes Hirte
Modified: 2013-07-30 04:43 UTC (History)
0 users

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


Attachments
Full build.log (build.log.bz2,304.67 KB, application/x-bzip)
2013-07-28 12:18 UTC, Johannes Hirte
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Hirte 2013-07-28 12:17:06 UTC
dev-lang/nacl-toolchain-newlib-0_p11846 doesn't have nacl_imc_api.h which is needed by chromium:

  LD_LIBRARY_PATH=/var/tmp/portage/www-client/chromium-28.0.1500.89/work/chromium-28.0.1500.89/out/Release/lib.host:/var/tmp/portage/www-client/chromium-28.0.1500.89/work/chromium-28.0.1500.89
/out/Release/lib.target:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd ipc; mkdir -p /var/tmp/portage/www-client/chromium-28.0.1500.89/work/chromium-28.0.1500.89/out/Release/obj/gen/tc_newlib/li
b32; python ../native_client/build/build_nexe.py -t "/var/tmp/portage/www-client/chromium-28.0.1500.89/work/chromium-28.0.1500.89/out/Release/obj/gen/sdk/toolchain/" --arch x86-32 --build newl
ib_nlib --root .. --name "/var/tmp/portage/www-client/chromium-28.0.1500.89/work/chromium-28.0.1500.89/out/Release/obj/gen/tc_newlib/lib32/libipc_untrusted.a" --objdir "/var/tmp/portage/www-cl
ient/chromium-28.0.1500.89/work/chromium-28.0.1500.89/out/Release/obj.target/ipc_untrusted/geni/newlib-x86-32/ipc_untrusted" "--include-dirs=/var/tmp/portage/www-client/chromium-28.0.1500.89/w
ork/chromium-28.0.1500.89/out/Release/obj/gen/tc_newlib/include .. ../ppapi .." "--lib-dirs=" "--compile_flags=-m32 -mtls-use-call -fomit-frame-pointer -fasynchronous-unwind-tables  -O2 -g -Wa
ll -fdiagnostics-show-option \"\" " "--defines=__linux__ \"__STDC_LIMIT_MACROS=1\" \"__STDC_FORMAT_MACROS=1\" \"_GNU_SOURCE=1\" \"_BSD_SOURCE=1\" \"_POSIX_C_SOURCE=199506\" \"_XOPEN_SOURCE=600
\" \"DYNAMIC_ANNOTATIONS_ENABLED=1\" \"DYNAMIC_ANNOTATIONS_PREFIX=NACL_\" \"NACL_BUILD_ARCH=x86\" \"_FILE_OFFSET_BITS=64\" USE_LINUX_BREAKPAD NO_TCMALLOC CHROMIUM_BUILD \"USE_DEFAULT_RENDER_TH
EME=1\" \"USE_LIBJPEG_TURBO=1\" \"USE_NSS=1\" \"USE_X11=1\" ENABLE_ONE_CLICK_SIGNIN \"GTK_DISABLE_SINGLE_INCLUDES=1\" \"ENABLE_REMOTING=1\" \"ENABLE_WEBRTC=1\" USE_PROPRIETARY_CODECS ENABLE_CO
NFIGURATION_POLICY ENABLE_INPUT_SPEECH ENABLE_NOTIFICATIONS \"ENABLE_GPU=1\" \"ENABLE_EGLIMAGE=1\" \"ENABLE_TASK_MANAGER=1\" \"ENABLE_EXTENSIONS=1\" \"ENABLE_PLUGIN_INSTALLATION=1\" \"ENABLE_P
LUGINS=1\" \"ENABLE_SESSION_SERVICE=1\" \"ENABLE_THEMES=1\" \"ENABLE_BACKGROUND=1\" \"ENABLE_AUTOMATION=1\" \"ENABLE_GOOGLE_NOW=1\" \"ENABLE_LANGUAGE_DETECTION=1\" \"ENABLE_PRINTING=1\" \"ENAB
LE_CAPTIVE_PORTAL_DETECTION=1\" \"ENABLE_MANAGED_USERS=1\" __STDC_CONSTANT_MACROS __STDC_FORMAT_MACROS IPC_IMPLEMENTATION" "--link_flags=-m32 -B/var/tmp/portage/www-client/chromium-28.0.1500.8
9/work/chromium-28.0.1500.89/out/Release/obj/gen/tc_newlib/lib32  " "--source-list=newlib-x86-32.ipc_untrusted.source_list.gypcmd"
ipc_channel_nacl.cc:9:30: error: sys/nacl_imc_api.h: No such file or directory
ipc_channel_nacl.cc:9:30: error: sys/nacl_imc_api.h: No such file or directory
ipc_channel_nacl.cc: In function 'bool IPC::<unnamed>::ReadDataOnReaderThread(int, IPC::MessageContents*)':
ipc_channel_nacl.cc:43: error: 'NaClImcMsgIoVec' was not declared in this scope
ipc_channel_nacl.cc:43: error: expected ';' before 'iov'
ipc_channel_nacl.cc:44: error: 'NaClImcMsgHdr' was not declared in this scope
ipc_channel_nacl.cc:44: error: expected ';' before 'msg'
ipc_channel_nacl.cc:46: error: 'msg' was not declared in this scope
ipc_channel_nacl.cc:46: error: 'imc_recvmsg' was not declared in this scope
ipc_channel_nacl.cc: In member function 'bool IPC::Channel::ChannelImpl::ProcessOutgoingMessages()':
ipc_channel_nacl.cc:268: error: 'NaClImcMsgIoVec' was not declared in this scope
ipc_channel_nacl.cc:268: error: expected ';' before 'iov'
ipc_channel_nacl.cc:269: error: 'NaClImcMsgHdr' was not declared in this scope
ipc_channel_nacl.cc:269: error: expected ';' before 'msgh'
ipc_channel_nacl.cc:270: error: 'msgh' was not declared in this scope
ipc_channel_nacl.cc:270: error: 'imc_sendmsg' was not declared in this scope
ipc_channel_nacl.cc: In function 'bool IPC::<unnamed>::ReadDataOnReaderThread(int, IPC::MessageContents*)':
ipc_channel_nacl.cc:43: error: 'NaClImcMsgIoVec' was not declared in this scope
ipc_channel_nacl.cc:43: error: expected ';' before 'iov'
ipc_channel_nacl.cc:44: error: 'NaClImcMsgHdr' was not declared in this scope
ipc_channel_nacl.cc:44: error: expected ';' before 'msg'
ipc_channel_nacl.cc:46: error: 'msg' was not declared in this scope
ipc_channel_nacl.cc:46: error: 'imc_recvmsg' was not declared in this scope
ipc_channel_nacl.cc: In member function 'bool IPC::Channel::ChannelImpl::ProcessOutgoingMessages()':
ipc_channel_nacl.cc:268: error: 'NaClImcMsgIoVec' was not declared in this scope
ipc_channel_nacl.cc:268: error: expected ';' before 'iov'
ipc_channel_nacl.cc:269: error: 'NaClImcMsgHdr' was not declared in this scope
ipc_channel_nacl.cc:269: error: expected ';' before 'msgh'
ipc_channel_nacl.cc:270: error: 'msgh' was not declared in this scope
ipc_channel_nacl.cc:270: error: 'imc_sendmsg' was not declared in this scope
Err 1: nacl-x86_64-nacl-g++ /var/tmp/portage/www-client/chromium-28.0.1500.89/work/chromium-28.0.1500.89/out/Release/obj.target/ipc_untrusted/geni/newlib-x86-32/ipc_untrusted/ipc_channel_nacl.o

Reproducible: Always




emerge --info
Portage 2.2.0_alpha190 (default/linux/amd64/13.0, gcc-4.8.1, glibc-2.17, 3.11.0-rc1 x86_64)
=================================================================
System uname: Linux-3.11.0-rc1-x86_64-AMD_Athlon-tm-_II_P320_Dual-Core_Processor-with-gentoo-2.2
KiB Mem:     4048832 total,    734484 free
KiB Swap:    4194300 total,   3942712 free
Timestamp of tree: Sun, 28 Jul 2013 10:30:01 +0000
ld GNU gold (GNU Binutils 2.23.1) 1.11
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r1, 3.2.5-r1, 3.3.2-r1
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.14
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.4, 4.7.3, 4.8.1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo x11 kde gamerlay local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x AdobeFlash-10.1 AdobeFlash-10.3 ETQW google-chrome googleearth Google-TOS Intel-SDP Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=amdfam10 -fpredictive-commoning -fgcse-after-reload -ftree-partial-pre -ftree-vectorize -ftracer -fvect-cost-model -pipe"
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/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=amdfam10 -fpredictive-commoning -fgcse-after-reload -ftree-partial-pre -ftree-vectorize -ftracer -fvect-cost-model -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch preserve-libs sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,-z,combreloc -O2 -march=amdfam10 -fpredictive-commoning -fgcse-after-reload -ftree-partial-pre -ftree-vectorize -ftracer -fvect-cost-model -pipe"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-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/layman/x11 /usr/local/portage/layman/kde /usr/local/portage/layman/gamerlay /usr/local/portage"
USE="X a52 aac aacs acl acoustid addressbook aften aio alsa amd64 amr apng assistant attica audiofile autotools berkdb bluetooth bluray bzip2 c++0x cairo calendar canberra caps caps-ng cdda cddb chm cli cmake consolekit corefonts cracklib crypt cups cvs cxx dbus declarative desktopglobe device-mapper dirac djvu dri dts dv dvd ebook eigen embedded emf encode exif expoblending faac faad fam ffmpeg fftw fits flac flash fontconfig fortran fpm fpx ftdi gbm gd gdbm gif git glamor gles1 gles2 glew gmp gold google gphoto2 gpm graphicsmagick graphviz gs gsl hdri highlight iconv icu id3tag inotify ipv6 jemalloc jpeg jpeg2k json kate kde kdepim kipi kpathsea lame lapack latex lcms lensfun libffi libkms liblockfile libsamplerate live lm_sensors lzma lzo mad marble midi minizip mjpeg mmap mmx mmx2 mmxext mng modules mongodb mp3 mp4 mpeg mtp mudflap multilib musicbrainz mysql ncurses netlink networkmanager nfsidmap nfsv3 nls nptl ogg okteta openal openexr opengl openmp opus oscar otr pam panorama pcre pdf pdfimport perl plasma png policykit postscript pyqt4 python python3 qt3support qt4 qthelp quicktime raw readline redeyes reviewboard rle romio samba scanner schroedinger semantic-desktop session sift sip smi sndfile soundtouch spell sqlite sqlite3 sse sse2 sse3 ssl subversion svg system-sqlite taglib tcmalloc tcpd theora threads thumbnail tiff truetype twolame udev udisks udisks2 unicode usb v4l v8 valgrind vamp vdpau vlc vorbis vpx webkit webp wmf x264 xattr xcb xcomposite xetex xml xmp xscreensaver xv xvid yaz zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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="braindump flow karbon kexi kpresenter krita plan sheets stage tables words" CAMERAS="canon directory" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fancyindex fastcgi geo gzip limit_conn limit_req map memcached proxy referer rewrite scgi split_clients ssi stub_status upstream_ip_hash userid uwsgi" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" SANE_BACKENDS="net snapscan" USERLAND="GNU" VIDEO_CARDS="r600 radeon" 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, SYNC, USE_PYTHON
Comment 1 Johannes Hirte 2013-07-28 12:18:21 UTC
Created attachment 354394 [details]
Full build.log

build log is compressed with bzip2, otherwise it would be 25MB
Comment 2 tonich 2013-07-29 09:10:14 UTC
have the same error
Comment 3 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2013-07-29 19:28:40 UTC
Confirmed with chromium-28.0.1500.89 . Latest ~arch chromium-29.0.1547.32 works though.

I'll update the dependency.
Comment 4 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2013-07-30 04:43:47 UTC
Fixed in chromium-28.0.1500.89, thanks!