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

Bug 707718

Summary: media-tv/w_scan-20170107 : 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 Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://git.buildroot.net/buildroot/tree/package/w_scan/0002-si_types-h-fix-build-with-gcc-10.patch?id=2e8bf36dc4421f2213f8fa6de91b2c9bf3d64e45
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
media-tv:w_scan-20170107:20200201-071057.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-02-01 09:17:38 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -Wall -Wextra -Wno-comment -Wswitch-default -Wno-unused-parameter -O2 -pipe -march=native -fno-common -c dump-xml.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -Wall -Wextra -Wno-comment -Wswitch-default -Wno-unused-parameter -O2 -pipe -march=native -fno-common -c iconv_codes.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -Wall -Wextra -Wno-comment -Wswitch-default -Wno-unused-parameter -O2 -pipe -march=native -fno-common -c char-coding.c
x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wno-comment -Wswitch-default -Wno-unused-parameter -O2 -pipe -march=native -fno-common -lrt -Wl,-O1 -Wl,--as-needed -o w_scan atsc_psip_section.o countries.o descriptors.o diseqc.o dump-dvbscan.o dump-vdr.o dump-xine.o dump-mplayer.o dump-vlc-m3u.o dvbscan.o lnb.o parse-dvbscan.o satellites.o scan.o section.o tools.o emulate.o dump-xml.o iconv_codes.o char-coding.o  
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: descriptors.o:(.bss+0x0): multiple definition of `p_transponder_t'; countries.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: descriptors.o:(.bss+0x20): multiple definition of `transponder_t'; countries.o:(.bss+0x20): first defined here

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

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

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

  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:
*)	AdoptOpenJDK 8.242_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 7.10.3

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sat, 01 Feb 2020 06:07:59 +0000

emerge -qpvO media-tv/w_scan
[ebuild  N    ] media-tv/w_scan-20170107  USE="-doc -examples"
Comment 1 Toralf Förster gentoo-dev 2020-02-01 09:17:40 UTC
Created attachment 610222 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-01 09:17:44 UTC
Created attachment 610224 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-01 09:17:48 UTC
Created attachment 610226 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-01 09:17:51 UTC
Created attachment 610228 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-01 09:17:54 UTC
Created attachment 610230 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-01 09:17:56 UTC
Created attachment 610232 [details]
media-tv:w_scan-20170107:20200201-071057.log
Comment 7 Toralf Förster gentoo-dev 2020-02-01 09:17:59 UTC
Created attachment 610234 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-11-28 23:09:43 UTC
The bug has been closed via the following commit(s):

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

commit c06f102948f0b9c21f8870d2a1361e018d80ac77
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2020-11-28 23:08:54 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-28 23:08:54 +0000

    media-tv/w_scan: port to EAPI 7
    
    * Thanks to Sam James for providing the patch link
    
    Closes: https://bugs.gentoo.org/707718
    Package-Manager: Portage-3.0.9, Repoman-3.0.1
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../w_scan/files/w_scan-20170107-fno-common.patch  | 24 ++++++++++++++++++++++
 media-tv/w_scan/w_scan-20170107.ebuild             | 11 +++++-----
 2 files changed, 29 insertions(+), 6 deletions(-)