Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707734 - app-misc/spacenavd-0.7 : fails to build with -fno-common or gcc-10
Summary: app-misc/spacenavd-0.7 : 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: Sebastian Pipping
URL: https://github.com/FreeSpacenav/space...
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-01 09:24 UTC by Toralf Förster
Modified: 2020-02-01 17:32 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.74 KB, text/plain)
2020-02-01 09:24 UTC, Toralf Förster
Details
app-misc:spacenavd-0.7:20200201-011925.log (app-misc:spacenavd-0.7:20200201-011925.log,12.09 KB, text/plain)
2020-02-01 09:24 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,318.16 KB, text/plain)
2020-02-01 09:24 UTC, Toralf Förster
Details
environment (environment,81.24 KB, text/plain)
2020-02-01 09:24 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.85 KB, application/x-bzip)
2020-02-01 09:24 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,21.45 KB, application/x-bzip)
2020-02-01 09:24 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-02-01 09:24:05 UTC
src/xdetect_linux.c:167: warning: ISO C forbids an empty translation unit [-Wpedantic]
  167 | #endif /* __linux__ */
      | 
x86_64-pc-linux-gnu-gcc -o spacenavd src/cfgfile.o src/client.o src/dev.o src/dev_serial.o src/dev_usb.o src/dev_usb_darwin.o src/dev_usb_linux.o src/dummy_usb.o src/event.o src/hotplug_darwin.o src/hotplug_linux.o src/kbemu.o src/logger.o src/magellan/smag.o src/magellan/smag_comm.o src/magellan/smag_detect.o src/magellan/smag_event.o src/proto_unix.o src/proto_x11.o src/serial/sball.o src/serial/sballserial.o src/spnavd.o src/spnavd_win32.o src/xdetect_freebsd.o src/xdetect_linux.o -L/usr/local/lib  -Wl,-O1 -Wl,--as-needed
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/client.o:(.bss+0x20): multiple definition of `cfg'; src/cfgfile.o:(.bss+0x20): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/client.o:(.bss+0x0): multiple definition of `verbose'; src/cfgfile.o:(.bss+0x0): 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 *

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:
*)	AdoptOpenJDK 8.242_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sat, 01 Feb 2020 00:47:56 +0000

emerge -qpvO app-misc/spacenavd
[ebuild  N    ] app-misc/spacenavd-0.7  USE="-X"
Comment 1 Toralf Förster gentoo-dev 2020-02-01 09:24:08 UTC
there is still a similar issue at unstable amd64 tinderbox image 17.1_no-multilib-20200124-204141 (see bug 706966)
Comment 2 Toralf Förster gentoo-dev 2020-02-01 09:24:11 UTC
Created attachment 610326 [details]
emerge-info.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-01 09:24:13 UTC
Created attachment 610328 [details]
app-misc:spacenavd-0.7:20200201-011925.log
Comment 4 Toralf Förster gentoo-dev 2020-02-01 09:24:16 UTC
Created attachment 610330 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2020-02-01 09:24:19 UTC
Created attachment 610332 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2020-02-01 09:24:22 UTC
Created attachment 610334 [details]
etc.portage.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-02-01 09:24:24 UTC
Created attachment 610336 [details]
temp.tbz2
Comment 8 Sebastian Pipping gentoo-dev 2020-02-01 13:56:42 UTC
Asked upstream to re-open the issue at https://github.com/FreeSpacenav/spacenavd/issues/17#issuecomment-581032562 now.
Comment 9 Sebastian Pipping gentoo-dev 2020-02-01 14:27:43 UTC
I cannot rule out yet that it's actually bug #707732 we have here again.
Comment 10 Toralf Förster gentoo-dev 2020-02-01 16:52:45 UTC
indeed - maybe I wrongly re-opened this due to a race - sry for inconvenience.
Comment 11 Sebastian Pipping gentoo-dev 2020-02-01 17:32:40 UTC
No worries — thanks for the update!