Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708038 - net-analyzer/flow-tools-0.68.5.1-r10 : fails to build with -fno-common or gcc-10
Summary: net-analyzer/flow-tools-0.68.5.1-r10 : 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-03 18:44 UTC by Toralf Förster
Modified: 2020-02-03 19:28 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.87 KB, text/plain)
2020-02-03 18:44 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,302.20 KB, text/plain)
2020-02-03 18:44 UTC, Toralf Förster
Details
environment (environment,40.24 KB, text/plain)
2020-02-03 18:44 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.66 KB, application/x-bzip)
2020-02-03 18:44 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,20.82 KB, application/x-bzip)
2020-02-03 18:44 UTC, Toralf Förster
Details
net-analyzer:flow-tools-0.68.5.1-r10:20200203-011002.log (net-analyzer:flow-tools-0.68.5.1-r10:20200203-011002.log,125.54 KB, text/plain)
2020-02-03 18:45 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,19.38 KB, application/x-bzip)
2020-02-03 18:45 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-03 18:44:46 UTC
  185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -fPIE -O2 -pipe -march=native -fno-common -pie -Wl,-O1 -Wl,--as-needed -o flow-filter flow-filter.o aclyacc.o acllex.o acl2.o ../lib/libft.la -lnsl -lwrap -lz 
libtool: link: x86_64-pc-linux-gnu-gcc -fPIE -O2 -pipe -march=native -fno-common -pie -Wl,-O1 -Wl,--as-needed -o .libs/flow-filter flow-filter.o aclyacc.o acllex.o acl2.o  ../lib/.libs/libft.so -lcrypto -lnsl -lwrap -lz
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: acl2.o:(.bss+0x0): multiple definition of `acl_list'; flow-filter.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_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 <==
Sun, 02 Feb 2020 23:48:43 +0000

emerge -qpvO net-analyzer/flow-tools
[ebuild  N    ] net-analyzer/flow-tools-0.68.5.1-r10  USE="ssl -debug -libressl -mysql -postgres -static-libs"
Comment 1 Toralf Förster gentoo-dev 2020-02-03 18:44:48 UTC
Created attachment 611296 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-03 18:44:51 UTC
Created attachment 611298 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-03 18:44:54 UTC
Created attachment 611300 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-03 18:44:57 UTC
Created attachment 611302 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-03 18:44:59 UTC
Created attachment 611304 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-03 18:45:03 UTC
Created attachment 611306 [details]
net-analyzer:flow-tools-0.68.5.1-r10:20200203-011002.log
Comment 7 Toralf Förster gentoo-dev 2020-02-03 18:45:07 UTC
Created attachment 611308 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-02-03 19:28:38 UTC
The bug has been closed via the following commit(s):

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

commit 78c775afa54f223bd01b2cb143ef36a32ec92aa8
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-02-03 19:28:04 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-02-03 19:28:33 +0000

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

 .../files/flow-tools-0.68.5.1-fno-common.patch     | 42 ++++++++++++++++++++++
 .../flow-tools/flow-tools-0.68.5.1-r10.ebuild      |  3 +-
 2 files changed, 44 insertions(+), 1 deletion(-)