==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_826b7384-dd2a-40c9-a8e1-3bb832419e06]...done
==> Making package: p0f 3.09b-3.1 (Thu Apr 30 14:03:33 2026)
==> Retrieving sources...
  -> Downloading p0f-3.09b.tgz...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
  0      0   0      0   0      0      0      0                              0  0      0   0      0   0      0      0      0                              0  0      0   0      0   0      0      0      0                              0
  0      0   0      0   0      0      0      0                              0100  92896 100  92896   0      0  77368      0   00:01   00:01              0100  92896 100  92896   0      0  77365      0   00:01   00:01              0100  92896 100  92896   0      0  77363      0   00:01   00:01              0
==> Validating source files with sha512sums...
    p0f-3.09b.tgz ... Passed
==> Making package: p0f 3.09b-3.1 (Thu Apr 30 12:03:36 2026)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Package (2)   New Version  Net Change

core/libnl    3.12.0-1       2.12 MiB
core/libpcap  1.10.6-1       0.65 MiB

Total Installed Size:  2.77 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing libnl...
installing libpcap...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found p0f-3.09b.tgz
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting p0f-3.09b.tgz with bsdtar
==> Starting prepare()...
==> Starting build()...
Welcome to the build script for p0f 3.09b!
Copyright (C) 2012 by Michal Zalewski <lcamtuf@coredump.cx>

[+] Configuring production build.
[*] Checking for a sane build environment... OK
[*] Checking for working GCC... OK
[*] Checking for *modern* GCC... OK
[*] Checking if memory alignment is required... FAIL

Well, something went horribly wrong, sorry. Here's the output from GCC:

<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
.build-1038.c: In function ‘main’:
.build-1038.c:2:34: error: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration]
    2 | volatile u8 tmp[6]; int main() { printf("%d\n", *(u32*)(tmp+1)); return 0; }
      |                                  ^~~~~~
.build-1038.c:2:1: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
    1 | #include "types.h"
  +++ |+#include <stdio.h>
    2 | volatile u8 tmp[6]; int main() { printf("%d\n", *(u32*)(tmp+1)); return 0; }
.build-1038.c:2:34: warning: incompatible implicit declaration of built-in function ‘printf’ [-Wbuiltin-declaration-mismatch]
    2 | volatile u8 tmp[6]; int main() { printf("%d\n", *(u32*)(tmp+1)); return 0; }
      |                                  ^~~~~~
.build-1038.c:2:34: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’

Sorry! You may want to ping <lcamtuf@coredump.cx> about this.

make: *** [Makefile:11: all] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_826b7384-dd2a-40c9-a8e1-3bb832419e06/build
