==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_6aa3afd3-be74-4f2d-8279-5c14e137632a]...done
==> Making package: compsize 1.5-2.1 (Wed Apr 29 22:38:23 2026)
==> Retrieving sources...
  -> Cloning compsize git repo...
Cloning into bare repository '/home/alhp/workspace/build/x86-64-v2/compsize-1.5-2/compsize'...
==> Validating source files with sha256sums...
    compsize ... Skipped
==> Making package: compsize 1.5-2.1 (Wed Apr 29 20:38:25 2026)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Package (7)           New Version  Net Change

core/lzo              2.10-5         0.38 MiB
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
core/btrfs-progs      6.19.1-1       6.64 MiB
extra/git             2.54.0-1      30.26 MiB

Total Installed Size:  37.84 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing lzo...
installing btrfs-progs...
Optional dependencies for btrfs-progs
    python: libbtrfsutil python bindings
    e2fsprogs: btrfs-convert [installed]
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/4) Creating system user accounts...
Creating group 'git' with GID 969.
Creating user 'git' (git daemon user) with UID 969 and GID 969.
(2/4) Reloading system manager configuration...
  Skipped: Current root is not booted.
(3/4) Reloading device manager configuration...
  Skipped: Current root is not booted.
(4/4) Arming ConditionNeedsUpdate...
==> Retrieving sources...
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Creating working copy of compsize git repo...
Cloning into 'compsize'...
done.
Switched to a new branch 'makepkg'
==> Starting pkgver()...
==> Starting build()...
cc -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 -g -ffile-prefix-map=/startdir/src=/usr/src/debug/compsize -flto=auto -falign-functions=32  -c -o compsize.o compsize.c
cc -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 -g -ffile-prefix-map=/startdir/src=/usr/src/debug/compsize -flto=auto -falign-functions=32  -c -o radix-tree.o radix-tree.c
In file included from radix-tree.c:39:
kerncompat.h:124:9: warning: ‘__bitwise__’ redefined
  124 | #define __bitwise__
      |         ^~~~~~~~~~~
In file included from kerncompat.h:30:
/usr/include/linux/types.h:29:9: note: this is the location of the previous definition
   29 | #define __bitwise__ __bitwise
      |         ^~~~~~~~~~~
In file included from compsize.c:17:
radix-tree.h:51:9: error: unknown type name ‘gfp_t’
   51 |         gfp_t                   gfp_mask;
      |         ^~~~~
radix-tree.h:78:24: error: unknown type name ‘gfp_t’
   78 | int radix_tree_preload(gfp_t gfp_mask);
      |                        ^~~~~
radix-tree.h: In function ‘radix_tree_preload_end’:
radix-tree.h:94:9: error: implicit declaration of function ‘preempt_enable’ [-Wimplicit-function-declaration]
   94 |         preempt_enable();
      |         ^~~~~~~~~~~~~~
compsize.c: In function ‘parse_file_extent_item’:
compsize.c:163:10: error: implicit declaration of function ‘IS_ALIGNED’ [-Wimplicit-function-declaration]
  163 |     if (!IS_ALIGNED(disk_bytenr, 1 << 12))
      |          ^~~~~~~~~~
compsize.c:167:5: error: implicit declaration of function ‘radix_tree_preload’; did you mean ‘radix_tree_preload_end’? [-Wimplicit-function-declaration]
  167 |     radix_tree_preload(GFP_KERNEL);
      |     ^~~~~~~~~~~~~~~~~~
      |     radix_tree_preload_end
compsize.c:167:24: error: ‘GFP_KERNEL’ undeclared (first use in this function); did you mean ‘SI_KERNEL’?
  167 |     radix_tree_preload(GFP_KERNEL);
      |                        ^~~~~~~~~~
      |                        SI_KERNEL
compsize.c:167:24: note: each undeclared identifier is reported only once for each function it appears in
compsize.c: In function ‘do_file’:
compsize.c:194:13: error: ‘errno’ undeclared (first use in this function)
  194 |         if (errno == ENOTTY)
      |             ^~~~~
compsize.c:19:1: note: ‘errno’ is defined in header ‘<errno.h>’; this is probably fixable by adding ‘#include <errno.h>’
   18 | #include "endianness.h"
  +++ |+#include <errno.h>
   19 | 
compsize.c:194:22: error: ‘ENOTTY’ undeclared (first use in this function); did you mean ‘N_TTY’?
  194 |         if (errno == ENOTTY)
      |                      ^~~~~~
      |                      N_TTY
compsize.c: In function ‘do_recursive_search’:
compsize.c:246:17: error: ‘errno’ undeclared (first use in this function)
  246 |             if (errno == ELOOP    // symlink
      |                 ^~~~~
compsize.c:246:17: note: ‘errno’ is defined in header ‘<errno.h>’; this is probably fixable by adding ‘#include <errno.h>’
compsize.c:246:26: error: ‘ELOOP’ undeclared (first use in this function)
  246 |             if (errno == ELOOP    // symlink
      |                          ^~~~~
compsize.c:247:26: error: ‘ENXIO’ undeclared (first use in this function)
  247 |              || errno == ENXIO    // some device nodes
      |                          ^~~~~
compsize.c:248:26: error: ‘ENODEV’ undeclared (first use in this function); did you mean ‘NODEV’?
  248 |              || errno == ENODEV   // /dev/ptmx
      |                          ^~~~~~
      |                          NODEV
compsize.c:249:26: error: ‘ENOMEDIUM’ undeclared (first use in this function)
  249 |              || errno == ENOMEDIUM// more device nodes
      |                          ^~~~~~~~~
compsize.c:250:26: error: ‘ENOENT’ undeclared (first use in this function)
  250 |              || errno == ENOENT)  // something just deleted
      |                          ^~~~~~
compsize.c:252:31: error: ‘EACCES’ undeclared (first use in this function)
  252 |             else if (errno == EACCES)
      |                               ^~~~~~
compsize.c:275:26: error: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration]
  275 |             path_size += strlen(path) + NAME_MAX;
      |                          ^~~~~~
compsize.c:19:1: note: include ‘<string.h>’ or provide a declaration of ‘strlen’
   18 | #include "endianness.h"
  +++ |+#include <string.h>
   19 | 
compsize.c:275:26: warning: incompatible implicit declaration of built-in function ‘strlen’ [-Wbuiltin-declaration-mismatch]
  275 |             path_size += strlen(path) + NAME_MAX;
      |                          ^~~~~~
compsize.c:275:26: note: include ‘<string.h>’ or provide a declaration of ‘strlen’
compsize.c:290:26: error: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration]
  290 |                     if (!strcmp(de->d_name, "."))
      |                          ^~~~~~
compsize.c:290:26: note: include ‘<string.h>’ or provide a declaration of ‘strcmp’
compsize.c:294:41: error: implicit declaration of function ‘strrchr’ [-Wimplicit-function-declaration]
  294 |                     const char *slash = strrchr(path, '/');
      |                                         ^~~~~~~
compsize.c:294:41: note: include ‘<string.h>’ or provide a declaration of ‘strrchr’
compsize.c:294:41: warning: incompatible implicit declaration of built-in function ‘strrchr’ [-Wbuiltin-declaration-mismatch]
compsize.c:294:41: note: include ‘<string.h>’ or provide a declaration of ‘strrchr’
make: *** [Makefile:19: compsize.o] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_6aa3afd3-be74-4f2d-8279-5c14e137632a/build
