Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 588082 - dev-libs/glib-2.48.1[static-libs] should depend on dev-libs/libpcre[static-libs]
Summary: dev-libs/glib-2.48.1[static-libs] should depend on dev-libs/libpcre[static-libs]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 588952 590344 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-07-05 17:30 UTC by Jordan Yelloz
Modified: 2016-09-08 23:05 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.