==> Synchronizing chroot copy [/home/leming/armv7/root] -> [leming]...done
==> Making package: keyd 2.5.0-1 (Sat Jul 27 18:45:25 2024)
==> Retrieving sources...
  -> Found keyd-2.5.0
  -> Found keyd.sysusers
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    keyd-2.5.0 ... Passed
    keyd.sysusers ... Passed
==> Making package: keyd 2.5.0-1 (Sat Jul 27 18:45:45 2024)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found keyd-2.5.0
  -> Found keyd.sysusers
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting keyd-2.5.0 with bsdtar
==> Starting build()...
make: git: No such file or directory
mkdir bin
cp scripts/keyd-application-mapper bin/
sed -e 's#@PREFIX@#/usr#' keyd.service.in > keyd.service
sed -e 's#@PREFIX@#/usr#' src/vkbd/usb-gadget.service.in > src/vkbd/usb-gadget.service
cc -DVERSION=\"v2.5.0\ \(\)\" -I/usr/local/include -L/usr/local/lib -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 -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -O3  src/*.c src/vkbd/uinput.c -lpthread -o bin/keyd -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
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/config.c: In function ‘config_add_entry’:
src/config.c:997:21: warning: %s’ directive output may be truncated writing between 512 and 2147483645 bytes into a region of size 2048 [-Wformat-truncation=]
  997 |                 err("%s exceeds maximum expression length (%d)", exp, MAX_EXP_LEN);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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:997:22: note: format string is defined here
  997 |                 err("%s exceeds maximum expression length (%d)", exp, MAX_EXP_LEN);
      |                      ^~
In file included from /usr/include/stdio.h:980,
                 from src/config.c:11:
In function ‘snprintf’,
    inlined from ‘config_add_entry’ at src/config.c:997:3:
/usr/include/bits/stdio2.h:54:10: note: __builtin___snprintf_chk’ output between 553 and 2147483686 bytes into a destination of size 2048
   54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   55 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
In function ‘config_add_layer’,
    inlined from ‘config_parse_string’ at src/config.c:855:8:
src/config.c:374:21: warning: %s’ directive output may be truncated writing between 65 and 2147483645 bytes into a region of size 2048 [-Wformat-truncation=]
  374 |                 err("%s exceeds maximum section length (%d) (ignoring)", s, MAX_LAYER_NAME_LEN);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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: In function ‘config_parse_string’:
src/config.c:374:22: note: format string is defined here
  374 |                 err("%s exceeds maximum section length (%d) (ignoring)", s, MAX_LAYER_NAME_LEN);
      |                      ^~
In function ‘snprintf’,
    inlined from ‘config_add_layer’ at src/config.c:374:3,
    inlined from ‘config_parse_string’ at src/config.c:855:8:
/usr/include/bits/stdio2.h:54:10: note: __builtin___snprintf_chk’ output between 113 and 2147483693 bytes into a destination of size 2048
   54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   55 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
src/daemon.c: In function ‘add_listener’:
src/daemon.c:84:33: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   84 |                                 write(con, layer->type == LT_LAYOUT ? "/" : "+", 1);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/daemon.c:85:33: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   85 |                                 write(con, layer->name, strlen(layer->name));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/daemon.c:86:33: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   86 |                                 write(con, "\n", 1);
      |                                 ^~~~~~~~~~~~~~~~~~~
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
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);
      |                             ^~~~~~~~~~~~~~~~~~~~~~
==> Entering fakeroot environment...
==> Starting package()...
make: git: No such file or directory
NOTE: systemd not found, you will need to manually add keyd to your system's init process.
mkdir -p /build/keyd/pkg/keyd//etc/keyd
mkdir -p /build/keyd/pkg/keyd//usr/bin/
mkdir -p /build/keyd/pkg/keyd//usr/share/keyd/
mkdir -p /build/keyd/pkg/keyd//usr/share/keyd/layouts/
mkdir -p /build/keyd/pkg/keyd//usr/share/man/man1/
mkdir -p /build/keyd/pkg/keyd//usr/share/doc/keyd/
mkdir -p /build/keyd/pkg/keyd//usr/share/doc/keyd/examples/
groupadd keyd
groupadd: cannot lock /etc/group; try again later.
make: [Makefile:61: install] Error 10 (ignored)
install -m755 bin/* /build/keyd/pkg/keyd//usr/bin/
install -m644 docs/*.md /build/keyd/pkg/keyd//usr/share/doc/keyd/
install -m644 examples/* /build/keyd/pkg/keyd//usr/share/doc/keyd/examples/
install -m644 layouts/* /build/keyd/pkg/keyd//usr/share/keyd/layouts
cp -r data/gnome-* /build/keyd/pkg/keyd//usr/share/keyd
install -m644 data/*.1.gz /build/keyd/pkg/keyd//usr/share/man/man1/
install -m644 data/keyd.compose /build/keyd/pkg/keyd//usr/share/keyd/
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "keyd"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: keyd 2.5.0-1 (Sat Jul 27 18:46:06 2024)
==> Cleaning up...