Re: checksec: Problem: conflicting requests in s390x

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

 



On Fri, Sep 8, 2023 at 12:51 PM Jun Aruga (he / him) <jaruga@xxxxxxxxxx> wrote:
>
> On Fri, Sep 8, 2023 at 6:06 PM Yaakov Selkowitz <yselkowi@xxxxxxxxxx> wrote:
> >
> > On Fri, 2023-09-08 at 17:53 +0200, Jun Aruga wrote:
> > > I am running the scratch build for rpms/ruby [1] rawhide branch right
> > > now, and I see the following error in the root.log on only s390x CPU
> > > architecture. Do you know what's wrong?
> > >
> > > https://koji.fedoraproject.org/koji/taskinfo?taskID=105910607
> > >
> > > s390x:
> > > https://kojipkgs.fedoraproject.org//work/tasks/753/105910753/root.log
> > [snip[
> > > DEBUG util.py:442:   Problem: conflicting requests
> > > DEBUG util.py:442:    - nothing provides nm needed by
> > > checksec-2.6.0-5.fc40.noarch from build
> >
> > This is a result of
> > https://src.fedoraproject.org/rpms/checksec/c/7e260a6c3f4d6f17f02f9c40ff2308919670a50d?branch=rawhide
> >
> > AFAICS that change is wrong, as nothing provides "nm".  That should be
> > either Requires: /usr/bin/nm (literally, not %{_bindir}/nm !!) or
> > Requires: binutils.  Or maybe not at all, if one can still (hopefully?)
> > safely presume that binutils is a necessary part of the base buildroot.
>
> Thanks for your investigation! For the checksec RPM, I reported the
> issue to the following bugzilla ticket.
> https://bugzilla.redhat.com/show_bug.cgi?id=2235760#c12
>
> Why is the following one not a proper solution? I don't understand it.
>
> ```
> Requires: %{_bindir}/nm
> ```

RPM cannot evaluate the %{_bindir} in Requires:. So it's essentially
looking for a virtual provides with those literal characters, which it
won't find.
_______________________________________________
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