Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1839372
Summary: | python-rpmfluff fails to build on armv7hl | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | koji | Assignee: | Mike McLean <mikem> |
Status: | ASSIGNED --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 33 | CC: | dennis, igor.raits, jal233, jhutar, jkeating, kevin, mikem, msuchy, pmatilai, puiterwijk, reallylongword |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | Bug | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 245418 |
Description
Miro Hrončok
2020-05-23 19:17:15 UTC
Hello Mirek. Could you please take a look into this issue (I have seen you commenting in possibly relevant bug 1836108)? Looks like I'm not able to build on ARM: https://koji.fedoraproject.org/koji/buildinfo?buildID=1586790 while it works otherwise: https://koji.fedoraproject.org/koji/buildinfo?buildID=1586770 Please do you have any idea on what does this error mean? Mirek as in Mirek Suchý? He's not CCed here. (In reply to Jan Hutař from comment #1) > Hello Mirek. Could you please take a look into this issue (I have seen you > commenting in possibly relevant bug 1836108)? Looks like I'm not able to > build on ARM: > > https://koji.fedoraproject.org/koji/buildinfo?buildID=1586790 > > while it works otherwise: > > https://koji.fedoraproject.org/koji/buildinfo?buildID=1586770 > > Please do you have any idea on what does this error mean? Oops, forgot to needinfo Mirek. The culprit is: /usr/lib/rpm/check-buildroot\nxargs: invalid number "%{_smp_build_ncpus}" for -P option So during it seems that %{_smp_build_ncpus} expands to something else than number. Hello Panu! Could you please take a look at the failed build? Looks like this %{_smp_build_ncpus} macro is defined in file provided by rpm package (although I only checked on my laptop and not on ARM host). Failed build (reproducible): https://koji.fedoraproject.org/koji/buildinfo?buildID=1586790 > "invalid number "%{_smp_build_ncpus}" for -P option" That means "%{_smp_build_ncpus}" is the literal value passed to -P, which means it's not defined at all. Which means the platform macro definitions are not being loaded. Uh-oh. This rings a bell, koji sets --target explicitly by some logic of its own, and on arm that value is wrong. At least sometimes. Note this: > '--target', 'arm' So it's calling "rpmbuild -ba --target arm [...]" but there is no such platform as "arm" (or "arm-linux", which that gets expanded to) defined on Fedora, just these: armv3l-linux armv4b-linux armv4l-linux armv5tejl-linux armv5tel-linux armv5tl-linux armv6hl-linux armv6l-linux armv7hl-linux armv7hnl-linux armv7l-linux armv8hl-linux armv8l-linux Basically this is a dupe of bug 1096480 but as that one is EPEL and I don't know if this is a code, configuration (or both) thing, leaving it up to koji maintainers... This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle. Changing version to 33. So, I see there is a successfull build in f34? Is this solved, or is there other conditions under which it would fail? I do see that this is a noarch package... (In reply to Kevin Fenzi from comment #8) > So, I see there is a successful build in f34? Is this solved, or is there > other conditions under which it would fail? > > I do see that this is a noarch package... Hello Kevin. Are you talking about this build: https://koji.fedoraproject.org/koji/buildinfo?buildID=1589928 ? According to log below, it was not running on ARM: https://kojipkgs.fedoraproject.org//packages/python-rpmfluff/0.6.1/1.fc34/data/logs/noarch/hw_info.log |