Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706520 - net-analyzer/packit-1.6.1 fails to build with -fno-common or gcc-10
Summary: net-analyzer/packit-1.6.1 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: UPSTREAM
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-26 18:00 UTC by Toralf Förster
Modified: 2020-01-26 23:54 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.20 KB, text/plain)
2020-01-26 18:00 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,105.55 KB, text/plain)
2020-01-26 18:00 UTC, Toralf Förster
Details
environment (environment,61.83 KB, text/plain)
2020-01-26 18:00 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.65 KB, application/x-bzip)
2020-01-26 18:00 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.83 KB, application/x-bzip)
2020-01-26 18:00 UTC, Toralf Förster
Details
net-analyzer:packit-1.6.1:20200126-170519.log (net-analyzer:packit-1.6.1:20200126-170519.log,248.42 KB, text/plain)
2020-01-26 18:00 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,23.28 KB, application/x-bzip)
2020-01-26 18:00 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-26 18:00:21 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../includes -I/usr/include/pcap   -O2 -pipe -march=native -fno-common -Wall -c -o print_pktdump.o print_pktdump.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../includes -I/usr/include/pcap   -O2 -pipe -march=native -fno-common -Wall -c -o print_capture.o print_capture.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../includes -I/usr/include/pcap   -O2 -pipe -march=native -fno-common -Wall -c -o print_injection.o print_injection.c
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -Wall  -Wl,-O1 -Wl,--as-needed -o packit init.o define_defaults.o error.o injection.o capture.o shape_arp_hdr.o shape_tcp_hdr.o shape_udp_hdr.o shape_icmpv4_hdr.o shape_ipv4_hdr.o shape_ethernet_hdr.o shape_packet.o utils.o stats.o contrib/pcap_setnonblock.o usage.o exit.o main.o print_ts.o print_arp_hdr.o print_tcp_hdr.o print_udp_hdr.o print_icmpv4_hdr.o print_ipv4_hdr.o print_ethernet_hdr.o print_pktdump.o print_capture.o print_injection.o  -lpcap -lpcap -lpcap -lnet 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: define_defaults.o:(.bss+0x18): multiple definition of `g_p_mode'; init.o:(.bss+0x18): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: define_defaults.o:(.bss+0x2d0): multiple definition of `g_rawip'; init.o:(.bss+0x2d0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20200124-204141

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

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



repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 26 Jan 2020 15:46:13 +0000

emerge -qpvO net-analyzer/packit
[ebuild  N    ] net-analyzer/packit-1.6.1
Comment 1 Toralf Förster gentoo-dev 2020-01-26 18:00:24 UTC
Created attachment 604760 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-26 18:00:27 UTC
Created attachment 604762 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-26 18:00:29 UTC
Created attachment 604764 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-26 18:00:32 UTC
Created attachment 604766 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-26 18:00:36 UTC
Created attachment 604768 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-26 18:00:38 UTC
Created attachment 604770 [details]
net-analyzer:packit-1.6.1:20200126-170519.log
Comment 7 Toralf Förster gentoo-dev 2020-01-26 18:00:41 UTC
Created attachment 604772 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-01-26 23:46:36 UTC
The bug has been closed via the following commit(s):

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

commit 6860d33861e30d5cce2c81297ca3988b1b0e7f29
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-01-26 23:45:58 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-01-26 23:46:33 +0000

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

 .../packit/files/packit-1.0-fno-common.patch       | 251 +++++++++++++++++++++
 net-analyzer/packit/packit-1.6.1.ebuild            |   1 +
 2 files changed, 252 insertions(+)