Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 319267 - www-client/chromium-5.0.375.29 fails pkg-config for libpng12.pc
Summary: www-client/chromium-5.0.375.29 fails pkg-config for libpng12.pc
Status: RESOLVED DUPLICATE of bug 309019
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-11 11:39 UTC by jieryn
Modified: 2010-05-11 13:51 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jieryn 2010-05-11 11:39:43 UTC
>>> Configuring source in /var/tmp/portage/www-client/chromium-5.0.375.29/work/chromium-5.0.375.29 ...
Updating projects from gyp files...
Package libpng12 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpng12.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpng12', required by 'cairo', not found
Traceback (most recent call last):
  File "build/gyp_chromium", line 95, in <module>
    sys.exit(gyp.main(args))
  File "./tools/gyp/pylib/gyp/__init__.py", line 436, in main
    options.circular_check)
  File "./tools/gyp/pylib/gyp/__init__.py", line 84, in Load
    depth, generator_input_info, check, circular_check)
  File "./tools/gyp/pylib/gyp/input.py", line 2116, in Load
    depth, check)
  File "./tools/gyp/pylib/gyp/input.py", line 405, in LoadTargetBuildFile
    includes, depth, check)
  File "./tools/gyp/pylib/gyp/input.py", line 405, in LoadTargetBuildFile
    includes, depth, check)
  File "./tools/gyp/pylib/gyp/input.py", line 405, in LoadTargetBuildFile
    includes, depth, check)
  File "./tools/gyp/pylib/gyp/input.py", line 405, in LoadTargetBuildFile
    includes, depth, check)
  File "./tools/gyp/pylib/gyp/input.py", line 363, in LoadTargetBuildFile
    build_file_path)
  File "./tools/gyp/pylib/gyp/input.py", line 946, in ProcessVariablesAndConditionsInDict
    build_file)
  File "./tools/gyp/pylib/gyp/input.py", line 961, in ProcessVariablesAndConditionsInList
    ProcessVariablesAndConditionsInDict(item, is_late, variables, build_file)
  File "./tools/gyp/pylib/gyp/input.py", line 920, in ProcessVariablesAndConditionsInDict
    ProcessConditionsInDict(the_dict, is_late, variables, build_file)
  File "./tools/gyp/pylib/gyp/input.py", line 797, in ProcessConditionsInDict
    variables, build_file)
  File "./tools/gyp/pylib/gyp/input.py", line 939, in ProcessVariablesAndConditionsInDict
    build_file, key)
  File "./tools/gyp/pylib/gyp/input.py", line 946, in ProcessVariablesAndConditionsInDict
    build_file)
  File "./tools/gyp/pylib/gyp/input.py", line 965, in ProcessVariablesAndConditionsInList
    expanded = ExpandVariables(item, is_late, variables, build_file)
  File "./tools/gyp/pylib/gyp/input.py", line 632, in ExpandVariables
    (contents, p.returncode))
Exception: Call to 'pkg-config --cflags gtk+-2.0 gthread-2.0' returned exit status 1. while loading dependencies of base/base.gyp while loading dependencies of net/net.gyp while loading dependencies of app/app.gyp while loading dependencies of build/all.gyp while trying to load build/all.gyp
 * ERROR: www-client/chromium-5.0.375.29 failed:
 *   gyp failed
 * 
 * Call stack:
 *     ebuild.sh, line  48:  Called src_configure
 *   environment, line 2777:  Called die
 * The specific snippet of code:
 *       build/gyp_chromium -f make build/all.gyp ${myconf} --depth=. || die "gyp failed"
 * 
 * If you need support, post the output of 'emerge --info =www-client/chromium-5.0.375.29',
 * the complete build log and the output of 'emerge -pqv =www-client/chromium-5.0.375.29'.
 * The complete build log is located at '/var/log/portage/www-client:chromium-5.0.375.29:20100511-113454.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/chromium-5.0.375.29/temp/environment'.
 * S: '/var/tmp/portage/www-client/chromium-5.0.375.29/work/chromium-5.0.375.29'

# pkg-config --cflags gtk+-2.0 gthread-2.0
Package libpng12 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpng12.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpng12', required by 'cairo', not found

# eix libpng
[I] media-libs/libpng
     Available versions:  
        (1.2)   1.2.40 (~)1.2.43-r1
        (0)     (~)1.2.43-r2 (~)1.4.2
     Installed versions:  1.2.43-r1(1.2)(03:57:24 PM 05/09/2010) 1.4.2(03:58:11 PM 05/09/2010)
     Homepage:            http://www.libpng.org/
     Description:         Portable Network Graphics library

Portage 2.2_rc67 (default/linux/amd64/10.0/developer, gcc-4.4.3, glibc-2.10.1-r1, 2.6.32.12 x86_64)
=================================================================
System uname: Linux-2.6.32.12-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7700_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 09 May 2010 07:00:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.1_p5
dev-java/java-config: 2.1.11
dev-lang/python:     2.5.4-r4, 2.6.5-r1, 3.1.2-r2
dev-python/pycrypto: 2.1.0
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.5-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
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="-O2 -march=core2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--verbose --keep-going --jobs 25 --load-average 25"
FEATURES="assume-digests buildsyspkg cvs distlocks fixpackages metadata-transfer multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict unmerge-logs unmerge-orphans userfetch usersandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/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="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/java-overlay /usr/local/portage/layman/mozilla /usr/local/portage/layman/sunrise /usr/local/portage /usr/local/portage/krossai /usr/local/portage/ibm-internal/gentoo-ebuilds /usr/local/portage/java-experimental"
SYNC="rsync://ayn/gentoo-portage"
USE="X X509 a52 aac acl acpi alsa amd64 ao apache2 avahi bash-completion battery berkdb bluetooth bzip2 cairo caps cddb cdr cli consolekit cracklib crypt css ctype cups curl cvs cxx daemon dbus devil dirac directfb dri dts dvd dvdr emboss encode enscript eselect exif extensions fam fbcon fdt ffmpeg firefox flac fortran ftp gdbm gif git glitz gmp gnome gnome-keyring gnutls gpm gstreamer gtk gtkhtml hal iconv id3tag ieee1394 imagemagick imap imlib ipv6 jpeg kvm-trace laptop lcms ldap libnotify libwww lzo mad mbox mikmod mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib music mysql ncurses network networkmanager nptl nptlonly nsplugin objc ogg opencore-amr opengl openmp openssl pam pango pcre pdf perl png policykit pop ppds pppd python qemu qt3support qt4 rdesktop readline reflection rtc samba schroedinger sdl session sndfile snmp spell spl sse sse2 ssl ssse3 stars startup-notification subversion svg sysfs taglib tcpd theora threads tiff truetype udev unicode usb vcd vhosts videos vim-syntax vorbis wmf x264 xcb xinetd xml xmlrpc xorg xscreensaver xulrunner xv xvid zeroconf zlib" 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="peruser" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev nouveau nv nvidia vesa vga" 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, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Reproducible: Always
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-05-11 13:50:39 UTC

*** This bug has been marked as a duplicate of bug 309019 ***
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-05-11 13:51:28 UTC
Just emerge cairo pango gtk+ etc. first. Order matters.