Bug 465377 - rpmbuild should automatically process pkg-config files
Summary: rpmbuild should automatically process pkg-config files
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Panu Matilainen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-10-02 23:26 UTC by Bastien Nocera
Modified: 2008-11-29 17:45 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-11-29 17:45:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bastien Nocera 2008-10-02 23:26:27 UTC
pkg-config files are becoming the norm to offer a library's settings.

It would be very useful for rpm to process pkg-config files to add requires for -devel sub-packages. For example:
libfoo uses libbar and libbaz
libfoo-devel contains a pkg-config file that mentions "libbar and libbaz"
libfoo-devel should automatically have added to its requires the libbar-devel and libbaz-devel packages.

This would avoid problems when a package that uses libfoo but knows nothing of libbar or libbaz to have missing build requires.

Comment 1 Panu Matilainen 2008-10-03 05:41:24 UTC
Actually rpm already supports this, but generation of pkg-config requires has been disabled for now (provides are being added though) to avoid creating unsolvable dependencies.

What's needed is either
a) enabling the requires generation and a carefully ordered rebuild of all pkg-config enabled packages
b) rebuild of all pkg-config enabled packages (in whatever order), enabling the requires generation and then another rebuild of the packages (in whatever order)

Comment 2 Bug Zapper 2008-11-26 03:29:15 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Panu Matilainen 2008-11-29 17:45:44 UTC
Starting right now, pkg-config (and libtool) requires are getting generated too, rawhide only as this is bound to cause some amount of breakage from unsatisfied dependencies here and there.


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