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

Bug 707006

Summary: media-sound/gnomad-2.9.6 : 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:gnomad-2.9.6:20200128-192545.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-28 19:37:54 UTC
   38 |     g_printf("could not open file %s", tmppath);
      |     ^~~~~~~~
      |     g_print
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -DGTK_DISABLE_SINGLE_INCLUDES -DG_DISABLE_SINGLE_INCLUDES  -Wl,-O1 -Wl,--as-needed -o gnomad2 id3read.o gnomad2.o prefs.o filenaming.o jukebox.o util.o mp3file.o editmeta.o filesystem.o playlists.o xfer.o data.o player.o metadata.o wmaread.o riffile.o tagfile.o -lgthread-2.0 -pthread -lglib-2.0 -lnjb -lusb -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lid3tag -lz -lmtp -ltag_c -lgudev-1.0 -lgobject-2.0 -lglib-2.0  
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gnomad2.o:(.bss+0x28): multiple definition of `jukebox_locked'; id3read.o:(.bss+0x8): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gnomad2.o:(.bss+0x24): multiple definition of `cancel_jukebox_operation'; id3read.o:(.bss+0x4): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-libressl-20200126-092715

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

  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 19:06:20 +0000

emerge -qpvO media-sound/gnomad
[ebuild  N    ] media-sound/gnomad-2.9.6  USE="nls"
Comment 1 Toralf Förster gentoo-dev 2020-01-28 19:37:56 UTC
Created attachment 607142 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 19:37:59 UTC
Created attachment 607144 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-28 19:38:02 UTC
Created attachment 607146 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-28 19:38:04 UTC
Created attachment 607148 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-28 19:38:07 UTC
Created attachment 607150 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-28 19:38:10 UTC
Created attachment 607152 [details]
media-sound:gnomad-2.9.6:20200128-192545.log
Comment 7 Toralf Förster gentoo-dev 2020-01-28 19:38:13 UTC
Created attachment 607154 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-08-08 16:55:31 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=128bd73938541133989777400ec00f2a7d5380dd

commit 128bd73938541133989777400ec00f2a7d5380dd
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-08-08 16:53:45 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-08-08 16:53:45 +0000

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

 .../gnomad/files/gnomad-2.9.6-fno-common.patch     | 56 ++++++++++++++++++++++
 media-sound/gnomad/gnomad-2.9.6.ebuild             | 15 ++++--
 2 files changed, 66 insertions(+), 5 deletions(-)