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 1793391

Summary: 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
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: amandaAssignee: Vaclav Dolezal <vdolezal>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: fedora, jridky, j, phracek, rvokal, vdolezal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/amanda?collection=f32
Whiteboard:
Fixed In Version: amanda-3.5.1-21.fc32 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-22 09:23:16 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, 1792464    

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