D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
Installing /home/pterjan/rpmbuild/SRPMS/hiawatha-10.9-8.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.STuOJV
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Q0ZwYM
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build
+ rm -rf hiawatha-10.9
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/hiawatha-10.9.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd hiawatha-10.9
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/hiawatha-10.7-mbedtls-fix.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/hiawatha-10.9-mbedtls-fix.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ rm -rf mbedtls
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.u7R8VS
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd hiawatha-10.9
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ /usr/bin/cmake -Wno-dev -S . -B build -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_LIBDIR:PATH=lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLIB_SUFFIX=64 -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON '-DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed  -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF -DENABLE_MONITOR:BOOL=ON -DCMAKE_SKIP_RPATH:BOOL=OFF -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=var -DCMAKE_INSTALL_BINDIR:PATH=/usr/bin -DCMAKE_INSTALL_SBINDIR:PATH=/usr/sbin -DCMAKE_INSTALL_MANDIR:PATH=/usr/share/man -DLOG_DIR=/var/log/hiawatha -DPID_DIR=/run -DWORK_DIR=/var/lib/hiawatha -DENABLE_CACHE=On -DENABLE_IPV6=On -DENABLE_RPROXY=On -DENABLE_SSL=On -DENABLE_TOMAHAWK=On -DENABLE_TOOLKIT=On -DENABLE_XSLT=On -DENABLE_ZLIB_SUPPORT=On -DUSE_SYSTEM_MBEDTLS=On
-- The C compiler identification is GNU 15.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found LibXml2: /usr/lib64/libxml2.so (found version "2.13.8")
-- Found LibXslt: /usr/lib64/libxslt.so (found version "1.1.43")
-- Found ZLIB: /usr/lib64/libz.so (found version "1.3.1")
-- Looking for crypt.h
-- Looking for crypt.h - found
-- Looking for arpa/inet.h
-- Looking for arpa/inet.h - found
-- Looking for include files sys/types.h, netinet/in.h
-- Looking for include files sys/types.h, netinet/in.h - found
-- Looking for include files sys/types.h, netinet/tcp.h
-- Looking for include files sys/types.h, netinet/tcp.h - found
-- Looking for rpcsvc/crypt.h
-- Looking for rpcsvc/crypt.h - not found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for unsetenv
-- Looking for unsetenv - found
-- Looking for clearenv
-- Looking for clearenv - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Looking for strnstr
-- Looking for strnstr - not found
-- Looking for strcasestr
-- Looking for strcasestr - found
-- Looking for strncasestr
-- Looking for strncasestr - not found
-- Looking for crypt_r in crypt
-- Looking for crypt_r in crypt - found
-- Looking for crypt in crypt
-- Looking for crypt in crypt - found
-- Looking for gzdopen in /usr/lib64/libz.so
-- Looking for gzdopen in /usr/lib64/libz.so - found
-- Looking for SO_ACCEPTFILTER
-- Looking for SO_ACCEPTFILTER - not found
CMake Warning at CMakeLists.txt:102 (message):
  Make sure the mbed TLS shared library has been built with the
  MBEDTLS_THREADING_PTHREAD and MBEDTLS_THREADING_C flags set.  Otherwise, it
  may crash the Hiawatha webserver.


-- Configuring done (4.3s)
-- Generating done (0.0s)
CMake Warning:
  Manually-specified variables were not used by the project:

    BUILD_STATIC_LIBS
    CMAKE_CXX_FLAGS_RELEASE
    CMAKE_CXX_FLAGS_RELWITHDEBINFO
    CMAKE_C_FLAGS_RELEASE
    CMAKE_INSTALL_DO_STRIP
    ENABLE_SSL
    ENABLE_ZLIB_SUPPORT
    INCLUDE_INSTALL_DIR
    LIB_SUFFIX
    SHARE_INSTALL_PREFIX
    SYSCONF_INSTALL_DIR


