Re: RPM buildroot & "Recommends:"

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

 



V Tue, Jul 30, 2024 at 12:31:37PM +0200, Michal Schorm napsal(a):
> Hello,
> 
> I've got this fix into 'asio' package:
>   https://src.fedoraproject.org/rpms/asio/pull-request/4#request_diff
> 
> When %devel package is installed on Fedora Rawhide and later, it is
> supposed to also pull in the 'openssl-devel-engine' package via
> "Recommends:".
>   https://src.fedoraproject.org/rpms/asio/blob/rawhide/f/asio.spec#_34
> 
> However when I try to rebuild package 'galera' on Fedora Rawhide,
> which BuildRequires the package 'asio-devel',
>   https://src.fedoraproject.org/rpms/galera/blob/rawhide/f/galera.spec#_22
> the recommended package 'openssl-devel-engine' is NOT pulled into the buildroot.
> As seen in this scratch build:
>   https://koji.fedoraproject.org/koji/taskinfo?taskID=120907411
>   https://kojipkgs.fedoraproject.org//work/tasks/7411/120907411/root.log
> 
> Is it a bug?
No.
> Is it intended?
Yes, weak dependencies are disabled in Koji. See install_weak_deps DNF option:

$ koji mock-config --arch x86_64 --tag f41-build
# Auto-generated by the Koji build system
[...]
config_opts['yum.conf'] = '[main]\ncachedir=/var/cache/yum\ndebuglevel=1\nlogfile=/var/log/yum.log\nreposdir=/dev/null\nretries=20\nobsoletes=1\ngpgcheck=0\nassumeyes=1\nkeepcache=1\ninstall_weak_deps=0\nstrict=1\n\n# repos\n\n[build]\nname=build\nbaseurl=https://kojipkgs.fedoraproject.org/repos/f41-build/6289228/x86_64\n'
[...]

> Is it something that changed with the new DNF ?
No.
> Am I missing something different?
> 
No. It used to be so since Fedora introduced weak dependencies.

-- Petr

Attachment: signature.asc
Description: PGP signature

-- 
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[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