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

Bug 707444

Summary: app-cdr/cuecue-0.2.2-r2 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
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
app-cdr:cuecue-0.2.2-r2:20200130-063531.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-30 19:15:00 UTC
Making all in cuecue
make[2]: Entering directory '/var/tmp/portage/app-cdr/cuecue-0.2.2-r2/work/cuecue-0.2.2/src/cuecue'
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"cuecue\" -DVERSION=\"0.2.2\" -DUSE_OGG=1  -I. -I.     -O2 -pipe -march=native -fno-common -c `test -f 'cuecue.c' || echo './'`cuecue.c
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o cuecue  cuecue.o ../libcuecue/libcuecue.a -lvorbisfile -L/usr/lib -lvorbis -lm -L/usr/lib -logg
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../libcuecue/libcuecue.a(ogg.o):(.bss+0x0): multiple definition of `cuecue_error'; ../libcuecue/libcuecue.a(cuecue.o):(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm

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

  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 <==
Thu, 30 Jan 2020 06:06:40 +0000

emerge -qpvO app-cdr/cuecue
[ebuild  N    ] app-cdr/cuecue-0.2.2-r2  USE="vorbis -flac -mp3"
Comment 1 Toralf Förster gentoo-dev 2020-01-30 19:15:03 UTC
Created attachment 608960 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-30 19:15:06 UTC
Created attachment 608962 [details]
app-cdr:cuecue-0.2.2-r2:20200130-063531.log
Comment 3 Toralf Förster gentoo-dev 2020-01-30 19:15:09 UTC
Created attachment 608964 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-30 19:15:12 UTC
Created attachment 608966 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-30 19:15:15 UTC
Created attachment 608968 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-30 19:15:17 UTC
Created attachment 608970 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-30 19:15:20 UTC
Created attachment 608972 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-05-15 07:33:48 UTC
The bug has been closed via the following commit(s):

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

commit b04f51efbcb86d59a1657347973e19168e5dd538
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-05-15 07:25:18 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-05-15 07:33:41 +0000

    app-cdr/cuecue: Fix building with CFLAGS=-fno-common
    
    Also:
    - Drop flag-o-matic
    - Set AR
    - Set RDEPEND
    
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=707444
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=722024
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 app-cdr/cuecue/cuecue-0.2.2-r3.ebuild              | 53 ++++++++++++++++++++++
 app-cdr/cuecue/files/cuecue-0.2.2-fno-common.patch | 11 +++++
 2 files changed, 64 insertions(+)
Comment 9 Larry the Git Cow gentoo-dev 2021-01-05 18:59:12 UTC
The bug has been referenced in the following commit(s):

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

commit 61f831e8665af46208175ba5e84b46d9e1044e95
Author:     Andreas K. Huettel <dilfridge@gentoo.org>
AuthorDate: 2021-01-05 18:43:02 +0000
Commit:     Andreas K. Huettel <dilfridge@gentoo.org>
CommitDate: 2021-01-05 18:58:49 +0000

    app-cdr/cuecue: Remove old
    
    Bug: https://bugs.gentoo.org/707444
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org>

 app-cdr/cuecue/cuecue-0.2.2-r2.ebuild | 49 -----------------------------------
 1 file changed, 49 deletions(-)