-- Build files have been written to: /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build
+ /usr/bin/cmake --build build -j16 --verbose
Change Dir: '/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build'

Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j16
/usr/bin/cmake -S/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9 -B/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build/CMakeFiles /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build//CMakeFiles/progress.marks
/usr/bin/gmake  -f CMakeFiles/Makefile2 all
gmake[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build'
/usr/bin/gmake  -f CMakeFiles/cgi-wrapper.dir/build.make CMakeFiles/cgi-wrapper.dir/depend
/usr/bin/gmake  -f CMakeFiles/hiawatha.dir/build.make CMakeFiles/hiawatha.dir/depend
/usr/bin/gmake  -f CMakeFiles/ssi-cgi.dir/build.make CMakeFiles/ssi-cgi.dir/depend
/usr/bin/gmake  -f CMakeFiles/wigwam.dir/build.make CMakeFiles/wigwam.dir/depend
gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build'
cd /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9 /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9 /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build/CMakeFiles/ssi-cgi.dir/DependInfo.cmake "--color="
gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build'
cd /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9 /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9 /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build/CMakeFiles/wigwam.dir/DependInfo.cmake "--color="
gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build'
cd /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9 /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9 /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build/CMakeFiles/cgi-wrapper.dir/DependInfo.cmake "--color="
gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build'
cd /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9 /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9 /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build/CMakeFiles/hiawatha.dir/DependInfo.cmake "--color="
gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build'
gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build'
gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build'
/usr/bin/gmake  -f CMakeFiles/wigwam.dir/build.make CMakeFiles/wigwam.dir/build
/usr/bin/gmake  -f CMakeFiles/cgi-wrapper.dir/build.make CMakeFiles/cgi-wrapper.dir/build
gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build'
gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build'
gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build'
/usr/bin/gmake  -f CMakeFiles/hiawatha.dir/build.make CMakeFiles/hiawatha.dir/build
/usr/bin/gmake  -f CMakeFiles/ssi-cgi.dir/build.make CMakeFiles/ssi-cgi.dir/build
gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build'
gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build'
[  1%] Building C object CMakeFiles/cgi-wrapper.dir/src/memdbg.c.o
[  3%] Building C object CMakeFiles/cgi-wrapper.dir/src/alternative.c.o
[  5%] Building C object CMakeFiles/cgi-wrapper.dir/src/libstr.c.o
[  9%] Building C object CMakeFiles/cgi-wrapper.dir/src/cgi-wrapper.c.o
[  9%] Building C object CMakeFiles/wigwam.dir/src/filehashes.c.o
[ 10%] Building C object CMakeFiles/wigwam.dir/src/ip.c.o
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/cgi-wrapper.dir/src/alternative.c.o -MF CMakeFiles/cgi-wrapper.dir/src/alternative.c.o.d -o CMakeFiles/cgi-wrapper.dir/src/alternative.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/alternative.c
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/wigwam.dir/src/filehashes.c.o -MF CMakeFiles/wigwam.dir/src/filehashes.c.o.d -o CMakeFiles/wigwam.dir/src/filehashes.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/filehashes.c
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/wigwam.dir/src/ip.c.o -MF CMakeFiles/wigwam.dir/src/ip.c.o.d -o CMakeFiles/wigwam.dir/src/ip.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/ip.c
[ 14%] Building C object CMakeFiles/wigwam.dir/src/libfs.c.o
[ 14%] Building C object CMakeFiles/wigwam.dir/src/alternative.c.o
[ 16%] Building C object CMakeFiles/hiawatha.dir/src/cache.c.o
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/cgi-wrapper.dir/src/cgi-wrapper.c.o -MF CMakeFiles/cgi-wrapper.dir/src/cgi-wrapper.c.o.d -o CMakeFiles/cgi-wrapper.dir/src/cgi-wrapper.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/cgi-wrapper.c
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/wigwam.dir/src/libfs.c.o -MF CMakeFiles/wigwam.dir/src/libfs.c.o.d -o CMakeFiles/wigwam.dir/src/libfs.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/libfs.c
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/wigwam.dir/src/alternative.c.o -MF CMakeFiles/wigwam.dir/src/alternative.c.o.d -o CMakeFiles/wigwam.dir/src/alternative.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/alternative.c
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/hiawatha.dir/src/cache.c.o -MF CMakeFiles/hiawatha.dir/src/cache.c.o.d -o CMakeFiles/hiawatha.dir/src/cache.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/cache.c
[ 18%] Building C object CMakeFiles/ssi-cgi.dir/src/ip.c.o
[ 20%] Building C object CMakeFiles/cgi-wrapper.dir/src/userconfig.c.o
[ 21%] Building C object CMakeFiles/cgi-wrapper.dir/src/libfs.c.o
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/ssi-cgi.dir/src/ip.c.o -MF CMakeFiles/ssi-cgi.dir/src/ip.c.o.d -o CMakeFiles/ssi-cgi.dir/src/ip.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/ip.c
[ 25%] Building C object CMakeFiles/ssi-cgi.dir/src/alternative.c.o
[ 27%] Building C object CMakeFiles/wigwam.dir/src/liblist.c.o
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/ssi-cgi.dir/src/alternative.c.o -MF CMakeFiles/ssi-cgi.dir/src/alternative.c.o.d -o CMakeFiles/ssi-cgi.dir/src/alternative.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/alternative.c
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/wigwam.dir/src/liblist.c.o -MF CMakeFiles/wigwam.dir/src/liblist.c.o.d -o CMakeFiles/wigwam.dir/src/liblist.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/liblist.c
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/cgi-wrapper.dir/src/memdbg.c.o -MF CMakeFiles/cgi-wrapper.dir/src/memdbg.c.o.d -o CMakeFiles/cgi-wrapper.dir/src/memdbg.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/memdbg.c
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/cgi-wrapper.dir/src/libfs.c.o -MF CMakeFiles/cgi-wrapper.dir/src/libfs.c.o.d -o CMakeFiles/cgi-wrapper.dir/src/libfs.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/libfs.c
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/cgi-wrapper.dir/src/libstr.c.o -MF CMakeFiles/cgi-wrapper.dir/src/libstr.c.o.d -o CMakeFiles/cgi-wrapper.dir/src/libstr.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/libstr.c
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/cgi-wrapper.dir/src/userconfig.c.o -MF CMakeFiles/cgi-wrapper.dir/src/userconfig.c.o.d -o CMakeFiles/cgi-wrapper.dir/src/userconfig.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/userconfig.c
[ 29%] Building C object CMakeFiles/wigwam.dir/src/libstr.c.o
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/wigwam.dir/src/libstr.c.o -MF CMakeFiles/wigwam.dir/src/libstr.c.o.d -o CMakeFiles/wigwam.dir/src/libstr.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/libstr.c
[ 29%] Building C object CMakeFiles/hiawatha.dir/src/alternative.c.o
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/hiawatha.dir/src/alternative.c.o -MF CMakeFiles/hiawatha.dir/src/alternative.c.o.d -o CMakeFiles/hiawatha.dir/src/alternative.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/alternative.c
[ 30%] Building C object CMakeFiles/wigwam.dir/src/memdbg.c.o
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/wigwam.dir/src/memdbg.c.o -MF CMakeFiles/wigwam.dir/src/memdbg.c.o.d -o CMakeFiles/wigwam.dir/src/memdbg.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/memdbg.c
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/cgi-wrapper.c: In function 'main':
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/cgi-wrapper.c:482:41: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
  482 |                         signal(SIGALRM, ALRM_handler);
      |                                         ^~~~~~~~~~~~
      |                                         |
      |                                         void (*)(void)
In file included from /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/cgi-wrapper.c:23:
/usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)'
   88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
      |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/cgi-wrapper.c:43:6: note: 'ALRM_handler' declared here
   43 | void ALRM_handler() {
      |      ^~~~~~~~~~~~
/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
[ 32%] Building C object CMakeFiles/ssi-cgi.dir/src/libfs.c.o
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/ssi-cgi.dir/src/libfs.c.o -MF CMakeFiles/ssi-cgi.dir/src/libfs.c.o.d -o CMakeFiles/ssi-cgi.dir/src/libfs.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/libfs.c
[ 34%] Building C object CMakeFiles/hiawatha.dir/src/cgi.c.o
[ 36%] Building C object CMakeFiles/hiawatha.dir/src/challenge.c.o
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/hiawatha.dir/src/cgi.c.o -MF CMakeFiles/hiawatha.dir/src/cgi.c.o.d -o CMakeFiles/hiawatha.dir/src/cgi.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/cgi.c
gmake[2]: *** [CMakeFiles/cgi-wrapper.dir/build.make:96: CMakeFiles/cgi-wrapper.dir/src/cgi-wrapper.c.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
[ 38%] Building C object CMakeFiles/wigwam.dir/src/toolkit.c.o
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/hiawatha.dir/src/challenge.c.o -MF CMakeFiles/hiawatha.dir/src/challenge.c.o.d -o CMakeFiles/hiawatha.dir/src/challenge.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/challenge.c
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/wigwam.dir/src/toolkit.c.o -MF CMakeFiles/wigwam.dir/src/toolkit.c.o.d -o CMakeFiles/wigwam.dir/src/toolkit.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/toolkit.c
[ 40%] Building C object CMakeFiles/wigwam.dir/src/wigwam.c.o
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/wigwam.dir/src/wigwam.c.o -MF CMakeFiles/wigwam.dir/src/wigwam.c.o.d -o CMakeFiles/wigwam.dir/src/wigwam.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/wigwam.c
[ 43%] Building C object CMakeFiles/ssi-cgi.dir/src/liblist.c.o
[ 43%] Building C object CMakeFiles/hiawatha.dir/src/client.c.o
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/hiawatha.dir/src/client.c.o -MF CMakeFiles/hiawatha.dir/src/client.c.o.d -o CMakeFiles/hiawatha.dir/src/client.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/client.c
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/ssi-cgi.dir/src/liblist.c.o -MF CMakeFiles/ssi-cgi.dir/src/liblist.c.o.d -o CMakeFiles/ssi-cgi.dir/src/liblist.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/liblist.c
[ 45%] Building C object CMakeFiles/hiawatha.dir/src/envir.c.o
[ 47%] Building C object CMakeFiles/ssi-cgi.dir/src/libstr.c.o
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/hiawatha.dir/src/envir.c.o -MF CMakeFiles/hiawatha.dir/src/envir.c.o.d -o CMakeFiles/hiawatha.dir/src/envir.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/envir.c
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/ssi-cgi.dir/src/libstr.c.o -MF CMakeFiles/ssi-cgi.dir/src/libstr.c.o.d -o CMakeFiles/ssi-cgi.dir/src/libstr.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/libstr.c
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/cache.c: In function 'make_url.isra':
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/cache.c:144:9: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation]
  144 |         strncpy(url + len, request_uri, len_ru + 1);
      |         ^
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/cache.c:138:18: note: length computed here
  138 |         len_ru = strlen(request_uri);
      |                  ^~~~~~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/libfs.c: In function 'fopen_neighbour':
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/libfs.c:570:9: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation]
  570 |         strncpy(file + len_nb, filename, len_fn + 1);
      |         ^
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/libfs.c:564:18: note: length computed here
  564 |         len_fn = strlen(filename);
      |                  ^~~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/libfs.c: In function 'fopen_neighbour':
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/libfs.c:570:9: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation]
  570 |         strncpy(file + len_nb, filename, len_fn + 1);
      |         ^
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/libfs.c:564:18: note: length computed here
  564 |         len_fn = strlen(filename);
      |                  ^~~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/libfs.c: In function 'fopen_neighbour':
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/libfs.c:570:9: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation]
  570 |         strncpy(file + len_nb, filename, len_fn + 1);
      |         ^
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/libfs.c:564:18: note: length computed here
  564 |         len_fn = strlen(filename);
      |                  ^~~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/challenge.c: In function 'send_cookie_tail':
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/challenge.c:157:26: warning: '%d' directive writing between 1 and 11 bytes into a region of size 10 [-Wformat-overflow=]
  157 |         sprintf(conlen, "%d\r\n\r\n", content_length);
      |                          ^~
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/challenge.c:157:25: note: directive argument in the range [-2147483648, 99999]
  157 |         sprintf(conlen, "%d\r\n\r\n", content_length);
      |                         ^~~~~~~~~~~~
