Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707768 - media-tv/tvheadend-4.2.8 : fails to build with -fno-common or gcc-10
Summary: media-tv/tvheadend-4.2.8 : 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: James Le Cuirot
URL: https://tvheadend.org/issues/5862
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-01 15:02 UTC by Toralf Förster
Modified: 2020-05-24 16:19 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.78 KB, text/plain)
2020-02-01 15:02 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,262.27 KB, text/plain)
2020-02-01 15:02 UTC, Toralf Förster
Details
environment (environment,97.78 KB, text/plain)
2020-02-01 15:02 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.63 KB, application/x-bzip)
2020-02-01 15:02 UTC, Toralf Förster
Details
media-tv:tvheadend-4.2.8:20200201-095602.log (media-tv:tvheadend-4.2.8:20200201-095602.log,92.63 KB, text/plain)
2020-02-01 15:02 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,27.11 KB, application/x-bzip)
2020-02-01 15:02 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 15:02:15 UTC
CC              src/docs.o
CC              build.o
CC              timestamp.o
CC              tvheadend
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/media-tv/tvheadend-4.2.8/work/tvheadend-4.2.8/build.linux/src/subscriptions.o:/var/tmp/portage/media-tv/tvheadend-4.2.8/work/tvheadend-4.2.8/src/input/mpegts.h:1135: multiple definition of `mpegts_listeners'; /var/tmp/portage/media-tv/tvheadend-4.2.8/work/tvheadend-4.2.8/build.linux/src/main.o:/var/tmp/portage/media-tv/tvheadend-4.2.8/work/tvheadend-4.2.8/src/input/mpegts.h:1135: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/media-tv/tvheadend-4.2.8/work/tvheadend-4.2.8/build.linux/src/subscriptions.o:/var/tmp/portage/media-tv/tvheadend-4.2.8/work/tvheadend-4.2.8/src/input.h:132: multiple definition of `tvh_hardware'; /var/tmp/portage/media-tv/tvheadend-4.2.8/work/tvheadend-4.2.8/build.linux/src/main.o:/var/tmp/portage/media-tv/tvheadend-4.2.8/work/tvheadend-4.2.8/src/input.h:132: first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-libressl-20200125-232521

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

  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) *
Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   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 08:48:00 +0000

emerge -qpvO media-tv/tvheadend
[ebuild  N    ] media-tv/tvheadend-4.2.8  USE="capmt constcw cwc dbus dvb ffmpeg imagecache inotify libressl timeshift zlib -debug -dvbcsa -dvben50221 -hdhomerun -iptv -satip -systemd -uriparser -xmltv -zeroconf"
Comment 1 Toralf Förster gentoo-dev 2020-02-01 15:02:18 UTC
Created attachment 610424 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-01 15:02:20 UTC
Created attachment 610426 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-01 15:02:23 UTC
Created attachment 610428 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-01 15:02:26 UTC
Created attachment 610430 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-01 15:02:29 UTC
Created attachment 610432 [details]
media-tv:tvheadend-4.2.8:20200201-095602.log
Comment 6 Toralf Förster gentoo-dev 2020-02-01 15:02:32 UTC
Created attachment 610434 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-05-24 16:19:31 UTC
The bug has been closed via the following commit(s):

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

commit 774e5570787961d0c03ae16185095c3f5bc9b72e
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2020-05-24 16:19:14 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2020-05-24 16:19:14 +0000

    media-tv/tvheadend: Fix building with -fno-common
    
    Closes: https://bugs.gentoo.org/707768
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 .../files/tvheadend-4.2.8-fno-common.patch         | 55 ++++++++++++++++++++++
 media-tv/tvheadend/tvheadend-4.2.8-r1.ebuild       |  1 +
 media-tv/tvheadend/tvheadend-9999.ebuild           |  1 +
 3 files changed, 57 insertions(+)