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

Bug 707038

Summary: net-wireless/dump1090-3.7.2 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Radio project <radio>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=763870
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
net-wireless:dump1090-3.7.2:20200128-212518.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-28 21:36:06 UTC
x86_64-pc-linux-gnu-gcc -DMODES_DUMP1090_VERSION=\"\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -DENABLE_RTLSDR -O2 -pipe -march=native -fno-common -std=c11  -D_DEFAULT_SOURCE -I/usr/include/ -I/usr/include/libusb-1.0  -c sdr.c -o sdr.o
x86_64-pc-linux-gnu-gcc -DMODES_DUMP1090_VERSION=\"\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -DENABLE_RTLSDR -O2 -pipe -march=native -fno-common -std=c11  -D_DEFAULT_SOURCE -I/usr/include/ -I/usr/include/libusb-1.0  -c ais_charset.c -o ais_charset.o
x86_64-pc-linux-gnu-gcc -DMODES_DUMP1090_VERSION=\"\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -DENABLE_RTLSDR -O2 -pipe -march=native -fno-common -std=c11  -D_DEFAULT_SOURCE -I/usr/include/ -I/usr/include/libusb-1.0  -c sdr_rtlsdr.c -o sdr_rtlsdr.o
x86_64-pc-linux-gnu-gcc -g -o dump1090 dump1090.o anet.o interactive.o mode_ac.o mode_s.o comm_b.o net_io.o crc.o demod_2400.o stats.o cpr.o icao_filter.o track.o util.o convert.o sdr_ifile.o sdr.o ais_charset.o sdr_rtlsdr.o -Wl,-O1 -Wl,--as-needed -lpthread -lm -lrt -lrtlsdr -lusb-1.0  -lncurses -ltinfo 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: interactive.o:(.bss+0x0): multiple definition of `Modes'; dump1090.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: mode_ac.o:(.bss+0x0): multiple definition of `Modes'; dump1090.o:(.bss+0x0): 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
  [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 20:26:24 +0000

emerge -qpvO net-wireless/dump1090
[ebuild  N    ] net-wireless/dump1090-3.7.2  USE="rtlsdr -bladerf"
Comment 1 Toralf Förster gentoo-dev 2020-01-28 21:36:08 UTC
Created attachment 607268 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 21:36:11 UTC
Created attachment 607270 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-28 21:36:14 UTC
Created attachment 607272 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-28 21:36:17 UTC
Created attachment 607274 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-28 21:36:19 UTC
Created attachment 607276 [details]
net-wireless:dump1090-3.7.2:20200128-212518.log
Comment 6 Toralf Förster gentoo-dev 2020-01-28 21:36:22 UTC
Created attachment 607278 [details]
temp.tbz2
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2020-05-21 11:48:31 UTC
*** Bug 721116 has been marked as a duplicate of this bug. ***
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-31 05:20:53 UTC
Should be fixed with a bump?
Comment 9 Larry the Git Cow gentoo-dev 2020-12-28 14:48:14 UTC
The bug has been closed via the following commit(s):

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

commit a195c28af73dacc8967886a6ff648090b2ff0103
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2020-12-28 14:47:58 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-12-28 14:47:58 +0000

    net-wireless/dump1090: Bump to 4.0
    
    Closes: https://bugs.gentoo.org/707038
    Package-Manager: Portage-3.0.9, Repoman-3.0.1
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 net-wireless/dump1090/Manifest            |  1 +
 net-wireless/dump1090/dump1090-4.0.ebuild | 55 +++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)