Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707018 - x11-plugins/wmbinclock-0.5-r1 : fails to build with -fno-common or gcc-10
Summary: x11-plugins/wmbinclock-0.5-r1 : fails to build with -fno-common or gcc-10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-28 20:52 UTC by Toralf Förster
Modified: 2020-03-01 15:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.00 KB, text/plain)
2020-01-28 20:52 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,152.06 KB, text/plain)
2020-01-28 20:52 UTC, Toralf Förster
Details
environment (environment,49.85 KB, text/plain)
2020-01-28 20:52 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.44 KB, application/x-bzip)
2020-01-28 20:52 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,13.96 KB, application/x-bzip)
2020-01-28 20:52 UTC, Toralf Förster
Details
x11-plugins:wmbinclock-0.5-r1:20200128-203332.log (x11-plugins:wmbinclock-0.5-r1:20200128-203332.log,6.21 KB, text/plain)
2020-01-28 20:52 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-01-28 20:52:12 UTC
  900 |  printf(str);
      |         ^~~
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DLinux -c xutils.c -o xutils.o -I/usr/include/X11
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -o wmBinClock wmBinClock.o xutils.o -I/usr/include/X11  -lXpm -lX11 -lXext -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: xutils.o:(.bss+0x1e0): multiple definition of `display'; wmBinClock.o:(.bss+0x58): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: xutils.o:(.bss+0x1d0): multiple definition of `iconwin'; wmBinClock.o:(.bss+0x48): first defined here

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

  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

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

emerge -qpvO x11-plugins/wmbinclock
[ebuild  N    ] x11-plugins/wmbinclock-0.5-r1
Comment 1 Toralf Förster gentoo-dev 2020-01-28 20:52:15 UTC
Created attachment 607190 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 20:52:18 UTC
Created attachment 607192 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-28 20:52:22 UTC
Created attachment 607194 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-28 20:52:24 UTC
Created attachment 607196 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-28 20:52:27 UTC
Created attachment 607198 [details]
temp.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-28 20:52:30 UTC
Created attachment 607200 [details]
x11-plugins:wmbinclock-0.5-r1:20200128-203332.log
Comment 7 Larry the Git Cow gentoo-dev 2020-03-01 15:25:31 UTC
The bug has been closed via the following commit(s):

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

commit d95b8d19dc7653c2e626a237abc7772f5020df5e
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2020-03-01 15:02:26 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2020-03-01 15:12:42 +0000

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

 .../wmbinclock/files/wmbinclock-0.5-gcc-10.patch   | 39 ++++++++++++++++++++++
 x11-plugins/wmbinclock/wmbinclock-0.5-r1.ebuild    |  4 ++-
 2 files changed, 42 insertions(+), 1 deletion(-)