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

Bug 707448

Summary: x11-misc/bbrun-1.6-r1 : 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    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2
x11-misc:bbrun-1.6-r1:20200130-072422.log

Description Toralf Förster gentoo-dev 2020-01-30 19:16:01 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common `pkg-config --cflags xext xpm gtk+-2.0` -c -Wall ../wmgeneral/wmgeneral.c -o ../wmgeneral/wmgeneral.o
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common `pkg-config --cflags xext xpm gtk+-2.0` -c -Wall ../wmgeneral/misc.c -o ../wmgeneral/misc.o
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common `pkg-config --cflags xext xpm gtk+-2.0` -c -Wall ../wmgeneral/list.c -o ../wmgeneral/list.o
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -Wall -o bbrun bbrun.o ../wmgeneral/wmgeneral.o ../wmgeneral/misc.o ../wmgeneral/list.o -L/usr/lib -L/usr/X11R6/lib `pkg-config --libs xext xpm gtk+-2.0`
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../wmgeneral/wmgeneral.o:(.bss+0x328): multiple definition of `display'; bbrun.o:(.bss+0x260): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc

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

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

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

  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 7.10.3

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 30 Jan 2020 06:51:08 +0000

emerge -qpvO x11-misc/bbrun
[ebuild  N    ] x11-misc/bbrun-1.6-r1
Comment 1 Toralf Förster gentoo-dev 2020-01-30 19:16:05 UTC
Created attachment 608988 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-30 19:16:08 UTC
Created attachment 608990 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-30 19:16:11 UTC
Created attachment 608992 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-30 19:16:15 UTC
Created attachment 608994 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-30 19:16:18 UTC
Created attachment 608996 [details]
temp.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-30 19:16:20 UTC
Created attachment 608998 [details]
x11-misc:bbrun-1.6-r1:20200130-072422.log
Comment 7 Larry the Git Cow gentoo-dev 2020-01-30 21:19:14 UTC
The bug has been closed via the following commit(s):

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

commit 52dcd1a0b28afe53a6f82f4221fee1cecf59dbfb
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-01-30 21:19:00 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-01-30 21:19:07 +0000

    x11-misc/bbrun: tweak for gcc-10, bug #707448
    
    Reported-by: Toralf Förster
    Closes: https://bugs.gentoo.org/707448
    Package-Manager: Portage-2.3.86, Repoman-2.3.20
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 x11-misc/bbrun/bbrun-1.6-r1.ebuild          |  3 ++-
 x11-misc/bbrun/files/bbrun-1.6-gcc-10.patch | 23 +++++++++++++++++++++++
 2 files changed, 25 insertions(+), 1 deletion(-)