-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
CentOS Stream 10, rhel-10.2
-
None
-
None
-
None
-
rhel-swm
-
None
-
False
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
None
Some packages require valgrind related packages for tests. However, since version 3.25.1, valgrind can be built on riscv64, which means valgrind_arches should be able to have riscv64 added to its list. Some packages may FTBFS without valgrind or proper logic around valgrind_arches throughout a spec file.
What were you trying to do that didn't work?
A recent package build of fwupd (2.0.19) fails on riscv64 due to valgrind packages not being installed. This is because valgrind_arches is missing riscv64.
What is the impact of this issue to you?
Packages that are not properly accounting for valgrind_arches in %build and %check will fail on riscv64, even if accounted for in BuildRequires. fwupd so far is the only one found to be affected. However, if valgrind is installed into the build root for fwupd on riscv64, the build and tests complete successfully.
As such, this is very small impact.
Please provide the package NVR for which the bug is seen:
redhat-rpm-config-293-1.el10
How reproducible is this bug?:
Always
Steps to reproduce
- Install mock on a given riscv64 system
- Configure mock against the proper build root
- mock -r cfg fwupd-2.0.19-1.el10.src.rpm
Expected results
Successful build
Actual results
This fails with the following.
```
Run-time dependency valgrind found: NO (tried pkgconfig)
```
And at the end
```
Run-time dependency valgrind found: NO (tried pkgconfig)
meson.build:378:11: ERROR: Dependency "valgrind" not found, tried pkgconfig
A full log can be found at /builddir/build/BUILD/fwupd-2.0.19/redhat-linux-build/meson-logs/meson-log.txt
error: Bad exit status from /var/tmp/rpm-tmp.bLXttp (%build)
Bad exit status from /var/tmp/rpm-tmp.bLXttp (%build)
RPM build errors:
Child return code was: 1
```
Other packages that rely on valgrind_arches may or may not have a similar issue. However, as valgrind is now buildable on riscv64, it should be able to be safely added to the list.
- relates to
-
RHEL-137514 fwupd fails to build on arches not in valgrind_arches
-
- New
-