Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 390633 - www-client/chromium-17.0.938.0 build failure
Summary: www-client/chromium-17.0.938.0 build failure
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: 2011-11-15 17:15 UTC by Albert W. Hopkins
Modified: 2011-11-16 01:57 UTC (History)
0 users

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


Attachments
gzipped build.log (build.log.gz,217.76 KB, text/plain)
2011-11-15 17:15 UTC, Albert W. Hopkins
Details
emerge --info (emerge_info.txt,2.95 KB, text/plain)
2011-11-15 17:17 UTC, Albert W. Hopkins
Details
chromium-17.0.938.0-v1.2-build-log.xz (chromium-17.0.938.0.v1.2.log.xz,120.00 KB, application/x-xz)
2011-11-15 21:42 UTC, iGentoo
Details
chromium-17.0.938.0.ebuild.diff (chromium-17.0.938.0.ebuild.diff,569 bytes, patch)
2011-11-15 21:45 UTC, iGentoo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Albert W. Hopkins 2011-11-15 17:15:39 UTC
Created attachment 292651 [details]
gzipped build.log

I'm getting some undefineds in the recent build:


emerge -vp chromium

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U #] www-client/chromium-17.0.938.0 [17.0.932.0] USE="cups -bindist -gnome -gnome-keyring -kerberos (-pulseaudio) -test" LINGUAS="ja -am -ar -bg -bn -ca -cs -da -de -el -en_GB -es -es_LA -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -kn -ko -lt -lv -ml -mr -nb -nl -pl -pt_BR -pt_PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh_CN -zh_TW" 0 kB

Build log follows.  I am using distcc.  Will let you know in a few if it fails w/o distcc.
Comment 1 Albert W. Hopkins 2011-11-15 17:17:29 UTC
Created attachment 292653 [details]
emerge --info
Comment 2 Albert W. Hopkins 2011-11-15 17:35:38 UTC
Fails similarly without distcc.
Comment 3 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-11-15 17:36:14 UTC
Looks like zlib saga from bug #383371 continues. What version of zlib are you using? It works for me with sys-libs/zlib-1.2.5-r2.

The error is:

  x86_64-pc-linux-gnu-g++ '-DNO_HEAPCHECKER' '-DCHROMIUM_BUILD' '-DUSE_NSS=1' '-DTOOLKIT_USES_GTK=1' '-DWEBUI_TASK_MANAGER=1' '-DENABLE_REMOTING=1' '-DENABLE_P2P_APIS=1' '-DUSE_PROPR
IETARY_CODECS' '-DENABLE_CONFIGURATION_POLICY' '-DENABLE_INPUT_SPEECH' '-DENABLE_NOTIFICATIONS' '-DENABLE_GPU=1' '-DENABLE_EGLIMAGE=1' '-DUSE_SKIA=1' '-DENABLE_REGISTER_PROTOCOL_HAND
LER=1' '-DGL_GLEXT_PROTOTYPES' '-DSK_BUILD_NO_IMAGE_ENCODE' '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' '-DGR_AGGRESSIVE_SHADER_OPTS=1' '-DUSE_SYSTEM_LIBBZ2' '-DU_USING_ICU_N
AMESPACE=0' '-DUSE_SYSTEM_ICU' '-DUSE_SYSTEM_LIBXML' '-DUSE_SYSTEM_ZLIB' '-D__STDC_FORMAT_MACROS' '-DNDEBUG' '-DNVALGRIND' '-DDYNAMIC_ANNOTATIONS_ENABLED=0' -I. -Igpu -Iout/Release/o
bj/gen/policy -Iout/Release/obj/gen/protoc_out -Iout/Release/obj/gen/chrome -Iout/Release/obj/gen -Iskia/config -Ithird_party/skia/include/config -Ithird_party/skia/include/core -Ith
ird_party/skia/include/effects -Ithird_party/skia/include/pdf -Ithird_party/skia/include/gpu -Ithird_party/skia/include/ports -Iskia/ext -Ithird_party/sqlite -Iout/Release/obj/gen/ui
/ui_resources -Iout/Release/obj/gen/ui/ui_resources_standard -pthread -fno-exceptions -Wall -Wno-unused-parameter -Wno-missing-field-initializers -D_FILE_OFFSET_BITS=64 -fvisibility=
hidden -pipe -fPIC -fno-strict-aliasing -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/inc
lude -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 
-I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -O2 -fno-ident -fdata-sections -ffunction-sections -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidde
n -Wsign-compare -MMD -MF out/Release/.deps/out/Release/obj.target/common/chrome/common/zip_internal.o.d.raw  -O2 -pipe -march=core2 -mtune=generic -c -o out/Release/obj.target/commo
n/chrome/common/zip_internal.o chrome/common/zip_internal.cc
distcc[338771] ERROR: compile chrome/common/zip_internal.cc on 192.168.31.28:3632/16 failed
distcc[338771] (dcc_build_somewhere) Warning: remote compilation of 'chrome/common/zip_internal.cc' failed, retrying locally
distcc[338771] Warning: failed to distribute chrome/common/zip_internal.cc to 192.168.31.28:3632/16, running locally instead
In file included from ./third_party/zlib/contrib/minizip/unzip.h:59:0,
                 from chrome/common/zip_internal.cc:8:
