Bug 1721938

Summary: COPASI fails to build with Python 3.8
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: COPASIAssignee: Antonio T. (sagitter) <anto.trande>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: anto.trande, neuro-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-01 17:10:19 UTC Type: Bug
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: 1686977    

Description Miro Hrončok 2019-06-19 09:28:24 UTC
COPASI fails to build with Python 3.8.0b1.

[  0%] Built target binding_perl_swig
make[1]: Leaving directory '/builddir/build/BUILD/COPASI-Build-207/build'
/usr/bin/mIn file included from /builddir/build/BUILD/COPASI-Build-207/copasi/undo/CUndoObjectInterface.h:14,
                 from /builddir/build/BUILD/COPASI-Build-207/copasi/core/CDataObject.h:30,
                 from /builddir/build/BUILD/COPASI-Build-207/copasi/core/CDataContainer.h:31,
                 from /builddir/build/BUILD/COPASI-Build-207/copasi/CopasiDataModel/CDataModel.h:18,
                 from /builddir/build/BUILD/COPASI-Build-207/copasi/CopasiDataModel/CDataModel.cpp:16:
/usr/include/crossguid2/crossguid/guid.hpp:55:32: error: expected ')' before 'fromString'
   55 |  explicit Guid(std::string_view fromString);
      |               ~                ^~~~~~~~~~~
      |                                )
/builddir/build/BUILD/COPASI-Build-207/copasi/CopasiDataModel/CDataModel.cpp: In member function 'bool CDataModel::importSEDML(const string&, CProcessReport*, const bool&)':
/builddir/build/BUILD/COPASI-Build-207/copasi/CopasiDataModel/CDataModel.cpp:1810:20: warning: unused variable 'trajTask' [-Wunused-variable]
 1810 |   CTrajectoryTask *trajTask = NULL;
      |                    ^~~~~~~~
/builddir/build/BUILD/COPASI-Build-207/copasi/CopasiDataModel/CDataModel.cpp: In member function 'bool CDataModel::exportSEDML(const string&, bool, int, int, bool, bool, CProcessReport*)':
/builddir/build/BUILD/COPASI-Build-207/copasi/CopasiDataModel/CDataModel.cpp:2015:16: warning: unused variable 'pOrigSEDMLDocument' [-Wunused-variable]
 2015 |   SedDocument* pOrigSEDMLDocument = NULL;
      |                ^~~~~~~~~~~~~~~~~~
make[2]: *** [copasi/CMakeFiles/libCOPASISE-core.dir/build.make:99: copasi/CMakeFiles/libCOPASISE-core.dir/CopasiDataModel/CDataModel.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1042: copasi/CMakeFiles/libCOPASISE-core.dir/all] Error 2

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.8/fedora-rawhide-x86_64/00940761-COPASI/

For all our attempts to build COPASI with Python 3.8, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.8/package/COPASI/

Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.8:
https://copr.fedorainfracloud.org/coprs/g/python/python3.8/

Let us know here if you have any questions.

Comment 1 Miro Hrončok 2019-07-30 14:51:42 UTC
Antonio, could you please have a look?

Comment 2 Antonio T. (sagitter) 2019-07-30 16:19:52 UTC
The error looks unrelated with Python3.8.
I'm talking with upstream.

Comment 3 Antonio T. (sagitter) 2019-08-01 17:10:19 UTC
Fixed on Rawhide.