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

Bug 712330

Summary: app-crypt/gnupg-2.2.19 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-crypt:gnupg-2.2.19:20200312-220105.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-13 08:19:49 UTC
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\/usr/share/locale\ -DGNUPG_BINDIR=\/usr/bin\ -DGNUPG_LIBEXECDIR=\/usr/libexec\ -DGNUPG_LIBDIR=\/usr/lib/gnupg\ -DGNUPG_DATADIR=\/usr/share/gnupg\ -DGNUPG_SYSCONFDIR=\/etc/gnupg\ -DGNUPG_LOCALSTATEDIR=\/var/lib\           -Wall -Wno-pointer-sign -Wpointer-arith -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o t-mbox-util.o t-mbox-util.c
x86_64-gentoo-linux-musl-gcc    -Wall -Wno-pointer-sign -Wpointer-arith -O2 -pipe -march=native -fno-common -falign-functions=32:25:16  -Wl,-O1 -Wl,--as-needed -o t-mbox-util t-mbox-util.o libcommon.a -lgcrypt -lgpg-error -lassuan -lgpg-error -lgpg-error   
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\/usr/share/locale\ -DGNUPG_BINDIR=\/usr/bin\ -DGNUPG_LIBEXECDIR=\/usr/libexec\ -DGNUPG_LIBDIR=\/usr/lib/gnupg\ -DGNUPG_DATADIR=\/usr/share/gnupg\ -DGNUPG_SYSCONFDIR=\/etc/gnupg\ -DGNUPG_LOCALSTATEDIR=\/var/lib\           -Wall -Wno-pointer-sign -Wpointer-arith -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o t-iobuf.o t-iobuf.c
x86_64-gentoo-linux-musl-gcc    -Wall -Wno-pointer-sign -Wpointer-arith -O2 -pipe -march=native -fno-common -falign-functions=32:25:16  -Wl,-O1 -Wl,--as-needed -o t-iobuf t-iobuf.o libcommon.a -lgcrypt -lgpg-error -lassuan -lgpg-error -lgpg-error   
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: libcommon.a(libcommon_a-iobuf.o):(.bss+0x0): multiple definition of iobuf_debug_mode; t-iobuf.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.0_musl-20200311-204810

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.2.0 *



Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)






repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 12 Mar 2020 20:38:38 +0000

emerge -qpvO app-crypt/gnupg
[ebuild     U ] app-crypt/gnupg-2.2.19 [2.2.17] USE="bzip2 nls readline smartcard ssl -doc -ldap (-selinux) -tofu -tools -usb -user-socket -wks-server"
Comment 1 Toralf Förster gentoo-dev 2020-03-13 08:19:52 UTC
Created attachment 618256 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-13 08:19:55 UTC
Created attachment 618258 [details]
app-crypt:gnupg-2.2.19:20200312-220105.log
Comment 3 Toralf Förster gentoo-dev 2020-03-13 08:19:58 UTC
Created attachment 618260 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-13 08:20:01 UTC
Created attachment 618262 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-13 08:20:04 UTC
Created attachment 618264 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-13 08:20:08 UTC
Created attachment 618266 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-13 08:20:12 UTC
Created attachment 618268 [details]
temp.tbz2
Comment 8 Toralf Förster gentoo-dev 2020-03-13 19:47:36 UTC

*** This bug has been marked as a duplicate of bug 705884 ***