Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707146 - x11-terms/mrxvt-0.5.4 : fails to build with -fno-common or gcc-10
Summary: x11-terms/mrxvt-0.5.4 : 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: Anthony Basile
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: -fno-common 727702
  Show dependency tree
 
Reported: 2020-01-29 17:41 UTC by Toralf Förster
Modified: 2020-11-28 23:09 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.85 KB, text/plain)
2020-01-29 17:41 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,135.90 KB, text/plain)
2020-01-29 17:41 UTC, Toralf Förster
Details
environment (environment,68.54 KB, text/plain)
2020-01-29 17:41 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.72 KB, application/x-bzip)
2020-01-29 17:42 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,11.80 KB, application/x-bzip)
2020-01-29 17:42 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,24.83 KB, application/x-bzip)
2020-01-29 17:42 UTC, Toralf Förster
Details
x11-terms:mrxvt-0.5.4:20200128-235132.log (x11-terms:mrxvt-0.5.4:20200128-235132.log,36.41 KB, text/plain)
2020-01-29 17:42 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 17:41:48 UTC
   85 |     fread(sig, 1, 8, ifile);
      |     ^~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -DPKG_CONF_DIR=\"/etc/mrxvt\" -I. -I..     -O2 -pipe -march=native -fno-common -Wall -fPIC -I/usr/include/freetype2 -I/usr/include/uuid  -c -o xftacs.o xftacs.c
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -Wall -fPIC -I/usr/include/freetype2 -I/usr/include/uuid   -Wl,-O1 -Wl,--as-needed -lXft  -o mrxvt command.o debug.o encoding.o init.o macros.o main.o menubar.o misc.o netdisp.o pixmap.o ptytty.o rxvt.o rxvtmem.o screen.o scrollbar.o strings.o tabbar.o transparent.o xdefaults.o scrollbar-plain.o scrollbar-xterm.o scrollbar-next.o scrollbar-rxvt.o scrollbar-sgi.o logging.o grkelot.o mjpg.o mpng.o  xftacs.o  -lXft -lfontconfig -lXrender -lpng -ljpeg -lX11  -lz -lm -lXft 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: debug.o:(.bss+0x4): multiple definition of `macroFnNames'; command.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: encoding.o:(.bss+0x10): multiple definition of `macroFnNames'; command.o:(.bss+0x0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-libressl-20200125-232521

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

  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

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

emerge -qpvO x11-terms/mrxvt
[ebuild  N    ] x11-terms/mrxvt-0.5.4  USE="jpeg png truetype -debug -menubar -session -utempter -xpm" L10N="-el -ja -ko -th -zh-CN -zh-TW"
Comment 1 Toralf Förster gentoo-dev 2020-01-29 17:41:51 UTC
Created attachment 607500 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 17:41:54 UTC
Created attachment 607502 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-29 17:41:57 UTC
Created attachment 607504 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-29 17:42:00 UTC
Created attachment 607506 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-29 17:42:03 UTC
Created attachment 607508 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-29 17:42:05 UTC
Created attachment 607510 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-29 17:42:08 UTC
Created attachment 607512 [details]
x11-terms:mrxvt-0.5.4:20200128-235132.log
Comment 9 Larry the Git Cow gentoo-dev 2020-11-28 23:09:41 UTC
The bug has been closed via the following commit(s):

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

commit d3e99bee31a1948abb61d68092d0da987d967e9e
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2020-11-28 23:09:24 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-28 23:09:24 +0000

    x11-terms/mrxvt: fix build with gcc-10
    
    * Thanks to Sam James for providing the patch link
    
    Closes: https://github.com/gentoo/gentoo/pull/18441
    Closes: https://bugs.gentoo.org/707146
    Package-Manager: Portage-3.0.9, Repoman-3.0.1
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 x11-terms/mrxvt/files/mrxvt-0.5.4-fno-common.patch | 20 +++++++++++
 x11-terms/mrxvt/mrxvt-0.5.4.ebuild                 | 41 +++++++++++++---------
 2 files changed, 44 insertions(+), 17 deletions(-)