* Package: app-misc/spacenavd-0.6 * Repository: gentoo * Maintainer: sping@gentoo.org * USE: X abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 5.4.15-gentoo * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking spacenavd-0.6.tar.gz to /var/tmp/portage/app-misc/spacenavd-0.6/work >>> Source unpacked in /var/tmp/portage/app-misc/spacenavd-0.6/work >>> Preparing source in /var/tmp/portage/app-misc/spacenavd-0.6/work/spacenavd-0.6 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-misc/spacenavd-0.6/work/spacenavd-0.6 ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-debug --enable-hotplug --disable-opt --enable-x11 configuring spacenavd - 0.6 prefix: /usr optimize for speed: no include debugging symbols: no x11 communication method: yes use hotplug: yes creating Makefile ... creating config.h Done. You can now type make (or gmake) to compile spacenavd. >>> Source configured. >>> Compiling source in /var/tmp/portage/app-misc/spacenavd-0.6/work/spacenavd-0.6 ... make -j1 CC=x86_64-pc-linux-gnu-gcc 'add_cflags=-O2 -pipe -march=native -fno-common' 'add_ldflags=-Wl,-O1 -Wl,--as-needed' x86_64-pc-linux-gnu-gcc -pedantic -Wall -fno-strict-aliasing -I./src -I/usr/local/include -O2 -pipe -march=native -fno-common -c src/cfgfile.c -o src/cfgfile.o In file included from /usr/include/string.h:494, from src/cfgfile.c:21: In function ‘strncpy’, inlined from ‘read_cfg’ at src/cfgfile.c:296:4: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -pedantic -Wall -fno-strict-aliasing -I./src -I/usr/local/include -O2 -pipe -march=native -fno-common -c src/client.c -o src/client.o x86_64-pc-linux-gnu-gcc -pedantic -Wall -fno-strict-aliasing -I./src -I/usr/local/include -O2 -pipe -march=native -fno-common -c src/dev.c -o src/dev.o x86_64-pc-linux-gnu-gcc -pedantic -Wall -fno-strict-aliasing -I./src -I/usr/local/include -O2 -pipe -march=native -fno-common -c src/dev_serial.c -o src/dev_serial.o x86_64-pc-linux-gnu-gcc -pedantic -Wall -fno-strict-aliasing -I./src -I/usr/local/include -O2 -pipe -march=native -fno-common -c src/dev_usb.c -o src/dev_usb.o x86_64-pc-linux-gnu-gcc -pedantic -Wall -fno-strict-aliasing -I./src -I/usr/local/include -O2 -pipe -march=native -fno-common -c src/dev_usb_darwin.c -o src/dev_usb_darwin.o x86_64-pc-linux-gnu-gcc -pedantic -Wall -fno-strict-aliasing -I./src -I/usr/local/include -O2 -pipe -march=native -fno-common -c src/dev_usb_linux.c -o src/dev_usb_linux.o x86_64-pc-linux-gnu-gcc -pedantic -Wall -fno-strict-aliasing -I./src -I/usr/local/include -O2 -pipe -march=native -fno-common -c src/dummy_usb.c -o src/dummy_usb.o x86_64-pc-linux-gnu-gcc -pedantic -Wall -fno-strict-aliasing -I./src -I/usr/local/include -O2 -pipe -march=native -fno-common -c src/event.c -o src/event.o x86_64-pc-linux-gnu-gcc -pedantic -Wall -fno-strict-aliasing -I./src -I/usr/local/include -O2 -pipe -march=native -fno-common -c src/hotplug_darwin.c -o src/hotplug_darwin.o src/hotplug_darwin.c:44: warning: ISO C forbids an empty translation unit [-Wpedantic] 44 | #endif /* __APPLE__ && __MACH__ */ | x86_64-pc-linux-gnu-gcc -pedantic -Wall -fno-strict-aliasing -I./src -I/usr/local/include -O2 -pipe -march=native -fno-common -c src/hotplug_linux.c -o src/hotplug_linux.o src/hotplug_linux.c: In function ‘poll_timeout’: src/hotplug_linux.c:137:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 137 | write(poll_pipe, &sig, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/hotplug_linux.c: In function ‘handle_hotplug’: src/hotplug_linux.c:93:2: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 93 | read(hotplug_fd, buf, sizeof buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -pedantic -Wall -fno-strict-aliasing -I./src -I/usr/local/include -O2 -pipe -march=native -fno-common -c src/kbemu.c -o src/kbemu.o x86_64-pc-linux-gnu-gcc -pedantic -Wall -fno-strict-aliasing -I./src -I/usr/local/include -O2 -pipe -march=native -fno-common -c src/proto_unix.c -o src/proto_unix.o x86_64-pc-linux-gnu-gcc -pedantic -Wall -fno-strict-aliasing -I./src -I/usr/local/include -O2 -pipe -march=native -fno-common -c src/proto_x11.c -o src/proto_x11.o x86_64-pc-linux-gnu-gcc -pedantic -Wall -fno-strict-aliasing -I./src -I/usr/local/include -O2 -pipe -march=native -fno-common -c src/spnavd.c -o src/spnavd.o src/spnavd.c: In function ‘daemonize’: src/spnavd.c:231:2: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] 231 | chdir("/"); | ^~~~~~~~~~ src/spnavd.c:242:2: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result] 242 | dup(1); | ^~~~~~ x86_64-pc-linux-gnu-gcc -pedantic -Wall -fno-strict-aliasing -I./src -I/usr/local/include -O2 -pipe -march=native -fno-common -c src/spnavd_win32.c -o src/spnavd_win32.o x86_64-pc-linux-gnu-gcc -pedantic -Wall -fno-strict-aliasing -I./src -I/usr/local/include -O2 -pipe -march=native -fno-common -c src/xdetect_freebsd.c -o src/xdetect_freebsd.o x86_64-pc-linux-gnu-gcc -pedantic -Wall -fno-strict-aliasing -I./src -I/usr/local/include -O2 -pipe -march=native -fno-common -c src/xdetect_linux.c -o src/xdetect_linux.o x86_64-pc-linux-gnu-gcc -pedantic -Wall -fno-strict-aliasing -I./src -I/usr/local/include -O2 -pipe -march=native -fno-common -c src/serial/sball.c -o src/serial/sball.o x86_64-pc-linux-gnu-gcc -pedantic -Wall -fno-strict-aliasing -I./src -I/usr/local/include -O2 -pipe -march=native -fno-common -c src/serial/sballserial.c -o src/serial/sballserial.o x86_64-pc-linux-gnu-gcc -pedantic -Wall -fno-strict-aliasing -I./src -I/usr/local/include -O2 -pipe -march=native -fno-common -c src/magellan/smag.c -o src/magellan/smag.o x86_64-pc-linux-gnu-gcc -pedantic -Wall -fno-strict-aliasing -I./src -I/usr/local/include -O2 -pipe -march=native -fno-common -c src/magellan/smag_comm.c -o src/magellan/smag_comm.o src/magellan/smag_comm.c: In function ‘smag_write’: src/magellan/smag_comm.c:119:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 119 | write(fd, buf + i, 1); | ^~~~~~~~~~~~~~~~~~~~~ src/magellan/smag_comm.c:122:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 122 | write(fd, "\r", 1); | ^~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -pedantic -Wall -fno-strict-aliasing -I./src -I/usr/local/include -O2 -pipe -march=native -fno-common -c src/magellan/smag_detect.c -o src/magellan/smag_detect.o x86_64-pc-linux-gnu-gcc -pedantic -Wall -fno-strict-aliasing -I./src -I/usr/local/include -O2 -pipe -march=native -fno-common -c src/magellan/smag_event.c -o src/magellan/smag_event.o 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/proto_unix.o src/proto_x11.o src/spnavd.o src/spnavd_win32.o src/xdetect_freebsd.o src/xdetect_linux.o src/serial/sball.o src/serial/sballserial.o src/magellan/smag.o src/magellan/smag_comm.o src/magellan/smag_detect.o src/magellan/smag_event.o -L/usr/local/lib -L/usr/X11/lib -lX11 -Wl,-O1 -Wl,--as-needed /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/dev_usb_linux.o:(.bss+0x0): multiple definition of `verbose'; src/dev.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/dev_usb_linux.o:(.bss+0x20): multiple definition of `cfg'; src/dev.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/event.o:(.bss+0x0): multiple definition of `verbose'; src/dev.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/event.o:(.bss+0x20): multiple definition of `cfg'; src/dev.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/hotplug_linux.o:(.bss+0x0): multiple definition of `verbose'; src/dev.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/hotplug_linux.o:(.bss+0x20): multiple definition of `cfg'; src/dev.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/proto_unix.o:(.bss+0x0): multiple definition of `verbose'; src/dev.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/proto_unix.o:(.bss+0x20): multiple definition of `cfg'; src/dev.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/proto_x11.o:(.bss+0x0): multiple definition of `verbose'; src/dev.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/proto_x11.o:(.bss+0x20): multiple definition of `cfg'; src/dev.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/spnavd.o:(.bss+0x20): multiple definition of `cfg'; src/dev.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/spnavd.o:(.bss+0x0): multiple definition of `verbose'; src/dev.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/xdetect_linux.o:(.bss+0x0): multiple definition of `verbose'; src/dev.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/xdetect_linux.o:(.bss+0x20): multiple definition of `cfg'; src/dev.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/magellan/smag_event.o:(.bss+0x0): multiple definition of `evpool_size'; src/serial/sball.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:18: spacenavd] Error 1 * ERROR: app-misc/spacenavd-0.6::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-misc/spacenavd-0.6::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-misc/spacenavd-0.6::gentoo'`. * The complete build log is located at '/var/log/portage/app-misc:spacenavd-0.6:20200128-145525.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-misc/spacenavd-0.6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-misc/spacenavd-0.6/temp/environment'. * Working directory: '/var/tmp/portage/app-misc/spacenavd-0.6/work/spacenavd-0.6' * S: '/var/tmp/portage/app-misc/spacenavd-0.6/work/spacenavd-0.6'