Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 503480 - www-client/chromium-34 - In file included from ../../chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation.cc:6: /usr/include/minizip/ioapi.h:135:51: error: expected initializer before ‘_Z_OF’
Summary: www-client/chromium-34 - In file included from ../../chrome/browser/extension...
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: ht-wanted
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-05 08:31 UTC by Eric Grüttefien
Modified: 2014-04-02 10:57 UTC (History)
1 user (show)

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


Attachments
build.log.gz (build.log.gz,701.21 KB, application/gzip)
2014-03-05 08:33 UTC, Eric Grüttefien
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Grüttefien 2014-03-05 08:31:57 UTC
Build fails.

Reproducible: Always
Comment 1 Eric Grüttefien 2014-03-05 08:33:34 UTC
Created attachment 371760 [details]
build.log.gz

zipped it's 33MB unpacked
Comment 2 Eric Grüttefien 2014-03-05 08:34:32 UTC
build.log:


<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
../../chrome/browser/extensions/api/image_writer_private/image_writer_private_api.cc:1:0: note: this is the location of the previous definition
 // Copyright 2013 The Chromium Authors. All rights reserved.
 ^
In file included from /usr/include/minizip/unzip.h:55:0,
                 from ../../third_party/zlib/google/zip_reader.h:19,
                 from ../../chrome/browser/extensions/api/image_writer_private/operation.h:16,
                 from ../../chrome/browser/extensions/api/image_writer_private/operation_manager.h:16,
                 from ../../chrome/browser/extensions/api/image_writer_private/image_writer_private_api.cc:9:
/usr/include/minizip/ioapi.h:135:35: error: expected initializer before '_Z_OF'
/usr/include/minizip/ioapi.h:136:34: error: expected initializer before '_Z_OF'
/usr/include/minizip/ioapi.h:137:35: error: expected initializer before '_Z_OF'
/usr/include/minizip/ioapi.h:138:33: error: expected initializer before '_Z_OF'
/usr/include/minizip/ioapi.h:139:37: error: expected initializer before '_Z_OF'
/usr/include/minizip/ioapi.h:141:33: error: expected initializer before '_Z_OF'
/usr/include/minizip/ioapi.h:142:33: error: expected initializer before '_Z_OF'
/usr/include/minizip/ioapi.h:148:5: error: 'open_file_func' does not name a type
/usr/include/minizip/ioapi.h:149:5: error: 'read_file_func' does not name a type
/usr/include/minizip/ioapi.h:150:5: error: 'write_file_func' does not name a type
/usr/include/minizip/ioapi.h:151:5: error: 'tell_file_func' does not name a type
/usr/include/minizip/ioapi.h:152:5: error: 'seek_file_func' does not name a type
/usr/include/minizip/ioapi.h:153:5: error: 'close_file_func' does not name a type
...

