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

Bug 706600

Summary: media-libs/sg-1.5 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
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
logs.tbz2
media-libs:sg-1.5:20200126-233751.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-27 02:50:39 UTC
Making all in .
make[3]: Entering directory '/var/tmp/portage/media-libs/sg-1.5/work/sg-1.5_build/src/aaa_lib'
/bin/sh ../../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -version-info 1:0:0 -Wl,-O1 -Wl,--as-needed -o libsg.la -rpath /usr/lib64  ../base/libbase.la ../ogl/libogl.la ../vgl/libvgl.la -lGL -lGLU -lGLw -lXm -lmaloc -lXaw 
libtool: link: x86_64-pc-linux-gnu-gcc -shared  -fPIC -DPIC  -Wl,--whole-archive ../base/.libs/libbase.a ../ogl/.libs/libogl.a ../vgl/.libs/libvgl.a -Wl,--no-whole-archive  -Wl,--as-needed -lGL -lGLU -lGLw -lXm -lmaloc -lXaw  -O2 -march=native -Wl,-O1   -Wl,-soname -Wl,libsg.so.1 -o .libs/libsg.so.1.0.0
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../vgl/.libs/libvgl.a(vglm.o):(.bss+0x0): multiple definition of `glwDrawingAreaWidgetClass'; ../vgl/.libs/libvgl.a(vgl.o):(.bss+0x8): 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 *


llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7 (uninstalled)
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *




repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 26 Jan 2020 22:26:14 +0000

emerge -qpvO media-libs/sg
[ebuild  N    ] media-libs/sg-1.5  USE="-doc -static-libs"
Comment 1 Toralf Förster gentoo-dev 2020-01-27 02:50:42 UTC
Created attachment 605068 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-27 02:50:45 UTC
Created attachment 605070 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-27 02:50:48 UTC
Created attachment 605072 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-27 02:50:50 UTC
Created attachment 605074 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-27 02:50:53 UTC
Created attachment 605076 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-27 02:50:56 UTC
Created attachment 605078 [details]
media-libs:sg-1.5:20200126-233751.log
Comment 7 Toralf Förster gentoo-dev 2020-01-27 02:50:59 UTC
Created attachment 605080 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-02-10 12:52:48 UTC
The bug has been closed via the following commit(s):

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

commit 377d3d80573bdb60ce7e5aa01809f012ee9e233d
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-02-10 12:52:31 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-02-10 12:52:31 +0000

    x11-libs/libGLw: Fix for -fno-common
    
    Closes: https://bugs.gentoo.org/706600
    Package-Manager: Portage-2.3.88, Repoman-2.3.20
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../libGLw/files/libGLw-8.0.0-gcc10-fno-common.patch | 20 ++++++++++++++++++++
 .../{libGLw-8.0.0.ebuild => libGLw-8.0.0-r1.ebuild}  |  4 +++-
 2 files changed, 23 insertions(+), 1 deletion(-)