Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 722138 - net-analyzer/thcrut-1.2.5-r1 : /.../ld: error: discover_main.o: multiple definition of ip_tcp_sync_addr
Summary: net-analyzer/thcrut-1.2.5-r1 : /.../ld: error: discover_main.o: multiple defi...
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-05-10 13:36 UTC by Toralf Förster
Modified: 2020-05-10 14:22 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.27 KB, text/plain)
2020-05-10 13:36 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,259.41 KB, text/plain)
2020-05-10 13:36 UTC, Toralf Förster
Details
environment (environment,86.43 KB, text/plain)
2020-05-10 13:36 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,16.42 KB, application/x-bzip)
2020-05-10 13:36 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.28 KB, application/x-bzip)
2020-05-10 13:36 UTC, Toralf Förster
Details
net-analyzer:thcrut-1.2.5-r1:20200510-130744.log (net-analyzer:thcrut-1.2.5-r1:20200510-130744.log,89.16 KB, text/plain)
2020-05-10 13:37 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,33.05 KB, application/x-bzip)
2020-05-10 13:37 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-05-10 13:36:39 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: error: discover_main.o: multiple definition of ip_tcp_sync_addr
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: discover_dispatch.o: previous definition here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: skipping incompatible /usr/lib/libpcre.so while searching for pcre
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: skipping incompatible /usr/lib/libpcap.so while searching for pcap

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-abi32+64-20200503-182741

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.1.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python3.8 (fallback)
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.43.1 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.252_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sun 10 May 2020 11:36:42 AM UTC

emerge -qpvO net-analyzer/thcrut
[ebuild  N    ] net-analyzer/thcrut-1.2.5-r1
Comment 1 Toralf Förster gentoo-dev 2020-05-10 13:36:42 UTC
Created attachment 637598 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-05-10 13:36:45 UTC
Created attachment 637600 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-05-10 13:36:48 UTC
Created attachment 637602 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-05-10 13:36:52 UTC
Created attachment 637604 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-05-10 13:36:55 UTC
Created attachment 637606 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-05-10 13:37:01 UTC
Created attachment 637608 [details]
net-analyzer:thcrut-1.2.5-r1:20200510-130744.log
Comment 7 Toralf Förster gentoo-dev 2020-05-10 13:37:05 UTC
Created attachment 637610 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-05-10 14:21:57 UTC
The bug has been closed via the following commit(s):

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

commit 1d1f3295d822b7abd5573073959e912f05adf9ae
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-05-10 14:20:48 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-05-10 14:21:53 +0000

    net-analyzer/thcrut: Fix building with CFLAGS=-fno-common
    
    - Respect CFLAGS
    - Remove unused declarations of ip_tcp_sync_addr
    
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=722138
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 net-analyzer/thcrut/files/thcrut-1.2.5-flags.patch | 11 +++++++
 .../thcrut/files/thcrut-1.2.5-fno-common.patch     | 20 +++++++++++++
 net-analyzer/thcrut/thcrut-1.2.5-r2.ebuild         | 35 ++++++++++++++++++++++
 3 files changed, 66 insertions(+)