cube ~ # emerge --info
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.8.2, glibc-2.18-r1, 3.13.5-gentoo x86_64)
=================================================================
System uname: Linux-3.13.5-gentoo-x86_64-AMD_FX-tm-8120_Eight-Core_Processor-with-gentoo-2.2
KiB Mem:    32991984 total,   3500976 free
KiB Swap:   67108860 total,  67108860 free
Timestamp of tree: Wed, 05 Mar 2014 06:45:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p45-r1
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.3.4
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.5.4, 4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.18-r1
Repositories: gentoo x11 gamerlay fw-overlay Mein-privates-overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -g -pipe "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/fax /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -g -pipe "
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=8 --keep-going --load-average=15"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://91.121.124.139/gentoo-distfiles/ ftp://mirror.netcologne.de/gentoo/ rsync://mirror.netcologne.de/gentoo/ http://mirrors.linuxant.fr/distfiles.gentoo.org/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j26"
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="/local/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/x11 /var/lib/layman/gamerlay /var/lib/layman/fw-overlay /usr/local/portage/priv_overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex 3dnowext 64bit X Xaw3d a52 aac aavm acl acpi acpi4linux action_modeswitch ads alsa amd64 amr ao apache2 apng arts audacious autoipd automount avahi bash-completion berkdb binary-drivers binfilter bluetooth boost bootsplash branding bzip2 bzlib cairo cdb cdda cddb cdparanoia cdr cdrdao cdrom chipcard clearcase cli colord contrast cpudetection cpufreq cracklib crypt cups custom-optimization cxx dba dbus dconf declarative deprecated device-mapper dga divx dri drm dtaus dts dv dvb dvd dvdnav dvdr eds emboss encode evo exif extensions extras faad fam fastbuild ffmpeg firefox flac fluidsynth foomaticdb fortran freesound freetype fuse gallium gbm gd gdbm gdm gdu gensplash gif gimp glade glamor gles1 gles2 glgd glitz gmp gnome gnome-keyring gnome-online-accounts gnome-print gnomecanvas gnomedb gnutella gnutls gphoto2 gpm graphite gstreamer gtk gtk2 gtk3 gudev gui hbci http iconv icq icu idn imlib2 insecure-savers introspection iproute2 ipv6 iscsi jamvm java java6 javascript jp2 jpeg jpeg2k kde kerberos lame laptop lcms ldap libburn libkms libnotify libsecret libvisual lm_sensors lv2 lzo lzw lzw-tiff mad mailwrapper makecheck mdnsresponder-compat microhttpd midi miknod mime mimencode minizip mjpeg mms mmx mmx2 mmxext mng modemmanager modules motiv mp3 mp4 mpeg mpeg4 msn mtp multilib multimedia musepack music mysql nas nautilus ncurses net newspr nfs nfsidmap nfsv3 nfsv4 nfsv41 nls nptl ocaml offensive ogg openal openct opengl openmp opensync opus pam pango passwordsave pcre pdf perl pertty pg-hier php plasma plymouth png policykit postfix postgres ppds profile pulseaudio pyhton python python3 qt-copy qt-dbus qt3support qt4 r600-llvm-compiler rar rdesktop readline realmedia regex remix romio rrdtool samba sasl script sdl semantic-desktop session shared slang slp smp sndfile socialweb sockets socks5 soundtouch spell sql sqlite sse sse-filters sse2 ssl startup-notification subversion svg svgz systemd sysvipc taglib tcpd theora threads threadsafe tiff tk tools transcode translator truetype tty-helpers udev udisks unicode upcall upnp upower usb v4l vaapi vala vamp vcd vcdimager vdpau vnc voice vorbis wavpack webkit wifi winbind wxwidgets x264 xa xanim xattr xcb xfs xinerama xml xmp xscreensaver xv xvid yahoo yv12 zeitgeist zlib" ABI_X86="32 64" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="nfs plymouth gensplash" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby18 ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="ati fbdev vesa radeon radeonhd v4l r600 radeonsi" 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 3 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2014-03-27 18:56:34 UTC
I can't repro with www-client/chromium-34.0.1847.76, sys-libs/zlib-1.2.8-r1 and neither gcc 4.8.2 nor 4.5.4.

Portage 2.2.10 (default/linux/amd64/13.0/desktop, gcc-4.8.2, glibc-2.18-r1, 3.2.5-gg1336 x86_64)
=================================================================
System uname: Linux-3.2.5-gg1336-x86_64-Intel-R-_Xeon-R-_CPU_E5-2690_0_@_2.90GHz-with-gentoo-2.2
KiB Mem:    65904776 total,  18222156 free
KiB Swap:   67031036 total,  67017540 free
Timestamp of tree: Wed, 26 Mar 2014 15:30:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p45-r1
dev-lang/python:          2.7.6, 3.3.4
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.12.6, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.5.4, 4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.18-r1
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA @FREE -@EULA -AGPL-3"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -g -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -g -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j32"
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"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt curl cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gles2 gtk iconv icu ipv6 jpeg kerberos lcms ldap libkms libnotify mad minizip mmx mng modules mp3 mp4 mpeg ncurses nls nptl ogg opengl openmp opus pam pango pcre pdf perl png policykit ppds pulseaudio python qt3support qt4 readline session spell sse sse2 ssl startup-notification subversion svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xa xcb xml xv xvfb xvid zlib" ABI_X86="64" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 4 Eric Grüttefien 2014-04-02 10:57:01 UTC
I found the problem today it was an orphand file if found in the preprocessed output of a failing compile '/usr/include/nss/zlib.h'

i wrote a short script to clean it up:

#!/bin/bash
find "$1" -xdev -type f | xargs -P 8 qfile -o > or
cat or | while read a; do cp --parents "$a" ./; done
cat or | while read a; do rm "$a"; done

Sorry for the noise !!

And thanks for the support !!

Best regards,

Eric