Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707226 - x11-plugins/gkwebmon-0.2-r2 : fails to build with -fno-common or gcc-10
Summary: x11-plugins/gkwebmon-0.2-r2 : 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: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-29 18:07 UTC by Toralf Förster
Modified: 2020-11-26 10:33 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.81 KB, text/plain)
2020-01-29 18:07 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,65.99 KB, text/plain)
2020-01-29 18:07 UTC, Toralf Förster
Details
environment (environment,46.85 KB, text/plain)
2020-01-29 18:07 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.09 KB, application/x-bzip)
2020-01-29 18:07 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,13.82 KB, application/x-bzip)
2020-01-29 18:07 UTC, Toralf Förster
Details
x11-plugins:gkwebmon-0.2-r2:20200129-095217.log (x11-plugins:gkwebmon-0.2-r2:20200129-095217.log,7.97 KB, text/plain)
2020-01-29 18:07 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 18:07:17 UTC
gk.c:496:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  496 |  start_thread((void *) i);
      |               ^
x86_64-pc-linux-gnu-gcc webmon.o gk.o -o gkwebmon.so -Wl,-O1 -Wl,--as-needed -shared -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype  -lssl -lpthread
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gk.o:(.bss+0x20): multiple definition of `wi'; webmon.o:(.bss+0x20): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gk.o:(.bss+0x980): multiple definition of `updatetime'; webmon.o:(.bss+0x980): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-20200127-214345

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

  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.6
  [3]   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 7.10.3

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 29 Jan 2020 09:06:25 +0000

emerge -qpvO x11-plugins/gkwebmon
[ebuild  N    ] x11-plugins/gkwebmon-0.2-r2
Comment 1 Toralf Förster gentoo-dev 2020-01-29 18:07:19 UTC
Created attachment 608026 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 18:07:23 UTC
Created attachment 608028 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-29 18:07:25 UTC
Created attachment 608030 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-29 18:07:28 UTC
Created attachment 608032 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-29 18:07:31 UTC
Created attachment 608034 [details]
temp.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-29 18:07:34 UTC
Created attachment 608036 [details]
x11-plugins:gkwebmon-0.2-r2:20200129-095217.log
Comment 7 Larry the Git Cow gentoo-dev 2020-11-26 10:33:10 UTC
The bug has been closed via the following commit(s):

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

commit 7c1f5a1f4a79f5d2239904dab2689d515ba9d6ad
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2020-11-26 10:32:36 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-26 10:32:36 +0000

    x11-plugins/gkwebmon: fix build with gcc-10
    
    Closes: https://bugs.gentoo.org/707226
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 ....patch => gkwebmon-0.2-cc-cflags-ldflags.patch} |  0
 .../gkwebmon/files/gkwebmon-0.2-fno-common.patch   | 38 ++++++++++++++++++++++
 x11-plugins/gkwebmon/gkwebmon-0.2-r2.ebuild        |  6 ++--
 3 files changed, 42 insertions(+), 2 deletions(-)