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

Bug 706962

Summary: x11-wm/wmii-3.9.2-r5 : 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 CC: Thomas.Doczkal, treecleaner
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: ~arch only
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2
x11-wm:wmii-3.9.2-r5:20200128-143129.log

Description Toralf Förster gentoo-dev 2020-01-28 18:49:45 UTC
 1121 |   system(sxprint("DISPLAY=%s wiwarp %d %d", real, pt.x, pt.y));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC cmd/wmii/xext.o
LD cmd/wmii/wmii.out
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bar.o:(.bss+0xf8): multiple definition of `display'; area.o:(.bss+0xf8): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bar.o:(.bss+0x0): multiple definition of `scr'; area.o:(.bss+0x0): 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 *

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.6
  [3]   python3.7 (fallback)
  [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:
*)	AdoptOpenJDK 8.242_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 28 Jan 2020 13:26:22 +0000

emerge -qpvO x11-wm/wmii
[ebuild  N    ] x11-wm/wmii-3.9.2-r5
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:49:48 UTC
Created attachment 606862 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:49:51 UTC
Created attachment 606864 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:49:54 UTC
Created attachment 606866 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:49:57 UTC
Created attachment 606868 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:50:00 UTC
Created attachment 606870 [details]
temp.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-28 18:50:03 UTC
Created attachment 606872 [details]
x11-wm:wmii-3.9.2-r5:20200128-143129.log
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-31 05:29:33 UTC
Dead upstream now, unfortunately.
Comment 8 Larry the Git Cow gentoo-dev 2021-02-12 13:44:53 UTC
The bug has been closed via the following commit(s):

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

commit 22274c58b1d3b2ccebe72a40e99ec8d90f2fd7d0
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-02-11 19:14:25 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2021-02-12 13:44:42 +0000

    x11-wm/wmii: Port to EAPI 7
    
    * Apply gcc-10 workaround (dead upstream)
    
    Closes: https://bugs.gentoo.org/706962
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 x11-wm/wmii/wmii-3.9.2-r5.ebuild | 42 ++++++++++++++++++----------------------
 1 file changed, 19 insertions(+), 23 deletions(-)