Bug 2380479
| Summary: | bionetgen-2.9.0-1.fc45 FTBFS: bionetgen-BioNetGen-2.9.0/bng2/Network3/cvode-2.6.0/build/FortranTest/CMakeLists.txt: No cmake_minimum_required command is present | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Cristian Le <fedora> |
| Component: | bionetgen | Assignee: | Antonio T. sagitter <sagitterghostproton.me> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | neuro-sig, ppisar, sagitterghostproton.me, zbyszek |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | bionetgen-2.9.0-14.fc45 | Doc Type: | --- |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2026-02-19 14:39:45 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: | 2376114, 2433833 | ||
|
Description
Cristian Le
2025-07-16 10:25:56 UTC
FEDORA-2025-5a9c48ea15 (bionetgen-2.9.0-9.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2025-5a9c48ea15 FEDORA-2025-5a9c48ea15 (bionetgen-2.9.0-9.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report. I'm afraid to touch whatever is going on in there. There seems to be unpatched sources, probably due to the other cmake builds [1] [1]: https://copr.fedorainfracloud.org/coprs/lecris/cmake-4.0/build/9317966/ cmake-4 is now in Fedora 45 and the build failure is:
CMake Error in /home/test/fedora/bionetgen/bionetgen-2.9.0-build/bionetgen-2.9.0/bionetgen-BioNetGen-2.9.0/bng2/Network3/cvode-2.6.0/build/FortranTest/CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 4.2)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
It seems the sources have more independent cmake-driven parts and not all of them are covered with bionetgen-fix_cmake_minimum.patch.
Yes, this is a complicated one, we even added the big hammer of `export CMAKE_POLICY_VERSION_MINIMUM=3.5` and that did not help. Looking at the batch of that issue, something feels fishy and the source of the issue seems to be with the whole build process and the bundling of `sundials-devel`. I don't think I can help very well on this without more context around that and the plans for this package. Summoning the maintainer for feedback here. Let me check FEDORA-2026-1f8e7b6102 (bionetgen-2.9.0-14.fc45) has been submitted as an update to Fedora 45. https://bodhi.fedoraproject.org/updates/FEDORA-2026-1f8e7b6102 FEDORA-2026-1f8e7b6102 (bionetgen-2.9.0-14.fc45) has been pushed to the Fedora 45 stable repository. If problem still persists, please make note of it in this bug report. Thanks for the fix, hope you mentioned this to upstream also. The only thing else that bothers me is that `sundials` is bundled by default, and it is not `Provides: bundled()`. Do you know why that is the case? > The only thing else that bothers me is that `sundials` is bundled by default, and it is not `Provides: bundled()`. Do you know why that is the case?
`sundials` is statically linked and not provided inside `bionetgen` rpms.
(In reply to Antonio T. sagitter from comment #10) > > The only thing else that bothers me is that `sundials` is bundled by default, and it is not `Provides: bundled()`. Do you know why that is the case? > > `sundials` is statically linked and not provided inside `bionetgen` rpms. That is not correct though. **Because** you are linking to a static library **you must** specify bundled (i.e. it bundles the sundials symbols) [1]. You are confusing it with `Provides`. But the other question of de-bundling `sundials` is not clear. Why is it happening, because I do not see a comment regarding it and more so there is a flag to conditionally de-bundle it. It would be good to have some tracking of these issues and periodically check the status when upstream updates, and propose some way forwards for upstream if they need help. [1]: https://docs.fedoraproject.org/en-US/packaging-guidelines/#bundling The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days or the product is inactive and locked |