==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_b8e1fff2-666e-4f5a-bfd7-2e8a65051916]...done
==> Making package: zutty 0.16-1.1 (Thu Apr 30 19:52:05 2026)
==> Retrieving sources...
  -> Cloning zutty git repo...
Cloning into bare repository '/home/alhp/workspace/build/x86-64-v4/zutty-0.16-1/zutty'...
==> Validating source files with b2sums...
    zutty ... Passed
==> Making package: zutty 0.16-1.1 (Thu Apr 30 17:52:09 2026)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Package (27)                 New Version     Net Change

extra/default-cursors        3-1               0.00 MiB
extra/libdrm                 2.4.131-1         1.28 MiB
core/libedit                 20251016_3.1-1    0.26 MiB
extra/libice                 1.1.2-1           0.36 MiB
extra/libpciaccess           0.19-1            0.06 MiB
extra/libpng                 1.6.58-1          0.58 MiB
extra/libsm                  1.2.6-1           0.26 MiB
extra/libx11                 1.8.13-1          9.78 MiB
extra/libxau                 1.0.12-1          0.02 MiB
extra/libxcb                 1.17.0-1          3.87 MiB
extra/libxdmcp               1.1.5-2           0.13 MiB
extra/libxext                1.3.7-1           0.30 MiB
extra/libxshmfence           1.3.3-1           0.02 MiB
extra/libxt                  1.3.1-1           2.02 MiB
extra/libxxf86vm             1.1.7-1           0.03 MiB
extra/llvm-libs              22.1.3-1        160.11 MiB
extra/lm_sensors             1:3.6.2-1         0.48 MiB
extra/mesa                   1:26.0.5-1       50.73 MiB
extra/spirv-tools            1:1.4.341.0-2     7.59 MiB
extra/wayland                1.25.0-1          0.84 MiB
extra/xcb-proto              1.17.0-4          1.03 MiB
extra/xorg-fonts-alias-misc  1.0.6-1           0.01 MiB
extra/xorgproto              2025.1-1          1.47 MiB
extra/freetype2              2.14.3-1          1.66 MiB
extra/libglvnd               1.7.0-3           3.34 MiB
extra/libxmu                 1.3.1-1           0.34 MiB
extra/xorg-fonts-misc        1.0.4-2          12.69 MiB

Total Installed Size:  259.24 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing libpng...
installing freetype2...
Optional dependencies for freetype2
    harfbuzz: Improved autohinting
installing xcb-proto...
installing xorgproto...
installing libxdmcp...
installing libxau...
installing libxcb...
installing libx11...
installing libxext...
installing libpciaccess...
installing libdrm...
Optional dependencies for libdrm
    cairo: needed for modetest tool
installing libxshmfence...
installing libxxf86vm...
installing libedit...
installing llvm-libs...
installing lm_sensors...
Optional dependencies for lm_sensors
    rrdtool: for logging with sensord
    perl: for sensor detection and configuration convert [installed]
installing spirv-tools...
installing default-cursors...
Optional dependencies for default-cursors
    adwaita-cursors: default cursor theme
installing wayland...
installing mesa...
Optional dependencies for mesa
    opengl-man-pages: for the OpenGL API man pages
installing libglvnd...
installing libice...
installing libsm...
installing libxt...
installing libxmu...
installing xorg-fonts-alias-misc...
installing xorg-fonts-misc...
:: Running post-transaction hooks...
(1/2) Reloading system manager configuration...
  Skipped: Current root is not booted.
(2/2) Arming ConditionNeedsUpdate...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Package (8)           New Version  Net Change

core/mpdecimal        4.0.1-3        0.32 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
extra/git             2.54.0-1      30.26 MiB
core/python           3.14.4-1      72.32 MiB
extra/waf             2.1.9-2        5.31 MiB

Total Installed Size:  108.77 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 [pending]
    subversion: git svn
    org.freedesktop.secrets: keyring credential helper
    libsecret: libsecret credential helper [installed]
    less: the default pager for git
installing mpdecimal...
installing python...
Optional dependencies for python
    python-setuptools: for building Python packages using tooling that is usually bundled with Python
    python-pip: for installing Python packages using tooling that is usually bundled with Python
    python-pipx: for installing Python software not packaged on Arch Linux
    sqlite: for a default database integration [installed]
    xz: for lzma [installed]
    tk: for tkinter
