==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_d067dcb1-9ced-4197-84ba-c2aa7f3d7a4a]...done
==> Making package: libwlocate 1:0.1-4.1 (Thu Apr 30 03:49:48 2026)
==> Retrieving sources...
  -> Cloning lwlocate git repo...
Cloning into bare repository '/home/alhp/workspace/build/x86-64-v2/libwlocate-1:0.1-4/lwlocate'...
==> Validating source files with sha256sums...
    lwlocate ... Passed
==> Making package: libwlocate 1:0.1-4.1 (Thu Apr 30 01:49:51 2026)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Package (1)           New Version  Net Change

extra/wireless_tools  30.pre9-5      0.34 MiB

Total Installed Size:  0.34 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing wireless_tools...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Package (5)           New Version  Net Change

extra/perl-error      0.17030-3      0.04 MiB
extra/perl-mailtools  2.22-3         0.10 MiB
extra/perl-timedate   2.35-1         0.15 MiB
extra/zlib-ng         2.3.3-1        0.28 MiB
extra/git             2.54.0-1      30.26 MiB

Total Installed Size:  30.83 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing perl-error...
installing perl-timedate...
installing perl-mailtools...
installing zlib-ng...
installing git...
Optional dependencies for git
    git-zsh-completion: upstream zsh completion
    tk: gitk and git gui
    openssh: ssh transport and crypto
    man: show help with `git command --help`
    perl-libwww: git svn
    perl-term-readkey: git svn and interactive.singlekey setting
    perl-io-socket-ssl: git send-email TLS support
    perl-authen-sasl: git send-email TLS support
    perl-cgi: gitweb (web interface) support
    python: git svn & git p4
    subversion: git svn
    org.freedesktop.secrets: keyring credential helper
    libsecret: libsecret credential helper [installed]
    less: the default pager for git
:: Running post-transaction hooks...
(1/3) Creating system user accounts...
Creating group 'git' with GID 969.
Creating user 'git' (git daemon user) with UID 969 and GID 969.
(2/3) Reloading system manager configuration...
  Skipped: Current root is not booted.
(3/3) Arming ConditionNeedsUpdate...
==> Retrieving sources...
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Creating working copy of lwlocate git repo...
Cloning into 'lwlocate'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
==> Starting build()...
gcc -Wall -fPIC -shared -Wno-unused -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -D_REENTRANT -DENV_LINUX -I. -I.. -c connect.c -o connect.o
gcc -Wall -fPIC -shared -Wno-unused -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -D_REENTRANT -DENV_LINUX -I. -I.. -c wlan.c -o wlan.o
gcc -Wall -fPIC -shared -Wno-unused -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -D_REENTRANT -DENV_LINUX -I. -I.. -c libwlocate.c -o libwlocate.o
gcc -Wall -fPIC -shared -Wno-unused -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -D_REENTRANT -DENV_LINUX -I. -I.. -c iwlist.c -o iwlist.o
In file included from wlan.c:31:
libwlocate.h:45:24: error: ‘bool’ cannot be defined via ‘typedef’
   45 |  typedef unsigned char bool;
      |                        ^~~~
libwlocate.h:45:24: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
libwlocate.h:45:2: warning: useless type name in empty declaration
   45 |  typedef unsigned char bool;
      |  ^~~~~~~
make: *** [Makelib:24: wlan.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from libwlocate.c:29:
libwlocate.h:45:24: error: ‘bool’ cannot be defined via ‘typedef’
   45 |  typedef unsigned char bool;
      |                        ^~~~
libwlocate.h:45:24: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
libwlocate.h:45:2: warning: useless type name in empty declaration
   45 |  typedef unsigned char bool;
      |  ^~~~~~~
libwlocate.c: In function ‘get_position’:
libwlocate.c:64:128: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=]
   64 |             "POST /getpos.php HTTP/1.0\r\nHost: %s\r\nContent-type: application/x-www-form-urlencoded, *.*\r\nContent-length: %d\r\n\r\n",
      |                                                                                                                               ~^
      |                                                                                                                                |
      |                                                                                                                                int
      |                                                                                                                               %ld
   65 |             domain,strlen(data));
      |                    ~~~~~~~~~~~~                                                                                                 
      |                    |
      |                    size_t {aka long unsigned int}
libwlocate.c:103:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  103 |             if (pos);
      |             ^~
libwlocate.c:104:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  104 |             {
      |             ^
libwlocate.c:110:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  110 |             if (pos);
      |             ^~
libwlocate.c:111:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  111 |             {
      |             ^
libwlocate.c:117:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  117 |             if (pos);
      |             ^~
libwlocate.c:118:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  118 |             {
      |             ^
make: *** [Makelib:24: libwlocate.o] Error 1
In file included from iwlist.c:15:
libwlocate.h:45:24: error: ‘bool’ cannot be defined via ‘typedef’
   45 |  typedef unsigned char bool;
      |                        ^~~~
libwlocate.h:45:24: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
libwlocate.h:45:2: warning: useless type name in empty declaration
   45 |  typedef unsigned char bool;
      |  ^~~~~~~
make: *** [Makelib:24: iwlist.o] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_d067dcb1-9ced-4197-84ba-c2aa7f3d7a4a/build
