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

Bug 712926

Summary: media-sound/denemo-2.3.0 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Bernd <waebbl-gentoo>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/15029
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:denemo-2.3.0:20200316-220052.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-16 22:07:08 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: audio/parseinstruments.o:(.bss+0x0): multiple definition of Denemo; audio/midi.o:(.bss+0x20): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: audio/parseinstruments.o:(.bss+0xbe0): multiple definition of COMMAND_COLS; audio/midi.o:(.bss+0xc00): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-libressl_abi32+64-20200307-151705

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.41.1
  [2]   rust-1.41.1 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.15.0 [icedtea-8]
2)	IcedTea JDK 3.14.0 [icedtea-bin-8]
3)	JamVM JDK 2.0.0 [jamvm]
Available Java Virtual Machines:
  [1]   icedtea-8  system-vm
  [2]   icedtea-bin-8 
  [3]   jamvm 

The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 16 Mar 2020 20:39:36 +0000
emerge -qpvO media-sound/denemo
[ebuild  N    ] media-sound/denemo-2.3.0  USE="alsa aubio evince fluidsynth gtk3 nls portaudio portmidi rubberband -debug -gtk-doc -jack -static -test"
Comment 1 Toralf Förster gentoo-dev 2020-03-16 22:07:11 UTC
Created attachment 620718 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-16 22:07:14 UTC
Created attachment 620720 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-16 22:07:16 UTC
Created attachment 620722 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-16 22:07:19 UTC
Created attachment 620724 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-16 22:07:22 UTC
Created attachment 620726 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-16 22:07:25 UTC
Created attachment 620728 [details]
media-sound:denemo-2.3.0:20200316-220052.log
Comment 7 Toralf Förster gentoo-dev 2020-03-16 22:07:27 UTC
Created attachment 620730 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-03-21 18:56:54 UTC
The bug has been closed via the following commit(s):

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

commit a263403b279157c6b8e2e5b84904f66372bac05c
Author:     Bernd Waibel <waebbl@gmail.com>
AuthorDate: 2020-03-20 21:35:36 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-03-21 18:55:23 +0000

    media-sound/denemo: fix build for gcc-10
    
    - add patches to work with gcc-10 -fno-common flag
    - install appdata/metainfo into new recommended location
    - remove support for gtk2
    - make gtk3 non-optional
    - remove static USE flag
    
    Closes: https://bugs.gentoo.org/712926
    Package-Manager: Portage-2.3.94, Repoman-2.3.21
    Signed-off-by: Bernd Waibel <waebbl@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/15029
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-sound/denemo/denemo-2.3.0-r1.ebuild          | 118 +++++++++++++++++++++
 ...002-Fix-issues-with-gcc10-fno-common-flag.patch |  62 +++++++++++
 2 files changed, 180 insertions(+)