Bug 1793391 - amanda-3.5.1-20.fc32 FTBFS: /usr/bin/ld: ./.libs/libtestutils.a(testutils.o):.../common-src/testutils.h:78: multiple definition of `tu_debugging_enabled'; amflock-test.o:.../common-src/testutils.h:78: first defined here
Summary: amanda-3.5.1-20.fc32 FTBFS: /usr/bin/ld: ./.libs/libtestutils.a(testutils.o):...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: amanda
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vaclav Dolezal
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-21 08:57 UTC by Petr Pisar
Modified: 2020-01-22 09:23 UTC (History)
6 users (show)

Fixed In Version: amanda-3.5.1-21.fc32
Clone Of:
Environment:
Last Closed: 2020-01-22 09:23:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2020-01-21 08:57:44 UTC
amanda-3.5.1-20.fc32 fails to build in F32:

make[3]: Entering directory '/home/test/fedora/amanda/amanda-3.5.1/common-src'
/bin/sh ../libtool  --tag=CC   --mode=link gcc -Wall -Wextra -Wparentheses -Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wformat -Wformat-security -Wsign-compare -Wfloat-equal -Wold-style-definition -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-deprecated-declarations -DAMANDA_FILE=\"`basename amflock-test.o`\" -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 -fPIE -fno-strict-aliasing      -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -pie    -o amflock-test amflock-test.o libamanda.la libtestutils.la -lrt -lm -Wl,--export-dynamic -lgmodule-2.0 -lglib-2.0 -lgobject-2.0 -lgthread-2.0 -pthread -lglib-2.0  -lresolv -lkrb5support -lgssapi_krb5 -lkrb5 -lk5crypto -lkrb5support -lcom_err -lssl -lcrypto   -lcrypto -lcurl -ltirpc  
libtool: link: gcc -Wall -Wextra -Wparentheses -Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wformat -Wformat-security -Wsign-compare -Wfloat-equal -Wold-style-definition -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-deprecated-declarations -DAMANDA_FILE=\"amflock-test.o\" -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 -fPIE -fno-strict-aliasing -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -pie -o .libs/amflock-test amflock-test.o -Wl,--export-dynamic -pthread  ./.libs/libamanda.so ./.libs/libtestutils.a -lrt -lm -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lresolv -lgssapi_krb5 -lkrb5 -lk5crypto -lkrb5support -lcom_err -lssl -lcrypto -lcurl -ltirpc -pthread
/usr/bin/ld: ./.libs/libtestutils.a(testutils.o):/home/test/fedora/amanda/amanda-3.5.1/common-src/testutils.h:78: multiple definition of `tu_debugging_enabled'; amflock-test.o:/home/test/fedora/amanda/amanda-3.5.1/common-src/testutils.h:78: first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:2366: amflock-test] Error 1
make[3]: Leaving directory '/home/test/fedora/amanda/amanda-3.5.1/common-src'

A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/7743777>. This is probably triggered by upgrading gcc from 9.2.1-1.fc32.3 to 10.0.1-0.3.fc32.

Comment 1 Vaclav Dolezal 2020-01-22 09:23:16 UTC
Builds are OK now; patch submitted upstream: https://github.com/zmanda/amanda/pull/150


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