Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 419769

Summary: x11-libs/gtk+-2.24.10-r1 ROOT=/foo - configure: packages atk and gdk-pixbuf-2.0 was not found in pkg-config search path
Product: Gentoo Linux Reporter: Vasiliy <6vasia>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Severity: normal CC: dev-portage, embedded, pms
Priority: Normal Keywords: NeedPatch
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: Build log
configure log

Description Vasiliy 2012-06-05 14:06:11 UTC
Created attachment 314307 [details]
Build log

Merge with ROOT=/trget fails on econf.
Comment 1 Vasiliy 2012-06-05 14:06:32 UTC
Created attachment 314309 [details]
configure log
Comment 2 Pacho Ramos gentoo-dev 2012-06-06 08:36:23 UTC
Please provide "emerge --info" and "emerge -Opv gdk-pixbbuf atk"
Comment 3 Vasiliy 2012-06-06 09:34:11 UTC
Portage (default/linux/x86/10.0, gcc-4.5.3, unavailable, 3.2.0-0.bpo.1-686-pae i686)
System uname: Linux-3.2.0-0.bpo.1-686-pae-i686-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-2.0.3
Timestamp of tree: Tue, 05 Jun 2012 10:00:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 3.1.6 [enabled]
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.2-r3
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo
CFLAGS="-Os -march=i586 -mmmx -pipe"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/terminfo"
CXXFLAGS="-Os -march=i586 -mmmx -pipe"
FEATURES="assume-digests binpkg-logs buildpkg ccache distlocks ebuild-locks fixlafiles news nodoc noinfo noman parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="X berkdb bzip2 cli cxx dri fbcondecor fortran gdbm iconv livecd make-symlinks minimal mmx modules mudflap ncurses nptl openmp pcre pppd readline session unicode userlocales x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="vesa" 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"
Comment 4 Vasiliy 2012-06-06 09:34:41 UTC
USE="mmx minimal userlocales fbcondecor livecd make-symlinks X -net -ssl -crypt -git -doc -perl -python3 -python -ipv6 -cracklib -cups -java -acl -pam -tcpd -gpm -nls -crypt -introspection" FEATURES="buildpkg ccache nodoc noman noinfo" ROOT="/target" VIDEO="vesa" PORTDIR_OVERLAY="/live/ebuilds" INSTALL_MASK="*.h HACKING.gz TODO.gz" emerge --root-deps=rdeps -Opv gdk-pixbuf atk

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

[ebuild   R    ] x11-libs/gdk-pixbuf-2.24.1-r1 to /target/ USE="X -debug -doc -introspection -jpeg -jpeg2k -test -tiff" 0 kB
[ebuild   R    ] dev-libs/atk-2.2.0 to /target/ USE="-doc -introspection -nls" 0 kB

Total: 2 packages (2 reinstalls), Size of downloads: 0 kB

 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.
Comment 5 Pacho Ramos gentoo-dev 2012-06-06 09:49:36 UTC
What is your pkgconfig virtual provider?
Comment 6 Vasiliy 2012-06-06 10:02:14 UTC
(In reply to comment #5)
> What is your pkgconfig virtual provider?

Comment 7 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-06-07 06:44:56 UTC
I am assuming that this bug is happening because atk and gdk-pixbuf are installed only in /target/, not in /. So when ROOT != '/', we presumably need to append ${ROOT}/usr/$(get_libdir)/pkgconfig:${ROOT}/usr/share/pkgconfig to PKG_CONFIG_PATH.

@dev-portage, how are various search paths (e.g. for libraries, headers, etc.) currently being handled for the ROOT != '/' case? Is it possible to get PKG_CONFIG_PATH modified using whatever system that the other build tools are using?
Comment 8 Zac Medico gentoo-dev 2012-06-07 06:54:51 UTC
(In reply to comment #7)
> @dev-portage, how are various search paths (e.g. for libraries, headers,
> etc.) currently being handled for the ROOT != '/' case?

Portage doesn't do any special environment setup.

> Is it possible to
> get PKG_CONFIG_PATH modified using whatever system that the other build
> tools are using?

Maybe the embedded team has some suggestions. If we roll something like this into the package manager, then it would be good to have it specified in PMS.
Comment 9 SpanKY gentoo-dev 2012-06-07 13:09:06 UTC
crossdev provides pkg-config wrappers specifically for this
Comment 10 Pacho Ramos gentoo-dev 2013-08-29 12:01:14 UTC
Is this still valid with a more updated system (and latest crossdev)?
Comment 11 Pacho Ramos gentoo-dev 2013-09-28 20:52:10 UTC
(In reply to Pacho Ramos from comment #10)
> Is this still valid with a more updated system (and latest crossdev)?