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

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


Attachments
emerge-info.txt (emerge-info.txt,17.62 KB, text/plain)
2020-02-02 20:55 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,244.54 KB, text/plain)
2020-02-02 20:55 UTC, Toralf Förster
Details
environment (environment,52.36 KB, text/plain)
2020-02-02 20:55 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,40.80 KB, application/x-bzip)
2020-02-02 20:55 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,14.42 KB, application/x-bzip)
2020-02-02 20:55 UTC, Toralf Förster
Details
x11-plugins:wmMatrix-0.2-r2:20200202-194421.log (x11-plugins:wmMatrix-0.2-r2:20200202-194421.log,4.49 KB, text/plain)
2020-02-02 20:55 UTC, Toralf Förster
Details
files/wmMatrix-0.2-fno-common.patch (wmMatrix-0.2-fno-common.patch,649 bytes, patch)
2020-02-02 21:41 UTC, Jeroen Roovers (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-02-02 20:55:07 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall  -DLinux -c matrix.c -o matrix.o -I/usr/include/X11 -I/usr/include
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  -DLinux -c yarandom.c -o yarandom.o -I/usr/include/X11 -I/usr/include
x86_64-pc-linux-gnu-gcc   -o wmMatrix wmMatrix.o matrix.o xutils.o yarandom.o -I/usr/include/X11 -I/usr/include -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'; wmMatrix.o:(.bss+0x460): 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'; wmMatrix.o:(.bss+0x450): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-libressl-20200126-092715

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

  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
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 02 Feb 2020 18:30:32 +0000

emerge -qpvO x11-plugins/wmMatrix
[ebuild  N    ] x11-plugins/wmMatrix-0.2-r2
Comment 1 Toralf Förster gentoo-dev 2020-02-02 20:55:10 UTC
Created attachment 611144 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-02 20:55:12 UTC
Created attachment 611146 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-02 20:55:15 UTC
Created attachment 611148 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-02 20:55:18 UTC
Created attachment 611150 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-02 20:55:21 UTC
Created attachment 611152 [details]
temp.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-02 20:55:24 UTC
Created attachment 611154 [details]
x11-plugins:wmMatrix-0.2-r2:20200202-194421.log
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2020-02-02 21:41:26 UTC
Created attachment 611156 [details, diff]
files/wmMatrix-0.2-fno-common.patch
Comment 8 Larry the Git Cow gentoo-dev 2020-02-02 23:28:58 UTC
The bug has been closed via the following commit(s):

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

commit cf12d7fd5d98f5209513bcc9b93388e98d785fd5
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2020-02-02 23:28:08 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2020-02-02 23:28:52 +0000

    x11-plugins/wmMatrix: fix build with -fno-common
    
    Thanks jer for patch
    
    Closes: https://bugs.gentoo.org/707970
    Package-Manager: Portage-2.3.87, Repoman-2.3.20
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 .../wmMatrix/files/wmMatrix-0.2-fno-common.patch   | 37 ++++++++++++++++++++++
 x11-plugins/wmMatrix/wmMatrix-0.2-r2.ebuild        |  7 ++--
 2 files changed, 42 insertions(+), 2 deletions(-)