Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706940 - media-sound/xmms2-0.8_p20161122-r5 : fails to build with -fno-common or gcc-10
Summary: media-sound/xmms2-0.8_p20161122-r5 : 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: Sergei Trofimovich (RETIRED)
URL: https://github.com/xmms2/s4/pull/1
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-28 18:44 UTC by Toralf Förster
Modified: 2020-01-28 23:29 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.02 KB, text/plain)
2020-01-28 18:44 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,82.97 KB, text/plain)
2020-01-28 18:44 UTC, Toralf Förster
Details
environment (environment,123.01 KB, text/plain)
2020-01-28 18:44 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.37 KB, application/x-bzip)
2020-01-28 18:44 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.89 KB, application/x-bzip)
2020-01-28 18:44 UTC, Toralf Förster
Details
media-sound:xmms2-0.8_p20161122-r5:20200128-121144.log (media-sound:xmms2-0.8_p20161122-r5:20200128-121144.log,251.03 KB, text/plain)
2020-01-28 18:44 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,38.28 KB, application/x-bzip)
2020-01-28 18:44 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-01-28 18:44:20 UTC
[277/302] Linking _build_/src/clients/lib/xmmsclient-glib/libxmmsclient-glib.so
13:12:28 runner ['x86_64-pc-linux-gnu-gcc', '-shared', '-Wl,-h,libxmmsclient-glib.so.1', 'src/clients/lib/xmmsclient-glib/xmmsclient-glib.c.1.o', '-o/var/tmp/portage/media-sound/xmms2-0.8_p20161122-r5/work/xmms2-0.8DrO_o-949-gca15e830/_build_/src/clients/lib/xmmsclient-glib/libxmmsclient-glib.so', '-Wl,-Bstatic', '-Lsrc/lib/xmmsc-glib', '-lxmmsc-glib', '-Wl,-Bdynamic', '-Lsrc/clients/lib/xmmsclient', '-lxmmsclient', '-lglib-2.0', '-Wl,-O1', '-Wl,--as-needed']
[278/302] Linking _build_/src/clients/lib/xmmsclient++-glib/libxmmsclient++-glib.so
13:12:28 runner ['x86_64-pc-linux-gnu-g++', '-shared', '-Wl,-h,libxmmsclient++-glib.so.1', 'src/clients/lib/xmmsclient++-glib/xmmsclient++-glib.cpp.1.o', '-o/var/tmp/portage/media-sound/xmms2-0.8_p20161122-r5/work/xmms2-0.8DrO_o-949-gca15e830/_build_/src/clients/lib/xmmsclient++-glib/libxmmsclient++-glib.so', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Lsrc/clients/lib/xmmsclient-glib', '-Lsrc/clients/lib/xmmsclient', '-lxmmsclient-glib', '-lxmmsclient', '-lglib-2.0', '-Wl,-O1', '-Wl,--as-needed']
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/lib/s4/tests/s4/t_transactions.c.2.o:(.bss+0x8): multiple definition of `s4'; src/lib/s4/tests/s4/t_s4.c.2.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.1_hardened-libressl_test-20200126-104546

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

  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)
  [5]   pypy3 (fallback)

Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 28 Jan 2020 12:06:25 +0000

emerge -qpvO media-sound/xmms2
[ebuild  N    ] media-sound/xmms2-0.8_p20161122-r5  USE="alsa cxx mad modplug server test vorbis xml -aac -airplay -ao -asf -cdda -curl -ffmpeg -flac -fluidsynth -ices -jack -mac -mlib-update -mms -mp3 -mp4 -musepack -ofa -opus -oss -perl -phonehome -pulseaudio -python -ruby -samba -sid -sndfile -speex -valgrind -vocoder -wavpack -zeroconf" PYTHON_SINGLE_TARGET="python3_6 -python2_7" PYTHON_TARGETS="python2_7 python3_6"
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:44:23 UTC
Created attachment 606714 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:44:25 UTC
Created attachment 606716 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:44:28 UTC
Created attachment 606718 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:44:31 UTC
Created attachment 606720 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:44:34 UTC
Created attachment 606722 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-28 18:44:36 UTC
Created attachment 606724 [details]
media-sound:xmms2-0.8_p20161122-r5:20200128-121144.log
Comment 7 Toralf Förster gentoo-dev 2020-01-28 18:44:39 UTC
Created attachment 606726 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-01-28 19:58:44 UTC
The bug has been closed via the following commit(s):

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

commit c77a4c00380e621c98609acdda29f135bfa37b99
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-01-28 19:58:29 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-01-28 19:58:35 +0000

    media-sound/xmms2: tweak for gcc-10
    
    Reported-by: Toralf Förster
    Closes: https://bugs.gentoo.org/706940
    Package-Manager: Portage-2.3.86, Repoman-2.3.20
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 media-sound/xmms2/files/xmms2-0.8_p20161122-gcc-10.patch | 11 +++++++++++
 media-sound/xmms2/xmms2-0.8_p20161122-r5.ebuild          |  3 +++
 2 files changed, 14 insertions(+)