Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/toppler.spec'], chrootPath='/var/lib/mock/f42-build-56638060-6545282/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1_gr2bk8:/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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1_gr2bk8:/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', '21e8f8ca29c946e196cfaa884952de80', '-D', '/var/lib/mock/f42-build-56638060-6545282/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1_gr2bk8:/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;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/toppler.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le warning: bogus date in %changelog: Mon Feb 16 2023 Xavier Bachelot - 1.3-3 error: %changelog not in descending chronological order setting SOURCE_DATE_EPOCH=1721433600 Wrote: /builddir/build/SRPMS/toppler-1.3-4.fc42.src.rpm RPM build warnings: bogus date in %changelog: Mon Feb 16 2023 Xavier Bachelot - 1.3-3 Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/toppler.spec'], chrootPath='/var/lib/mock/f42-build-56638060-6545282/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1_gr2bk8:/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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1_gr2bk8:/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', 'a5f7f38d69ed4776a82d228b5ebaca17', '-D', '/var/lib/mock/f42-build-56638060-6545282/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1_gr2bk8:/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;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/toppler.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le warning: bogus date in %changelog: Mon Feb 16 2023 Xavier Bachelot - 1.3-3 error: %changelog not in descending chronological order setting SOURCE_DATE_EPOCH=1721433600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.bFOZDY + umask 022 + cd /builddir/build/BUILD/toppler-1.3-build + test -d /builddir/build/BUILD/toppler-1.3-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/toppler-1.3-build + /usr/bin/rm -rf /builddir/build/BUILD/toppler-1.3-build + /usr/bin/mkdir -p /builddir/build/BUILD/toppler-1.3-build + /usr/bin/mkdir -p /builddir/build/BUILD/toppler-1.3-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7g7DsI + umask 022 + cd /builddir/build/BUILD/toppler-1.3-build + cd /builddir/build/BUILD/toppler-1.3-build + rm -rf toppler-v1.3-5e3e581bb7b58098f54df9b634c7bd4a23ba66b5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/toppler-1.3.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd toppler-v1.3-5e3e581bb7b58098f54df9b634c7bd4a23ba66b5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #100 (toppler-1.3-fix_makefile.patch): + echo 'Patch #100 (toppler-1.3-fix_makefile.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile Patch #101 (toppler-1.3-format_security.patch): + echo 'Patch #101 (toppler-1.3-format_security.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/keyb.cc patching file src/main.cc Patch #102 (toppler-1.3-head.patch): + echo 'Patch #102 (toppler-1.3-head.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/archi.cc patching file src/archi.h patching file src/configuration.cc patching file src/decl.h patching file src/leveledit.cc patching file src/screen.cc Patch #103 (toppler-1.3-missing_include.patch): + echo 'Patch #103 (toppler-1.3-missing_include.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/decl.cc patching file src/level.cc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0RJM3c + umask 022 + cd /builddir/build/BUILD/toppler-1.3-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 -m64 -mcpu=power8 -mtune=power8 -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 -m64 -mcpu=power8 -mtune=power8 -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -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 -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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd toppler-v1.3-5e3e581bb7b58098f54df9b634c7bd4a23ba66b5 + 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 -m64 -mcpu=power8 -mtune=power8 -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 -m64 -mcpu=power8 -mtune=power8 -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -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 -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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/make -O -j8 V=1 VERBOSE=1 '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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -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 ' STATEDIR=/var/games toppler translation g++ -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection $(pkg-config --cflags SDL2_mixer sdl2 zlib) -DVERSION='"1.3"' -DTOP_DATADIR='"/usr/share/toppler"' -DHISCOREDIR='"/var/games"' -DENABLE_NLS=1 -DLOCALEDIR='"/usr/share/locale"' -c -o _build//elevators.cc.o src/elevators.cc g++ -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection $(pkg-config --cflags SDL2_mixer sdl2 zlib) -DVERSION='"1.3"' -DTOP_DATADIR='"/usr/share/toppler"' -DHISCOREDIR='"/var/games"' -DENABLE_NLS=1 -DLOCALEDIR='"/usr/share/locale"' -c -o _build//bonus.cc.o src/bonus.cc g++ -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection $(pkg-config --cflags SDL2_mixer sdl2 zlib) -DVERSION='"1.3"' -DTOP_DATADIR='"/usr/share/toppler"' -DHISCOREDIR='"/var/games"' -DENABLE_NLS=1 -DLOCALEDIR='"/usr/share/locale"' -c -o _build//configuration.cc.o src/configuration.cc src/configuration.cc: In member function ‘void configuration::parse(const std::string&)’: src/configuration.cc:45:21: error: ‘strstr’ was not declared in this scope 45 | if (strstr(line, t.cnf_name.c_str())) | ^~~~~~ src/configuration.cc:25:1: note: ‘strstr’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ 24 | #include +++ |+#include 25 | make: *** [Makefile:84: _build//configuration.cc.o] Error 1 make: *** Waiting for unfinished jobs.... g++ -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection $(pkg-config --cflags SDL2_mixer sdl2 zlib) -DVERSION='"1.3"' -DTOP_DATADIR='"/usr/share/toppler"' -DHISCOREDIR='"/var/games"' -DENABLE_NLS=1 -DLOCALEDIR='"/usr/share/locale"' -c -o _build//archi.cc.o src/archi.cc src/archi.cc: In member function ‘Uint32 archive::file::read(void*, Uint32)’: src/archi.cc:107:5: error: ‘memcpy’ was not declared in this scope 107 | memcpy(buf, &buffer[bufferpos], size); | ^~~~~~ src/archi.cc:23:1: note: ‘memcpy’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ 22 | #include +++ |+#include 23 | make: *** [Makefile:84: _build//archi.cc.o] Error 1 g++ -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection $(pkg-config --cflags SDL2_mixer sdl2 zlib) -DVERSION='"1.3"' -DTOP_DATADIR='"/usr/share/toppler"' -DHISCOREDIR='"/var/games"' -DENABLE_NLS=1 -DLOCALEDIR='"/usr/share/locale"' -c -o _build//keyb.cc.o src/keyb.cc g++ -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection $(pkg-config --cflags SDL2_mixer sdl2 zlib) -DVERSION='"1.3"' -DTOP_DATADIR='"/usr/share/toppler"' -DHISCOREDIR='"/var/games"' -DENABLE_NLS=1 -DLOCALEDIR='"/usr/share/locale"' -c -o _build//highscore.cc.o src/highscore.cc g++ -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection $(pkg-config --cflags SDL2_mixer sdl2 zlib) -DVERSION='"1.3"' -DTOP_DATADIR='"/usr/share/toppler"' -DHISCOREDIR='"/var/games"' -DENABLE_NLS=1 -DLOCALEDIR='"/usr/share/locale"' -c -o _build//leveledit.cc.o src/leveledit.cc src/leveledit.cc: In function ‘char* keymod2str(Uint16)’: src/leveledit.cc:345:48: error: ‘strlen’ was not declared in this scope 345 | (kmod & KMOD_RCTRL)) snprintf(&buf[strlen(buf)], 256-strlen(buf), "ctrl+"); | ^~~~~~ src/leveledit.cc:33:1: note: ‘strlen’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ 32 | #include "configuration.h" +++ |+#include 33 | src/leveledit.cc:347:47: error: ‘strlen’ was not declared in this scope 347 | (kmod & KMOD_RALT)) snprintf(&buf[strlen(buf)], 256-strlen(buf), "alt+"); | ^~~~~~ src/leveledit.cc:347:47: note: ‘strlen’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ make: *** [Makefile:83: _build//leveledit.cc.o] Error 1 g++ -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection $(pkg-config --cflags SDL2_mixer sdl2 zlib) -DVERSION='"1.3"' -DTOP_DATADIR='"/usr/share/toppler"' -DHISCOREDIR='"/var/games"' -DENABLE_NLS=1 -DLOCALEDIR='"/usr/share/locale"' -c -o _build//decl.cc.o src/decl.cc g++ -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection $(pkg-config --cflags SDL2_mixer sdl2 zlib) -DVERSION='"1.3"' -DTOP_DATADIR='"/usr/share/toppler"' -DHISCOREDIR='"/var/games"' -DENABLE_NLS=1 -DLOCALEDIR='"/usr/share/locale"' -c -o _build//level.cc.o src/level.cc src/level.cc: In function ‘void lev_selecttower(Uint8)’: src/level.cc:340:7: error: ‘memmove’ was not declared in this scope 340 | memmove(towername.data(), &mission[towerstart], section_len); | ^~~~~~~ src/level.cc:31:1: note: ‘memmove’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ 30 | #include +++ |+#include 31 | src/level.cc: In function ‘std::string gen_passwd(int, const std::string&, int, char*)’: src/level.cc:423:3: error: ‘memset’ was not declared in this scope 423 | memset(passwd, 0, PASSWORD_LEN+1); | ^~~~~~ src/level.cc:423:3: note: ‘memset’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ src/level.cc: In function ‘void lev_clear_tower()’: src/level.cc:459:5: error: ‘memset’ was not declared in this scope 459 | memset(&tower, TB_EMPTY, 256*TOWERWID); | ^~~~~~ src/level.cc:459:5: note: ‘memset’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ src/level.cc: In function ‘bool lev_loadtower(const std::string&)’: src/level.cc:791:44: error: ‘strlen’ was not declared in this scope 791 | if (strncmp(&line[1], tss_string_name, strlen(tss_string_name)) == 0) { | ^~~~~~ src/level.cc:791:44: note: ‘strlen’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ src/level.cc:791:9: error: ‘strncmp’ was not declared in this scope 791 | if (strncmp(&line[1], tss_string_name, strlen(tss_string_name)) == 0) { | ^~~~~~~ src/level.cc:791:9: note: ‘strncmp’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ src/level.cc: In function ‘std::vector lev_save()’: src/level.cc:1015:3: error: ‘memmove’ was not declared in this scope 1015 | memmove(data.data()+1, tower, 256 * TOWERWID); | ^~~~~~~ src/level.cc:1015:3: note: ‘memmove’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ src/level.cc: In function ‘void lev_restore(const std::vector&)’: src/level.cc:1022:3: error: ‘memmove’ was not declared in this scope 1022 | memmove(tower, data.data()+1, 256 * TOWERWID); | ^~~~~~~ src/level.cc:1022:3: note: ‘memmove’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ make: *** [Makefile:83: _build//level.cc.o] Error 1 g++ -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection $(pkg-config --cflags SDL2_mixer sdl2 zlib) -DVERSION='"1.3"' -DTOP_DATADIR='"/usr/share/toppler"' -DHISCOREDIR='"/var/games"' -DENABLE_NLS=1 -DLOCALEDIR='"/usr/share/locale"' -c -o _build//game.cc.o src/game.cc RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.0RJM3c (%build) bogus date in %changelog: Mon Feb 16 2023 Xavier Bachelot - 1.3-3 %changelog not in descending chronological order Bad exit status from /var/tmp/rpm-tmp.0RJM3c (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M a5f7f38d69ed4776a82d228b5ebaca17 -D /var/lib/mock/f42-build-56638060-6545282/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.1_gr2bk8:/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;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/toppler.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, 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 a5f7f38d69ed4776a82d228b5ebaca17 -D /var/lib/mock/f42-build-56638060-6545282/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.1_gr2bk8:/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;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/toppler.spec'