Bug 1793903

Summary: ipv6calc-2.2.0-38.fc32 FTBFS: /usr/bin/ld: ipv6logconvhelp.o:/.../ipv6calc-2.2.0/ipv6logconv/ipv6logconv.h:24: multiple definition of `cache_lru_limit'; ipv6logconv.o:/.../ipv6calc-2.2.0/ipv6logconv/ipv6logconv.h:24: first defined here
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: ipv6calcAssignee: Peter Bieringer <pb>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mmaslano, pb
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/ipv6calc?collection=f32
Whiteboard:
Fixed In Version: 2.2.0-39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-26 20:37:19 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-22 08:58:31 UTC
ipv6calc-2.2.0-38.fc32 fails to build in F32 with GCC 10:

make[2]: Leaving directory '/home/test/fedora/ipv6calc/ipv6calc-2.2.0'
gcc -o ipv6logconv ipv6logconv.o ipv6logconvhelp.o  -rdynamic -ldl -lm -lcrypto -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -ldb ../lib/libipv6calc.so.2.2.0 ../databases/lib/libipv6calc_db_wrapper.so.2.2.0 -lcrypto -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -ldb
/usr/bin/ld: ipv6logconvhelp.o:/home/test/fedora/ipv6calc/ipv6calc-2.2.0/ipv6logconv/ipv6logconv.h:24: multiple definition of `cache_lru_limit'; ipv6logconv.o:/home/test/fedora/ipv6calc/ipv6calc-2.2.0/ipv6logconv/ipv6logconv.h:24: first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:51: ipv6logconv] Error 1
make[1]: Leaving directory '/home/test/fedora/ipv6calc/ipv6calc-2.2.0/ipv6logconv'

Comment 1 Peter Bieringer 2020-01-24 06:18:12 UTC
upstream fix created:
https://github.com/pbiering/ipv6calc/commit/8c7eea58f2034113ae91ff7adc2bda72465b7d1a

Comment 2 Peter Bieringer 2020-01-24 06:48:28 UTC
new build with patch included was successful: https://koji.fedoraproject.org/koji/taskinfo?taskID=40948762