>>> keyd: Building community/keyd 2.4.3-r0 (using abuild 3.14.1-r1) started Wed, 13 Nov 2024 03:53:10 +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 (20241113.035330) Executing busybox-1.37.0-r6.trigger OK: 402 MiB in 104 packages >>> keyd: Cleaning up srcdir >>> keyd: Cleaning up pkgdir >>> keyd: Cleaning up tmpdir >>> keyd: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/keyd-2.4.3-2.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/v3.21/keyd-2.4.3-2.tar.gz.part' keyd-2.4.3-2.tar.gz. 100% |********************************| 651k 0:00:00 ETA '/var/cache/distfiles/v3.21/keyd-2.4.3-2.tar.gz.part' saved >>> keyd: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/keyd-2.4.3-2.tar.gz >>> keyd: Checking sha512sums... keyd-2.4.3-2.tar.gz: OK musl-time64.patch: OK fix-makefile.patch: OK keyd.initd: OK >>> keyd: Unpacking /var/cache/distfiles/v3.21/keyd-2.4.3-2.tar.gz... >>> keyd: musl-time64.patch patching file src/vkbd/uinput.c >>> keyd: fix-makefile.patch patching file Makefile mkdir bin cp scripts/keyd-application-mapper bin/ gcc -DVERSION=\"v2.4.3\" -Wall -Wextra -Wno-unused -std=c11 -DSOCKET_PATH=\"/var/run/keyd.socket\" -DCONFIG_DIR=\"/etc/keyd\" -DDATA_DIR=\"/usr/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:254:37: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 254 | 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:254:72: note: format string is defined here 254 | err("chords cannot contain more than %ld keys", n); | ~~^ | | | long int | %d src/config.c:267:37: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 267 | 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:267:60: note: format string is defined here 267 | err("max chords exceeded(%ld)", layer->nr_chords); | ~~^ | | | long int | %d src/config.c: In function 'parse_macro_expression': src/config.c:496:21: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'unsigned int' [-Wformat=] 496 | 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:496:58: note: format string is defined here 496 | err("macro size exceeded maximum size (%ld)\n", sizeof(buf)); | ~~^ | | | long int | %d src/config.c: In function 'parse_command': src/config.c:522:21: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'unsigned int' [-Wformat=] 522 | 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:522:44: note: format string is defined here 522 | 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:217:29: warning: allocation of insufficient size '4' for type 'struct vkbd' with size '8' [-Walloc-size] 217 | struct vkbd *vkbd = calloc(1, sizeof vkbd); | ^~~~~~ src/vkbd/uinput.c:218:13: warning: array subscript 'struct vkbd[0]' is partly outside array bounds of 'unsigned char[4]' [-Warray-bounds=] 218 | vkbd->fd = create_virtual_keyboard(name); | ^~ src/vkbd/uinput.c:217:29: note: object of size 4 allocated by 'calloc' 217 | struct vkbd *vkbd = calloc(1, sizeof vkbd); | ^~~~~~~~~~~~~~~~~~~~~~ src/vkbd/uinput.c:219:13: warning: array subscript 'struct vkbd[0]' is partly outside array bounds of 'unsigned char[4]' [-Warray-bounds=] 219 | vkbd->pfd = create_virtual_pointer("keyd virtual pointer"); | ^~ src/vkbd/uinput.c:217:29: note: object of size 4 allocated by 'calloc' 217 | 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 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.4.3-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.4.3-r0 python3 >>> keyd-application-mapper*: Package size: 14.4 KB >>> keyd-application-mapper*: Compressing data... >>> keyd-application-mapper*: Create checksum... >>> keyd-application-mapper*: Create keyd-application-mapper-2.4.3-r0.apk >>> keyd-doc*: Tracing dependencies... >>> keyd-doc*: Package size: 24.9 KB >>> keyd-doc*: Compressing data... >>> keyd-doc*: Create checksum... >>> keyd-doc*: Create keyd-doc-2.4.3-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.4.3-r0.apk >>> keyd*: Tracing dependencies... /bin/sh so:libc.musl-x86.so.1 >>> keyd*: Package size: 1.2 MB >>> keyd*: Compressing data... >>> keyd*: Create checksum... >>> keyd*: Create keyd-2.4.3-r0.apk >>> keyd: Build complete at Wed, 13 Nov 2024 03:53:34 +0000 elapsed time 0h 0m 24s >>> keyd: Cleaning up srcdir >>> keyd: Cleaning up pkgdir >>> keyd: Uninstalling dependencies... (1/3) Purging .makedepends-keyd (20241113.035330) (2/3) Purging linux-headers (6.6-r1) (3/3) Purging scdoc (1.11.3-r0) Executing busybox-1.37.0-r6.trigger OK: 397 MiB in 101 packages >>> keyd: Updating the community/x86 repository index... >>> keyd: Signing the index...