Bug 1796384 - satyr fails to build with gcc 10: multiple definition of `sr_py_report_type' and other symbols
Summary: satyr fails to build with gcc 10: multiple definition of `sr_py_report_type' ...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: satyr
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Martin Kutlak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F32FTBFS PYTHON39 GCC10
TreeView+ depends on / blocked
 
Reported: 2020-01-30 10:08 UTC by Miro Hrončok
Modified: 2020-01-30 14:40 UTC (History)
6 users (show)

Fixed In Version: satyr-0.29-3.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-30 14:40:30 UTC
Type: Bug


Attachments (Terms of Use)

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.


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