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

Bug 706998

Summary: sys-apps/isapnptools-1.27 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
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
sys-apps:isapnptools-1.27:20200128-185743.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-28 19:15:05 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include    -O2 -pipe -march=native -fno-common -c isapnp.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include    -O2 -pipe -march=native -fno-common -c isapnp_main.c
/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -static -o isapnp isapnp.o isapnp_main.o libisapnp.a 
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -o isapnp isapnp.o isapnp_main.o  libisapnp.a
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: libisapnp.a(res-access.o):(.bss+0xe0): multiple definition of `serial_identifier'; isapnp_main.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20200124-204141

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

  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:
*)	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 18:26:20 +0000

emerge -qpvO sys-apps/isapnptools
[ebuild  N    ] sys-apps/isapnptools-1.27
Comment 1 Toralf Förster gentoo-dev 2020-01-28 19:15:07 UTC
Created attachment 607090 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 19:15:10 UTC
Created attachment 607092 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-28 19:15:13 UTC
Created attachment 607094 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-28 19:15:15 UTC
Created attachment 607096 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-28 19:15:18 UTC
Created attachment 607098 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-28 19:15:21 UTC
Created attachment 607100 [details]
sys-apps:isapnptools-1.27:20200128-185743.log
Comment 7 Toralf Förster gentoo-dev 2020-01-28 19:15:23 UTC
Created attachment 607102 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-10-29 22:09:39 UTC
The bug has been closed via the following commit(s):

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

commit 0f8c69f49c680f95fec772042e668c4d0a127028
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-10-29 22:09:10 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-10-29 22:09:10 +0000

    sys-apps/isapnptools: Fix -fno-common
    
    Closes: https://bugs.gentoo.org/706998
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../files/isapnptools-1.27-fno-common.patch        | 22 ++++++++++++++++++++++
 sys-apps/isapnptools/isapnptools-1.27.ebuild       | 10 ++++++----
 2 files changed, 28 insertions(+), 4 deletions(-)