Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707198 - x11-plugins/wmclockmon-0.8.1-r1 : fails to build with -fno-common or gcc-10
Summary: x11-plugins/wmclockmon-0.8.1-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-29 17:59 UTC by Toralf Förster
Modified: 2020-02-24 21:47 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.17 KB, text/plain)
2020-01-29 17:59 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,169.43 KB, text/plain)
2020-01-29 17:59 UTC, Toralf Förster
Details
environment (environment,20.20 KB, text/plain)
2020-01-29 17:59 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.58 KB, application/x-bzip)
2020-01-29 17:59 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.01 KB, application/x-bzip)
2020-01-29 17:59 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,9.59 KB, application/x-bzip)
2020-01-29 17:59 UTC, Toralf Förster
Details
x11-plugins:wmclockmon-0.8.1-r1:20200129-053721.log (x11-plugins:wmclockmon-0.8.1-r1:20200129-053721.log,25.64 KB, text/plain)
2020-01-29 17:59 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-29 17:59:17 UTC
tools.c:144:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
  144 |         fgets(line, MAXSTRLEN, file);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed  -O2 -pipe -march=native -fno-common `pkg-config gtk+-2.0 --cflags` `pkg-config gtk+-2.0 --libs` -o wmclockmon-config  actions.o dialogs.o edit.o main.o mainwindow.o tools.o -L/usr/lib64 -L/usr/local/lib -lX11  -lXext -lXpm `pkg-config gtk+-2.0 --libs`
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: edit.o:(.bss+0x0): multiple definition of `newalarm'; actions.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: main.o:(.bss+0xdc): multiple definition of `backlight'; actions.o:(.bss+0xe4): 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 <==
Wed, 29 Jan 2020 03:06:23 +0000

emerge -qpvO x11-plugins/wmclockmon
[ebuild  N    ] x11-plugins/wmclockmon-0.8.1-r1
Comment 1 Toralf Förster gentoo-dev 2020-01-29 17:59:19 UTC
Created attachment 607842 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 17:59:23 UTC
Created attachment 607844 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-29 17:59:25 UTC
Created attachment 607846 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-29 17:59:28 UTC
Created attachment 607848 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-29 17:59:31 UTC
Created attachment 607850 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-29 17:59:34 UTC
Created attachment 607852 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-29 17:59:37 UTC
Created attachment 607854 [details]
x11-plugins:wmclockmon-0.8.1-r1:20200129-053721.log
Comment 8 Larry the Git Cow gentoo-dev 2020-02-24 21:47:39 UTC
The bug has been closed via the following commit(s):

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

commit 644c7541bcd61e638e06d6b06b6656340a0f6f61
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2020-02-24 21:39:44 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2020-02-24 21:47:31 +0000

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

 .../wmclockmon/files/wmclockmon-0.8.1-gcc-10.patch | 247 +++++++++++++++++++++
 x11-plugins/wmclockmon/wmclockmon-0.8.1-r1.ebuild  |   5 +-
 2 files changed, 250 insertions(+), 2 deletions(-)