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

Bug 707484

Summary: x11-plugins/wmmisc-1.2 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Bernard Cafarelli <voyageur>
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
temp.tbz2
x11-plugins:wmmisc-1.2:20200130-142751.log

Description Toralf Förster gentoo-dev 2020-01-30 19:27:48 UTC
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"wmmisc\" -DPACKAGE_TARNAME=\"wmmisc\" -DPACKAGE_VERSION=\"1.2\" -DPACKAGE_STRING=\"wmmisc\ 1.2\" -DPACKAGE_BUGREPORT=\"wmaker-dev@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"wmmisc\" -DVERSION=\"1.2\" -I.     -O2 -pipe -march=native -fno-common -c -o src/dockapp_draw.o src/dockapp_draw.c
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"wmmisc\" -DPACKAGE_TARNAME=\"wmmisc\" -DPACKAGE_VERSION=\"1.2\" -DPACKAGE_STRING=\"wmmisc\ 1.2\" -DPACKAGE_BUGREPORT=\"wmaker-dev@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"wmmisc\" -DVERSION=\"1.2\" -I.     -O2 -pipe -march=native -fno-common -c -o src/dockapp_main.o src/dockapp_main.c
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"wmmisc\" -DPACKAGE_TARNAME=\"wmmisc\" -DPACKAGE_VERSION=\"1.2\" -DPACKAGE_STRING=\"wmmisc\ 1.2\" -DPACKAGE_BUGREPORT=\"wmaker-dev@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"wmmisc\" -DVERSION=\"1.2\" -I.     -O2 -pipe -march=native -fno-common -c -o src/dockapp_utils.o src/dockapp_utils.c
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o wmmisc src/dockapp_draw.o src/dockapp_main.o src/dockapp_utils.o  -lm  -ldockapp -lXext -lXpm -lX11 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/dockapp_main.o:(.bss+0x0): multiple definition of `display'; src/dockapp_draw.o:(.bss+0x0): 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_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 13:08:10 +0000

emerge -qpvO x11-plugins/wmmisc
[ebuild  N    ] x11-plugins/wmmisc-1.2
Comment 1 Toralf Förster gentoo-dev 2020-01-30 19:27:51 UTC
Created attachment 609226 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-30 19:27:53 UTC
Created attachment 609228 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-30 19:27:56 UTC
Created attachment 609230 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-30 19:28:00 UTC
Created attachment 609232 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-30 19:28:03 UTC
Created attachment 609234 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-30 19:28:06 UTC
Created attachment 609236 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-30 19:28:09 UTC
Created attachment 609238 [details]
x11-plugins:wmmisc-1.2:20200130-142751.log
Comment 8 Bernard Cafarelli gentoo-dev 2020-03-28 13:39:17 UTC
OK this one has to be fixed in libdockapp, should also prevent some issues with other dockapps using the lib
Comment 9 Larry the Git Cow gentoo-dev 2020-03-28 13:59:51 UTC
The bug has been closed via the following commit(s):

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

commit 95f828f1bf98924fb3a69f8e8744474de6fca7a2
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2020-03-28 13:40:34 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2020-03-28 13:41:01 +0000

    x11-libs/libdockapp: fix build with -fno-common
    
    Actual failure is seen in packages using libdockapp, like
    x11-plugins/wminet
    
    Closes: https://bugs.gentoo.org/707484
    Package-Manager: Portage-2.3.96, Repoman-2.3.21
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 .../files/libdockapp-0.7.2-fno-common.patch        | 12 ++++++
 x11-libs/libdockapp/libdockapp-0.7.2-r1.ebuild     | 46 ++++++++++++++++++++++
 2 files changed, 58 insertions(+)