Re: While we're talking about RPM dependencies ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2012-04-10 at 22:52 -0400, Bill Nottingham wrote:
> Richard W.M. Jones (rjones@xxxxxxxxxx) said: 
> > The 'qemu' package has a bug, of sorts: the maintainer should have
> > added a specific Requires line:
> > 
> >   Requires: usbredir >= <some version>
> > 
> > However, instead of pushing this problem on packagers, maybe RPM
> > should resolve this by encoding the (admittedly long) list of symbols
> > used by a binary?
> 
> Unless you redesign the entire way we store, distribute, and process
> dependency metadata first, doing anything of this sort is just pushing a
> world of pain onto everyone.
> 
> An enterprising soul could calculate how many library:symbol:version
> entries a typical package would have, and how many of the same a typical
> library would need to provide. I am not that soul.

Some quick ballpark numbers from F17:

black-lotus:~% symbols_needed_by_package() {
function> rpm -ql "$1" | xargs file | grep '\<ELF\>' | cut -f 1 -d : | 
function pipe pipe pipe pipe> xargs nm -aDu | sort -u | wc -l
function> }
black-lotus:~% symbols_needed_by_package xulrunner
3084
black-lotus:~% rpm -q --requires xulrunner | wc -l
114
black-lotus:~% symbols_needed_by_package xorg-x11-server-Xorg
851
black-lotus:~% rpm -q --requires xorg-x11-server-Xorg | wc -l
35

So that's a factor of 25ish more data in the Requires list.  No, thanks.

- ajax

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux