Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 708688

Summary: app-mobilephone/kannel-sqlbox-1.5.0-r1 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Travis Hansen <travisghansen>
Status: RESOLVED WONTFIX    
Severity: normal CC: proxy-maint
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
app-mobilephone:kannel-sqlbox-1.5.0-r1:20200208-001129.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2

Description Toralf Förster gentoo-dev 2020-02-08 08:15:04 UTC
      |           ^
/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/kannel -O2 -pipe -march=native -fno-strict-aliasing -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/uuid -D_LARGE_FILES= -I/usr/include/libxml2  -Wall -I/usr/include/openssl -I/usr/include/postgresql-12  -Wl,-O1 -Wl,--as-needed -Wl,--no-as-needed -rdynamic -L/usr/lib64/kannel -lgw -lwap -lgwlib -lpq -ldl -lpam -lpcreposix -lrt -lresolv -lnsl -lm  -luuid -lpthread -lxml2 -lz -lm -ldl -L/usr/lib64 -lpcreposix -lpcre -L/usr/lib64 -L/usr/lib64/postgresql-12/lib64  -o sqlbox sqlbox.o sqlbox_mssql.o sqlbox_mysql.o sqlbox_pgsql.o sqlbox_sdb.o sqlbox_sqlite.o sqlbox_sqlite3.o sqlbox_oracle.o sqlbox_sql.o  -lgwlib 
mkdir .libs
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/kannel -O2 -pipe -march=native -fno-strict-aliasing -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/uuid -D_LARGE_FILES= -I/usr/include/libxml2 -Wall -I/usr/include/openssl -I/usr/include/postgresql-12 -Wl,-O1 -Wl,--as-needed -Wl,--no-as-needed -rdynamic -o sqlbox sqlbox.o sqlbox_mssql.o sqlbox_mysql.o sqlbox_pgsql.o sqlbox_sdb.o sqlbox_sqlite.o sqlbox_sqlite3.o sqlbox_oracle.o sqlbox_sql.o  -L/usr/lib64/kannel -lgw -lwap -lpq -lpam -lrt -lresolv -lnsl -luuid -lpthread -lxml2 -lz -lm -ldl -L/usr/lib64 -lpcreposix -lpcre -L/usr/lib64/postgresql-12/lib64 -lgwlib  
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: sqlbox_pgsql.o:(.bss+0x0): multiple definition of `sqlbox_id'; sqlbox.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-test-20200203-215003

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)

Available Rust versions:
  [1]   rust-1.41.0 *


ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 07 Feb 2020 23:27:06 +0000

emerge -qpvO app-mobilephone/kannel-sqlbox
[ebuild  N    ] app-mobilephone/kannel-sqlbox-1.5.0-r1  USE="ssl -doc"
Comment 1 Toralf Förster gentoo-dev 2020-02-08 08:15:07 UTC
Created attachment 612650 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-08 08:15:10 UTC
Created attachment 612652 [details]
app-mobilephone:kannel-sqlbox-1.5.0-r1:20200208-001129.log
Comment 3 Toralf Förster gentoo-dev 2020-02-08 08:15:13 UTC
Created attachment 612654 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-02-08 08:15:16 UTC
Created attachment 612656 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-02-08 08:15:20 UTC
Created attachment 612658 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-08 08:15:22 UTC
Created attachment 612660 [details]
logs.tbz2
Comment 7 David Seifert gentoo-dev 2020-10-03 22:00:58 UTC
Dropped in 7d441d1f18512fe4506528811613df8f802d2e51.