Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707452 - app-admin/newsyslog-1.1.0.81 : fails to build with -fno-common or gcc-10
Summary: app-admin/newsyslog-1.1.0.81 : 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: Patrice Clement
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: -fno-common gcc-10-stable
  Show dependency tree
 
Reported: 2020-01-30 19:16 UTC by Toralf Förster
Modified: 2021-01-24 19:53 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.60 KB, text/plain)
2020-01-30 19:17 UTC, Toralf Förster
Details
app-admin:newsyslog-1.1.0.81:20200130-093801.log (app-admin:newsyslog-1.1.0.81:20200130-093801.log,12.29 KB, text/plain)
2020-01-30 19:17 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,164.67 KB, text/plain)
2020-01-30 19:17 UTC, Toralf Förster
Details
environment (environment,17.13 KB, text/plain)
2020-01-30 19:17 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.39 KB, application/x-bzip)
2020-01-30 19:17 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.96 KB, application/x-bzip)
2020-01-30 19:17 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,8.55 KB, application/x-bzip)
2020-01-30 19:17 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-30 19:16:57 UTC
      |                   ^~~~~~~~~~~
/bin/sh ./mksigname.sh ./siglist.in sys_signame.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -O2 -pipe -march=native -fno-common -c sys_signame.c
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o newsyslog newsyslog.o setgroupent.o setpassent.o sig2str.o str2sig.o sys_signame.o 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: str2sig.o:(.rodata+0x0): multiple definition of `sys_signame'; sig2str.o:(.rodata+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: sys_signame.o:(.data.rel.ro.local+0x0): multiple definition of `sys_signame'; sig2str.o:(.rodata+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
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 30 Jan 2020 08:17:27 +0000

emerge -qpvO app-admin/newsyslog
[ebuild  N    ] app-admin/newsyslog-1.1.0.81
Comment 1 Toralf Förster gentoo-dev 2020-01-30 19:17:00 UTC
Created attachment 609012 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-30 19:17:03 UTC
Created attachment 609014 [details]
app-admin:newsyslog-1.1.0.81:20200130-093801.log
Comment 3 Toralf Förster gentoo-dev 2020-01-30 19:17:06 UTC
Created attachment 609016 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-30 19:17:08 UTC
Created attachment 609018 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-30 19:17:12 UTC
Created attachment 609020 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-30 19:17:16 UTC
Created attachment 609022 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-30 19:17:21 UTC
Created attachment 609024 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2021-01-24 19:24:03 UTC
The bug has been closed via the following commit(s):

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

commit 83d9afd518cff628d49a5f10daacb6b7fdebd0ca
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-01-24 19:23:50 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-01-24 19:23:50 +0000

    app-admin/newsyslog: Fix build with gcc-10
    
    Closes: https://bugs.gentoo.org/707452
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../files/newsyslog-1.1.0.81-fno-common.patch      | 43 ++++++++++++++++++++++
 .../newsyslog/files/newsyslog-1.1.0.81-html.patch  |  4 +-
 app-admin/newsyslog/newsyslog-1.1.0.81-r1.ebuild   | 30 ++++++++-------
 3 files changed, 61 insertions(+), 16 deletions(-)