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

Bug 279696

Summary: (minor bug) dev-libs/glib-2.18.4-r1 fails to build because of missing dependency to pkg-config
Product: Gentoo Linux Reporter: Bodo Thiesen <bothie>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Bodo Thiesen 2009-07-30 15:09:25 UTC
Normally, pkg-config is already installed on a system when glib will be installed.

However while I'm currently installing syslog-ng in a stage3, it pulls dev-libs/glib-2.18.4-r1 into the dependency tree which in turn pulls in dev-util/gtk-doc-1.10-r2 (because of the doc USE-flag) which again depends on dev-libs/glib-2.18.4-r1. This is a problem which should be noted in the handbook (http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=9).

I simply solved it by »USE="-doc" emerge -1O =dev-libs/glib-2.18.4-r1« now hitting the missing pkg-config (which SHOLD be a build time dependency of glib).

emerge pkgconfig && \
USE="-doc" emerge -1O =dev-libs/glib-2.18.4-r1 && \
emerge glib && \
emerge -av syslog-ng


Reproducible: Sometimes

Steps to Reproduce:
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-07-30 15:19:27 UTC
Every dev-lib/glib ebuild currently being in the portage-tree has dev-util/pkgconfig in the DEPEND variable.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-07-30 15:19:51 UTC
erm, I mean dev-libs/glib