Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708242 - net-analyzer/knocker-0.7.1-r3 : fails to build with -fno-common or gcc-10
Summary: net-analyzer/knocker-0.7.1-r3 : 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: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-04 17:11 UTC by Toralf Förster
Modified: 2020-02-04 18:27 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.74 KB, text/plain)
2020-02-04 17:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,48.83 KB, text/plain)
2020-02-04 17:11 UTC, Toralf Förster
Details
environment (environment,50.27 KB, text/plain)
2020-02-04 17:12 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.18 KB, application/x-bzip)
2020-02-04 17:12 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,1.27 KB, application/x-bzip)
2020-02-04 17:12 UTC, Toralf Förster
Details
net-analyzer:knocker-0.7.1-r3:20200204-161445.log (net-analyzer:knocker-0.7.1-r3:20200204-161445.log,21.26 KB, text/plain)
2020-02-04 17:12 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,15.27 KB, application/x-bzip)
2020-02-04 17:12 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-02-04 17:11:53 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -march=native -fno-common -Wall -c knocker_time.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -march=native -fno-common -Wall -c knocker_services.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -march=native -fno-common -Wall -c knocker_led.c
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -Wall -Wl,-O1 -Wl,--as-needed -o knocker  knocker_main.o knocker_core.o knocker_args.o knocker_user.o knocker_conf.o knocker_output.o knocker_log.o knocker_term.o knocker_time.o knocker_services.o knocker_led.o  
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: knocker_core.o:(.bss+0x3a998): multiple definition of `knocker_core_last_hostip'; knocker_main.o:(.bss+0x1ba9f0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: knocker_core.o:(.bss+0x3a990): multiple definition of `knocker_core_last_hostname'; knocker_main.o:(.bss+0x1ba9e8): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-abi32+64-20200203-051815

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

  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) *

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
ghc:
The Glorious Glasgow Haskell Compilation System, version 7.10.3

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 04 Feb 2020 15:48:49 +0000

emerge -qpvO net-analyzer/knocker
[ebuild  N    ] net-analyzer/knocker-0.7.1-r3
Comment 1 Toralf Förster gentoo-dev 2020-02-04 17:11:56 UTC
Created attachment 611648 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-04 17:11:59 UTC
Created attachment 611650 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-04 17:12:01 UTC
Created attachment 611652 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-04 17:12:04 UTC
Created attachment 611654 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-04 17:12:07 UTC
Created attachment 611656 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-04 17:12:10 UTC
Created attachment 611658 [details]
net-analyzer:knocker-0.7.1-r3:20200204-161445.log
Comment 7 Toralf Förster gentoo-dev 2020-02-04 17:12:13 UTC
Created attachment 611660 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-02-04 18:27:34 UTC
The bug has been closed via the following commit(s):

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

commit 2e534de6d5f062505aa69f4b442bc6c9605affb5
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-02-04 18:26:58 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-02-04 18:27:31 +0000

    net-analyzer/knocker: Fix CFLAGS=-fno-common
    
    Package-Manager: Portage-2.3.87, Repoman-2.3.20
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=708242
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 .../knocker/files/knocker-0.7.1-fno-common.patch   | 215 +++++++++++++++++++++
 net-analyzer/knocker/knocker-0.7.1-r3.ebuild       |   3 +-
 2 files changed, 216 insertions(+), 2 deletions(-)