Build log:
Mock Version: 5.4
Mock Version: 5.4
Mock Version: 5.4
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target i686 --nodeps /builddir/build/SPECS/pipewalker.spec'], chrootPath='/var/lib/mock/f40-build-48804365-5801191/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f3c9047ef50>timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.j33y1dt0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.j33y1dt0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '90fe1ca742a14dbfac261bc7be79a20d', '-D', '/var/lib/mock/f40-build-48804365-5801191/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.j33y1dt0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target i686 --nodeps /builddir/build/SPECS/pipewalker.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: i686
Building for target i686
setting SOURCE_DATE_EPOCH=1707177600
Wrote: /builddir/build/SRPMS/pipewalker-1.0-1.fc40.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/pipewalker.spec'], chrootPath='/var/lib/mock/f40-build-48804365-5801191/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f3c9047ef50>timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.j33y1dt0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.j33y1dt0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '53a1d31e4d7043719eca07cca893a980', '-D', '/var/lib/mock/f40-build-48804365-5801191/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.j33y1dt0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/pipewalker.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: i686
Building for target i686
setting SOURCE_DATE_EPOCH=1707177600
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bNctVB
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf pipewalker-1.0
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pipewalker-v1.0.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd pipewalker-1.0
+ rm -rf /builddir/build/BUILD/pipewalker-1.0-SPECPARTS
+ /usr/bin/mkdir -p /builddir/build/BUILD/pipewalker-1.0-SPECPARTS
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-no-games-subdir-for-data.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ sed -e 's/^Icon=pipewalker\.xpm$/Icon=pipewalker/' -i extra/pipewalker.desktop
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0tnDyA
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd pipewalker-1.0
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ /usr/bin/meson setup --buildtype=plain --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . redhat-linux-build
The Meson build system
Version: 1.3.1
Source dir: /builddir/build/BUILD/pipewalker-1.0
Build dir: /builddir/build/BUILD/pipewalker-1.0/redhat-linux-build
Build type: native build
Project name: pipewalker
Project version: 0.0.0
C++ compiler for the host machine: g++ (gcc 14.0.1 "g++ (GCC) 14.0.1 20240127 (Red Hat 14.0.1-0)")
C++ linker for the host machine: g++ ld.bfd 2.41-32
Host machine cpu family: x86
Host machine cpu: i686
Program git found: NO
Found pkg-config: YES (/usr/bin/pkg-config) 1.9.5
Run-time dependency sdl2 found: YES 2.28.5
Run-time dependency sdl2_image found: YES 2.8.2
Configuring buildcfg.h using configuration
Build targets in project: 1
pipewalker 0.0.0
  User defined options
    auto_features : enabled
    bindir        : /usr/bin
    buildtype     : plain
    datadir       : /usr/share
    includedir    : /usr/include
    infodir       : /usr/share/info
    libdir        : /usr/lib
    libexecdir    : /usr/libexec
    localedir     : /usr/share/locale
    localstatedir : /var
    mandir        : /usr/share/man
    prefix        : /usr
    sbindir       : /usr/sbin
    sharedstatedir: /var/lib
    sysconfdir    : /etc
    wrap_mode     : nodownload
