Bug 1794297

Summary: csdiff fails to build with Python 3.9: internal compiler error: in nothrow_spec_p
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: csdiffAssignee: Kamil Dudka <kdudka>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: cstratak, kdudka, mhroncok, svashisht
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gcc-10.0.1-0.6.fc32 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-28 09:35:42 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: 1794094    
Bug Blocks: 1750908, 1785415, 1792464    

Description Miro Hrončok 2020-01-23 08:20:32 UTC
csdiff fails to build with Python 3.9.0a2.

[ 95%] Building CXX object CMakeFiles/pycsdiff.dir/pycsdiff.cc.o
/usr/bin/c++  -Dpycsdiff_EXPORTS  -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   -Wall -Wextra -fPIC -I/usr/include/python3.9 -o CMakeFiles/pycsdiff.dir/pycsdiff.cc.o -c /builddir/build/BUILD/csdiff-1.6.1/pycsdiff.cc
*** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins.
Event                            | Plugins
PLUGIN_FINISH_UNIT               | annobin: Generate final annotations
PLUGIN_START_UNIT                | annobin: Generate global annotations
PLUGIN_ALL_PASSES_START          | annobin: Generate per-function annotations
PLUGIN_ALL_PASSES_END            | annobin: Register per-function end symbol
In file included from /usr/include/boost/python.hpp:55,
                 from /builddir/build/BUILD/csdiff-1.6.1/pycsdiff.cc:26:
/usr/include/boost/python/raw_function.hpp: In member function 'PyObject* boost::python::detail::raw_dispatcher<F>::operator()(PyObject*, PyObject*)':
/usr/include/boost/python/raw_function.hpp:33:76: internal compiler error: in nothrow_spec_p, at cp/except.c:1247
   33 |                     , keywords ? dict(borrowed_reference(keywords)) : dict()
      |                                                                            



This failure happened during our Python 3.9 rebuilds. While not related to Python 3.9, it still blocks it.

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.9/fedora-rawhide-x86_64/01173408-csdiff/

For all our attempts to build csdiff with Python 3.9, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.9/package/csdiff/

Comment 1 Miro Hrončok 2020-01-23 08:25:21 UTC
This is a gcc bug. Marking as blocked, changing to ASSIGNED to avoid automated emails. Nothing the package maintainer can do here, but please keep this open.