./third_party/zlib/contrib/minizip/ioapi.h:38:44: error: expected initializer before 'OF'
./third_party/zlib/contrib/minizip/ioapi.h:39:44: error: expected initializer before 'OF'
./third_party/zlib/contrib/minizip/ioapi.h:40:45: error: expected initializer before 'OF'
./third_party/zlib/contrib/minizip/ioapi.h:41:44: error: expected initializer before 'OF'
./third_party/zlib/contrib/minizip/ioapi.h:42:44: error: expected initializer before 'OF'
./third_party/zlib/contrib/minizip/ioapi.h:43:45: error: expected initializer before 'OF'
./third_party/zlib/contrib/minizip/ioapi.h:44:49: error: expected initializer before 'OF'
./third_party/zlib/contrib/minizip/ioapi.h:48:5: error: 'open_file_func' does not name a type
./third_party/zlib/contrib/minizip/ioapi.h:49:5: error: 'read_file_func' does not name a type
./third_party/zlib/contrib/minizip/ioapi.h:50:5: error: 'write_file_func' does not name a type
./third_party/zlib/contrib/minizip/ioapi.h:51:5: error: 'tell_file_func' does not name a type
./third_party/zlib/contrib/minizip/ioapi.h:52:5: error: 'seek_file_func' does not name a type
./third_party/zlib/contrib/minizip/ioapi.h:53:5: error: 'close_file_func' does not name a type
./third_party/zlib/contrib/minizip/ioapi.h:54:5: error: 'testerror_file_func' does not name a type
./third_party/zlib/contrib/minizip/ioapi.h:60:26: error: expected initializer before 'OF'

In file included from chrome/common/zip_internal.cc:8:0:
./third_party/zlib/contrib/minizip/unzip.h:124:45: error: expected initializer before 'OF'
./third_party/zlib/contrib/minizip/unzip.h:137:32: error: expected initializer before 'OF'
./third_party/zlib/contrib/minizip/unzip.h:148:33: error: expected initializer before 'OF'
./third_party/zlib/contrib/minizip/unzip.h:155:29: error: expected initializer before 'OF'
./third_party/zlib/contrib/minizip/unzip.h:162:37: error: expected initializer before 'OF'
./third_party/zlib/contrib/minizip/unzip.h:170:40: error: expected initializer before 'OF'
./third_party/zlib/contrib/minizip/unzip.h:183:37: error: expected initializer before 'OF'
./third_party/zlib/contrib/minizip/unzip.h:189:36: error: expected initializer before 'OF'
./third_party/zlib/contrib/minizip/unzip.h:196:34: error: expected initializer before 'OF'
./third_party/zlib/contrib/minizip/unzip.h:228:42: error: expected initializer before 'OF'
./third_party/zlib/contrib/minizip/unzip.h:254:39: error: expected initializer before 'OF'
./third_party/zlib/contrib/minizip/unzip.h:260:47: error: expected initializer before 'OF'
./third_party/zlib/contrib/minizip/unzip.h:268:40: error: expected initializer before 'OF'
./third_party/zlib/contrib/minizip/unzip.h:281:40: error: expected initializer before 'OF'
./third_party/zlib/contrib/minizip/unzip.h:296:40: error: expected initializer before 'OF'
./third_party/zlib/contrib/minizip/unzip.h:302:39: error: expected initializer before 'OF'
./third_party/zlib/contrib/minizip/unzip.h:316:32: error: expected initializer before 'OF'
./third_party/zlib/contrib/minizip/unzip.h:321:27: error: expected initializer before 'OF'
./third_party/zlib/contrib/minizip/unzip.h:326:42: error: expected initializer before 'OF'
In file included from chrome/common/zip_internal.cc:9:0:
./third_party/zlib/contrib/minizip/zip.h:116:32: error: expected initializer before 'OF'
./third_party/zlib/contrib/minizip/zip.h:136:33: error: expected initializer before 'OF'
./third_party/zlib/contrib/minizip/zip.h:141:40: error: expected initializer before 'OF'
./third_party/zlib/contrib/minizip/zip.h:165:41: error: expected initializer before 'OF'
./third_party/zlib/contrib/minizip/zip.h:181:41: error: expected initializer before 'OF'
./third_party/zlib/contrib/minizip/zip.h:206:40: error: expected initializer before 'OF'
./third_party/zlib/contrib/minizip/zip.h:213:38: error: expected initializer before 'OF'
./third_party/zlib/contrib/minizip/zip.h:218:41: error: expected initializer before 'OF'
./third_party/zlib/contrib/minizip/zip.h:227:29: error: expected initializer before 'OF'
chrome/common/zip_internal.cc: In function 'void* zip::internal::OpenForUnzipping(const std::string&)':
chrome/common/zip_internal.cc:81:56: error: 'unzOpen2' was not declared in this scope
chrome/common/zip_internal.cc: In function 'void* zip::internal::OpenForZipping(const std::string&, int)':
chrome/common/zip_internal.cc:95:32: error: 'zipOpen2' was not declared in this scope
chrome/common/zip_internal.cc:96:1: warning: control reaches end of non-void function
chrome/common/zip_internal.cc: In function 'void* zip::internal::OpenForUnzipping(const std::string&)':
chrome/common/zip_internal.cc:82:1: warning: control reaches end of non-void function
distcc[338771] ERROR: compile chrome/common/zip_internal.cc on localhost failed
make: *** [out/Release/obj.target/common/chrome/common/zip_internal.o] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: www-client/chromium-17.0.938.0 failed (compile phase):
 *   emake failed
