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

Bug 707416

Summary: media-video/subtitler-yuv-0.6.5 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal CC: lordvan, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: ~arch only
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
media-video:subtitler-yuv-0.6.5:20200130-012443.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-30 19:08:10 UTC
      |      ^   
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall   -c -o external_programs.o external_programs.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall   -c -o x11.o x11.c
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed  subtitler-yuv.o color_processor.o frame_list.o load_font.o load_pictures.o load_ppml_file.o object_list.o parser.o text_processing.o external_programs.o x11.o  -lm -lXt -lX11 -lXaw -o subtitler-yuv
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: color_processor.o:(.bss+0x68228): multiple definition of `debug_flag'; subtitler-yuv.o:(.bss+0x1fd288): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: color_processor.o:(.bss+0x20b0): multiple definition of `dmax_vector'; subtitler-yuv.o:(.bss+0x197110): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20200124-204141

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

  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 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 30 Jan 2020 00:46:24 +0000

emerge -qpvO media-video/subtitler-yuv
[ebuild  N    ] media-video/subtitler-yuv-0.6.5
Comment 1 Toralf Förster gentoo-dev 2020-01-30 19:08:13 UTC
Created attachment 608766 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-30 19:08:16 UTC
Created attachment 608768 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-30 19:08:19 UTC
Created attachment 608770 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-30 19:08:22 UTC
Created attachment 608772 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-30 19:08:25 UTC
Created attachment 608774 [details]
media-video:subtitler-yuv-0.6.5:20200130-012443.log
Comment 6 Toralf Förster gentoo-dev 2020-01-30 19:08:28 UTC
Created attachment 608776 [details]
temp.tbz2
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-31 05:52:46 UTC
ping!
Comment 8 Larry the Git Cow gentoo-dev 2021-02-14 10:36:38 UTC
The bug has been closed via the following commit(s):

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

commit 32cbe407b8718dcea27f6efb85558b1e183bac2c
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-02-14 10:32:48 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-02-14 10:32:48 +0000

    media-video/subtitler-yuv: Apply gcc-10 workaround
    
    * Dead upstream, and patching requires major code rewrite
    
    Closes: https://bugs.gentoo.org/707416
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 media-video/subtitler-yuv/subtitler-yuv-0.6.5.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)