On Fri, Aug 21, 2020 at 5:15 AM Artur Iwicki <s...@fedoraproject.org> 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.

That's a little bizarre, because rpm-build should be installed in the
mock environment (otherwise, how does rpmbuild work?), so
python3-rpm-macros should get installed.


-- 
真実はいつも一つ!/ 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

Reply via email to