Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1794377 - libratbag-0.11-1.fc32: FTBFS with gcc 10: libratbag-private.h:588: multiple definition of `etekcity_driver'
Summary: libratbag-0.11-1.fc32: FTBFS with gcc 10: libratbag-private.h:588: multiple d...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libratbag
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Benjamin Tissoires
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F32FTBFS GCC10
TreeView+ depends on / blocked
 
Reported: 2020-01-23 12:57 UTC by Jitka Plesnikova
Modified: 2020-01-29 01:53 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-29 01:53:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jitka Plesnikova 2020-01-23 12:57:44 UTC
libratbag-0.11-1.fc32 fails to build in F32: 

FAILED: liblur.so.3.0.3 
cc  -o liblur.so.3.0.3 'lur@sha/src_liblur.c.o' -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,liblur.so.3 -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld libutil.a libhidpp.a -Wl,--version-script,/builddir/build/BUILD/libratbag-0.11/src/liblur.sym /usr/lib64/libudev.so -lm -Wl,--end-group '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/libratbag-0.11/x86_64-redhat-linux-gnu/
/usr/bin/ld: libhidpp.a(src_hidpp-generic.c.o):/builddir/build/BUILD/libratbag-0.11/x86_64-redhat-linux-gnu/../src/libratbag-private.h:595: multiple definition of `steelseries_driver'; libutil.a(src_libratbag-util.c.o):/builddir/build/BUILD/libratbag-0.11/x86_64-redhat-linux-gnu/../src/libratbag-private.h:595: first defined here
...
/usr/bin/ld: libhidpp.a(src_hidpp-generic.c.o):/builddir/build/BUILD/libratbag-0.11/x86_64-redhat-linux-gnu/../src/libratbag-private.h:588: multiple definition of `etekcity_driver'; libutil.a(src_libratbag-util.c.o):/builddir/build/BUILD/libratbag-0.11/x86_64-redhat-linux-gnu/../src/libratbag-private.h:588: first defined here
collect2: error: ld returned 1 exit status

A difference between passing and failing build root is at 
https://koschei.fedoraproject.org/build/7746488
This is probably triggered with an upgrade of gcc from 9.2.1-1.fc32.3 to 10.0.1-0.3.fc32.

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/libratbag


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