Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707042 - media-sound/takcd-0.10-r1 : fails to build with -fno-common or gcc-10
Summary: media-sound/takcd-0.10-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:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-28 21:46 UTC by Toralf Förster
Modified: 2020-08-08 16:54 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.83 KB, text/plain)
2020-01-28 21:46 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,110.45 KB, text/plain)
2020-01-28 21:46 UTC, Toralf Förster
Details
environment (environment,58.18 KB, text/plain)
2020-01-28 21:46 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.84 KB, application/x-bzip)
2020-01-28 21:46 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.69 KB, application/x-bzip)
2020-01-28 21:46 UTC, Toralf Förster
Details
media-sound:takcd-0.10-r1:20200128-214304.log (media-sound:takcd-0.10-r1:20200128-214304.log,8.83 KB, text/plain)
2020-01-28 21:46 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,17.64 KB, application/x-bzip)
2020-01-28 21:46 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 21:46:16 UTC
takcd.c:196:2: warning: implicit declaration of function ‘resume_cd’ [-Wimplicit-function-declaration]
  196 |  resume_cd(cdrom_fd,&seconds,&starttime,stoptime);
      |  ^~~~~~~~~
x86_64-pc-linux-gnu-gcc -DDEV_CDROM=\"/dev/cdrom\" -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o takcd linux.o linux_discid.o find.o utils.o config_api.o takcd.o  
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: takcd.o:(.bss+0x10): multiple definition of `cdrom_fd'; linux_discid.o:(.bss+0x4b0): 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_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 20:26:24 +0000

emerge -qpvO media-sound/takcd
[ebuild  N    ] media-sound/takcd-0.10-r1
Comment 1 Toralf Förster gentoo-dev 2020-01-28 21:46:19 UTC
Created attachment 607292 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 21:46:23 UTC
Created attachment 607294 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-28 21:46:26 UTC
Created attachment 607296 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-28 21:46:29 UTC
Created attachment 607298 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-28 21:46:32 UTC
Created attachment 607300 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-28 21:46:35 UTC
Created attachment 607302 [details]
media-sound:takcd-0.10-r1:20200128-214304.log
Comment 7 Toralf Förster gentoo-dev 2020-01-28 21:46:38 UTC
Created attachment 607304 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-08-08 16:54:52 UTC
The bug has been closed via the following commit(s):

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

commit 3d368209706cb3c0731262a873d61390f1044267
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-08-08 16:53:48 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-08-08 16:53:48 +0000

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

 .../takcd/files/takcd-0.10-fno-common.patch        | 44 ++++++++++++++++++++++
 media-sound/takcd/takcd-0.10-r1.ebuild             |  8 ++--
 2 files changed, 49 insertions(+), 3 deletions(-)