Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706992 - media-sound/musepack-tools-465-r1 : fails to build with -fno-common or gcc-10
Summary: media-sound/musepack-tools-465-r1 : 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 (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords: PATCH
Depends on: 530442
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-28 18:56 UTC by Toralf Förster
Modified: 2024-03-13 05:11 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.73 KB, text/plain)
2020-01-28 18:56 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,101.40 KB, text/plain)
2020-01-28 18:56 UTC, Toralf Förster
Details
environment (environment,128.89 KB, text/plain)
2020-01-28 18:56 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.76 KB, application/x-bzip)
2020-01-28 18:56 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.63 KB, application/x-bzip)
2020-01-28 18:56 UTC, Toralf Förster
Details
media-sound:musepack-tools-465-r1:20200128-184709.log (media-sound:musepack-tools-465-r1:20200128-184709.log,20.76 KB, text/plain)
2020-01-28 18:56 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,31.01 KB, application/x-bzip)
2020-01-28 18:56 UTC, Toralf Förster
Details
files/musepack-tools-465-fno-common.patch (musepack-tools-465-fno-common.patch,628 bytes, patch)
2020-04-22 18:52 UTC, Jeroen Roovers (RETIRED)
Details | Diff

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:56:07 UTC
cd /var/tmp/portage/media-sound/musepack-tools-465-r1/work/musepack-tools-465-abi_x86_64.amd64/libmpcdec && /usr/bin/x86_64-pc-linux-gnu-gcc -DCVD_FASTLOG -DFAST_MATH -Dmpcdec_shared_EXPORTS -I/var/tmp/portage/media-sound/musepack-tools-465-r1/work/musepack-tools-465/include   -DNDEBUG -O2 -pipe -march=native -fno-common -fPIC   -o CMakeFiles/mpcdec_shared.dir/__/common/crc32.o -c /var/tmp/portage/media-sound/musepack-tools-465-r1/work/musepack-tools-465/common/crc32.c
[ 32%] Linking C shared library libmpcdec.so
cd /var/tmp/portage/media-sound/musepack-tools-465-r1/work/musepack-tools-465-abi_x86_64.amd64/libmpcdec && /usr/bin/cmake -E cmake_link_script CMakeFiles/mpcdec_shared.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-gcc -fPIC -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libmpcdec.so.7 -o libmpcdec.so.7.0.1 CMakeFiles/mpcdec_shared.dir/huffman.o CMakeFiles/mpcdec_shared.dir/mpc_decoder.o CMakeFiles/mpcdec_shared.dir/mpc_reader.o CMakeFiles/mpcdec_shared.dir/streaminfo.o CMakeFiles/mpcdec_shared.dir/mpc_bits_reader.o CMakeFiles/mpcdec_shared.dir/mpc_demux.o CMakeFiles/mpcdec_shared.dir/requant.o CMakeFiles/mpcdec_shared.dir/synth_filter.o CMakeFiles/mpcdec_shared.dir/__/common/crc32.o  -lm 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/mpcdec_shared.dir/requant.o:(.rodata+0x0): multiple definition of `__Dc'; CMakeFiles/mpcdec_shared.dir/mpc_decoder.o:(.rodata+0x560): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/mpcdec_shared.dir/requant.o:(.rodata+0x40): multiple definition of `__Cc'; CMakeFiles/mpcdec_shared.dir/mpc_decoder.o:(.rodata+0x5a0): first defined here

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

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

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

  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.6
  [3]   python3.7 (fallback)
  [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:
*)	AdoptOpenJDK 8.242_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

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

emerge -qpvO media-sound/musepack-tools
[ebuild  N    ] media-sound/musepack-tools-465-r1  ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:56:09 UTC
Created attachment 607048 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:56:12 UTC
Created attachment 607050 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:56:15 UTC
Created attachment 607052 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:56:18 UTC
Created attachment 607054 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:56:20 UTC
Created attachment 607056 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-28 18:56:23 UTC
Created attachment 607058 [details]
media-sound:musepack-tools-465-r1:20200128-184709.log
Comment 7 Toralf Förster gentoo-dev 2020-01-28 18:56:26 UTC
Created attachment 607060 [details]
temp.tbz2
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2020-04-22 18:52:13 UTC
Created attachment 634112 [details, diff]
files/musepack-tools-465-fno-common.patch
Comment 9 Larry the Git Cow gentoo-dev 2020-06-12 23:20:08 UTC
The bug has been closed via the following commit(s):

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

commit d003b99aff2ca04697f7598397d9c0767349647a
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-06-12 23:19:55 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-06-12 23:19:55 +0000

    media-sound/musepack-tools: fix -fno-common build failure
    
    Fix by Jeroen Roovers.
    
    Reported-by: Toralf Förster
    Closes: https://bugs.gentoo.org/706992
    Package-Manager: Portage-2.3.100, Repoman-2.3.22
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 .../files/musepack-tools-465-fno-common.patch            | 16 ++++++++++++++++
 media-sound/musepack-tools/musepack-tools-465-r1.ebuild  |  5 ++++-
 2 files changed, 20 insertions(+), 1 deletion(-)
Comment 10 Eli Schwartz 2024-03-13 05:11:15 UTC
Real fix is to update to the version from 2016 instead of the version from even earlier. :P