* Package: app-misc/spacenavd-0.7 * Repository: gentoo * Maintainer: sping@gentoo.org * USE: 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.14-gentoo * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking spacenavd-0.7.tar.gz to /var/tmp/portage/app-misc/spacenavd-0.7/work >>> Source unpacked in /var/tmp/portage/app-misc/spacenavd-0.7/work >>> Preparing source in /var/tmp/portage/app-misc/spacenavd-0.7/work/spacenavd-0.7 ... * Applying spacenavd-0.7-gcc10.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-misc/spacenavd-0.7/work/spacenavd-0.7 ... ./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 --disable-x11 fatal: not a git repository (or any parent up to mount point /var/tmp) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). configuring spacenavd - prefix: /usr optimize for speed: no include debugging symbols: no x11 communication method: no use hotplug: yes WARNING: you have disabled the X11 interface, the resulting daemon won't be compatible with applications written for the proprietary 3Dconnexion daemon (3dxserv)! 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.7/work/spacenavd-0.7 ... 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 -fcommon -I./src -I/usr/local/include -O2 -pipe -march=native -fno-common -c src/cfgfile.c -o src/cfgfile.o x86_64-pc-linux-gnu-gcc -pedantic -Wall -fno-strict-aliasing -fcommon -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 -fcommon -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 -fcommon -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 -fcommon -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 -fcommon -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 -fcommon -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 -fcommon -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 -fcommon -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 -fcommon -I./src -I/usr/local/include -O2 -pipe -march=native -fno-common -c src/hotplug_darwin.c -o src/hotplug_darwin.o x86_64-pc-linux-gnu-gcc -pedantic -Wall -fno-strict-aliasing -fcommon -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:139:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 139 | write(poll_pipe, &sig, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/hotplug_linux.c: In function ‘handle_hotplug’: src/hotplug_linux.c:94:2: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 94 | read(hotplug_fd, buf, sizeof buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -pedantic -Wall -fno-strict-aliasing -fcommon -I./src -I/usr/local/include -O2 -pipe -march=native -fno-common -c src/kbemu.c -o src/kbemu.o src/kbemu.c:62: warning: ISO C forbids an empty translation unit [-Wpedantic] 62 | #endif /* USE_X11 */ | x86_64-pc-linux-gnu-gcc -pedantic -Wall -fno-strict-aliasing -fcommon -I./src -I/usr/local/include -O2 -pipe -march=native -fno-common -c src/logger.c -o src/logger.o x86_64-pc-linux-gnu-gcc -pedantic -Wall -fno-strict-aliasing -fcommon -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 -fcommon -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 -fcommon -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 -fcommon -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 -pedantic -Wall -fno-strict-aliasing -fcommon -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 -fcommon -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 -fcommon -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 -fcommon -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 -fcommon -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:252:2: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] 252 | chdir("/"); | ^~~~~~~~~~ src/spnavd.c:268:2: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result] 268 | dup(1); | ^~~~~~ x86_64-pc-linux-gnu-gcc -pedantic -Wall -fno-strict-aliasing -fcommon -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 -fcommon -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 -fcommon -I./src -I/usr/local/include -O2 -pipe -march=native -fno-common -c src/xdetect_linux.c -o src/xdetect_linux.o 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 /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/dev.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/dev.o:(.bss+0x0): multiple definition of `verbose'; src/cfgfile.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+0x0): multiple definition of `verbose'; src/cfgfile.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/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/event.o:(.bss+0x0): multiple definition of `verbose'; src/cfgfile.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/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/hotplug_linux.o:(.bss+0x0): multiple definition of `verbose'; src/cfgfile.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/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/proto_unix.o:(.bss+0x0): multiple definition of `verbose'; src/cfgfile.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/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/serial/sball.o:(.bss+0x0): multiple definition of `evpool_size'; src/magellan/smag_event.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/spnavd.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/spnavd.o:(.bss+0x0): multiple definition of `verbose'; src/cfgfile.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.o: in function `init_devices': dev.c:(.text+0x33e): undefined reference to `drop_xinput' collect2: error: ld returned 1 exit status make: *** [Makefile:18: spacenavd] Error 1 * ERROR: app-misc/spacenavd-0.7::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-misc/spacenavd-0.7::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-misc/spacenavd-0.7::gentoo'`. * The complete build log is located at '/var/log/portage/app-misc:spacenavd-0.7:20200201-011925.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-misc/spacenavd-0.7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-misc/spacenavd-0.7/temp/environment'. * Working directory: '/var/tmp/portage/app-misc/spacenavd-0.7/work/spacenavd-0.7' * S: '/var/tmp/portage/app-misc/spacenavd-0.7/work/spacenavd-0.7'