Bug 2381020 - hpx: FTBFS with change proposal CMake: Use ninja generator by default
Summary: hpx: FTBFS with change proposal CMake: Use ninja generator by default
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: hpx
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Patrick Diehl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2376112
TreeView+ depends on / blocked
 
Reported: 2025-07-16 15:15 UTC by Cristian Le
Modified: 2025-08-17 18:17 UTC (History)
2 users (show)

Fixed In Version: hpx-1.10.0-8.fc44
Clone Of:
Environment:
Last Closed: 2025-08-17 18:17:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github STEllAR-GROUP hpx issues 6765 0 None open v1.10.0: tests fail on ppc64le & s390x 2025-08-13 13:50:16 UTC

Description Cristian Le 2025-07-16 15:15:30 UTC
Dear package maintainer,

This is an automated bug created due to a FTBFS when rebuilding this package for the change proposal CMake: Use ninja generator by default.

The rebuild is being tracked in https://copr.fedorainfracloud.org/coprs/lecris/cmake-ninja/package/hpx.

See https://fedoraproject.org/wiki/Changes/CMake_ninja_default for more information on how to make the package compatible.

More specifically, make sure you are using standard %cmake_* macros. If you find that there are hard dependencies on
the generator even after such transition, please ping me for closer investigation.

You can check the build locally following the instructions in the change proposal, or submit your build to the tracking
copr project.

Let me know if you encounter any issues, or need any other help.

Comment 1 Christoph Junghans 2025-08-13 13:51:58 UTC
The issue is because make is called directly in the spec:
diff --git a/hpx.spec b/hpx.spec
index 94548c3..cadca25 100644
--- a/hpx.spec
+++ b/hpx.spec
@@ -215,7 +216,7 @@ rm %{buildroot}/%{_datadir}/%{name}/LICENSE_1_0.txt
 . /etc/profile.d/modules.sh
 for mpi in '' openmpi mpich ; do
   test -n "${mpi}" && module load mpi/${mpi}-%{_arch}
-  make -C %{__cmake_builddir}/ tests.examples
+  %ctest --tests-regex tests.examples
   test -n "${mpi}" && module unload mpi/${mpi}-%{_arch}
 done

It also turns out the test were never ran and now some fail on ppc64le and s390x.

Comment 2 Fedora Update System 2025-08-17 18:15:27 UTC
FEDORA-2025-79cab586cb (hpx-1.10.0-8.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-79cab586cb

Comment 3 Fedora Update System 2025-08-17 18:17:26 UTC
FEDORA-2025-79cab586cb (hpx-1.10.0-8.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.