F40: mock fails with (some) explicit paths in BuildRequires:

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

 



I cannot mock-rebuild packages that have /some/ BuildRequires: with explicit file dependencies, for F40. I have no idea why just /some/ of them are rejected.

I'm using mock to rebuild SRPMS in an F40 chroot, and it fails thusly:

Updating and loading repositories:
updates                                100% | 286.7 KiB/s |  23.8 KiB |  00m00s
fedora                                 100% | 229.3 KiB/s |  19.7 KiB |  00m00s
Repositories loaded.
Failed to resolve the transaction:
No match for argument: /usr/include/ltdl.h
No match for argument: /usr/lib/rpm/macros.d/macros.systemd

These are absolute file paths referenced by BuildRequires:.

I replaced the problematic BuildRequires: with package names, libtool-ltdl- devel and systemd-rpm-macros. This allowed the build to proceed.

But here's a head-scratcher. Here's (a part of) my diff:

--- a/courier-authlib/courier-authlib.spec.in
+++ b/courier-authlib/courier-authlib.spec.in
@@ -54,7 +54,7 @@ BuildRequires:            redhat-rpm-config
BuildRequires:      courier-unicode-devel
BuildRequires:      %{__make}
BuildRequires:      shadow-utils
-BuildRequires:      %{_includedir}/ltdl.h
+BuildRequires:      libtool-ltdl-devel

That %{__make} is still there. Somewhat unneeded, but it's there. And this built fine.

So, can anyone tell me why %{_includedir}/ltdl.h, which is /usr/include/ltdl.h, got rejected by mock+dnf5, but %{__make}, which is /usr/bin/make was just peachy?

Attachment: pgpFtZD5OasSe.pgp
Description: PGP signature

--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-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/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux