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

Bug 708118

Summary: x11-plugins/asmon-0.71-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 Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://sources.debian.org/patches/asmon/0.71-8.1/0007-fix-ftbfs.patch/
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
x11-plugins:asmon-0.71-r1:20200203-210055.log

Description Toralf Förster gentoo-dev 2020-02-03 21:20:11 UTC
x86_64-pc-linux-gnu-gcc -c -Wall -O2 -pipe -march=native -fno-common ../wmgeneral/wmgeneral.c -o ../wmgeneral/wmgeneral.o
x86_64-pc-linux-gnu-gcc -c -Wall -O2 -pipe -march=native -fno-common ../wmgeneral/misc.c -o ../wmgeneral/misc.o
x86_64-pc-linux-gnu-gcc -c -Wall -O2 -pipe -march=native -fno-common ../wmgeneral/list.c -o ../wmgeneral/list.o
x86_64-pc-linux-gnu-gcc -o asmon asmon.o  ../wmgeneral/wmgeneral.o ../wmgeneral/misc.o ../wmgeneral/list.o -Wl,-O1 -Wl,--as-needed -lXpm -lXext -lX11 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../wmgeneral/wmgeneral.o:(.bss+0x288): multiple definition of `display'; asmon.o:(.bss+0x120): 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-20200202-131532

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

  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.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *

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 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 03 Feb 2020 19:47:09 +0000

emerge -qpvO x11-plugins/asmon
[ebuild  N    ] x11-plugins/asmon-0.71-r1
Comment 1 Toralf Förster gentoo-dev 2020-02-03 21:20:14 UTC
Created attachment 611504 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-03 21:20:17 UTC
Created attachment 611506 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-03 21:20:20 UTC
Created attachment 611508 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-03 21:20:22 UTC
Created attachment 611510 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-03 21:20:25 UTC
Created attachment 611512 [details]
x11-plugins:asmon-0.71-r1:20200203-210055.log
Comment 6 Larry the Git Cow gentoo-dev 2020-11-01 05:02:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=645b62c84d25e8d90617e53cd62b5cf9bc1b2ac3

commit 645b62c84d25e8d90617e53cd62b5cf9bc1b2ac3
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2020-11-01 05:01:40 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-11-01 05:02:06 +0000

    x11-plugins/asmon: fix build with gcc 10
    
    Closes: https://bugs.gentoo.org/708118
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: Sam James <sam@gentoo.org>

 x11-plugins/asmon/asmon-0.71-r1.ebuild             | 18 ++++++++++--------
 .../asmon/files/asmon-0.71-fno-common.patch        | 22 ++++++++++++++++++++++
 x11-plugins/asmon/files/asmon-0.71-list.patch      | 10 ++++------
 3 files changed, 36 insertions(+), 14 deletions(-)