Red Hat Bugzilla – Bug 191678
Initscripts fails to build in Mock
Last modified: 2007-11-30 17:11:32 EST
Description of problem: Initscripts fails to build in Mock
Created attachment 129032 [details]
Mock Build Log Failure
From the spec:
BuildPrereq: glib2-devel popt gettext pkgconfig
I'm not sure how you're getting this error.
Created attachment 129269 [details]
Makefile patch to reposition pkg-config calls
I've got a patch, which works by changing the position of the `pkg-config` call
in the makefile.
I have _ABSOFUCKINGLUTELY_ no clue why this should matter, but hey... It works
With this, initscripts compiles in mock.
That change switches it to link glib2 into the apps dynamically instead of
statically - initscripts needs to link it statically as those apps are in /sbin
and may be run before /usr is available (where the glib libraries are.)
It appears that glib lost its static libraries in rawhide. Any reason why?
*** Bug 192509 has been marked as a duplicate of this bug. ***
glib lost its static libraries in accordance to the general policy of not shipping
static libraries. To fix initscripts and pam, I have moved glib to /lib now.