>>> keyd: Building community/keyd 2.5.0-r0 (using abuild 3.14.1-r3) started Wed, 20 Nov 2024 22:42:05 +0000 >>> keyd: Validating /home/buildozer/aports/community/keyd/APKBUILD... >>> keyd: Analyzing dependencies... >>> keyd: Installing for build: build-base cmd:scdoc linux-headers (1/3) Installing scdoc (1.11.3-r0) (2/3) Installing linux-headers (6.6-r1) (3/3) Installing .makedepends-keyd (20241120.224206) Executing busybox-1.37.0-r8.trigger OK: 402 MiB in 103 packages >>> keyd: Cleaning up srcdir >>> keyd: Cleaning up pkgdir >>> keyd: Cleaning up tmpdir >>> keyd: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/keyd-2.5.0-2.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/v3.21/keyd-2.5.0-2.tar.gz.part' keyd-2.5.0-2.tar.gz. 100% |********************************| 655k 0:00:00 ETA '/var/cache/distfiles/v3.21/keyd-2.5.0-2.tar.gz.part' saved >>> keyd: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/keyd-2.5.0-2.tar.gz >>> keyd: Checking sha512sums... keyd-2.5.0-2.tar.gz: OK musl-time64.patch: OK fix-makefile.patch: OK keyd.initd: OK >>> keyd: Unpacking /var/cache/distfiles/v3.21/keyd-2.5.0-2.tar.gz... >>> keyd: musl-time64.patch patching file src/vkbd/uinput.c Hunk #1 succeeded at 210 (offset 15 lines). Hunk #2 succeeded at 245 (offset 15 lines). Hunk #3 succeeded at 256 (offset 15 lines). Hunk #4 succeeded at 277 (offset 15 lines). Hunk #5 succeeded at 286 (offset 15 lines). Hunk #6 succeeded at 307 (offset 15 lines). Hunk #7 succeeded at 318 (offset 15 lines). >>> keyd: fix-makefile.patch patching file Makefile mkdir bin cp scripts/keyd-application-mapper bin/ sed -e 's#@PREFIX@#/usr/local#' keyd.service.in > keyd.service sed -e 's#@PREFIX@#/usr/local#' src/vkbd/usb-gadget.service.in > src/vkbd/usb-gadget.service gcc -DVERSION=\"v2.5.0\" -Wall -Wextra -Wno-unused -std=c11 -DSOCKET_PATH=\"/var/run/keyd.socket\" -DCONFIG_DIR=\"/etc/keyd\" -DDATA_DIR=\"/usr/local/share/keyd\" -D_FORTIFY_SOURCE=2 -D_DEFAULT_SOURCE -Werror=format-security -Os -fstack-clash-protection -Wformat -Werror=format-security src/*.c src/vkbd/uinput.c -lpthread -o bin/keyd -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs In file included from src/keyd.h:43, from src/config.c:20: src/config.c: In function 'set_layer_entry': src/config.c:255:37: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 255 | err("chords cannot contain more than %ld keys", n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ | | | size_t {aka unsigned int} src/log.h:19:56: note: in definition of macro 'err' 19 | #define err(fmt, ...) snprintf(errstr, sizeof(errstr), fmt, ##__VA_ARGS__); | ^~~ src/config.c:255:72: note: format string is defined here 255 | err("chords cannot contain more than %ld keys", n); | ~~^ | | | long int | %d src/config.c:268:37: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 268 | err("max chords exceeded(%ld)", layer->nr_chords); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} src/log.h:19:56: note: in definition of macro 'err' 19 | #define err(fmt, ...) snprintf(errstr, sizeof(errstr), fmt, ##__VA_ARGS__); | ^~~ src/config.c:268:60: note: format string is defined here 268 | err("max chords exceeded(%ld)", layer->nr_chords); | ~~^ | | | long int | %d src/config.c: In function 'parse_macro_expression': src/config.c:502:21: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'unsigned int' [-Wformat=] 502 | err("macro size exceeded maximum size (%ld)\n", sizeof(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ | | | unsigned int src/log.h:19:56: note: in definition of macro 'err' 19 | #define err(fmt, ...) snprintf(errstr, sizeof(errstr), fmt, ##__VA_ARGS__); | ^~~ src/config.c:502:58: note: format string is defined here 502 | err("macro size exceeded maximum size (%ld)\n", sizeof(buf)); | ~~^ | | | long int | %d src/config.c: In function 'parse_command': src/config.c:528:21: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'unsigned int' [-Wformat=] 528 | err("max command length (%ld) exceeded\n", sizeof(command->cmd)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ | | | unsigned int src/log.h:19:56: note: in definition of macro 'err' 19 | #define err(fmt, ...) snprintf(errstr, sizeof(errstr), fmt, ##__VA_ARGS__); | ^~~ src/config.c:528:44: note: format string is defined here 528 | err("max command length (%ld) exceeded\n", sizeof(command->cmd)); | ~~^ | | | long int | %d src/vkbd/uinput.c: In function 'vkbd_init': src/vkbd/uinput.c:232:29: warning: allocation of insufficient size '4' for type 'struct vkbd' with size '8' [-Walloc-size] 232 | struct vkbd *vkbd = calloc(1, sizeof vkbd); | ^~~~~~ src/vkbd/uinput.c:233:13: warning: array subscript 'struct vkbd[0]' is partly outside array bounds of 'unsigned char[4]' [-Warray-bounds=] 233 | vkbd->fd = create_virtual_keyboard(name); | ^~ src/vkbd/uinput.c:232:29: note: object of size 4 allocated by 'calloc' 232 | struct vkbd *vkbd = calloc(1, sizeof vkbd); | ^~~~~~~~~~~~~~~~~~~~~~ src/vkbd/uinput.c:234:13: warning: array subscript 'struct vkbd[0]' is partly outside array bounds of 'unsigned char[4]' [-Warray-bounds=] 234 | vkbd->pfd = create_virtual_pointer("keyd virtual pointer"); | ^~ src/vkbd/uinput.c:232:29: note: object of size 4 allocated by 'calloc' 232 | struct vkbd *vkbd = calloc(1, sizeof vkbd); | ^~~~~~~~~~~~~~~~~~~~~~ for f in docs/*.scdoc; do \ target=${f%%.scdoc}.1.gz; \ target=data/${target##*/}; \ scdoc < "$f" | gzip > "$target"; \ done >>> keyd: Entering fakeroot... NOTE: systemd not found, you will need to manually add keyd to your system's init process. mkdir -p /home/buildozer/aports/community/keyd/pkg/keyd/etc/keyd mkdir -p /home/buildozer/aports/community/keyd/pkg/keyd/usr/bin/ mkdir -p /home/buildozer/aports/community/keyd/pkg/keyd/usr/share/keyd/ mkdir -p /home/buildozer/aports/community/keyd/pkg/keyd/usr/share/keyd/layouts/ mkdir -p /home/buildozer/aports/community/keyd/pkg/keyd/usr/share/man/man1/ mkdir -p /home/buildozer/aports/community/keyd/pkg/keyd/usr/share/doc/keyd/ mkdir -p /home/buildozer/aports/community/keyd/pkg/keyd/usr/share/doc/keyd/examples/ install -m755 bin/* /home/buildozer/aports/community/keyd/pkg/keyd/usr/bin/ install -m644 docs/*.md /home/buildozer/aports/community/keyd/pkg/keyd/usr/share/doc/keyd/ install -m644 examples/* /home/buildozer/aports/community/keyd/pkg/keyd/usr/share/doc/keyd/examples/ install -m644 layouts/* /home/buildozer/aports/community/keyd/pkg/keyd/usr/share/keyd/layouts cp -r data/gnome-* /home/buildozer/aports/community/keyd/pkg/keyd/usr/share/keyd install -m644 data/*.1.gz /home/buildozer/aports/community/keyd/pkg/keyd/usr/share/man/man1/ install -m644 data/keyd.compose /home/buildozer/aports/community/keyd/pkg/keyd/usr/share/keyd/ >>> keyd-application-mapper*: Running split function application_mapper... 'usr/bin/keyd-application-mapper' -> '/home/buildozer/aports/community/keyd/pkg/keyd-application-mapper/usr/bin/keyd-application-mapper' >>> keyd-application-mapper*: Preparing subpackage keyd-application-mapper... >>> keyd-application-mapper*: Running postcheck for keyd-application-mapper >>> keyd-doc*: Running split function doc... 'usr/share/doc' -> '/home/buildozer/aports/community/keyd/pkg/keyd-doc/usr/share/doc' 'usr/share/man' -> '/home/buildozer/aports/community/keyd/pkg/keyd-doc/usr/share/man' >>> keyd-doc*: Preparing subpackage keyd-doc... >>> keyd-doc*: Running postcheck for keyd-doc >>> keyd-openrc*: Running split function openrc... 'etc/init.d' -> '/home/buildozer/aports/community/keyd/pkg/keyd-openrc/etc/init.d' >>> keyd-openrc*: Preparing subpackage keyd-openrc... >>> keyd-openrc*: Running postcheck for keyd-openrc >>> keyd*: Running postcheck for keyd >>> keyd*: Preparing package keyd... >>> keyd*: Stripping binaries >>> keyd*: Script found. /bin/sh added as a dependency for keyd-2.5.0-r0.apk >>> keyd*: Adding .pre-install >>> keyd*: Adding .pre-upgrade >>> keyd-application-mapper*: Scanning shared objects >>> keyd-doc*: Scanning shared objects >>> keyd-openrc*: Scanning shared objects >>> keyd*: Scanning shared objects >>> keyd-application-mapper*: Tracing dependencies... keyd=2.5.0-r0 python3 >>> keyd-application-mapper*: Package size: 14.3 KB >>> keyd-application-mapper*: Compressing data... >>> keyd-application-mapper*: Create checksum... >>> keyd-application-mapper*: Create keyd-application-mapper-2.5.0-r0.apk >>> keyd-doc*: Tracing dependencies... >>> keyd-doc*: Package size: 25.8 KB >>> keyd-doc*: Compressing data... >>> keyd-doc*: Create checksum... >>> keyd-doc*: Create keyd-doc-2.5.0-r0.apk >>> keyd-openrc*: Tracing dependencies... >>> keyd-openrc*: Package size: 262.0 B >>> keyd-openrc*: Compressing data... >>> keyd-openrc*: Create checksum... >>> keyd-openrc*: Create keyd-openrc-2.5.0-r0.apk >>> keyd*: Tracing dependencies... /bin/sh so:libc.musl-x86.so.1 >>> keyd*: Package size: 1.3 MB >>> keyd*: Compressing data... >>> keyd*: Create checksum... >>> keyd*: Create keyd-2.5.0-r0.apk >>> keyd: Build complete at Wed, 20 Nov 2024 22:42:10 +0000 elapsed time 0h 0m 5s >>> keyd: Cleaning up srcdir >>> keyd: Cleaning up pkgdir >>> keyd: Uninstalling dependencies... (1/3) Purging .makedepends-keyd (20241120.224206) (2/3) Purging linux-headers (6.6-r1) (3/3) Purging scdoc (1.11.3-r0) Executing busybox-1.37.0-r8.trigger OK: 396 MiB in 100 packages >>> keyd: Updating the community/x86 repository index... >>> keyd: Signing the index...