Bug 1796384

Summary: satyr fails to build with gcc 10: multiple definition of `sr_py_report_type' and other symbols
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: satyrAssignee: Martin Kutlak <mkutlak>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: cstratak, ekulik, mhabrnal, mhroncok, mkutlak, mmarusak
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: satyr-0.29-3.fc32 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-30 14:40:30 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: 1750908, 1785415, 1792464    

Description Miro Hrončok 2020-01-30 10:08:12 UTC
satyr fails to build with gcc 10:

...
/usr/bin/ld: .libs/_satyr3_la-py_module.o:/builddir/build/BUILD/satyr-0.29/python/py_core_thread.h:35: multiple definition of `sr_py_core_thread_type'; .libs/_satyr3_la-py_core_thread.o:/builddir/build/BUILD/satyr-0.29/python/py_core_thread.h:35: first defined here
/usr/bin/ld: .libs/_satyr3_la-py_module.o:/builddir/build/BUILD/satyr-0.29/python/py_core_stacktrace.h:38: multiple definition of `sr_py_core_stacktrace_type'; .libs/_satyr3_la-py_core_stacktrace.o:/builddir/build/BUILD/satyr-0.29/python/py_core_stacktrace.h:38: first defined here
/usr/bin/ld: .libs/_satyr3_la-py_module.o:/builddir/build/BUILD/satyr-0.29/python/py_ruby_frame.h:35: multiple definition of `sr_py_ruby_frame_type'; .libs/_satyr3_la-py_ruby_frame.o:/builddir/build/BUILD/satyr-0.29/python/py_ruby_frame.h:35: first defined here
/usr/bin/ld: .libs/_satyr3_la-py_module.o:/builddir/build/BUILD/satyr-0.29/python/py_ruby_stacktrace.h:35: multiple definition of `sr_py_ruby_stacktrace_type'; .libs/_satyr3_la-py_ruby_stacktrace.o:/builddir/build/BUILD/satyr-0.29/python/py_ruby_stacktrace.h:35: first defined here
/usr/bin/ld: .libs/_satyr3_la-py_module.o:/builddir/build/BUILD/satyr-0.29/python/py_js_frame.h:35: multiple definition of `sr_py_js_frame_type'; .libs/_satyr3_la-py_js_frame.o:/builddir/build/BUILD/satyr-0.29/python/py_js_frame.h:35: first defined here
/usr/bin/ld: .libs/_satyr3_la-py_module.o:/builddir/build/BUILD/satyr-0.29/python/py_js_stacktrace.h:35: multiple definition of `sr_py_js_stacktrace_type'; .libs/_satyr3_la-py_js_stacktrace.o:/builddir/build/BUILD/satyr-0.29/python/py_js_stacktrace.h:35: first defined here
/usr/bin/ld: .libs/_satyr3_la-py_module.o:/builddir/build/BUILD/satyr-0.29/python/py_operating_system.h:35: multiple definition of `sr_py_operating_system_type'; .libs/_satyr3_la-py_operating_system.o:/builddir/build/BUILD/satyr-0.29/python/py_operating_system.h:35: first defined here
/usr/bin/ld: .libs/_satyr3_la-py_module.o:/builddir/build/BUILD/satyr-0.29/python/py_report.h:35: multiple definition of `sr_py_report_type'; .libs/_satyr3_la-py_report.o:/builddir/build/BUILD/satyr-0.29/python/py_report.h:35: first defined here
/usr/bin/ld: .libs/_satyr3_la-py_module.o:/builddir/build/BUILD/satyr-0.29/python/py_rpm_package.h:35: multiple definition of `sr_py_rpm_package_type'; .libs/_satyr3_la-py_rpm_package.o:/builddir/build/BUILD/satyr-0.29/python/py_rpm_package.h:35: first defined here
collect2: error: ld returned 1 exit status



This blocks the Python 3.9 rebuild of the package.

See https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/RYVPP45PMWPXYBBDKXO3CI7YGL7CDQG6/ and https://gcc.gnu.org/gcc-10/porting_to.html#common for more information about the failure.