Bug 2380999

Summary: fann: FTBFS with change proposal CMake: Use ninja generator by default
Product: [Fedora] Fedora Reporter: Cristian Le <fedora>
Component: fannAssignee: Tomas Smetana <tsmetana>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 44CC: tsmetana
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-02-27 14:08:42 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:13:53 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/fann.

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 Tomas Smetana 2026-02-17 14:46:49 UTC
Fann builds pass in F45 mock. Closing.

Comment 2 Cristian Le 2026-02-17 15:52:03 UTC
Please see https://src.fedoraproject.org/rpms/fann/pull-request/2 and try again today:
```
-- Build files have been written to: /builddir/build/BUILD/fann-2.2.0-build/FANN-2.2.0-Source/redhat-linux-build
+ make -C redhat-linux-build
make: Entering directory '/builddir/build/BUILD/fann-2.2.0-build/FANN-2.2.0-Source/redhat-linux-build'
make: Leaving directory '/builddir/build/BUILD/fann-2.2.0-build/FANN-2.2.0-Source/redhat-linux-build'
make: *** No targets specified and no makefile found.  Stop.
error: Bad exit status from /var/tmp/rpm-tmp.k2rCMv (%build)
```
https://copr.fedorainfracloud.org/coprs/lecris/cmake-all-recheck/build/10145562/

Comment 3 Tomas Smetana 2026-02-17 15:56:10 UTC
Ah. Sorry. I have not noticed this. So... Again.

Comment 4 Tomas Smetana 2026-02-27 14:08:42 UTC
I merged the PR and pushed it also into f44, so hopefully it's all correct now. Thanks for your help.