Re: Proposal: Reduce *-devel packages dependencies on other unneeded *-devel packages

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

 



On 08/13/2018 08:34 AM, Robert Marcano wrote:
On 08/13/2018 06:17 AM, Graham Leggett wrote:
On 11 Aug 2018, at 20:58, Robert Marcano <robert@xxxxxxxxxxxxxxxxx> wrote:

Current *-devel packages tend to pull a lot of dependencies, probably to make developers life easier, but I think some of them are not needed.

Do you think they’re not needed, or are you sure they’re not needed?

I think and find occurrences of this, another example:

   # rpm -q --requires krb5-devel | grep libselinux-devel
   libselinux-devel

but an application using krb5-devel doesn't need to link with selinux directly. Another email on this thread point that some are needed for headers, but krb5-devel headers doesn't includes selinux headers

   # rpm -ql krb5-devel | grep \\.h$ | xargs grep -l selinux
   <None>

   # grep Requires.private /usr/lib64/pkgconfig/libselinux.pc
   Requires.private: libsepol libpcre2-8

Sorry, This case isn't Requires.private related, it is a harcoded dependency [1]

  Requires: keyutils-libs-devel, libselinux-devel

In summary:

1) filtering Requires.private may be left broken packages because some headers use headers from other packages, even when the library is only private. Looks difficult to automate the detection of what devel packages really need other packages headers.

2) Some devel packages are adding extra unneeded dependencies directly to the spec file.


[1] https://src.fedoraproject.org/cgit/rpms/krb5.git/tree/krb5.spec?h=f28#n171



Regards,
Graham
—
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx/message/XJGGI2D2V5OMQG5ZCSHZFYLLZJIZOMB5/


_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx/message/DJURMJN256K5SOLW7UKJSVXNIYHSUOAT/




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [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