Bug 1721938 - COPASI fails to build with Python 3.8
Summary: COPASI fails to build with Python 3.8
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: COPASI
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Antonio T. (sagitter)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON38
TreeView+ depends on / blocked
 
Reported: 2019-06-19 09:28 UTC by Miro Hrončok
Modified: 2019-08-01 17:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-01 17:10:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.