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

Bug 707154

Summary: sci-electronics/xoscope-2.1 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: The Soldering-Iron Brotherhood <sci-electronics>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://sources.debian.org/patches/xoscope/2.2-3/gcc-10.patch/
See Also: https://bugs.gentoo.org/show_bug.cgi?id=762640
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
sci-electronics:xoscope-2.1:20200129-003007.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-29 17:43:38 UTC
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread  -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread  -export-dynamic -DPACKAGE_LIBEXEC_DIR='"/usr/bin"'   -O2 -pipe -march=native -fno-common -Wall -c -o alsa.o alsa.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread  -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread  -export-dynamic -DPACKAGE_LIBEXEC_DIR='"/usr/bin"'   -O2 -pipe -march=native -fno-common -Wall -c -o fft.o fft.c
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -Wall -Wl,--export-dynamic -Wl,-O1 -Wl,--as-needed -o xoscope xoscope.o xoscope_gtk.o file.o func.o display.o   alsa.o fft.o -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype  -lgtkdatabox -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lfontconfig -lfreetype -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lcairo  -lasound -lfftw3 -lm 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: display.o:(.bss+0x78): multiple definition of `font'; xoscope_gtk.o:(.bss+0x10): 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_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

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 28 Jan 2020 23:46:22 +0000

emerge -qpvO sci-electronics/xoscope
[ebuild  N    ] sci-electronics/xoscope-2.1
Comment 1 Toralf Förster gentoo-dev 2020-01-29 17:43:41 UTC
Created attachment 607552 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 17:43:44 UTC
Created attachment 607554 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-29 17:43:46 UTC
Created attachment 607556 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-29 17:43:49 UTC
Created attachment 607558 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-29 17:43:52 UTC
Created attachment 607560 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-29 17:43:55 UTC
Created attachment 607562 [details]
sci-electronics:xoscope-2.1:20200129-003007.log
Comment 7 Toralf Förster gentoo-dev 2020-01-29 17:43:58 UTC
Created attachment 607564 [details]
temp.tbz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-31 05:33:13 UTC
Patch for 2.2, anyway: https://sources.debian.org/patches/xoscope/2.2-3/gcc-10.patch/
Comment 9 Larry the Git Cow gentoo-dev 2020-11-28 23:09:46 UTC
The bug has been closed via the following commit(s):

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

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

    sci-electronics/xoscope: bump to 2.2
    
    * Thanks to Sam James for providing the patch link
    
    Closes: https://bugs.gentoo.org/707154
    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>

 sci-electronics/xoscope/Manifest                   |  1 +
 .../xoscope/files/xoscope-2.2-fno-common.patch     | 16 ++++++++++
 .../xoscope/files/xoscope-2.2-man_no_-Tutf8.patch  | 11 +++++++
 sci-electronics/xoscope/xoscope-2.2.ebuild         | 34 ++++++++++++++++++++++
 4 files changed, 62 insertions(+)