Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706836 - x11-plugins/wmgrabimage-0.72-r2 : fails to build with -fno-common or gcc-10
Summary: x11-plugins/wmgrabimage-0.72-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: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-28 18:19 UTC by Toralf Förster
Modified: 2020-02-02 11:29 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.74 KB, text/plain)
2020-01-28 18:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,107.67 KB, text/plain)
2020-01-28 18:19 UTC, Toralf Förster
Details
environment (environment,30.32 KB, text/plain)
2020-01-28 18:19 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.11 KB, application/x-bzip)
2020-01-28 18:19 UTC, Toralf Förster
Details
x11-plugins:wmgrabimage-0.72-r2:20200128-000615.log (x11-plugins:wmgrabimage-0.72-r2:20200128-000615.log,6.90 KB, text/plain)
2020-01-28 18:19 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 18:19:40 UTC
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -O2 -pipe -march=native -fno-common -Wall -DLinux -c ../wmgeneral/wmgeneral.c -o ../wmgeneral/wmgeneral.o -I/usr/X11R6/include/X11
gcc -O2 -pipe -march=native -fno-common -Wall -Wl,-O1 -Wl,--as-needed -o wmGrabImage wmGrabImage.o ../wmgeneral/wmgeneral.o -I/usr/X11R6/include/X11 -L/usr/X11R6/lib -lXpm -lX11 -lXext
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../wmgeneral/wmgeneral.o:(.bss+0x280): multiple definition of `display'; wmGrabImage.o:(.bss+0xe40): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../wmgeneral/wmgeneral.o:(.bss+0x278): multiple definition of `Root'; wmGrabImage.o:(.bss+0xe38): 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 (uninstalled)
  [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 <==
Mon, 27 Jan 2020 23:06:20 +0000

emerge -qpvO x11-plugins/wmgrabimage
[ebuild  N    ] x11-plugins/wmgrabimage-0.72-r2
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:19:43 UTC
Created attachment 606030 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:19:46 UTC
Created attachment 606032 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:19:49 UTC
Created attachment 606034 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:19:52 UTC
Created attachment 606036 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:19:55 UTC
Created attachment 606038 [details]
x11-plugins:wmgrabimage-0.72-r2:20200128-000615.log
Comment 6 Larry the Git Cow gentoo-dev 2020-02-02 11:29:44 UTC
The bug has been closed via the following commit(s):

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

commit feb96a00dc2f2e990b28203e459cb65d91c7a4b5
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2020-02-02 11:27:33 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2020-02-02 11:29:38 +0000

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

 .../files/wmgrabimage-0.72-gcc-10.patch            | 32 ++++++++++++++++++++++
 x11-plugins/wmgrabimage/wmgrabimage-0.72-r2.ebuild |  9 ++++--
 2 files changed, 38 insertions(+), 3 deletions(-)