Bug 2381008

Summary: flexiblas: FTBFS with change proposal CMake: Use ninja generator by default
Product: [Fedora] Fedora Reporter: Cristian Le <fedora>
Component: flexiblasAssignee: Iñaki Ucar <i.ucar86>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: i.ucar86
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-07-16 17:08:04 UTC Type: ---
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: 2376112    

Description Cristian Le 2025-07-16 15:14:34 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/flexiblas.

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 Iñaki Ucar 2025-07-16 16:30:24 UTC
Can you please take a look at the SPEC? I need to manage 32 and 64 bit integer builds (currently using %make_build's -C flag) in parallel, as well as test them. Is there a way to achieve this with this change? Otherwise, I will just opt out.

Comment 2 Cristian Le 2025-07-16 16:45:50 UTC
This feels similar to the mpi builds [1]. One clean way of doing it is to override `_vpath_builddir` and include a suffix that you populate as an environment (or local?) variable. Then you just run the `%cmake_*` macros multiple times. See the cp2k spec file that I referenced. Hope it's readable enough, but feel free to ping me if you need a more thorough breakdown of it.

[1]: https://src.fedoraproject.org/rpms/cp2k/blob/rawhide/f/cp2k.spec#_136

Comment 3 Iñaki Ucar 2025-07-16 16:51:44 UTC
Mmh, ugly. I prefer to make it explicit, so I'm going to opt out for now. Thanks.

Comment 4 Cristian Le 2025-07-16 17:02:54 UTC
Sure, however you prefer to manage it :).

Note that `make test` is very different from using the `%ctest` macros. The latter has test parallelization (and better output imo).