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

Bug 446772

Summary: dev-util/pkgconfig-0.27.1 - Fails to emerge. - /usr/include/glib-2.0/glib/gversionmacros.h:145:2: error: #error "GLIB_VERSION_MIN_REQUIRED must be >= GLIB_VERSION_2_26"
Product: Gentoo Linux Reporter: Erik Viktorsson <erik>
Component: [OLD] DevelopmentAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED WORKSFORME    
Severity: major CC: ssuominen, tomwij
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
environment variabels
emerge --info =dev-util/pkgconfig-0.27.1
emerge -pqv =dev-util/pkgconfig-0.27.1

Description Erik Viktorsson 2012-12-10 18:14:37 UTC
Created attachment 331968 [details]
build.log
Comment 1 Erik Viktorsson 2012-12-10 18:15:29 UTC
Created attachment 331970 [details]
environment variabels
Comment 2 Erik Viktorsson 2012-12-10 18:15:59 UTC
Created attachment 331972 [details]
emerge --info =dev-util/pkgconfig-0.27.1

emerge --info =dev-util/pkgconfig-0.27.1
Comment 3 Erik Viktorsson 2012-12-10 18:16:13 UTC
Created attachment 331974 [details]
emerge -pqv =dev-util/pkgconfig-0.27.1

emerge -pqv =dev-util/pkgconfig-0.27.1
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-12-10 19:03:40 UTC
What version of dev-libs/glib do you have installed?
Comment 5 Erik Viktorsson 2012-12-10 19:38:13 UTC
Here is the output from emerge --info dev-libs/glib
=================================================================
                        Package Settings
=================================================================

dev-libs/glib-2.32.4-r1 was built with the following:
USE="-debug (-fam) (-selinux) -static-libs -systemtap -test -utils -xattr"
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2012-12-16 15:39:45 UTC
This looks like if you had local includes of older glib, possibly in /usr/local/include/

As in, somehow you have 2 conflicting versions of glib installed on the same system

You know that you can't just install autotoolized projects with ./configure; make; make install without destroying the system as /usr/local is picked up and will conflict with packages installed from Portage?
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2012-12-16 15:42:00 UTC
as gnome@ is the maintainer for glib, moving out from freedesktop-bugs@, this definately isn't a pkg-config bug if the installation of glib is messed up