installing waf...
:: 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 zutty git repo...
Cloning into 'zutty'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
removed 'waf'
==> Starting build()...
Setting top to                           : /startdir/src/zutty 
Setting out to                           : /startdir/src/zutty/build 
Zutty version                            : 0.16-dirty 
Debug build                              : no 
Checking for 'g++' (C++ compiler)        : /usr/bin/g++ 
Target platform                          : Linux 
Checking for program 'pkg-config'        : /usr/bin/pkg-config 
Checking for 'freetype2'                 : yes 
Checking for 'xmu'                       : yes 
Checking for header EGL/egl.h            : yes 
Checking for header GLES3/gl31.h         : yes 
Checking for library EGL                 : yes 
Checking for library GLESv2              : yes 
Checking for library pthread             : yes 
'configure' finished successfully (0.465s)
Waf: Entering directory `/startdir/src/zutty/build'
[ 1/16] Compiling src/vterm.cc
17:52:12 runner ['/usr/bin/g++', '-march=x86-64-v4', '-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', '-Wp,-D_GLIBCXX_ASSERTIONS', '-g', '-ffile-prefix-map=/startdir/src=/usr/src/debug/zutty', '-flto=auto', '-falign-functions=32', '-std=c++14', '-fno-omit-frame-pointer', '-fsigned-char', '-Wall', '-Wextra', '-Wsign-compare', '-Wno-unused-parameter', '-DZUTTY_VERSION="0.16-dirty"', '-DLINUX', '-Werror', '-O3', '-flto', '-Isrc/shader', '-I../src/shader', '-I/usr/include/freetype2', '-I/usr/include/libpng16', '-I/usr/include/uuid', '-DHAVE_FT=1', '-DHAVE_XMU=1', '-DHAVE_EGL_EGL_H=1', '-DHAVE_GLES3_GL31_H=1', '../src/vterm.cc', '-c', '-o/startdir/src/zutty/build/src/vterm.cc.1.o']
[ 2/16] Compiling src/selmgr.cc
17:52:12 runner ['/usr/bin/g++', '-march=x86-64-v4', '-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', '-Wp,-D_GLIBCXX_ASSERTIONS', '-g', '-ffile-prefix-map=/startdir/src=/usr/src/debug/zutty', '-flto=auto', '-falign-functions=32', '-std=c++14', '-fno-omit-frame-pointer', '-fsigned-char', '-Wall', '-Wextra', '-Wsign-compare', '-Wno-unused-parameter', '-DZUTTY_VERSION="0.16-dirty"', '-DLINUX', '-Werror', '-O3', '-flto', '-Isrc/shader', '-I../src/shader', '-I/usr/include/freetype2', '-I/usr/include/libpng16', '-I/usr/include/uuid', '-DHAVE_FT=1', '-DHAVE_XMU=1', '-DHAVE_EGL_EGL_H=1', '-DHAVE_GLES3_GL31_H=1', '../src/selmgr.cc', '-c', '-o/startdir/src/zutty/build/src/selmgr.cc.1.o']
[ 3/16] Compiling src/options.cc
17:52:12 runner ['/usr/bin/g++', '-march=x86-64-v4', '-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', '-Wp,-D_GLIBCXX_ASSERTIONS', '-g', '-ffile-prefix-map=/startdir/src=/usr/src/debug/zutty', '-flto=auto', '-falign-functions=32', '-std=c++14', '-fno-omit-frame-pointer', '-fsigned-char', '-Wall', '-Wextra', '-Wsign-compare', '-Wno-unused-parameter', '-DZUTTY_VERSION="0.16-dirty"', '-DLINUX', '-Werror', '-O3', '-flto', '-Isrc/shader', '-I../src/shader', '-I/usr/include/freetype2', '-I/usr/include/libpng16', '-I/usr/include/uuid', '-DHAVE_FT=1', '-DHAVE_XMU=1', '-DHAVE_EGL_EGL_H=1', '-DHAVE_GLES3_GL31_H=1', '../src/options.cc', '-c', '-o/startdir/src/zutty/build/src/options.cc.1.o']
[ 4/16] Compiling src/pty.cc
17:52:12 runner ['/usr/bin/g++', '-march=x86-64-v4', '-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', '-Wp,-D_GLIBCXX_ASSERTIONS', '-g', '-ffile-prefix-map=/startdir/src=/usr/src/debug/zutty', '-flto=auto', '-falign-functions=32', '-std=c++14', '-fno-omit-frame-pointer', '-fsigned-char', '-Wall', '-Wextra', '-Wsign-compare', '-Wno-unused-parameter', '-DZUTTY_VERSION="0.16-dirty"', '-DLINUX', '-Werror', '-O3', '-flto', '-Isrc/shader', '-I../src/shader', '-I/usr/include/freetype2', '-I/usr/include/libpng16', '-I/usr/include/uuid', '-DHAVE_FT=1', '-DHAVE_XMU=1', '-DHAVE_EGL_EGL_H=1', '-DHAVE_GLES3_GL31_H=1', '../src/pty.cc', '-c', '-o/startdir/src/zutty/build/src/pty.cc.1.o']
[ 5/16] Compiling src/frame.cc
17:52:12 runner ['/usr/bin/g++', '-march=x86-64-v4', '-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', '-Wp,-D_GLIBCXX_ASSERTIONS', '-g', '-ffile-prefix-map=/startdir/src=/usr/src/debug/zutty', '-flto=auto', '-falign-functions=32', '-std=c++14', '-fno-omit-frame-pointer', '-fsigned-char', '-Wall', '-Wextra', '-Wsign-compare', '-Wno-unused-parameter', '-DZUTTY_VERSION="0.16-dirty"', '-DLINUX', '-Werror', '-O3', '-flto', '-Isrc/shader', '-I../src/shader', '-I/usr/include/freetype2', '-I/usr/include/libpng16', '-I/usr/include/uuid', '-DHAVE_FT=1', '-DHAVE_XMU=1', '-DHAVE_EGL_EGL_H=1', '-DHAVE_GLES3_GL31_H=1', '../src/frame.cc', '-c', '-o/startdir/src/zutty/build/src/frame.cc.1.o']
[ 6/16] Compiling src/fontpack.cc
17:52:12 runner ['/usr/bin/g++', '-march=x86-64-v4', '-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', '-Wp,-D_GLIBCXX_ASSERTIONS', '-g', '-ffile-prefix-map=/startdir/src=/usr/src/debug/zutty', '-flto=auto', '-falign-functions=32', '-std=c++14', '-fno-omit-frame-pointer', '-fsigned-char', '-Wall', '-Wextra', '-Wsign-compare', '-Wno-unused-parameter', '-DZUTTY_VERSION="0.16-dirty"', '-DLINUX', '-Werror', '-O3', '-flto', '-Isrc/shader', '-I../src/shader', '-I/usr/include/freetype2', '-I/usr/include/libpng16', '-I/usr/include/uuid', '-DHAVE_FT=1', '-DHAVE_XMU=1', '-DHAVE_EGL_EGL_H=1', '-DHAVE_GLES3_GL31_H=1', '../src/fontpack.cc', '-c', '-o/startdir/src/zutty/build/src/fontpack.cc.1.o']
[ 7/16] Compiling src/gl.cc
17:52:12 runner ['/usr/bin/g++', '-march=x86-64-v4', '-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', '-Wp,-D_GLIBCXX_ASSERTIONS', '-g', '-ffile-prefix-map=/startdir/src=/usr/src/debug/zutty', '-flto=auto', '-falign-functions=32', '-std=c++14', '-fno-omit-frame-pointer', '-fsigned-char', '-Wall', '-Wextra', '-Wsign-compare', '-Wno-unused-parameter', '-DZUTTY_VERSION="0.16-dirty"', '-DLINUX', '-Werror', '-O3', '-flto', '-Isrc/shader', '-I../src/shader', '-I/usr/include/freetype2', '-I/usr/include/libpng16', '-I/usr/include/uuid', '-DHAVE_FT=1', '-DHAVE_XMU=1', '-DHAVE_EGL_EGL_H=1', '-DHAVE_GLES3_GL31_H=1', '../src/gl.cc', '-c', '-o/startdir/src/zutty/build/src/gl.cc.1.o']
[ 8/16] Compiling src/log.cc
17:52:12 runner ['/usr/bin/g++', '-march=x86-64-v4', '-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', '-Wp,-D_GLIBCXX_ASSERTIONS', '-g', '-ffile-prefix-map=/startdir/src=/usr/src/debug/zutty', '-flto=auto', '-falign-functions=32', '-std=c++14', '-fno-omit-frame-pointer', '-fsigned-char', '-Wall', '-Wextra', '-Wsign-compare', '-Wno-unused-parameter', '-DZUTTY_VERSION="0.16-dirty"', '-DLINUX', '-Werror', '-O3', '-flto', '-Isrc/shader', '-I../src/shader', '-I/usr/include/freetype2', '-I/usr/include/libpng16', '-I/usr/include/uuid', '-DHAVE_FT=1', '-DHAVE_XMU=1', '-DHAVE_EGL_EGL_H=1', '-DHAVE_GLES3_GL31_H=1', '../src/log.cc', '-c', '-o/startdir/src/zutty/build/src/log.cc.1.o']
[ 9/16] Compiling src/main.cc
17:52:12 runner ['/usr/bin/g++', '-march=x86-64-v4', '-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', '-Wp,-D_GLIBCXX_ASSERTIONS', '-g', '-ffile-prefix-map=/startdir/src=/usr/src/debug/zutty', '-flto=auto', '-falign-functions=32', '-std=c++14', '-fno-omit-frame-pointer', '-fsigned-char', '-Wall', '-Wextra', '-Wsign-compare', '-Wno-unused-parameter', '-DZUTTY_VERSION="0.16-dirty"', '-DLINUX', '-Werror', '-O3', '-flto', '-Isrc/shader', '-I../src/shader', '-I/usr/include/freetype2', '-I/usr/include/libpng16', '-I/usr/include/uuid', '-DHAVE_FT=1', '-DHAVE_XMU=1', '-DHAVE_EGL_EGL_H=1', '-DHAVE_GLES3_GL31_H=1', '../src/main.cc', '-c', '-o/startdir/src/zutty/build/src/main.cc.1.o']
[10/16] Compiling src/font.cc
17:52:12 runner ['/usr/bin/g++', '-march=x86-64-v4', '-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', '-Wp,-D_GLIBCXX_ASSERTIONS', '-g', '-ffile-prefix-map=/startdir/src=/usr/src/debug/zutty', '-flto=auto', '-falign-functions=32', '-std=c++14', '-fno-omit-frame-pointer', '-fsigned-char', '-Wall', '-Wextra', '-Wsign-compare', '-Wno-unused-parameter', '-DZUTTY_VERSION="0.16-dirty"', '-DLINUX', '-Werror', '-O3', '-flto', '-Isrc/shader', '-I../src/shader', '-I/usr/include/freetype2', '-I/usr/include/libpng16', '-I/usr/include/uuid', '-DHAVE_FT=1', '-DHAVE_XMU=1', '-DHAVE_EGL_EGL_H=1', '-DHAVE_GLES3_GL31_H=1', '../src/font.cc', '-c', '-o/startdir/src/zutty/build/src/font.cc.1.o']
[11/16] Compiling src/renderer.cc
17:52:12 runner ['/usr/bin/g++', '-march=x86-64-v4', '-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', '-Wp,-D_GLIBCXX_ASSERTIONS', '-g', '-ffile-prefix-map=/startdir/src=/usr/src/debug/zutty', '-flto=auto', '-falign-functions=32', '-std=c++14', '-fno-omit-frame-pointer', '-fsigned-char', '-Wall', '-Wextra', '-Wsign-compare', '-Wno-unused-parameter', '-DZUTTY_VERSION="0.16-dirty"', '-DLINUX', '-Werror', '-O3', '-flto', '-Isrc/shader', '-I../src/shader', '-I/usr/include/freetype2', '-I/usr/include/libpng16', '-I/usr/include/uuid', '-DHAVE_FT=1', '-DHAVE_XMU=1', '-DHAVE_EGL_EGL_H=1', '-DHAVE_GLES3_GL31_H=1', '../src/renderer.cc', '-c', '-o/startdir/src/zutty/build/src/renderer.cc.1.o']
[12/16] Compiling src/shader/fragment.glsl
17:52:12 runner ' sed -e \'s/\\\\/\\\\\\\\/g\' -e \'s/"/\\\\"/g\' -e \'s/\\(.*\\)/"\\1\\\\n"/\' ../src/shader/fragment.glsl > src/shader/fragment.glsl.h '
[13/16] Compiling src/shader/compute.glsl
17:52:12 runner ' sed -e \'s/\\\\/\\\\\\\\/g\' -e \'s/"/\\\\"/g\' -e \'s/\\(.*\\)/"\\1\\\\n"/\' ../src/shader/compute.glsl > src/shader/compute.glsl.h '
[14/16] Compiling src/shader/vertex.glsl
17:52:12 runner ' sed -e \'s/\\\\/\\\\\\\\/g\' -e \'s/"/\\\\"/g\' -e \'s/\\(.*\\)/"\\1\\\\n"/\' ../src/shader/vertex.glsl > src/shader/vertex.glsl.h '
[15/16] Compiling src/charvdev.cc
17:52:12 runner ['/usr/bin/g++', '-march=x86-64-v4', '-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', '-Wp,-D_GLIBCXX_ASSERTIONS', '-g', '-ffile-prefix-map=/startdir/src=/usr/src/debug/zutty', '-flto=auto', '-falign-functions=32', '-std=c++14', '-fno-omit-frame-pointer', '-fsigned-char', '-Wall', '-Wextra', '-Wsign-compare', '-Wno-unused-parameter', '-DZUTTY_VERSION="0.16-dirty"', '-DLINUX', '-Werror', '-O3', '-flto', '-Isrc/shader', '-I../src/shader', '-I/usr/include/freetype2', '-I/usr/include/libpng16', '-I/usr/include/uuid', '-DHAVE_FT=1', '-DHAVE_XMU=1', '-DHAVE_EGL_EGL_H=1', '-DHAVE_GLES3_GL31_H=1', '../src/charvdev.cc', '-c', '-o/startdir/src/zutty/build/src/charvdev.cc.1.o']
../src/pty.cc:24:9: error: ‘_POSIX_C_SOURCE’ redefined [-Werror]
   24 | #define _POSIX_C_SOURCE 200809L
      |         ^~~~~~~~~~~~~~~
In file included from /usr/include/c++/15.2.1/x86_64-pc-linux-gnu/bits/os_defines.h:39,
                 from /usr/include/c++/15.2.1/x86_64-pc-linux-gnu/bits/c++config.h:727,
                 from /usr/include/c++/15.2.1/cstdint:40,
                 from ../src/base.h:14,
                 from ../src/options.h:14,
                 from ../src/log.h:14,
                 from ../src/pty.cc:21:
/usr/include/features.h:319:10: note: this is the location of the previous definition
  319 | # define _POSIX_C_SOURCE        202405L
      |          ^~~~~~~~~~~~~~~
../src/pty.cc:29:9: error: ‘_XOPEN_SOURCE’ redefined [-Werror]
   29 | #define _XOPEN_SOURCE 700
      |         ^~~~~~~~~~~~~
/usr/include/features.h:234:10: note: this is the location of the previous definition
  234 | # define _XOPEN_SOURCE  800
      |          ^~~~~~~~~~~~~
cc1plus: all warnings being treated as errors

Waf: Leaving directory `/startdir/src/zutty/build'
Build failed
 -> task in 'zutty' failed with exit status 1: 
	{task 139145298631312: cxx pty.cc -> pty.cc.1.o}
['/usr/bin/g++', '-march=x86-64-v4', '-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', '-Wp,-D_GLIBCXX_ASSERTIONS', '-g', '-ffile-prefix-map=/startdir/src=/usr/src/debug/zutty', '-flto=auto', '-falign-functions=32', '-std=c++14', '-fno-omit-frame-pointer', '-fsigned-char', '-Wall', '-Wextra', '-Wsign-compare', '-Wno-unused-parameter', '-DZUTTY_VERSION="0.16-dirty"', '-DLINUX', '-Werror', '-O3', '-flto', '-Isrc/shader', '-I../src/shader', '-I/usr/include/freetype2', '-I/usr/include/libpng16', '-I/usr/include/uuid', '-DHAVE_FT=1', '-DHAVE_XMU=1', '-DHAVE_EGL_EGL_H=1', '-DHAVE_GLES3_GL31_H=1', '../src/pty.cc', '-c', '-o/startdir/src/zutty/build/src/pty.cc.1.o']
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_b8e1fff2-666e-4f5a-bfd7-2e8a65051916/build
