python-giacpy fails to build with Python 3.9.0a2. gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -Igiacpy -I./giacpy -I. -I/usr/include/python3.9 -c giacpy/giacpy.cpp -o build/temp.linux-x86_64-3.9/giacpy/giacpy.o In file included from giacpy/giacpy.cpp:641: giacpy/giacpymisc.h: In function ‘void archivegen(std::string, const giac::gen&, const giac::context*)’: giacpy/giacpymisc.h:147:15: error: variable ‘std::ofstream of’ has initializer but incomplete type 147 | ofstream of(filename.c_str()); | ^~~~~~~~ giacpy/giacpymisc.h: In function ‘giac::gen unarchivegen(std::string, const giac::context*)’: giacpy/giacpymisc.h:153:14: error: variable ‘std::ifstream f’ has initializer but incomplete type 153 | ifstream f(filename.c_str()); | ^~~~~~~~ For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.9/fedora-rawhide-x86_64/01161451-python-giacpy/ For all our attempts to build python-giacpy with Python 3.9, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.9/package/python-giacpy/ 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.9: https://copr.fedorainfracloud.org/coprs/g/python/python3.9/ Let us know here if you have any questions. Python 3.9 will be included in Fedora 33. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.9. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon. We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.
It is n
Sorry. It is not related to the python version, but to the giac version. (some includes were removed in giac>1.5.0.75) So I need to fix this upstream in giacpy. the current git version should fix this: https://gitlab.math.univ-paris-diderot.fr/han/giacpy
Fixed. Please, try rebuild latest package in Rawhide with Python 3.9 @Frederic, where i can post helping requests about giacpy in future?
Please, feel free to CC me for any giacpy problem. You can also post on giac/xcas's forum here: https://xcas.univ-grenoble-alpes.fr/forum/viewforum.php?f=24
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle. Changing version to 32.