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

Bug 706550

Summary: x11-plugins/wmpop3lb-2.4.2-r3 : 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
temp.tbz2
x11-plugins:wmpop3lb-2.4.2-r3:20200126-201258.log

Description Toralf Förster gentoo-dev 2020-01-26 20:50:12 UTC
cc -I/usr/X11R6/share/include -O2 -pipe -march=native -fno-common -c -Wall ../wmgeneral/wmgeneral.c -o ../wmgeneral/wmgeneral.o
cc -I/usr/X11R6/share/include -O2 -pipe -march=native -fno-common -c -Wall ../wmgeneral/misc.c -o ../wmgeneral/misc.o
cc -I/usr/X11R6/share/include -O2 -pipe -march=native -fno-common -c -Wall ../wmgeneral/list.c -o ../wmgeneral/list.o
cc -Wl,-O1 -Wl,--as-needed -o wmpop3lb wmpop3.o Pop3Client.o ../wmgeneral/wmgeneral.o ../wmgeneral/misc.o ../wmgeneral/list.o -lXext -L/usr/X11R6/lib -lXpm -lXext -lX11
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: Pop3Client.o:(.bss+0x0): multiple definition of `display'; wmpop3.o:(.bss+0x1540): first defined here
/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'; wmpop3.o:(.bss+0x1540): 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 *


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 *



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

emerge -qpvO x11-plugins/wmpop3lb
[ebuild  N    ] x11-plugins/wmpop3lb-2.4.2-r3
Comment 1 Toralf Förster gentoo-dev 2020-01-26 20:50:15 UTC
Created attachment 604938 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-26 20:50:18 UTC
Created attachment 604940 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-26 20:50:21 UTC
Created attachment 604942 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-26 20:50:24 UTC
Created attachment 604944 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-26 20:50:27 UTC
Created attachment 604946 [details]
temp.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-26 20:50:30 UTC
Created attachment 604948 [details]
x11-plugins:wmpop3lb-2.4.2-r3:20200126-201258.log
Comment 7 Larry the Git Cow gentoo-dev 2020-01-29 18:27:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5749ea57c106309a71d79ad589e1e964b0953a07

commit 5749ea57c106309a71d79ad589e1e964b0953a07
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2020-01-29 17:49:53 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2020-01-29 18:26:59 +0000

    x11-plugins/wmpop3lb: fix build with -fno-common
    
    Closes: https://bugs.gentoo.org/706550
    Package-Manager: Portage-2.3.86, Repoman-2.3.20
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 .../wmpop3lb/files/wmpop3lb-2.4.2-gcc-10.patch      | 21 +++++++++++++++++++++
 x11-plugins/wmpop3lb/wmpop3lb-2.4.2-r3.ebuild       |  5 +++--
 2 files changed, 24 insertions(+), 2 deletions(-)