Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 365841 - www-client/chromium-12.0.742.12 fails to compile with libpng-1.5
Summary: www-client/chromium-12.0.742.12 fails to compile with libpng-1.5
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL: http://code.google.com/p/chromium/iss...
Whiteboard:
Keywords:
Depends on:
Blocks: libpng-1.5
  Show dependency tree
 
Reported: 2011-05-03 17:16 UTC by Christoph Mende (RETIRED)
Modified: 2011-06-29 10:41 UTC (History)
0 users

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


Attachments
build.log (build.log.bz2,62.24 KB, application/x-bzip)
2011-05-03 18:45 UTC, Christoph Mende (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Mende (RETIRED) gentoo-dev 2011-05-03 17:16:38 UTC
ui/gfx/codec/png_codec.cc: In static member function 'static bool gfx::PNGCodec::Encode(const unsigned char*, gfx::PNGCodec::ColorFormat, const gfx::Size&, int, bool, const std::vector<gfx::PNG
Codec::Comment>&, std::vector<unsigned char>*)':
ui/gfx/codec/png_codec.cc:674:57: error: 'Z_DEFAULT_COMPRESSION' was not declared in this scope

likely related to libpng-1.5, will rebuild with 1.4 to verify.


Portage 2.2.0_alpha30 (default/linux/amd64/10.0/developer, gcc-4.5.2, libc-0-r0, 2.6.38-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.38-gentoo-r3-x86_64-Intel-R-_Core-TM-_i3_CPU_M_330_@_2.13GHz-with-gentoo-2.0.2
Timestamp of tree: Unknown
app-shells/bash:     4.2_p8-r1
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.38
sys-libs/glibc:      2.13-r2
virtual/os-headers:  0
Repositories: gentoo angelos xfce-dev betagarden pkgcore-overlay
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ggdb"
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/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/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="-march=native -O2 -pipe -ggdb"
DISTDIR="/home/christoph/distfiles"
EMERGE_DEFAULT_OPTS="--quiet --keep-going"
FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages multilib-strict news noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j5"
PKGDIR="/home/christoph/packages"
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="/home/christoph/gentoo-x86"
PORTDIR_OVERLAY="/home/christoph/overlays/angelos /home/christoph/overlays/xfce /home/christoph/overlays/betagarden /home/christoph/overlays/pkgcore"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avahi berkdb bogofilter branding bzip2 cairo cdr cli consolekit cracklib crypt cups curl cxx dbus device-mapper dhcpcd dri dts dvd dvdr eds emboss encode exif faac fam ffmpeg firefox flac fontconfig galago gdbm gdu gif gnome-keyring gnutls gpm gstreamer gtk gtk3 iconv inotify ipv6 jpeg kpathsea lame laptop lcms libcanberra libnotify mad mmx mmxext mng modules mp3 mp4 mpeg msn multilib ncurses networkmanager nptl nptlonly ogg openal opengl pam pango pcre pdf png policykit ppds pppd pulseaudio qt3support readline sdl session snmp spell sqlite sqlite3 sse sse2 sse3 ssl ssse3 startup-notification sudo svg symlink sysfs tcpd threads thunar tiff truetype udev unicode usb vdpau vim-syntax vorbis xcb xcomposite xinerama xml xorg xv xvid zeroconf zlib zsh-completion" 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" 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" 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 ubx" INPUT_DEVICES="evdev synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Christoph Mende (RETIRED) gentoo-dev 2011-05-03 18:45:06 UTC
Created attachment 271999 [details]
build.log

works fine against libpng-1.4, attached is the build.log against libpng-1.5 (bzipped because it's >1M which bugzie doesn't like)
Comment 2 Mike Gilbert gentoo-dev 2011-06-26 20:46:37 UTC
This has been resolved upstream in either chromium-13 or chromium-14 (haven't checked exactly).
Comment 3 Christoph Mende (RETIRED) gentoo-dev 2011-06-27 06:57:04 UTC
Oh, yes, completely forgot about this bug. Not sure where it's fixed either, but the fix has definitely landed.