Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706598 - net-wireless/ubertooth-2018.12.1 : fails to build with -fno-common or gcc-10
Summary: net-wireless/ubertooth-2018.12.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: Rick Farina (Zero_Chaos)
URL: https://github.com/greatscottgadgets/...
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-27 02:50 UTC by Toralf Förster
Modified: 2020-06-12 17:58 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.41 KB, text/plain)
2020-01-27 02:50 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,122.25 KB, text/plain)
2020-01-27 02:50 UTC, Toralf Förster
Details
environment (environment,112.54 KB, text/plain)
2020-01-27 02:50 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.86 KB, application/x-bzip)
2020-01-27 02:50 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.71 KB, application/x-bzip)
2020-01-27 02:50 UTC, Toralf Förster
Details
net-wireless:ubertooth-2018.12.1:20200126-233537.log (net-wireless:ubertooth-2018.12.1:20200126-233537.log,10.35 KB, text/plain)
2020-01-27 02:50 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,27.69 KB, application/x-bzip)
2020-01-27 02:50 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-27 02:50:13 UTC
cd /var/tmp/portage/net-wireless/ubertooth-2018.12.1/work/ubertooth-2018.12.1_build/libubertooth/src && /usr/bin/x86_64-pc-linux-gnu-gcc -DRELEASE=\"2018-12-R1\" -DVERSION=\"1.1\" -Dubertooth_EXPORTS -I/usr/include/libusb-1.0   -DNDEBUG -O2 -pipe -march=native -fno-common -fPIC   -o CMakeFiles/ubertooth.dir/ubertooth_fifo.c.o -c /var/tmp/portage/net-wireless/ubertooth-2018.12.1/work/ubertooth-2018-12-R1/host/libubertooth/src/ubertooth_fifo.c
[ 15%] Linking C shared library libubertooth.so
cd /var/tmp/portage/net-wireless/ubertooth-2018.12.1/work/ubertooth-2018.12.1_build/libubertooth/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/ubertooth.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-gcc -fPIC -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libubertooth.so.1 -o libubertooth.so.1.1 CMakeFiles/ubertooth.dir/ubertooth.c.o CMakeFiles/ubertooth.dir/ubertooth_callback.c.o CMakeFiles/ubertooth.dir/ubertooth_control.c.o CMakeFiles/ubertooth.dir/ubertooth_fifo.c.o  -lusb-1.0 -lbtbb 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/ubertooth.dir/ubertooth_callback.c.o:(.bss+0x0): multiple definition of `packet_counter_max'; CMakeFiles/ubertooth.dir/ubertooth.c.o:(.bss+0x10): 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_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 22:26:14 +0000

emerge -qpvO net-wireless/ubertooth
[ebuild  N    ] net-wireless/ubertooth-2018.12.1  USE="bluez ubertooth1-firmware udev -static-libs"
Comment 1 Toralf Förster gentoo-dev 2020-01-27 02:50:15 UTC
Created attachment 605054 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-27 02:50:18 UTC
Created attachment 605056 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-27 02:50:21 UTC
Created attachment 605058 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-27 02:50:23 UTC
Created attachment 605060 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-27 02:50:26 UTC
Created attachment 605062 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-27 02:50:29 UTC
Created attachment 605064 [details]
net-wireless:ubertooth-2018.12.1:20200126-233537.log
Comment 7 Toralf Förster gentoo-dev 2020-01-27 02:50:31 UTC
Created attachment 605066 [details]
temp.tbz2
Comment 8 Jonas Stein gentoo-dev 2020-06-06 17:52:52 UTC
Project moved to https://github.com/greatscottgadgets/ubertooth/
Comment 9 Rick Farina (Zero_Chaos) gentoo-dev 2020-06-12 17:58:58 UTC
fixed both upstream and in 2018.12.1 without revbump (build error not runtime)

Thanks to Jonas Stein