Found ninja-1.11.1 at /usr/bin/ninja
+ /usr/bin/meson compile -C redhat-linux-build -j 48 --verbose
ninja: Entering directory `/builddir/build/BUILD/pipewalker-1.0/redhat-linux-build'
[1/12] g++ -Ipipewalker.p -I. -I.. -I/usr/include/SDL2 -I/usr/include/webp -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -DWITH_GZFILEOP -D_REENTRANT -MD -MQ pipewalker.p/src_mtrand.cpp.o -MF pipewalker.p/src_mtrand.cpp.o.d -o pipewalker.p/src_mtrand.cpp.o -c ../src/mtrand.cpp
[2/12] g++ -Ipipewalker.p -I. -I.. -I/usr/include/SDL2 -I/usr/include/webp -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -DWITH_GZFILEOP -D_REENTRANT -MD -MQ pipewalker.p/src_level.cpp.o -MF pipewalker.p/src_level.cpp.o.d -o pipewalker.p/src_level.cpp.o -c ../src/level.cpp
FAILED: pipewalker.p/src_level.cpp.o 
g++ -Ipipewalker.p -I. -I.. -I/usr/include/SDL2 -I/usr/include/webp -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -DWITH_GZFILEOP -D_REENTRANT -MD -MQ pipewalker.p/src_level.cpp.o -MF pipewalker.p/src_level.cpp.o.d -o pipewalker.p/src_level.cpp.o -c ../src/level.cpp
../src/level.cpp: In member function ‘void Level::generate()’:
../src/level.cpp:18:27: error: no matching function for call to ‘get(long unsigned int, size_t)’
   18 |     sender.x = mtrand::get(1ul, width - 1);
      |                ~~~~~~~~~~~^~~~~~~~~~~~~~~~
In file included from ../src/level.cpp:7:
../src/mtrand.hpp:29:25: note: candidate: ‘template<class T> T mtrand::get(T, T)’
   29 | template <typename T> T get(T min_val, T max_val)
      |                         ^~~
../src/mtrand.hpp:29:25: note:   template argument deduction/substitution failed:
../src/level.cpp:18:27: note:   deduced conflicting types for parameter ‘T’ (‘long unsigned int’ and ‘unsigned int’)
   18 |     sender.x = mtrand::get(1ul, width - 1);
      |                ~~~~~~~~~~~^~~~~~~~~~~~~~~~
../src/mtrand.hpp:21:10: note: candidate: ‘uint32_t mtrand::get()’
   21 | uint32_t get();
      |          ^~~
../src/mtrand.hpp:21:10: note:   candidate expects 0 arguments, 2 provided
../src/level.cpp:19:27: error: no matching function for call to ‘get(long unsigned int, size_t)’
   19 |     sender.y = mtrand::get(1ul, height - 1);
      |                ~~~~~~~~~~~^~~~~~~~~~~~~~~~~
../src/mtrand.hpp:29:25: note: candidate: ‘template<class T> T mtrand::get(T, T)’
   29 | template <typename T> T get(T min_val, T max_val)
      |                         ^~~
../src/mtrand.hpp:29:25: note:   template argument deduction/substitution failed:
../src/level.cpp:19:27: note:   deduced conflicting types for parameter ‘T’ (‘long unsigned int’ and ‘unsigned int’)
   19 |     sender.y = mtrand::get(1ul, height - 1);
      |                ~~~~~~~~~~~^~~~~~~~~~~~~~~~~
../src/mtrand.hpp:21:10: note: candidate: ‘uint32_t mtrand::get()’
   21 | uint32_t get();
      |          ^~~
../src/mtrand.hpp:21:10: note:   candidate expects 0 arguments, 2 provided
../src/level.cpp: In member function ‘void Level::add_reciever()’:
../src/level.cpp:149:42: error: no matching function for call to ‘get(long unsigned int, std::vector<Position>::size_type)’
  149 |     const size_t free_index = mtrand::get(0ul, free_cells.size());
      |                               ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
../src/mtrand.hpp:29:25: note: candidate: ‘template<class T> T mtrand::get(T, T)’
   29 | template <typename T> T get(T min_val, T max_val)
      |                         ^~~
../src/mtrand.hpp:29:25: note:   template argument deduction/substitution failed:
../src/level.cpp:149:42: note:   deduced conflicting types for parameter ‘T’ (‘long unsigned int’ and ‘unsigned int’)
  149 |     const size_t free_index = mtrand::get(0ul, free_cells.size());
      |                               ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
../src/mtrand.hpp:21:10: note: candidate: ‘uint32_t mtrand::get()’
   21 | uint32_t get();
      |          ^~~
../src/mtrand.hpp:21:10: note:   candidate expects 0 arguments, 2 provided
../src/level.cpp: In member function ‘bool Level::find_path(const Position&, std::set<Position>&, Path&) const’:
../src/level.cpp:179:46: error: no matching function for call to ‘get(long unsigned int, std::vector<Side>::size_type)’
  179 |             const size_t index0 = mtrand::get(0ul, sides.size());
      |                                   ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
../src/mtrand.hpp:29:25: note: candidate: ‘template<class T> T mtrand::get(T, T)’
   29 | template <typename T> T get(T min_val, T max_val)
      |                         ^~~
../src/mtrand.hpp:29:25: note:   template argument deduction/substitution failed:
../src/level.cpp:179:46: note:   deduced conflicting types for parameter ‘T’ (‘long unsigned int’ and ‘unsigned int’)
  179 |             const size_t index0 = mtrand::get(0ul, sides.size());
      |                                   ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
../src/mtrand.hpp:21:10: note: candidate: ‘uint32_t mtrand::get()’
   21 | uint32_t get();
      |          ^~~
../src/mtrand.hpp:21:10: note:   candidate expects 0 arguments, 2 provided
../src/level.cpp:180:46: error: no matching function for call to ‘get(long unsigned int, std::vector<Side>::size_type)’
  180 |             const size_t index1 = mtrand::get(0ul, sides.size());
      |                                   ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
../src/mtrand.hpp:29:25: note: candidate: ‘template<class T> T mtrand::get(T, T)’
   29 | template <typename T> T get(T min_val, T max_val)
      |                         ^~~
../src/mtrand.hpp:29:25: note:   template argument deduction/substitution failed:
../src/level.cpp:180:46: note:   deduced conflicting types for parameter ‘T’ (‘long unsigned int’ and ‘unsigned int’)
  180 |             const size_t index1 = mtrand::get(0ul, sides.size());
      |                                   ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
../src/mtrand.hpp:21:10: note: candidate: ‘uint32_t mtrand::get()’
   21 | uint32_t get();
      |          ^~~
../src/mtrand.hpp:21:10: note:   candidate expects 0 arguments, 2 provided
[3/12] g++ -Ipipewalker.p -I. -I.. -I/usr/include/SDL2 -I/usr/include/webp -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -DWITH_GZFILEOP -D_REENTRANT -MD -MQ pipewalker.p/src_firework.cpp.o -MF pipewalker.p/src_firework.cpp.o.d -o pipewalker.p/src_firework.cpp.o -c ../src/firework.cpp
[4/12] g++ -Ipipewalker.p -I. -I.. -I/usr/include/SDL2 -I/usr/include/webp -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -DWITH_GZFILEOP -D_REENTRANT -MD -MQ pipewalker.p/src_layout.cpp.o -MF pipewalker.p/src_layout.cpp.o.d -o pipewalker.p/src_layout.cpp.o -c ../src/layout.cpp
FAILED: pipewalker.p/src_layout.cpp.o 

/usr/include/c++/14/bits/stl_algobase.h:233:5: note: candidate: ‘template<class _Tp> const _Tp& std::min(const _Tp&, const _Tp&)’
  233 |     min(const _Tp& __a, const _Tp& __b)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:233:5: note:   template argument deduction/substitution failed:
../src/layout.cpp:46:31: note:   deduced conflicting types for parameter ‘const _Tp’ (‘long unsigned int’ and ‘size_t’ {aka ‘unsigned int’})
   46 |     size_t header_h = std::min(64ul, static_cast<size_t>(window.h) / 10);
      |                       ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/stl_algobase.h:281:5: note: candidate: ‘template<class _Tp, class _Compare> const _Tp& std::min(const _Tp&, const _Tp&, _Compare)’
  281 |     min(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:281:5: note:   candidate expects 3 arguments, 2 provided
In file included from /usr/include/c++/14/algorithm:61:
/usr/include/c++/14/bits/stl_algo.h:5679:5: note: candidate: ‘template<class _Tp> _Tp std::min(initializer_list<_Tp>)’
 5679 |     min(initializer_list<_Tp> __l)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5679:5: note:   candidate expects 1 argument, 2 provided
/usr/include/c++/14/bits/stl_algo.h:5689:5: note: candidate: ‘template<class _Tp, class _Compare> _Tp std::min(initializer_list<_Tp>, _Compare)’
 5689 |     min(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5689:5: note:   template argument deduction/substitution failed:
../src/layout.cpp:46:31: note:   mismatched types ‘std::initializer_list<_Tp>’ and ‘long unsigned int’
   46 |     size_t header_h = std::min(64ul, static_cast<size_t>(window.h) / 10);
      |                       ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[5/12] g++ -Ipipewalker.p -I. -I.. -I/usr/include/SDL2 -I/usr/include/webp -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -DWITH_GZFILEOP -D_REENTRANT -MD -MQ pipewalker.p/src_sound.cpp.o -MF pipewalker.p/src_sound.cpp.o.d -o pipewalker.p/src_sound.cpp.o -c ../src/sound.cpp
[6/12] g++ -Ipipewalker.p -I. -I.. -I/usr/include/SDL2 -I/usr/include/webp -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -DWITH_GZFILEOP -D_REENTRANT -MD -MQ pipewalker.p/src_cell.cpp.o -MF pipewalker.p/src_cell.cpp.o.d -o pipewalker.p/src_cell.cpp.o -c ../src/cell.cpp
[7/12] g++ -Ipipewalker.p -I. -I.. -I/usr/include/SDL2 -I/usr/include/webp -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -DWITH_GZFILEOP -D_REENTRANT -MD -MQ pipewalker.p/src_render.cpp.o -MF pipewalker.p/src_render.cpp.o.d -o pipewalker.p/src_render.cpp.o -c ../src/render.cpp
[8/12] g++ -Ipipewalker.p -I. -I.. -I/usr/include/SDL2 -I/usr/include/webp -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -DWITH_GZFILEOP -D_REENTRANT -MD -MQ pipewalker.p/src_skin.cpp.o -MF pipewalker.p/src_skin.cpp.o.d -o pipewalker.p/src_skin.cpp.o -c ../src/skin.cpp
[9/12] g++ -Ipipewalker.p -I. -I.. -I/usr/include/SDL2 -I/usr/include/webp -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -DWITH_GZFILEOP -D_REENTRANT -MD -MQ pipewalker.p/src_main.cpp.o -MF pipewalker.p/src_main.cpp.o.d -o pipewalker.p/src_main.cpp.o -c ../src/main.cpp
../src/main.cpp: In function ‘int main(int, char**)’:
../src/main.cpp:140:66: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘unsigned int’ [-Wformat=]
  140 |                 printf("  -i, --id=ID          set level Id (1-%ld)\n",
      |                                                                ~~^
      |                                                                  |
      |                                                                  long int
      |                                                                %d
  141 |                        Level::max_id);
      |                        ~~~~~~~~~~~~~                              
      |                               |
      |                               unsigned int
../src/main.cpp:142:67: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘unsigned int’ [-Wformat=]
  142 |                 printf("  -c, --width=COLUMNS  set level width (%ld-%ld)\n",
      |                                                                 ~~^
      |                                                                   |
      |                                                                   long int
      |                                                                 %d
  143 |                        Level::min_size, Level::max_size);
      |                        ~~~~~~~~~~~~~~~                             
      |                               |
      |                               unsigned int
../src/main.cpp:142:71: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘unsigned int’ [-Wformat=]
  142 |                 printf("  -c, --width=COLUMNS  set level width (%ld-%ld)\n",
      |                                                                     ~~^
      |                                                                       |
      |                                                                       long int
      |                                                                     %d
  143 |                        Level::min_size, Level::max_size);
      |                                         ~~~~~~~~~~~~~~~                
      |                                                |
      |                                                unsigned int
../src/main.cpp:144:68: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘unsigned int’ [-Wformat=]
  144 |                 printf("  -r, --height=ROWS    set level height (%ld-%ld)\n",
      |                                                                  ~~^
      |                                                                    |
      |                                                                    long int
      |                                                                  %d
  145 |                        Level::min_size, Level::max_size);
      |                        ~~~~~~~~~~~~~~~                              
      |                               |
      |                               unsigned int
../src/main.cpp:144:72: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘unsigned int’ [-Wformat=]
  144 |                 printf("  -r, --height=ROWS    set level height (%ld-%ld)\n",
      |                                                                      ~~^
      |                                                                        |
      |                                                                        long int
      |                                                                      %d
  145 |                        Level::min_size, Level::max_size);
      |                                         ~~~~~~~~~~~~~~~                 
      |                                                |
      |                                                unsigned int
[10/12] g++ -Ipipewalker.p -I. -I.. -I/usr/include/SDL2 -I/usr/include/webp -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -DWITH_GZFILEOP -D_REENTRANT -MD -MQ pipewalker.p/src_game.cpp.o -MF pipewalker.p/src_game.cpp.o.d -o pipewalker.p/src_game.cpp.o -c ../src/game.cpp
[11/12] g++ -Ipipewalker.p -I. -I.. -I/usr/include/SDL2 -I/usr/include/webp -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -DWITH_GZFILEOP -D_REENTRANT -MD -MQ pipewalker.p/src_state.cpp.o -MF pipewalker.p/src_state.cpp.o.d -o pipewalker.p/src_state.cpp.o -c ../src/state.cpp
ninja: build stopped: subcommand failed.
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -C /builddir/build/BUILD/pipewalker-1.0/redhat-linux-build -j 48 -v
error: Bad exit status from /var/tmp/rpm-tmp.0tnDyA (%build)
    Bad exit status from /var/tmp/rpm-tmp.0tnDyA (%build)
RPM build errors:
Child return code was: 1
EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 53a1d31e4d7043719eca07cca893a980 -D /var/lib/mock/f40-build-48804365-5801191/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.j33y1dt0:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"\' \'--setenv=PS1=<mock-chroot> \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/pipewalker.spec\'\n', 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
             ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 612, in do_with_status
    raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode)
mockbuild.exception.Error: Command failed: 
 # /usr/bin/systemd-nspawn -q -M 53a1d31e4d7043719eca07cca893a980 -D /var/lib/mock/f40-build-48804365-5801191/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.j33y1dt0:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007"' '--setenv=PS1=<mock-chroot> \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/pipewalker.spec'



Extracted relevant lines:
pipewalker.p/src_render.cpp.o -MF pipewalker.p/src_render.cpp.o.d -o pipewalker.p/src_render.cpp.o -c ../src/render.cpp
[8/12] g++ -Ipipewalker.p -I. -I.. -I/usr/include/SDL2 -I/usr/include/webp -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -DWITH_GZFILEOP -D_REENTRANT -MD -MQ pipewalker.p/src_skin.cpp.o -MF pipewalker.p/src_skin.cpp.o.d -o pipewalker.p/src_skin.cpp.o -c ../src/skin.cpp
[9/12] g++ -Ipipewalker.p -I. -I.. -I/usr/include/SDL2 -I/usr/include/webp -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -DWITH_GZFILEOP -D_REENTRANT -MD -MQ pipewalker.p/src_main.cpp.o -MF pipewalker.p/src_main.cpp.o.d -o pipewalker.p/src_main.cpp.o -c ../src/main.cpp
../src/main.cpp: In function ‘int main(int, char**)’:
../src/main.cpp:140:66: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘unsigned int’ [-Wformat=]
",
      |                                                                ~~^
      |                                                                  |
      |                                                                  long int
      |                                                                %d
      |                        ~~~~~~~~~~~~~                              
      |                               |
      |                               unsigned int
../src/main.cpp:142:67: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘unsigned int’ [-Wformat=]
  142 |                 printf("  -c, --width=COLUMNS  set level width (%ld-%ld)
",
      |                                                                 ~~^
      |                                                                   |
      |                        ~~~~~~~~~~~~~~~                             
      |                               |
      |                               unsigned int
../src/main.cpp:142:71: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘unsigned int’ [-Wformat=]
  142 |                 printf("  -c, --width=COLUMNS  set level width (%ld-%ld)
",
      |                                                                     ~~^
      |                                                                       |
      |                                                                       long int
      |                                                                     %d
  143 |                        Level::min_size, Level::max_size);
      |                                         ~~~~~~~~~~~~~~~                
      |                                                |
      |                                                unsigned int
../src/main.cpp:144:68: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘unsigned int’ [-Wformat=]
  144 |                 printf("  -r, --height=ROWS    set level height (%ld-%ld)
",
      |                                                                  ~~^
      |                                                                    |
      |                                                unsigned int
[10/12] g++ -Ipipewalker.p -I. -I.. -I/usr/include/SDL2 -I/usr/include/webp -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -DWITH_GZFILEOP -D_REENTRANT -MD -MQ pipewalker.p/src_game.cpp.o -MF pipewalker.p/src_game.cpp.o.d -o pipewalker.p/src_game.cpp.o -c ../src/game.cpp
[11/12] g++ -Ipipewalker.p -I. -I.. -I/usr/include/SDL2 -I/usr/include/webp -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -DWITH_GZFILEOP -D_REENTRANT -MD -MQ pipewalker.p/src_state.cpp.o -MF pipewalker.p/src_state.cpp.o.d -o pipewalker.p/src_state.cpp.o -c ../src/state.cpp
ninja: build stopped: subcommand failed.
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -C /builddir/build/BUILD/pipewalker-1.0/redhat-linux-build -j 48 -v
EXCEPTION: [Error('Command failed: 
 # /usr/bin/systemd-nspawn -q -M 53a1d31e4d7043719eca07cca893a980 -D /var/lib/mock/f40-build-48804365-5801191/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.j33y1dt0:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"\' \'--setenv=PS1=<mock-chroot> \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/pipewalker.spec\'
', 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace
  File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 612, in do_with_status
    raise exception.Error("Command failed: 
 # %s
%s" % (cmd_pretty(command, env), output), child.returncode)
mockbuild.exception.Error: Command failed: 
 # /usr/bin/systemd-nspawn -q -M 53a1d31e4d7043719eca07cca893a980 -D /var/lib/mock/f40-build-48804365-5801191/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.j33y1dt0:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007"' '--setenv=PS1=<mock-chroot> \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/pipewalker.spec'