Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706686 - x11-plugins/wmCalClock-1.25-r3 : fails to build with -fno-common or gcc-10
Summary: x11-plugins/wmCalClock-1.25-r3 : 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-27 17:32 UTC by Toralf Förster
Modified: 2020-01-29 18:28 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,14.80 KB, text/plain)
2020-01-27 17:32 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,38.82 KB, text/plain)
2020-01-27 17:32 UTC, Toralf Förster
Details
environment (environment,49.67 KB, text/plain)
2020-01-27 17:32 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.90 KB, application/x-bzip)
2020-01-27 17:32 UTC, Toralf Förster
Details
x11-plugins:wmCalClock-1.25-r3:20200127-065526.log (x11-plugins:wmCalClock-1.25-r3:20200127-065526.log,4.81 KB, text/plain)
2020-01-27 17:32 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-27 17:32:22 UTC
  602 |       xoff += (xdDigits[digit]+1);
      |                ~~~~~~~~^~~~~~~
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -DLinux -c xutils.c -o xutils.o -I/usr/include/X11 -I/usr/include
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -o wmCalClock wmCalClock.o xutils.o -I/usr/include/X11 -I/usr/include -L-L/usr/lib64/ -Wl,-O1 -Wl,--as-needed -lXpm -lX11 -lXext
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: xutils.o:(.bss+0x1f8): multiple definition of `display'; wmCalClock.o:(.bss+0x8f0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: xutils.o:(.bss+0x1e8): multiple definition of `iconwin'; wmCalClock.o:(.bss+0x8e0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-libressl_test-20200126-104546

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

  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)





repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 27 Jan 2020 05:26:15 +0000

emerge -qpvO x11-plugins/wmCalClock
[ebuild  N    ] x11-plugins/wmCalClock-1.25-r3
Comment 1 Toralf Förster gentoo-dev 2020-01-27 17:32:25 UTC
Created attachment 605346 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-27 17:32:28 UTC
Created attachment 605348 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-27 17:32:31 UTC
Created attachment 605350 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-27 17:32:34 UTC
Created attachment 605352 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-27 17:32:36 UTC
Created attachment 605354 [details]
x11-plugins:wmCalClock-1.25-r3:20200127-065526.log
Comment 6 Larry the Git Cow gentoo-dev 2020-01-29 18:28:01 UTC
The bug has been closed via the following commit(s):

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

commit 66edbfc31b168de0d42a813e0c810d558b437a2c
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2020-01-29 17:57:29 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2020-01-29 18:26:59 +0000

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

 .../wmCalClock/files/wmCalClock-1.25-gcc-10.patch  | 35 ++++++++++++++++++++++
 x11-plugins/wmCalClock/wmCalClock-1.25-r3.ebuild   |  7 +++--
 2 files changed, 40 insertions(+), 2 deletions(-)