Bug 484849 - uuid : expensive superfluous file dependencies
Summary: uuid : expensive superfluous file dependencies
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: uuid
Version: 10
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Steven Pritchard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-02-10 10:33 UTC by Michael Schwendt
Modified: 2009-05-07 15:36 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-05-04 18:11:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michael Schwendt 2009-02-10 10:33:10 UTC
uuid-devel really ought to "Requires: pkgconfig"
instead of depending on %_libdir/pkgconfig. The latter requires
package resolvers to download and parse the huge filelists instead
of just the primary metadata.

$ rpm -q uuid-devel
uuid-devel-1.6.1-3.fc9.i386

It does a similar thing in the -php and -pgsql subpackages.
Inflation of file dependencies will make dependency resolving
in Fedora slower and slower until we are forced to fight such
dependencies with strict guidelines. Please avoid them.

If you have strong doubts that a needed directory will stay in
the same package, add a safety-check to your %prep script.

Comment 1 Michael Schwendt 2009-04-25 12:18:41 UTC
*ping*

Comment 2 Michael Schwendt 2009-05-04 18:11:46 UTC
Fixed committed - in F12 devel tree only.

Comment 3 Michael Schwendt 2009-05-07 15:36:14 UTC
https://www.redhat.com/archives/fedora-devel-list/2009-May/msg00328.html

"Requires: %_libdir/pkgconfig" doesn't work, since it's a hidden broken dep. For example, pkgconfig.i386 is not made available in the x86_64 repo, so nothing provides /usr/lib/pkgconfig, and you don't get pkgconfig.i386 with a dependency on the path. It just seemed to work because other -devel packages included and provided %_libdir/pkgconfig because of packaging bugs. Using "Requires: pkgconfig%{_isa}" was base on the assumption that pkgconfig is multilib'ed, but actually the 32-bit pkgconfig is not available on 64-bit multi-lib platforms.


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