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

Bug 706668

Summary: net-analyzer/argus-3.0.8.2-r1 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
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
net-analyzer:argus-3.0.8.2-r1:20200127-034343.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-27 17:28:24 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusEvents.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusNetflow.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -I.  -I./../include  -DHAVE_CONFIG_H -c ArgusSflow.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -I.  -I./../include  -DHAVE_CONFIG_H -o ../bin/argus argus.o ArgusModeler.o ArgusSource.o ArgusUtil.o ArgusOutput.o ArgusUdp.o ArgusTcp.o ArgusIcmp.o ArgusIgmp.o ArgusEsp.o ArgusArp.o ArgusFrag.o ArgusUdt.o ArgusLcp.o ArgusIsis.o ArgusAuth.o Argus802.11.o ArgusApp.o ArgusEvents.o ArgusNetflow.o ArgusSflow.o -Wl,-O1 -Wl,--as-needed -Wl,-rpath,/usr/lib64 -lpcap -lpthread  -lwrap -lnsl -lsasl2 -lm -lz ../lib/argus_common.a -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ArgusUdt.o:(.bss+0x8): multiple definition of `bp'; ArgusUdp.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_desktop_gnome_systemd-libressl-20200125-150902

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

  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.7 (uninstalled)
  [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 <==
Mon, 27 Jan 2020 02:06:14 +0000

emerge -qpvO net-analyzer/argus
[ebuild  N    ] net-analyzer/argus-3.0.8.2-r1  USE="(libtirpc) sasl tcpd -debug"
Comment 1 Toralf Förster gentoo-dev 2020-01-27 17:28:27 UTC
Created attachment 605236 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-27 17:28:30 UTC
Created attachment 605238 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-27 17:28:32 UTC
Created attachment 605240 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-27 17:28:35 UTC
Created attachment 605242 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-27 17:28:38 UTC
Created attachment 605244 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-27 17:28:41 UTC
Created attachment 605246 [details]
net-analyzer:argus-3.0.8.2-r1:20200127-034343.log
Comment 7 Toralf Förster gentoo-dev 2020-01-27 17:28:44 UTC
Created attachment 605248 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-01-27 18:40:48 UTC
The bug has been closed via the following commit(s):

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

commit fd4bed892c78dd78b0441dfa99b69bd3bd6812d0
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-01-27 18:38:56 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-01-27 18:40:42 +0000

    net-analyzer/argus: Fix CFLAGS=-fno-common
    
    - EAPI=7
    - Set new HOMEPAGE
    - Remove unneeded definitions to fix CFLAGS=-fno-common
    
    Package-Manager: Portage-2.3.85, Repoman-2.3.20
    Closes: https://bugs.gentoo.org/706668
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 net-analyzer/argus/argus-3.0.8.2-r2.ebuild         | 93 ++++++++++++++++++++++
 .../argus/files/argus-3.0.8.2-fno-common.patch     | 45 +++++++++++
 2 files changed, 138 insertions(+)