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

Bug 706876

Summary: net-analyzer/gspoof-3.2-r3 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
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:gspoof-3.2-r3:20200128-054723.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-28 18:29:12 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common  -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread  -c gfuncts.c -o gfuncts.o
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common  -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread  -c support.c -o support.o
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common  -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread  -c gtk.c -o gtk.o
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed main.o console.o common.o interface.o callbacks.o gfuncts.o support.o gtk.o  -o gspoof -lnet -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lfontconfig -lfreetype -lpango-1.0 -lgobject-2.0 -lglib-2.0 -latk-1.0 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: interface.o:(.bss+0x2b0): multiple definition of `srcaddr_entry'; main.o:(.bss+0xd8): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: interface.o:(.bss+0x2a8): multiple definition of `dstaddr_entry'; main.o:(.bss+0xd0): first defined here

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

  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 *

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.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 <==
Tue, 28 Jan 2020 03:26:40 +0000

emerge -qpvO net-analyzer/gspoof
[ebuild  N    ] net-analyzer/gspoof-3.2-r3
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:29:15 UTC
Created attachment 606284 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:29:17 UTC
Created attachment 606286 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:29:21 UTC
Created attachment 606288 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:29:24 UTC
Created attachment 606290 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:29:26 UTC
Created attachment 606292 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-28 18:29:29 UTC
Created attachment 606294 [details]
net-analyzer:gspoof-3.2-r3:20200128-054723.log
Comment 7 Toralf Förster gentoo-dev 2020-01-28 18:29:32 UTC
Created attachment 606296 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2021-01-01 14:37:00 UTC
The bug has been closed via the following commit(s):

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

commit 50b8e0b57f883baef80dc44f9d5c2ed03031b3ff
Author:     Stephan Hartmann <sultan@gentoo.org>
AuthorDate: 2021-01-01 14:36:03 +0000
Commit:     Stephan Hartmann <sultan@gentoo.org>
CommitDate: 2021-01-01 14:36:03 +0000

    net-analyzer/gspoof: fix building with -fno-common
    
    Closes: https://bugs.gentoo.org/706876
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: Stephan Hartmann <sultan@gentoo.org>

 .../gspoof/files/gspoof-3.2-fno-common.patch       | 221 +++++++++++++++++++++
 net-analyzer/gspoof/gspoof-3.2-r3.ebuild           |  11 +-
 2 files changed, 226 insertions(+), 6 deletions(-)