On Wed, Sep 14, 2022 at 10:53 AM Smith, Stewart via devel <devel@lists.fedoraproject.org> wrote: > > > > On Sep 14, 2022, at 4:17 AM, Tom Hughes via devel > > <devel@lists.fedoraproject.org> wrote: > > > >> On 14/09/2022 12:11, Florian Weimer wrote: > >> I see some new build failures in rawhide related to systemd RPM macros: > >> > >> Processing files: opencryptoki-3.18.0-4.fc38.s390x > >> error: File must begin with "/": %{_tmpfilesdir}/opencryptoki.conf > >> error: File must begin with "/": %{_unitdir}/pkcsslotd.service > >> […] > >> RPM build errors: > >> File must begin with "/": %{_tmpfilesdir}/opencryptoki.conf > >> File must begin with "/": %{_unitdir}/pkcsslotd.service > >> Child return code was: 1 > >> EXCEPTION: [Error()] > >> > >> Is this a package problem (missing dependency on systemd-rpm-macros), or > >> is this something that should be fixed at the buildroot level? > > > > Guidelines say yes, you do need a BR on that: > > > > https://docs.fedoraproject.org/en-US/packaging-guidelines/Systemd/#packaging > > I think there was some change “recently” where it needed to start being > explicit rather than being brought in by some other dependency (possibly a > change to systemd?). I hit the same thing in a package in Amazon Linux the > other day, read the packaging guide and wondered how the package had ever > built.
It happened because Zbigniew changed the rich dependency from Requires to Requires(meta): https://src.fedoraproject.org/rpms/systemd/c/c971c5b980dff46fb9d7885f9e26b179a5a4749b I don't think Requires(meta) works when weak dependencies are turned off. -- 真実はいつも一つ!/ Always, there's only one truth! _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue