Bug 2380452 - COPASI: FTBFS with change proposal CMake 4.0
Summary: COPASI: FTBFS with change proposal CMake 4.0
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: COPASI
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Antonio T. sagitter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: CMake4.0
TreeView+ depends on / blocked
 
Reported: 2025-07-16 10:23 UTC by Cristian Le
Modified: 2025-08-15 17:05 UTC (History)
2 users (show)

Fixed In Version: COPASI-4.45.298-13.fc44 COPASI-4.45.298-13.fc43
Clone Of:
Environment:
Last Closed: 2025-08-15 16:17:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Cristian Le 2025-07-16 10:23:53 UTC
\
Dear package maintainer,

This is an automated bug created due to a FTBFS when rebuilding this package for the change proposal CMake 4.0.

The rebuild is being tracked in https://copr.fedorainfracloud.org/coprs/cmake-4.0.

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

More specifically, depending on the state of the project:
- If it is actively maintained, please update the `cmake_minimum_required`, and instruct upstream to do so as well.
  To minimize future maintenance, please add a higher bound as well, preferrably with the highest CMake version being
  tested. You may use 4.0 as the higher bound as this is being tested in the tracked copr project.
- If the project is not maintained, you may add `CMAKE_POLICY_VERSION_MINIMUM=3.5` as a CMake variable or environment
  variable.

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 Cristian Le 2025-07-16 20:07:59 UTC
I remember patching this pacakge. Now it seems to be failing with
```
/usr/bin/ld/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/15/../../../../lib64/Scrt1.o: in function `_start':
(.text+0x1b): undefined reference to `main'
: /usr/lib/gcc/x86_64-redhat-linux/15/../../../../lib64/Scrt1.o: in function `_start':
(.text+0x1b): undefined reference to `main'
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
/bin/sh: line 1: -std=gnu++17: command not found
gmake[2]: *** [copasi/CMakeFiles/libCOPASISE-core.dir/build.make:149: copasi/CMakeFiles/libCOPASISE-core.dir/MIRIAM/CBiologicalDescription.cpp.o] Error 127
gmake[2]: *** Waiting for unfinished jobs....
/bin/sh: line 1: -std=gnu++17: command not found
/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/15/../../../../lib64/Scrt1.o: in function `_start':
(.text+0x1b): undefined reference to `main'
gmake[2]: *** [copasi/CMakeFiles/libCOPASISE-core.dir/build.make:135: copasi/CMakeFiles/libCOPASISE-core.dir/CopasiDataModel/CInfo.cpp.o] Error 127
/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/15/../../../../lib64/Scrt1.o: in function `_start':
(.text+0x1b): undefined reference to `main'
collect2: error: ld returned 1 exit status
/bin/sh: line 1: -std=gnu++17: command not found
gmake[2]: *** [copasi/CMakeFiles/libCOPASISE-core.dir/build.make:163: copasi/CMakeFiles/libCOPASISE-core.dir/MIRIAM/CConstants.cpp.o] Error 127
collect2: error: ld returned 1 exit status
/bin/sh: line 1: -std=gnu++17: command not found
gmake[2]: *** [copasi/CMakeFiles/libCOPASISE-core.dir/build.make:121: copasi/CMakeFiles/libCOPASISE-core.dir/CopasiDataModel/CDataModel.cpp.o] Error 127
gmake[2]: Leaving directory '/builddir/build/BUILD/COPASI-4.45.298-build/COPASI-Build-298'
gmake[1]: *** [CMakeFiles/Makefile2:1152: copasi/CMakeFiles/libCOPASISE-core.dir/all] Error 2
gmake[1]: Leaving directory '/builddir/build/BUILD/COPASI-4.45.298-build/COPASI-Build-298'
gmake: *** [Makefile:169: all] Error 2
```

Weird part is that Koschei is not failing :/

Comment 2 Fedora Update System 2025-08-15 16:14:02 UTC
FEDORA-2025-1092681d48 (COPASI-4.45.298-13.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-1092681d48

Comment 3 Fedora Update System 2025-08-15 16:17:26 UTC
FEDORA-2025-1092681d48 (COPASI-4.45.298-13.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Fedora Update System 2025-08-15 17:03:18 UTC
FEDORA-2025-70e507c955 (COPASI-4.45.298-13.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-70e507c955

Comment 5 Fedora Update System 2025-08-15 17:05:31 UTC
FEDORA-2025-70e507c955 (COPASI-4.45.298-13.fc43) has been pushed to the Fedora 43 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.