Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706668 - net-analyzer/argus-3.0.8.2-r1 : fails to build with -fno-common or gcc-10
Summary: net-analyzer/argus-3.0.8.2-r1 : 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-01-27 17:28 UTC by Toralf Förster
Modified: 2020-01-27 18:40 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.56 KB, text/plain)
2020-01-27 17:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,62.56 KB, text/plain)
2020-01-27 17:28 UTC, Toralf Förster
Details
environment (environment,103.06 KB, text/plain)
2020-01-27 17:28 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.70 KB, application/x-bzip)
2020-01-27 17:28 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,24.51 KB, application/x-bzip)
2020-01-27 17:28 UTC, Toralf Förster
Details
net-analyzer:argus-3.0.8.2-r1:20200127-034343.log (net-analyzer:argus-3.0.8.2-r1:20200127-034343.log,20.77 KB, text/plain)
2020-01-27 17:28 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,27.78 KB, application/x-bzip)
2020-01-27 17:28 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-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(+)