>>> spacenavd: Building testing/spacenavd 1.0-r0 (using abuild 3.9.0-r0) started Fri, 06 May 2022 21:21:36 +0000 >>> spacenavd: Checking sanity of /home/buildozer/aports/testing/spacenavd/APKBUILD... >>> spacenavd: Analyzing dependencies... >>> spacenavd: Installing for build: build-base libx11-dev libxi-dev libxtst-dev linux-headers (1/23) Installing libxau (1.0.9-r0) (2/23) Installing xorgproto (2021.5-r0) (3/23) Installing libxau-dev (1.0.9-r0) (4/23) Installing xcb-proto (1.14.1-r3) (5/23) Installing libmd (1.0.4-r0) (6/23) Installing libbsd (0.11.6-r2) (7/23) Installing libxdmcp (1.1.3-r0) (8/23) Installing libxcb (1.14-r2) (9/23) Installing libxdmcp-dev (1.1.3-r0) (10/23) Installing libxcb-dev (1.14-r2) (11/23) Installing xtrans (1.4.0-r1) (12/23) Installing libx11 (1.7.5-r0) (13/23) Installing libx11-dev (1.7.5-r0) (14/23) Installing libxext (1.3.4-r0) (15/23) Installing libxi (1.8-r0) (16/23) Installing libxext-dev (1.3.4-r0) (17/23) Installing libxfixes (6.0.0-r0) (18/23) Installing libxfixes-dev (6.0.0-r0) (19/23) Installing libxi-dev (1.8-r0) (20/23) Installing libxtst (1.2.3-r3) (21/23) Installing libxtst-dev (1.2.3-r3) (22/23) Installing linux-headers (5.16.7-r1) (23/23) Installing .makedepends-spacenavd (20220506.212140) OK: 232 MiB in 101 packages >>> spacenavd: Cleaning up srcdir >>> spacenavd: Cleaning up pkgdir >>> spacenavd: Fetching https://distfiles.alpinelinux.org/distfiles/edge//spacenavd-1.0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 54 59903 54 32768 0 0 55710 0 0:00:01 --:--:-- 0:00:01 61020 100 59903 100 59903 0 0 90958 0 --:--:-- --:--:-- --:--:-- 98524 >>> spacenavd: Fetching https://distfiles.alpinelinux.org/distfiles/edge//spacenavd-1.0.tar.gz >>> spacenavd: Checking sha512sums... spacenavd-1.0.tar.gz: OK >>> spacenavd: Unpacking /var/cache/distfiles/spacenavd-1.0.tar.gz... configuring spacenavd - v20220328-3086-gcd6aa2d97a prefix: /usr config dir: /etc optimize for speed: yes include debugging symbols: yes x11 communication method: yes use hotplug: yes Looking for header: alloca.h ... found Looking for header: malloc.h ... found Looking for header: X11/extensions/XInput2.h ... found Looking for header: X11/extensions/XTest.h ... found creating Makefile ... creating config.h Done. You can now type make (or gmake) to compile spacenavd. gcc -pedantic -Wall -g -O2 -fno-strict-aliasing -fcommon -I./src -I/usr/local/include -MMD -Os -fomit-frame-pointer -c src/cfgfile.c -o src/cfgfile.o gcc -pedantic -Wall -g -O2 -fno-strict-aliasing -fcommon -I./src -I/usr/local/include -MMD -Os -fomit-frame-pointer -c src/client.c -o src/client.o gcc -pedantic -Wall -g -O2 -fno-strict-aliasing -fcommon -I./src -I/usr/local/include -MMD -Os -fomit-frame-pointer -c src/dev.c -o src/dev.o gcc -pedantic -Wall -g -O2 -fno-strict-aliasing -fcommon -I./src -I/usr/local/include -MMD -Os -fomit-frame-pointer -c src/dev_serial.c -o src/dev_serial.o gcc -pedantic -Wall -g -O2 -fno-strict-aliasing -fcommon -I./src -I/usr/local/include -MMD -Os -fomit-frame-pointer -c src/dev_usb.c -o src/dev_usb.o gcc -pedantic -Wall -g -O2 -fno-strict-aliasing -fcommon -I./src -I/usr/local/include -MMD -Os -fomit-frame-pointer -c src/dev_usb_darwin.c -o src/dev_usb_darwin.o gcc -pedantic -Wall -g -O2 -fno-strict-aliasing -fcommon -I./src -I/usr/local/include -MMD -Os -fomit-frame-pointer -c src/dev_usb_freebsd.c -o src/dev_usb_freebsd.o gcc -pedantic -Wall -g -O2 -fno-strict-aliasing -fcommon -I./src -I/usr/local/include -MMD -Os -fomit-frame-pointer -c src/dev_usb_linux.c -o src/dev_usb_linux.o gcc -pedantic -Wall -g -O2 -fno-strict-aliasing -fcommon -I./src -I/usr/local/include -MMD -Os -fomit-frame-pointer -c src/dummy_usb.c -o src/dummy_usb.o gcc -pedantic -Wall -g -O2 -fno-strict-aliasing -fcommon -I./src -I/usr/local/include -MMD -Os -fomit-frame-pointer -c src/event.c -o src/event.o gcc -pedantic -Wall -g -O2 -fno-strict-aliasing -fcommon -I./src -I/usr/local/include -MMD -Os -fomit-frame-pointer -c src/hotplug_darwin.c -o src/hotplug_darwin.o gcc -pedantic -Wall -g -O2 -fno-strict-aliasing -fcommon -I./src -I/usr/local/include -MMD -Os -fomit-frame-pointer -c src/hotplug_freebsd.c -o src/hotplug_freebsd.o gcc -pedantic -Wall -g -O2 -fno-strict-aliasing -fcommon -I./src -I/usr/local/include -MMD -Os -fomit-frame-pointer -c src/hotplug_linux.c -o src/hotplug_linux.o gcc -pedantic -Wall -g -O2 -fno-strict-aliasing -fcommon -I./src -I/usr/local/include -MMD -Os -fomit-frame-pointer -c src/kbemu.c -o src/kbemu.o gcc -pedantic -Wall -g -O2 -fno-strict-aliasing -fcommon -I./src -I/usr/local/include -MMD -Os -fomit-frame-pointer -c src/logger.c -o src/logger.o gcc -pedantic -Wall -g -O2 -fno-strict-aliasing -fcommon -I./src -I/usr/local/include -MMD -Os -fomit-frame-pointer -c src/proto.c -o src/proto.o gcc -pedantic -Wall -g -O2 -fno-strict-aliasing -fcommon -I./src -I/usr/local/include -MMD -Os -fomit-frame-pointer -c src/proto_unix.c -o src/proto_unix.o gcc -pedantic -Wall -g -O2 -fno-strict-aliasing -fcommon -I./src -I/usr/local/include -MMD -Os -fomit-frame-pointer -c src/proto_x11.c -o src/proto_x11.o gcc -pedantic -Wall -g -O2 -fno-strict-aliasing -fcommon -I./src -I/usr/local/include -MMD -Os -fomit-frame-pointer -c src/spnavd.c -o src/spnavd.o gcc -pedantic -Wall -g -O2 -fno-strict-aliasing -fcommon -I./src -I/usr/local/include -MMD -Os -fomit-frame-pointer -c src/spnavd_win32.c -o src/spnavd_win32.o gcc -pedantic -Wall -g -O2 -fno-strict-aliasing -fcommon -I./src -I/usr/local/include -MMD -Os -fomit-frame-pointer -c src/xdetect_freebsd.c -o src/xdetect_freebsd.o gcc -pedantic -Wall -g -O2 -fno-strict-aliasing -fcommon -I./src -I/usr/local/include -MMD -Os -fomit-frame-pointer -c src/xdetect_linux.c -o src/xdetect_linux.o src/dev_usb_linux.c: In function 'open_dev_usb': src/dev_usb_linux.c:80:27: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '2164278534' to '-2130688762' [-Woverflow] 80 | if(ioctl(dev->fd, EVIOCGNAME(sizeof dev->name), dev->name) == -1) { | ^~~~~~~~~~ src/dev_usb_linux.c:87:27: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '2153792803' to '-2141174493' [-Woverflow] 87 | if(ioctl(dev->fd, EVIOCGBIT(EV_ABS, sizeof evtype_mask), evtype_mask) != -1) { | ^~~~~~~~~ src/dev_usb_linux.c:101:27: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '2153792802' to '-2141174494' [-Woverflow] 101 | if(ioctl(dev->fd, EVIOCGBIT(EV_REL, sizeof evtype_mask), evtype_mask) != -1) { | ^~~~~~~~~ src/dev_usb_linux.c:123:27: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '2153792801' to '-2141174495' [-Woverflow] 123 | if(ioctl(dev->fd, EVIOCGBIT(EV_KEY, sizeof evtype_mask), evtype_mask) != -1) { | ^~~~~~~~~ src/dev_usb_linux.c: In function 'find_usb_devices': src/dev_usb_linux.c:503:30: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '2148025602' to '-2146941694' [-Woverflow] 503 | if(ioctl(fd, EVIOCGID, &id) != -1) { | ^~~~~~~~ src/dev_usb_linux.c:508:30: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '2214610182' to '-2080357114' [-Woverflow] 508 | if(ioctl(fd, EVIOCGNAME(sizeof buf), buf) != -1) { | ^~~~~~~~~~ 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_freebsd.o src/dev_usb_linux.o src/dummy_usb.o src/event.o src/hotplug_darwin.o src/hotplug_freebsd.o src/hotplug_linux.o src/kbemu.o src/logger.o src/proto.o src/proto_unix.o src/proto_x11.o src/spnavd.o src/spnavd_win32.o src/xdetect_freebsd.o src/xdetect_linux.o -L/usr/local/lib -L/usr/X11/lib -lX11 -lXi -lXtst -Wl,--as-needed,-O1,--sort-common >>> spacenavd: Entering fakeroot... mkdir -p /home/buildozer/aports/testing/spacenavd/pkg/spacenavd/usr/bin cp spacenavd /home/buildozer/aports/testing/spacenavd/pkg/spacenavd/usr/bin/spacenavd cp ./spnavd_ctl /home/buildozer/aports/testing/spacenavd/pkg/spacenavd/usr/bin/spnavd_ctl cd . && ./setup_init --no-install --- Spacenavd installation complete --- To have spacenavd start automatically at bootup, you must add an appropriate init script. Refer to your system's manual for details on how to do that. An example init script is available in the spacenavd source directory. If you wish to attempt and install an init script automatically, run ./setup_init >>> spacenavd*: Running postcheck for spacenavd >>> spacenavd*: Preparing package spacenavd... >>> spacenavd*: Stripping binaries >>> spacenavd*: Scanning shared objects >>> spacenavd*: Tracing dependencies... so:libX11.so.6 so:libXi.so.6 so:libXtst.so.6 so:libc.musl-riscv64.so.1 >>> spacenavd*: Package size: 72.0 KB >>> spacenavd*: Compressing data... >>> spacenavd*: Create checksum... >>> spacenavd*: Create spacenavd-1.0-r0.apk >>> spacenavd: Build complete at Fri, 06 May 2022 21:21:51 +0000 elapsed time 0h 0m 15s >>> spacenavd: Cleaning up srcdir >>> spacenavd: Cleaning up pkgdir >>> spacenavd: Uninstalling dependencies... (1/23) Purging .makedepends-spacenavd (20220506.212140) (2/23) Purging libxtst-dev (1.2.3-r3) (3/23) Purging libxtst (1.2.3-r3) (4/23) Purging linux-headers (5.16.7-r1) (5/23) Purging libxi-dev (1.8-r0) (6/23) Purging libxi (1.8-r0) (7/23) Purging libxfixes-dev (6.0.0-r0) (8/23) Purging libxfixes (6.0.0-r0) (9/23) Purging libxext-dev (1.3.4-r0) (10/23) Purging libxext (1.3.4-r0) (11/23) Purging libx11-dev (1.7.5-r0) (12/23) Purging xtrans (1.4.0-r1) (13/23) Purging libx11 (1.7.5-r0) (14/23) Purging libxcb-dev (1.14-r2) (15/23) Purging xcb-proto (1.14.1-r3) (16/23) Purging libxcb (1.14-r2) (17/23) Purging libxau-dev (1.0.9-r0) (18/23) Purging libxau (1.0.9-r0) (19/23) Purging libxdmcp-dev (1.1.3-r0) (20/23) Purging libxdmcp (1.1.3-r0) (21/23) Purging xorgproto (2021.5-r0) (22/23) Purging libbsd (0.11.6-r2) (23/23) Purging libmd (1.0.4-r0) OK: 214 MiB in 78 packages >>> spacenavd: Updating the testing/riscv64 repository index... >>> spacenavd: Signing the index...