Bug 191678 - Initscripts fails to build in Mock
Initscripts fails to build in Mock
Product: Fedora
Classification: Fedora
Component: glib2 (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Matthias Clasen
: 192509 (view as bug list)
Depends On:
Blocks: BuildReqBlocker
  Show dependency treegraph
Reported: 2006-05-14 23:57 EDT by Brian Pepple
Modified: 2007-11-30 17:11 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-05-23 21:38:12 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Mock Build Log Failure (5.04 KB, text/plain)
2006-05-14 23:57 EDT, Brian Pepple
no flags Details
Makefile patch to reposition pkg-config calls (1009 bytes, patch)
2006-05-16 16:15 EDT, Andreas Thienemann
no flags Details | Diff

  None (edit)
Description Brian Pepple 2006-05-14 23:57:39 EDT
Description of problem: Initscripts fails to build in Mock
Comment 1 Brian Pepple 2006-05-14 23:57:40 EDT
Created attachment 129032 [details]
Mock Build Log Failure
Comment 2 Bill Nottingham 2006-05-16 16:12:04 EDT
From the spec:

BuildPrereq: glib2-devel popt gettext pkgconfig

I'm not sure how you're getting this error.
Comment 3 Andreas Thienemann 2006-05-16 16:15:07 EDT
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
for me.
With this, initscripts compiles in mock.
Comment 4 Bill Nottingham 2006-05-16 16:19:30 EDT
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?
Comment 5 Bill Nottingham 2006-05-22 11:36:40 EDT
*** Bug 192509 has been marked as a duplicate of this bug. ***
Comment 6 Matthias Clasen 2006-05-23 21:38:12 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.