Summary: | dev-util/pkgconfig - configure: error: Either a previously installed pkg-config or "glib-2.0 >= 2.16" could not be found. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | dE <de.techno> |
Component: | [OLD] Core system | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
pkgconfig build.log
pkgconfig config.log |
Description
dE
2014-04-02 15:25:28 UTC
!!! It seems that /proc is not mounted. You have been warned. Portage 2.2.10 (default/linux/amd64/13.0/no-multilib, gcc-4.8.2, glibc-2.17, 3.2.0-4-amd64 x86_64) ================================================================= System uname: Linux-3.2.0-4-amd64-x86_64-with-gentoo-2.2 Timestamp of tree: Wed, 26 Mar 2014 10:30:01 +0000 ld GNU ld (GNU Binutils) 2.23.2 app-shells/bash: 4.2_p45 dev-lang/python: 2.7.5-r3, 3.3.3 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.69 sys-devel/automake: 1.13.4 sys-devel/binutils: 2.23.2 sys-devel/gcc: 4.8.2 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.9 (virtual/os-headers) sys-libs/glibc: 2.17 Repositories: gentoo ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -fomit-frame-pointer -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=n --complete-graph --binpkg-respect-use=y" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_IN" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" 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="/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" USE="amd64 berkdb bzip2 cli cracklib cxx dri gdbm iconv minimal mmx modules ncurses pam readline session sse sse2 ssl symlink tcpd unicode 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" 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" 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, SYNC, USE_PYTHON Attach the complete build.log and also the config.log from /var/tmp/portage/dev-util/pkgconfig... that's generated by the ./configure (econf) Futher, post the output of: # pkg-config --libs glib-2.0 # pkg-config --cflags glib-2.0 It seems like you have wider system breakage going on here with the "openpty failed: 'out of pty devices'" Let's see... > openpty failed: 'out of pty devices' > !!! It seems that /proc is not mounted. You have been warned. Are you sure the problem lies on the package side ? I'm in a chroot environment. Created attachment 374100 [details]
pkgconfig build.log
pkg-config --libs glib-2.0 Package glib-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `glib-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'glib-2.0' found pkg-config --cflags glib-2.0 Package glib-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `glib-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'glib-2.0' found I rbind dev,proc,sys and now those warnings are gone. (In reply to Rafał Mużyło from comment #3) > > !!! It seems that /proc is not mounted. You have been warned. I missed that. Yes, indeed, can't have a working system with no working /sys and /proc, closing... (In reply to dE from comment #7) > I rbind dev,proc,sys and now those warnings are gone. See attachment, they don't have the warnings now. (In reply to dE from comment #9) > (In reply to dE from comment #7) > > I rbind dev,proc,sys and now those warnings are gone. > > See attachment, they don't have the warnings now. Well, that's likely both INVALID and not. It's a bootstrap problem - if glib isn't installed yet, you need to first emerge pkg-config with 'internal-glib' set, emerge glib then drop that useflag and reemerge pkg-config. Er, so is dev-libs/glib:2 installed or not? Yes, of course it is installed at 2.38.2-r1. Currently, pkgconfig has internal-glib, I'm trying to get rid of that in hopes that it'll remove other pkgconfig related build time failures. (In reply to dE from comment #12) > Yes, of course it is installed at 2.38.2-r1. > > Currently, pkgconfig has internal-glib, I'm trying to get rid of that in > hopes that it'll remove other pkgconfig related build time failures. In such case, does glib-2.0.pc exist in its proper place and the correct content ? Please attach the config.log file to this bug report (see comment #2). (In reply to Rafał Mużyło from comment #13) > (In reply to dE from comment #12) > > Yes, of course it is installed at 2.38.2-r1. > > > > Currently, pkgconfig has internal-glib, I'm trying to get rid of that in > > hopes that it'll remove other pkgconfig related build time failures. > > In such case, does glib-2.0.pc exist in its proper place and the correct > content ? equery check dev-libs/glib * Checking dev-libs/glib-2.38.2-r1 ... 21 out of 21 files passed find -name glib-2.0.pc give no result. Odder -- equery files dev-libs/glib * Searching for glib in dev-libs ... * Contents of dev-libs/glib-2.38.2-r1: /usr /usr/share /usr/share/doc /usr/share/doc/glib-2.38.2-r1 /usr/share/doc/glib-2.38.2-r1/AUTHORS /usr/share/doc/glib-2.38.2-r1/ChangeLog /usr/share/doc/glib-2.38.2-r1/ChangeLog.pre-1-2 /usr/share/doc/glib-2.38.2-r1/ChangeLog.pre-2-0 /usr/share/doc/glib-2.38.2-r1/ChangeLog.pre-2-10 /usr/share/doc/glib-2.38.2-r1/ChangeLog.pre-2-12 /usr/share/doc/glib-2.38.2-r1/ChangeLog.pre-2-14 /usr/share/doc/glib-2.38.2-r1/ChangeLog.pre-2-16 /usr/share/doc/glib-2.38.2-r1/ChangeLog.pre-2-18 /usr/share/doc/glib-2.38.2-r1/ChangeLog.pre-2-2 /usr/share/doc/glib-2.38.2-r1/ChangeLog.pre-2-20 /usr/share/doc/glib-2.38.2-r1/ChangeLog.pre-2-4 /usr/share/doc/glib-2.38.2-r1/ChangeLog.pre-2-6 /usr/share/doc/glib-2.38.2-r1/ChangeLog.pre-2-8 /usr/share/doc/glib-2.38.2-r1/NEWS /usr/share/doc/glib-2.38.2-r1/NEWS.pre-1-3 /usr/share/doc/glib-2.38.2-r1/README [I] dev-libs/glib Available versions: (1) 1.2.10-r5 (2) 2.32.4-r1 ~2.34.3-r1 2.36.4-r1 2.38.2-r1 {debug fam hardened selinux static-libs systemtap test utils xattr ABI_MIPS="n32 n64 o32" ABI_X86="32 64 x32" KERNEL="linux" PYTHON_TARGETS="python2_6 python2_7"} Installed versions: 2.38.2-r1(2)(06:38:52 04/02/14)(-debug -fam -selinux -static-libs -systemtap -test -utils -xattr ABI_MIPS="-n32 -n64 -o32" ABI_X86="64 -32 -x32" KERNEL="linux" PYTHON_TARGETS="python2_7 -python2_6") Homepage: http://www.gtk.org/ Description: The GLib library of C routines Before I post config.log, I'll do a few more investigations. x11-misc/shared-mime-info (glib PDEPEND) fails to compile. >>> Emerging (2 of 2) x11-misc/shared-mime-info-1.2-r1::gentoo >>> Failed to emerge x11-misc/shared-mime-info-1.2-r1, Log file: >>> '/tmp/portage/x11-misc/shared-mime-info-1.2-r1/temp/build.log' * Package: x11-misc/shared-mime-info-1.2-r1 * Repository: gentoo * Maintainer: freedesktop-bugs@gentoo.org * USE: amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox * Applying shared-mime-info-1.2-g_type_init.patch ... [ ok ] checking for a BSD-compatible install... rm: cannot remove 'conftest.dir/conftest.one': Bad file descriptor rm: cannot remove 'conftest.dir/conftest.two': Bad file descriptor /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... rm: cannot remove 'conftest.dir': Is a directory yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for an ANSI C-conforming const... yes checking whether NLS is requested... yes checking for intltool >= 0.35.0... 0.50.2 found checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... no checking for msgmerge... no checking for msgfmt... no checking for gmsgfmt... no configure: error: GNU gettext tools not found; required for intltool [I] sys-devel/gettext Available versions: 0.18.2 ~0.18.3.1-r1 0.18.3.2 {acl -cvs +cxx doc emacs git java ncurses nls openmp static-libs ABI_MIPS="n32 n64 o32" ABI_X86="32 64 x32" ELIBC="FreeBSD glibc"} Installed versions: 0.18.3.2(06:34:43 04/02/14)(cxx ncurses -acl -cvs -doc -emacs -git -java -nls -openmp -static-libs ABI_MIPS="-n32 -n64 -o32" ABI_X86="64 -32 -x32" ELIBC="glibc -FreeBSD") Homepage: http://www.gnu.org/software/gettext/ Description: GNU locale utilities Created attachment 374312 [details]
pkgconfig config.log
( Could you please stop quoting eix output and use emerge output instead? ) Now, where did you get dev-libs/glib? Was it pre-installed in a stage3 you used, or did you emerge it yourself? (In reply to Jeroen Roovers from comment #19) > ( Could you please stop quoting eix output and use emerge output instead? ) > > Now, where did you get dev-libs/glib? Was it pre-installed in a stage3 you > used, or did you emerge it yourself? I did an emptytree (new host), so it was a rebuild. I checked the Gentoo install before it was copied to to the new host, and it's glib seems ok (it has many more things apart from the docs). Also despite march=native and emptytree I'm getting invalid optcode from the kernel when it tries to execute systemd -- may be related but very unlikely. It looks like you may want to start again: a file that should have been in place was not, and I can't think of a single way the build system could have caused that. Try our support options next time instead of the bug tracker. (In reply to Jeroen Roovers from comment #21) > It looks like you may want to start again: a file that should have been in > place was not, and I can't think of a single way the build system could have > caused that. Try our support options next time instead of the bug tracker. I'll just build a binary package and and migrate it. Thanks! |