In file included from /usr/include/stdio.h:970,
                 from /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/challenge.c:18:
In function 'sprintf',
    inlined from 'send_cookie_tail' at /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/challenge.c:157:2:
/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 6 and 16 bytes into a destination of size 10
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
[ 49%] Building C object CMakeFiles/ssi-cgi.dir/src/memdbg.c.o
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/ssi-cgi.dir/src/memdbg.c.o -MF CMakeFiles/ssi-cgi.dir/src/memdbg.c.o.d -o CMakeFiles/ssi-cgi.dir/src/memdbg.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/memdbg.c
[ 50%] Building C object CMakeFiles/hiawatha.dir/src/filehashes.c.o
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/hiawatha.dir/src/filehashes.c.o -MF CMakeFiles/hiawatha.dir/src/filehashes.c.o.d -o CMakeFiles/hiawatha.dir/src/filehashes.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/filehashes.c
[ 52%] Building C object CMakeFiles/ssi-cgi.dir/src/ssi-cgi.c.o
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/ssi-cgi.dir/src/ssi-cgi.c.o -MF CMakeFiles/ssi-cgi.dir/src/ssi-cgi.c.o.d -o CMakeFiles/ssi-cgi.dir/src/ssi-cgi.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/ssi-cgi.c
gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build'
gmake[1]: *** [CMakeFiles/Makefile2:99: CMakeFiles/cgi-wrapper.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
[ 56%] Building C object CMakeFiles/hiawatha.dir/src/http.c.o
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/hiawatha.dir/src/http.c.o -MF CMakeFiles/hiawatha.dir/src/http.c.o.d -o CMakeFiles/hiawatha.dir/src/http.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/http.c
[ 58%] Building C object CMakeFiles/hiawatha.dir/src/ip.c.o
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/hiawatha.dir/src/ip.c.o -MF CMakeFiles/hiawatha.dir/src/ip.c.o.d -o CMakeFiles/hiawatha.dir/src/ip.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/ip.c
[ 60%] Building C object CMakeFiles/hiawatha.dir/src/httpauth.c.o
[ 61%] Building C object CMakeFiles/hiawatha.dir/src/libfs.c.o
[ 63%] Building C object CMakeFiles/hiawatha.dir/src/liblist.c.o
[ 63%] Building C object CMakeFiles/hiawatha.dir/src/hiawatha.c.o
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/hiawatha.dir/src/hiawatha.c.o -MF CMakeFiles/hiawatha.dir/src/hiawatha.c.o.d -o CMakeFiles/hiawatha.dir/src/hiawatha.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/hiawatha.c
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/hiawatha.dir/src/httpauth.c.o -MF CMakeFiles/hiawatha.dir/src/httpauth.c.o.d -o CMakeFiles/hiawatha.dir/src/httpauth.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/httpauth.c
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/hiawatha.dir/src/libfs.c.o -MF CMakeFiles/hiawatha.dir/src/libfs.c.o.d -o CMakeFiles/hiawatha.dir/src/libfs.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/libfs.c
[ 65%] Building C object CMakeFiles/hiawatha.dir/src/libstr.c.o
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/hiawatha.dir/src/liblist.c.o -MF CMakeFiles/hiawatha.dir/src/liblist.c.o.d -o CMakeFiles/hiawatha.dir/src/liblist.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/liblist.c
[ 67%] Building C object CMakeFiles/hiawatha.dir/src/log.c.o
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/hiawatha.dir/src/libstr.c.o -MF CMakeFiles/hiawatha.dir/src/libstr.c.o.d -o CMakeFiles/hiawatha.dir/src/libstr.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/libstr.c
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/hiawatha.dir/src/log.c.o -MF CMakeFiles/hiawatha.dir/src/log.c.o.d -o CMakeFiles/hiawatha.dir/src/log.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/log.c
[ 69%] Building C object CMakeFiles/hiawatha.dir/src/memdbg.c.o
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/hiawatha.dir/src/memdbg.c.o -MF CMakeFiles/hiawatha.dir/src/memdbg.c.o.d -o CMakeFiles/hiawatha.dir/src/memdbg.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/memdbg.c
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/hiawatha.c: In function 'run_webserver':
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/hiawatha.c:844:32: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
  844 |                 signal(SIGINT, TERM_handler);
      |                                ^~~~~~~~~~~~
      |                                |
      |                                void (*)(void)
In file included from /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/hiawatha.c:23:
/usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)'
   88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
      |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/hiawatha.c:307:6: note: 'TERM_handler' declared here
  307 | void TERM_handler() {
      |      ^~~~~~~~~~~~
/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/hiawatha.c:855:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
  855 |         signal(SIGSEGV, SEGV_handler);
      |                         ^~~~~~~~~~~~
      |                         |
      |                         void (*)(void)
/usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)'
   88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
      |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/hiawatha.c:298:6: note: 'SEGV_handler' declared here
  298 | void SEGV_handler() {
      |      ^~~~~~~~~~~~
/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/hiawatha.c:856:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
  856 |         signal(SIGTERM, TERM_handler);
      |                         ^~~~~~~~~~~~
      |                         |
      |                         void (*)(void)
/usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)'
   88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
      |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/hiawatha.c:307:6: note: 'TERM_handler' declared here
  307 | void TERM_handler() {
      |      ^~~~~~~~~~~~
/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/hiawatha.c:857:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
  857 |         signal(SIGHUP,  HUP_handler);
      |                         ^~~~~~~~~~~
      |                         |
      |                         void (*)(void)
/usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)'
   88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
      |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/hiawatha.c:311:6: note: 'HUP_handler' declared here
  311 | void HUP_handler() {
      |      ^~~~~~~~~~~
/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/hiawatha.c:858:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
  858 |         signal(SIGUSR1, USR1_handler);
      |                         ^~~~~~~~~~~~
      |                         |
      |                         void (*)(void)
/usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)'
   88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
      |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/hiawatha.c:315:6: note: 'USR1_handler' declared here
  315 | void USR1_handler() {
      |      ^~~~~~~~~~~~
/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/hiawatha.c:860:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
  860 |         signal(SIGUSR2, USR2_handler);
      |                         ^~~~~~~~~~~~
      |                         |
      |                         void (*)(void)
/usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)'
   88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
      |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/hiawatha.c:320:6: note: 'USR2_handler' declared here
  320 | void USR2_handler() {
      |      ^~~~~~~~~~~~
/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
[ 70%] Building C object CMakeFiles/hiawatha.dir/src/mimetype.c.o
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/hiawatha.dir/src/mimetype.c.o -MF CMakeFiles/hiawatha.dir/src/mimetype.c.o.d -o CMakeFiles/hiawatha.dir/src/mimetype.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/mimetype.c
[ 74%] Building C object CMakeFiles/hiawatha.dir/src/rproxy.c.o
[ 76%] Building C object CMakeFiles/hiawatha.dir/src/serverconfig.c.o
[ 78%] Building C object CMakeFiles/hiawatha.dir/src/send.c.o
[ 78%] Building C object CMakeFiles/hiawatha.dir/src/monitor.c.o
gmake[2]: *** [CMakeFiles/hiawatha.dir/build.make:180: CMakeFiles/hiawatha.dir/src/hiawatha.c.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/hiawatha.dir/src/monitor.c.o -MF CMakeFiles/hiawatha.dir/src/monitor.c.o.d -o CMakeFiles/hiawatha.dir/src/monitor.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/monitor.c
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/hiawatha.dir/src/rproxy.c.o -MF CMakeFiles/hiawatha.dir/src/rproxy.c.o.d -o CMakeFiles/hiawatha.dir/src/rproxy.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/rproxy.c
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/hiawatha.dir/src/send.c.o -MF CMakeFiles/hiawatha.dir/src/send.c.o.d -o CMakeFiles/hiawatha.dir/src/send.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/send.c
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/hiawatha.dir/src/serverconfig.c.o -MF CMakeFiles/hiawatha.dir/src/serverconfig.c.o.d -o CMakeFiles/hiawatha.dir/src/serverconfig.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/serverconfig.c
[ 80%] Building C object CMakeFiles/hiawatha.dir/src/session.c.o
/usr/bin/gcc  -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build -I/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/nghttp2/lib/includes -I/usr/include/libxml2 -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/hiawatha.dir/src/session.c.o -MF CMakeFiles/hiawatha.dir/src/session.c.o.d -o CMakeFiles/hiawatha.dir/src/session.c.o -c /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/session.c
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/libfs.c: In function 'fopen_neighbour':
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/libfs.c:570:9: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation]
  570 |         strncpy(file + len_nb, filename, len_fn + 1);
      |         ^
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/libfs.c:564:18: note: length computed here
  564 |         len_fn = strlen(filename);
      |                  ^~~~~~~~~~~~~~~~
[ 81%] Linking C executable wigwam
/usr/bin/cmake -E cmake_link_script CMakeFiles/wigwam.dir/link.txt --verbose=1
[ 83%] Linking C executable ssi-cgi
/usr/bin/cmake -E cmake_link_script CMakeFiles/ssi-cgi.dir/link.txt --verbose=1
/usr/bin/gcc -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic -Wl,--dependency-file=CMakeFiles/wigwam.dir/link.d CMakeFiles/wigwam.dir/src/alternative.c.o CMakeFiles/wigwam.dir/src/filehashes.c.o CMakeFiles/wigwam.dir/src/ip.c.o CMakeFiles/wigwam.dir/src/libfs.c.o CMakeFiles/wigwam.dir/src/libstr.c.o CMakeFiles/wigwam.dir/src/liblist.c.o CMakeFiles/wigwam.dir/src/memdbg.c.o CMakeFiles/wigwam.dir/src/toolkit.c.o CMakeFiles/wigwam.dir/src/wigwam.c.o -o wigwam  -lcrypt -lz -lmbedtls -lmbedx509 -lmbedcrypto
gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build'
[ 83%] Built target wigwam
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/rproxy.c: In function 'init_rproxy_module':
/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/rproxy.c:65:37: warning: '%s' directive writing up to 32 bytes into a region of size 13 [-Wformat-overflow=]
   65 |         char str[50], *format = "%s %s\r\n";
      |                                     ^~
......
   83 |         sprintf(rproxy_header, format, rproxy_id_key, rproxy_id);
      |                                                       ~~~~~~~~~
In file included from /usr/include/stdio.h:970,
                 from /usr/include/mbedtls/platform.h:66,
                 from /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/rproxy.h:22,
                 from /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/rproxy.c:29:
In function 'sprintf',
    inlined from 'init_rproxy_module' at /home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/src/rproxy.c:83:2:
/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 25 and 57 bytes into a destination of size 35
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
/usr/bin/gcc -O2 -Wall -Wextra -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic -Wl,--dependency-file=CMakeFiles/ssi-cgi.dir/link.d "CMakeFiles/ssi-cgi.dir/src/alternative.c.o" "CMakeFiles/ssi-cgi.dir/src/ip.c.o" "CMakeFiles/ssi-cgi.dir/src/libfs.c.o" "CMakeFiles/ssi-cgi.dir/src/liblist.c.o" "CMakeFiles/ssi-cgi.dir/src/libstr.c.o" "CMakeFiles/ssi-cgi.dir/src/memdbg.c.o" "CMakeFiles/ssi-cgi.dir/src/ssi-cgi.c.o" -o ssi-cgi  -lz
gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build'
[ 83%] Built target ssi-cgi
gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build'
gmake[1]: *** [CMakeFiles/Makefile2:131: CMakeFiles/hiawatha.dir/all] Error 2
gmake[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/hiawatha-10.9-build/hiawatha-10.9/build'
gmake: *** [Makefile:159: all] Error 2

error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.u7R8VS (%build)

RPM build errors:
    Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.u7R8VS (%build)
I: [iurt_root_command] ERROR: chroot