Bug 1793403 - opensips-3.0.1-1.fc32 FTBFS: /usr/bin/ld: con.o:/.../opensips-3.0.1/modules/db_unixodbc/../../ut.h:1088: multiple definition of `tcp_timeout_send'; db_unixodbc.o:/.../opensips-3.0.1/modules/db_unixodbc/../../db/../ut.h:1088: first defined
Summary: opensips-3.0.1-1.fc32 FTBFS: /usr/bin/ld: con.o:/.../opensips-3.0.1/modules/d...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: opensips
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Lemenkov
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 09:41 UTC by Petr Pisar
Modified: 2020-02-07 15:22 UTC (History)
2 users (show)

Fixed In Version: opensips-3.0.2-2.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-07 15:22:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2020-01-21 09:41:26 UTC
opensips-3.0.1-1.fc32 fails to build in F32:

Linking db_unixodbc.so
gcc -shared -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld  -Wl,-E   db_unixodbc.o con.o row.o res.o dbase.o val.o  -lodbc  -o db_unixodbc.so
/usr/bin/ld: con.o:/builddir/build/BUILD/opensips-3.0.1/modules/db_unixodbc/../../ut.h:1088: multiple definition of `tcp_timeout_send'; db_unixodbc.o:/builddir/build/BUILD/opensips-3.0.1/modules/db_unixodbc/../../db/../ut.h:1088: first defined here
[...]
collect2: error: ld returned 1 exit status
make[1]: *** [../../Makefile.rules:39: db_unixodbc.so] Error 1

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


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