Re: fedora-review fails due to no annobin in mock

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

 



On Fri, Aug 21, 2020 at 11:15 AM Artur Iwicki <suve@xxxxxxxxxxxxxxxxx> wrote:
>
> Today I tried reviewing some Python packages:
> - x-tile: https://bugzilla.redhat.com/show_bug.cgi?id=1861020
> - python-iptools: https://bugzilla.redhat.com/show_bug.cgi?id=1870907
>
> And the mock build done by fedora-review failed. The error message I got was:
> > line XX: fg: no job control
> Which means that RPM didn't recognize the "%py3_build" macro and left it as-is, so bash then saw "%" and tried to do job control and failed.
>
> I checked the logs for both failed reviews, and looking at root.log, neither review installed python3-rpm-macros, which is where "%py3_build" and "%py3_install" come from. Now, looking at python3.9.spec, there's this bit:
> > Requires: (python3-rpm-macros if rpm-build)
>
> So right now I'm inclined to think that maybe when fedora-review calls mock, and mock installs BuildRequires, it doesn't install them in the rpm-build context? This would explain both the Python and the C/C++ failures, since like python3-rpm-macros, annobin isn't required for "user" builds, but is used for RPM builds.

This looks to me like your mock configuration or mock buildroot cache
might be messed up.
I have never seen any of those issues in my mock builds, and I do
dozens of them daily.

- Do you have custom mock configuration in ~/.config/mock.cfg?
- Are files in /etc/mock/ up-to-date, or are there lots of .rpmnew files?
- Does running "mock -r fedora-rawhide-x86_64 clean --scrub all" help?

Fabio
_______________________________________________
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




[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