Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707712 - media-sound/abcmidi-2020.01.22: fails to build with -fno-common or gcc-10
Summary: media-sound/abcmidi-2020.01.22: fails to build with -fno-common or gcc-10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-01 09:16 UTC by Toralf Förster
Modified: 2020-08-23 15:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.08 KB, text/plain)
2020-02-01 09:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,106.14 KB, text/plain)
2020-02-01 09:16 UTC, Toralf Förster
Details
environment (environment,62.11 KB, text/plain)
2020-02-01 09:16 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.10 KB, application/x-bzip)
2020-02-01 09:16 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.13 KB, application/x-bzip)
2020-02-01 09:16 UTC, Toralf Förster
Details
media-sound:abcmidi-2019.07.12:20200201-053504.log (media-sound:abcmidi-2019.07.12:20200201-053504.log,7.15 KB, text/plain)
2020-02-01 09:16 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,18.17 KB, application/x-bzip)
2020-02-01 09:16 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-02-01 09:16:13 UTC
      |                ^~~~~~~~~
x86_64-pc-linux-gnu-gcc -DANSILIBS -O2 -pipe -march=native -fno-common    -o midi2abc midifile.o midi2abc.o  -Wl,-O1 -Wl,--as-needed -lm
x86_64-pc-linux-gnu-gcc -DANSILIBS -O2 -pipe -march=native -fno-common    -DHAVE_CONFIG_H  -I.   -c -o toabc.o toabc.c
x86_64-pc-linux-gnu-gcc -DANSILIBS -O2 -pipe -march=native -fno-common    -o abc2abc parseabc.o toabc.o -Wl,-O1 -Wl,--as-needed -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: toabc.o:(.bss+0xd7c): multiple definition of `ingrace'; parseabc.o:(.bss+0x788): 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_desktop_gnome-20200129-211601

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

  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
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *

java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 3.15.0 [icedtea-8]
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   icedtea-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sat, 01 Feb 2020 04:48:01 +0000

emerge -qpvO media-sound/abcmidi
[ebuild  N    ] media-sound/abcmidi-2019.07.12  USE="-examples"
Comment 1 Toralf Förster gentoo-dev 2020-02-01 09:16:16 UTC
Created attachment 610184 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-01 09:16:19 UTC
Created attachment 610186 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-01 09:16:22 UTC
Created attachment 610188 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-01 09:16:25 UTC
Created attachment 610190 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-01 09:16:28 UTC
Created attachment 610192 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-01 09:16:31 UTC
Created attachment 610194 [details]
media-sound:abcmidi-2019.07.12:20200201-053504.log
Comment 7 Toralf Förster gentoo-dev 2020-02-01 09:16:33 UTC
Created attachment 610196 [details]
temp.tbz2
Comment 8 Jonas Stein gentoo-dev 2020-06-06 22:07:28 UTC
confirmed for media-sound/abcmidi-2020.01.22
Comment 9 Larry the Git Cow gentoo-dev 2020-08-08 16:54:56 UTC
The bug has been closed via the following commit(s):

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

commit 789dcd525ba685c5166d334dc3e7e813ccd7c340
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-08-08 16:54:09 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-08-08 16:54:09 +0000

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

 media-sound/abcmidi/abcmidi-2020.01.22.ebuild      | 17 +++++++++-------
 .../files/abcmidi-2016.05.05-fno-common.patch      | 23 ++++++++++++++++++++++
 2 files changed, 33 insertions(+), 7 deletions(-)
Comment 10 Larry the Git Cow gentoo-dev 2020-08-23 15:03:39 UTC
The bug has been closed via the following commit(s):

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

commit 7fce14ba4456caf549f6fa4f1d269c064b8c78e7
Author:     Azamat H. Hackimov <azamat.hackimov@gmail.com>
AuthorDate: 2020-06-12 23:54:22 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2020-08-23 15:03:33 +0000

    media-sound/abcmidi: update to 2020.06.07
    
    Fixes compilation with GCC10 (#707712), reworked documentation
    installation.
    
    Closes: https://bugs.gentoo.org/707712
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 media-sound/abcmidi/Manifest                  |  1 +
 media-sound/abcmidi/abcmidi-2020.06.07.ebuild | 36 +++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)