Description of problem: Using rpmbuild -ba any.spec with the default target produce (armv7hnl-32) instead of (armv7hl-32) style at the build requires and dependency extraction steps. Version-Release number of selected component (if applicable): rpm-4.11.1-7.fc20.armv7hl How reproducible: always with the default rpmbuild (without using setarch or mock, etc) Steps to Reproduce: 1. rpmbuild -ba any.spec 2. 3. Actual results: ... Provides: libdvbpsi = 1.1.2-1.fc20 libdvbpsi(armv7hnl-32) = 1.1.2-1.fc20 libdvbpsi.so.9 ... Expected results: .. Provides: libdvbpsi = 1.1.2-1.fc20 libdvbpsi(armv7hl-32) = 1.1.2-1.fc20 libdvbpsi.so.9 ... Additional info: During the build, the rights ./configure options and the right cflags are used. This only occurs with the Buildrequires and dependencies extraction scripts. It's possible to workaround the problem by using rpmbuild with --target=armv7hl This problem doesn't occurs with koji. Despite I wasn't able to test if any package was built explicitly with (armv7hnl-32) whereas not expected to.
Additional info: The redhat-rpm-config package is installed.
FWIW the actual issue is not specific to arm, its a generic issue of macros not getting reloaded after an implicit buildarch change via buildarchtranslate, eg buildarchtranslate: armv7hl: armv7hl buildarchtranslate: armv7hnl: armv7hl
Hello, and thx for your answear. I'm not sure I understand the answear, (note that this issue predate the issue with neon detection method in recent rpm). Basically rpmbuild --rebuild *.src.rpm outputs armv7hnl rpm by default (on hardware when neon is available). Whereas I would like it to default to non-neon packages. Currently this might be handled explicitly at the infrastructure level (koji). But maybe that's a tweak that should be done within redhat-rpm-config ? As I expect, most GNU/Linux distro might generate armhfp binaries that doesn't implicitly requires neon. That's why I think this should be a rpm default.
The point is that as configured, rpm is *supposed* to default to creating armv7hl binaries whether neon is present or not. And it kinda does in fact, but with (partially) incorrect macros loaded. Which causes stuff like mismatching %{_isa}. Its a bug in rpm, ages old at that.
(In reply to Panu Matilainen from comment #4) > Its a bug in rpm, ages old at that. ...and as mentioned in comment #2, the underlying issue is not arm specific in any way.
This message is a reminder that Fedora 20 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 20. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '20'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 20 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.