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

Bug 588082

Summary: dev-libs/glib-2.48.1[static-libs] should depend on dev-libs/libpcre[static-libs]
Product: Gentoo Linux Reporter: Jordan Yelloz <jordan>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: vapier, zl29ah
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jordan Yelloz 2016-07-05 17:30:33 UTC
Recently I have been unable to build qemu 2.6.0 as it fails to configure with static-user USE flag. The following error message is printed at configure time of the static-user target:

sizeof(size_t) doesn't match GLIB_SIZEOF_SIZE_T.
You probably need to set PKG_CONFIG_LIBDIR
to point to the right pkg-config files for your
build target

However, the error has little to do with any glib type-width macros. It is printed because the configure test attempts to link against libpcre which was not built with static-libs since the current glib-2.48.1 ebuild doesn't require it. However, it is a dependency of glib-2.0.pc file so it prevents static QEMUs from configuring against glib-2.0.

I manually re-installed libpcre with static-libs and qemu-2.6.0 was able to configure and merge safely with static-user.
Comment 1 Pacho Ramos gentoo-dev 2016-07-30 19:33:34 UTC
[master bcea1ef] dev-libs/glib: libpcre static-libs USE needs to be sync with glib (#588082 by Jordan Yelloz), libintl is needed (#589336 by Gerhard Bräunlich).
 1 file changed, 1 insertion(+)
 rename dev-libs/glib/{glib-2.48.1.ebuild => glib-2.48.1-r1.ebuild} (99%)
Comment 2 Pacho Ramos gentoo-dev 2016-08-04 17:57:05 UTC
*** Bug 590344 has been marked as a duplicate of this bug. ***
Comment 3 SpanKY gentoo-dev 2016-08-10 06:14:05 UTC
*** Bug 588952 has been marked as a duplicate of this bug. ***
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2016-09-08 23:05:57 UTC
This should be fixed for real this time in 2.48.2.