Comment 4 Mike Gilbert gentoo-dev 2011-11-15 18:28:06 UTC
I fixed this in the live ebuild last week.

  10 Nov 2011; Mike Gilbert <floppym@gentoo.org> chromium-9999-r1.ebuild:
  Apply workaround for bug 383371 to zip_internal.cc. Reported by godmachine-x6.

I just applied the same fix to 17.0.938.0. Please reopen if this still fails in a few hours.

  15 Nov 2011; Mike Gilbert <floppym@gentoo.org> chromium-17.0.938.0.ebuild:
  Apply workaround for bug 383371 to zip_internal.cc. Bug 390633.
Comment 5 iGentoo 2011-11-15 21:42:51 UTC
Created attachment 292691 [details]
chromium-17.0.938.0-v1.2-build-log.xz

Portage 2.2.0_alpha74 (default/linux/amd64/10.0, gcc-4.6.2, glibc-2.14.1-r0, 3.1.1-custom x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.1.1-custom-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9300_@_2.50GHz-with-gentoo-2.1
Timestamp of tree: Tue, 15 Nov 2011 21:00:01 +0000
ccache version 3.1.6 [enabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.6-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1-r1::custom
sys-devel/gcc:            4.6.2::custom
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.1::custom (virtual/os-headers)
sys-libs/glibc:           2.14.1::custom
Repositories: gentoo gnome systemd vmware custom
Installed sets: @custom-initramfs-tools, @custom-protected, @custom-selinux-tools
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Wall -march=core2 -mtune=core2 -msse4.1 -pipe -O3 -fno-tree-vectorize -fstack-protector-all -D_FORTIFY_SOURCE=2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-Wall -march=core2 -mtune=core2 -msse4.1 -pipe -O3 -fno-tree-vectorize -fstack-protector-all -D_FORTIFY_SOURCE=2"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox selinux sesandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg"
FFLAGS=""
GENTOO_MIRRORS="http://mirrors.163.com/gentoo http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--sort-section=alignment -Wl,-z,now"
LINGUAS="en en_US zh zh_CN"
MAKEOPTS="V=1 -j10"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-9ef"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/gnome /var/lib/layman/systemd /var/lib/layman/vmware /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 audit bash-completion berkdb bzip2 cairo caps cli cracklib crypt cups cxx dbus dri fortran gdbm gmp gnome gpm gtk gtk3 hardened iconv ipv6 jpeg jpeg2k mmx modules mudflap multilib ncurses nls nptl nptlonly opengl openmp pam pcre png pppd pulseaudio readline selinux session sse sse2 ssl svg sysfs tcpd tiff unicode vim-syntax xattr xinetd xorg zlib" ALSA_CARDS="hda-intel" 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 stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="btrfs caps dmsquash-live gensplash livenet lvm nbd nfs plymouth 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" LINGUAS="en en_US zh zh_CN" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia" 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_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

www-client/chromium-17.0.938.0 was built with the following:
USE="cups gnome (multilib) -bindist -gnome-keyring -kerberos (-pulseaudio) -test" LINGUAS="zh_CN -am -ar -bg -bn -ca -cs -da -de -el -en_GB -es -es_LA -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -nb -nl -pl -pt_BR -pt_PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh_TW"
CFLAGS="-Wall -march=core2 -mtune=core2 -msse4.1 -pipe -O3 -fno-tree-vectorize"
CXXFLAGS="-Wall -march=core2 -mtune=core2 -msse4.1 -pipe -O3 -fno-tree-vectorize"


sys-libs/zlib-1.2.5.1-r2 was built with the following:
USE="minizip (multilib) static-libs"
Comment 6 iGentoo 2011-11-15 21:45:08 UTC
Created attachment 292693 [details, diff]
chromium-17.0.938.0.ebuild.diff
Comment 7 Mike Gilbert gentoo-dev 2011-11-15 21:52:52 UTC
(In reply to comment #6)

I appreciate the idea behind that patch, but I think it is better to be explicit in which files we are modifying.
Comment 8 Albert W. Hopkins 2011-11-16 01:35:56 UTC
I am still experiencing the issue.  I see the the change in the ChangeLog and the ebuild, but either it doesn't appear to revolve the issue.
Comment 9 Mike Gilbert gentoo-dev 2011-11-16 01:57:34 UTC
Yeah, sorry about that; they created yet another variation (zip_reader.cc). Should be fixed now (I even tested it this time!).