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

Bug 706860

Summary: media-sound/gmtp-1.3.11 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
media-sound:gmtp-1.3.11:20200128-042039.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-28 18:25:10 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..     -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread  -I/usr/include/libusb-1.0   -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include      -O2 -pipe -march=native -fno-common -Wall -Wextra -Wpedantic  -c -o gmtp-properties.o `test -f 'properties.c' || echo './'`properties.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..     -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread  -I/usr/include/libusb-1.0   -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include      -O2 -pipe -march=native -fno-common -Wall -Wextra -Wpedantic  -c -o gmtp-preferences.o `test -f 'preferences.c' || echo './'`preferences.c
x86_64-pc-linux-gnu-gcc  -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread  -I/usr/include/libusb-1.0   -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include      -O2 -pipe -march=native -fno-common -Wall -Wextra -Wpedantic   -Wl,-O1 -Wl,--as-needed -o gmtp gmtp-about.o gmtp-albumart.o gmtp-callbacks.o gmtp-dnd.o gmtp-formatdevice.o gmtp-interface.o gmtp-main.o gmtp-metatag_info.o gmtp-mtp.o gmtp-playlist.o gmtp-prefs.o gmtp-progress.o gmtp-properties.o gmtp-preferences.o  -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0  -lmtp  -lFLAC  -lgthread-2.0 -pthread -lglib-2.0  -lgio-2.0 -lgobject-2.0 -lglib-2.0   -lid3tag -lz  -lvorbisfile  
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gmtp-albumart.o:(.bss+0x380): multiple definition of `DeviceMgr'; gmtp-about.o:(.bss+0xa0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gmtp-albumart.o:(.bss+0x448): multiple definition of `windowMain'; gmtp-about.o:(.bss+0x168): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-libressl-20200125-150902

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

  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.7 (uninstalled)
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 28 Jan 2020 03:26:40 +0000

emerge -qpvO media-sound/gmtp
[ebuild  N    ] media-sound/gmtp-1.3.11
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:25:13 UTC
Created attachment 606176 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:25:16 UTC
Created attachment 606178 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:25:19 UTC
Created attachment 606180 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:25:22 UTC
Created attachment 606182 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:25:25 UTC
Created attachment 606184 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-28 18:25:28 UTC
Created attachment 606186 [details]
media-sound:gmtp-1.3.11:20200128-042039.log
Comment 7 Toralf Förster gentoo-dev 2020-01-28 18:25:31 UTC
Created attachment 606188 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-08-08 16:54:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3623db1b6100587933a99f7d55a3afe0a4e8b6bb

commit 3623db1b6100587933a99f7d55a3afe0a4e8b6bb
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-08-08 16:53:39 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-08-08 16:53:39 +0000

    media-sound/gmtp: Fix building under -fno-common
    
    Closes: https://bugs.gentoo.org/706860
    Package-Manager: Portage-3.0.1, Repoman-2.3.23
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../gmtp/files/gmtp-1.3.11-fno-common.patch        | 375 +++++++++++++++++++++
 media-sound/gmtp/gmtp-1.3.11.ebuild                |  14 +-
 2 files changed, 384 insertions(+), 5 deletions(-)