Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 706722

Summary: x11-wm/oroborus-2.0.20-r1 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH, PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://reviews-dev.freebsd.org/rP547250
See Also: https://github.com/gentoo/gentoo/pull/18402
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2
x11-wm:oroborus-2.0.20-r1:20200127-161246.log

Description Toralf Förster gentoo-dev 2020-01-27 17:41:19 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.    -O2 -pipe -march=native -fno-common  -DDATADIR=\"/usr/share/oroborus\"  -Wall -O2 -pipe -march=native -fno-common -c session.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.    -O2 -pipe -march=native -fno-common  -DDATADIR=\"/usr/share/oroborus\"  -Wall -O2 -pipe -march=native -fno-common -c settings.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.    -O2 -pipe -march=native -fno-common  -DDATADIR=\"/usr/share/oroborus\"  -Wall -O2 -pipe -march=native -fno-common -c workspaces.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common  -DDATADIR=\"/usr/share/oroborus\"  -Wall -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o oroborus  client.o events.o frame.o getopt1.o getopt.o globals.o hints.o i18n.o keyboard.o misc.o oroborus.o parserc.o pixmap.o session.o settings.o workspaces.o  -lXpm -lXext -lX11   -lSM -lICE
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: events.o:(.bss+0x4): multiple definition of `ScrollLockMask'; client.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: events.o:(.bss+0x8): multiple definition of `CapsLockMask'; client.o:(.bss+0x4): first defined here

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

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

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

  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]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *




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

emerge -qpvO x11-wm/oroborus
[ebuild  N    ] x11-wm/oroborus-2.0.20-r1
Comment 1 Toralf Förster gentoo-dev 2020-01-27 17:41:21 UTC
Created attachment 605578 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-27 17:41:24 UTC
Created attachment 605580 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-27 17:41:26 UTC
Created attachment 605582 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-27 17:41:29 UTC
Created attachment 605584 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-27 17:41:32 UTC
Created attachment 605586 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-27 17:41:35 UTC
Created attachment 605588 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-27 17:41:38 UTC
Created attachment 605590 [details]
x11-wm:oroborus-2.0.20-r1:20200127-161246.log
Comment 8 Larry the Git Cow gentoo-dev 2020-11-26 10:33:07 UTC
The bug has been closed via the following commit(s):

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

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

    x11-wm/oroborus: fix build with gcc-10
    
    Closes: https://bugs.gentoo.org/706722
    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>

 .../files/oroborus-2.0.20-fno-common.patch         | 33 ++++++++++++++++++++++
 x11-wm/oroborus/oroborus-2.0.20-r1.ebuild          |  5 ++--
 2 files changed, 36 insertions(+), 2 deletions(-)