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/dt.spec'], chrootPath='/var/lib/mock/f42-build-56358640-6543621/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.0h4rfql0:/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.0h4rfql0:/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', '7e8248644e564ce4958d711e4733bb25', '-D', '/var/lib/mock/f42-build-56358640-6543621/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0h4rfql0:/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/dt.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 setting SOURCE_DATE_EPOCH=1721174400 Wrote: /builddir/build/SRPMS/dt-21.27.git8d78d78-14.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/dt.spec'], chrootPath='/var/lib/mock/f42-build-56358640-6543621/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.0h4rfql0:/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.0h4rfql0:/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', 'd18196301b18411a898681513e979846', '-D', '/var/lib/mock/f42-build-56358640-6543621/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0h4rfql0:/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/dt.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 setting SOURCE_DATE_EPOCH=1721174400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.igUP9Y + umask 022 + cd /builddir/build/BUILD/dt-21.27.git8d78d78-build + test -d /builddir/build/BUILD/dt-21.27.git8d78d78-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/dt-21.27.git8d78d78-build + /usr/bin/rm -rf /builddir/build/BUILD/dt-21.27.git8d78d78-build + /usr/bin/mkdir -p /builddir/build/BUILD/dt-21.27.git8d78d78-build + /usr/bin/mkdir -p /builddir/build/BUILD/dt-21.27.git8d78d78-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hEsGWA + umask 022 + cd /builddir/build/BUILD/dt-21.27.git8d78d78-build + cd /builddir/build/BUILD/dt-21.27.git8d78d78-build + rm -rf dt.v21.27.git8d78d78 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/dt-source-v21.27.git8d78d78.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd dt.v21.27.git8d78d78 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (dt-manpage.patch): + echo 'Patch #0 (dt-manpage.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Documentation/dt.man + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Cx9Hli + umask 022 + cd /builddir/build/BUILD/dt-21.27.git8d78d78-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 dt.v21.27.git8d78d78 + mkdir tmp + cd tmp + make -j8 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI' -f ../Makefile.linux VPATH=.. OS=linux gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dt.o ../dt.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtaio.o ../dtaio.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtbtag.o ../dtbtag.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtfs.o ../dtfs.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtfmt.o ../dtfmt.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtgen.o ../dtgen.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dthist.o ../dthist.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtiot.o ../dtiot.c In file included from ../dt.h:85, from ../dtfmt.c:41: ../common.h:364:33: error: ‘bool’ cannot be defined via ‘typedef’ 364 | typedef unsigned int bool; | ^~~~ ../common.h:364:33: note: ‘bool’ is a keyword with ‘-std=c23’ onwards In file included from ../dt.h:85, from ../dt.c:220: ../common.h:364:33: error: ‘bool’ cannot be defined via ‘typedef’ 364 | typedef unsigned int bool; | ^~~~ ../common.h:364:33: note: ‘bool’ is a keyword with ‘-std=c23’ onwards ../common.h:364:1: warning: useless type name in empty declaration 364 | typedef unsigned int bool; | ^~~~~~~ ../common.h:364:1: warning: useless type name in empty declaration 364 | typedef unsigned int bool; | ^~~~~~~ ../dt.h:1672:12: error: conflicting types for ‘nofunc’; have ‘int(struct dinfo *)’ 1672 | extern int nofunc(struct dinfo *dip); | ^~~~~~ ../dt.h:593:12: note: previous declaration of ‘nofunc’ with type ‘int(void)’ 593 | extern int nofunc(); /* Stub return (no test func). */ | ^~~~~~ ../dt.h:1672:12: error: conflicting types for ‘nofunc’; have ‘int(struct dinfo *)’ 1672 | extern int nofunc(struct dinfo *dip); | ^~~~~~ ../dt.h:593:12: note: previous declaration of ‘nofunc’ with type ‘int(void)’ 593 | extern int nofunc(); /* Stub return (no test func). */ | ^~~~~~ ../dtfmt.c: In function ‘FmtString’: ../dtfmt.c:908:32: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 908 | while (sptr = strchr(sptr, ifs)) { | ^~~~ ../dtfmt.c:913:32: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 913 | while (sptr = strchr(sptr, '.')) { | ^~~~ ../dtfmt.c:939:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 939 | if (sptr = strrchr(pptr, ifs)) { | ^~~~ In file included from ../dt.h:85, from ../dtfs.c:59: ../common.h:364:33: error: ‘bool’ cannot be defined via ‘typedef’ 364 | typedef unsigned int bool; | ^~~~ ../common.h:364:33: note: ‘bool’ is a keyword with ‘-std=c23’ onwards ../common.h:364:1: warning: useless type name in empty declaration 364 | typedef unsigned int bool; | ^~~~~~~ ../dtfmt.c:989:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 989 | if (p = strchr(hostname, '.')) { | ^ ../dt.c: In function ‘initiate_devs’: ../dt.c:871:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 871 | while (p = strchr(p, ',')) { | ^ In file included from ../dt.h:85, from ../dtaio.c:58: ../common.h:364:33: error: ‘bool’ cannot be defined via ‘typedef’ 364 | typedef unsigned int bool; | ^~~~ ../common.h:364:33: note: ‘bool’ is a keyword with ‘-std=c23’ onwards ../common.h:364:1: warning: useless type name in empty declaration 364 | typedef unsigned int bool; | ^~~~~~~ ../dt.h:1672:12: error: conflicting types for ‘nofunc’; have ‘int(struct dinfo *)’ 1672 | extern int nofunc(struct dinfo *dip); | ^~~~~~ ../dt.h:593:12: note: previous declaration of ‘nofunc’ with type ‘int(void)’ 593 | extern int nofunc(); /* Stub return (no test func). */ | ^~~~~~ make: *** [: dtfmt.o] Error 1 make: *** Waiting for unfinished jobs.... ../dt.c: In function ‘handle_file_system_full’: ../dt.c:2471:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2471 | if ( free_space = do_free_space_wait(dip, dip->di_fsfree_retries) ) { | ^~~~~~~~~~ ../dt.h:1672:12: error: conflicting types for ‘nofunc’; have ‘int(struct dinfo *)’ 1672 | extern int nofunc(struct dinfo *dip); | ^~~~~~ ../dt.h:593:12: note: previous declaration of ‘nofunc’ with type ‘int(void)’ 593 | extern int nofunc(); /* Stub return (no test func). */ | ^~~~~~ ../dt.c:2469:13: warning: unused variable ‘rc’ [-Wunused-variable] 2469 | int rc = dt_truncate_file(dip, dip->di_dname, (Offset_t)0, &isDiskFull, EnableErrors); | ^~ ../dt.c: In function ‘setup_base_name’: ../dt.c:2716:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2716 | if (p = strrchr(file, dip->di_dir_sep)) { | ^ In file included from ../dt.h:85, from ../dtgen.c:60: ../common.h:364:33: error: ‘bool’ cannot be defined via ‘typedef’ 364 | typedef unsigned int bool; | ^~~~ ../common.h:364:33: note: ‘bool’ is a keyword with ‘-std=c23’ onwards ../common.h:364:1: warning: useless type name in empty declaration 364 | typedef unsigned int bool; | ^~~~~~~ ../dtaio.c: In function ‘dtaio_read_data’: ../dtfs.c: In function ‘restart_on_file_system_full’: ../dtaio.c:728:31: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 728 | dip->di_max_data && (dip->di_maxdata_read >= dip->di_max_data) ) { | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dtfs.c:1900:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1900 | if ( restart_flag = is_fsfull_restartable(dip) ) { | ^~~~~~~~~~~~ In file included from ../dt.h:85, from ../dtbtag.c:44: ../common.h:364:33: error: ‘bool’ cannot be defined via ‘typedef’ 364 | typedef unsigned int bool; | ^~~~ ../common.h:364:33: note: ‘bool’ is a keyword with ‘-std=c23’ onwards ../common.h:364:1: warning: useless type name in empty declaration 364 | typedef unsigned int bool; | ^~~~~~~ ../dtaio.c: In function ‘dtaio_process_read’: In file included from ../dt.h:85, from ../dtiot.c:66: ../common.h:364:33: error: ‘bool’ cannot be defined via ‘typedef’ 364 | typedef unsigned int bool; | ^~~~ ../common.h:364:33: note: ‘bool’ is a keyword with ‘-std=c23’ onwards ../common.h:364:1: warning: useless type name in empty declaration 364 | typedef unsigned int bool; | ^~~~~~~ ../dtaio.c:1013:17: warning: unused variable ‘eio_flag’ [-Wunused-variable] 1013 | hbool_t eio_flag = os_isIoError(error); | ^~~~~~~~ ../dt.h:1672:12: error: conflicting types for ‘nofunc’; have ‘int(struct dinfo *)’ 1672 | extern int nofunc(struct dinfo *dip); | ^~~~~~ ../dt.h:593:12: note: previous declaration of ‘nofunc’ with type ‘int(void)’ 593 | extern int nofunc(); /* Stub return (no test func). */ | ^~~~~~ ../dtaio.c:1123:21: warning: unused variable ‘rcount’ [-Wunused-variable] 1123 | ssize_t rcount = verify_record(odip, dip->di_data_buffer, count, acbp->aio_offset, &status); | ^~~~~~ ../dtaio.c: In function ‘dtaio_write_data’: make: *** [: dtfs.o] Error 1 ../dtaio.c:1230:31: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1230 | dip->di_max_data && (dip->di_maxdata_written >= dip->di_max_data) ) { | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dtgen.c: In function ‘set_open_flags’: ../dtgen.c:298:11: warning: unused variable ‘file’ [-Wunused-variable] 298 | char *file = FileName; | ^~~~ ../dtgen.c: In function ‘write_file’: ../dtgen.c:1000:42: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 999 | if ( (dip->di_io_mode == MIRROR_MODE) || (dip->di_io_mode == TEST_MODE) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1000 | (dip->di_compare_flag == False) && (dip->di_mmap_flag == False) ) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../dt.h:85, from ../dthist.c:38: ../common.h:364:33: error: ‘bool’ cannot be defined via ‘typedef’ 364 | typedef unsigned int bool; | ^~~~ ../common.h:364:33: note: ‘bool’ is a keyword with ‘-std=c23’ onwards ../common.h:364:1: warning: useless type name in empty declaration 364 | typedef unsigned int bool; | ^~~~~~~ ../dtaio.c: In function ‘dtaio_process_write’: ../dtaio.c:1522:17: warning: unused variable ‘eio_flag’ [-Wunused-variable] 1522 | hbool_t eio_flag = os_isIoError(error); | ^~~~~~~~ ../dt.h:1672:12: error: conflicting types for ‘nofunc’; have ‘int(struct dinfo *)’ 1672 | extern int nofunc(struct dinfo *dip); | ^~~~~~ ../dt.h:593:12: note: previous declaration of ‘nofunc’ with type ‘int(void)’ 593 | extern int nofunc(); /* Stub return (no test func). */ | ^~~~~~ ../dtaio.c:1650:17: warning: unused variable ‘rcount’ [-Wunused-variable] 1650 | ssize_t rcount = verify_record(idip, (u_char *)acbp->aio_buf, count, acbp->aio_offset, &status); | ^~~~~~ ../dt.h:1672:12: error: conflicting types for ‘nofunc’; have ‘int(struct dinfo *)’ 1672 | extern int nofunc(struct dinfo *dip); | ^~~~~~ ../dt.h:593:12: note: previous declaration of ‘nofunc’ with type ‘int(void)’ 593 | extern int nofunc(); /* Stub return (no test func). */ | ^~~~~~ make: *** [: dtgen.o] Error 1 ../dtbtag.c: In function ‘initialize_btag’: ../dtbtag.c:89:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 89 | if (p = strchr(hostname, '.')) { | ^ ../dt.h:1672:12: error: conflicting types for ‘nofunc’; have ‘int(struct dinfo *)’ 1672 | extern int nofunc(struct dinfo *dip); | ^~~~~~ ../dt.h:593:12: note: previous declaration of ‘nofunc’ with type ‘int(void)’ 593 | extern int nofunc(); /* Stub return (no test func). */ | ^~~~~~ ../dtiot.c: In function ‘display_iot_block’: ../dtiot.c:619:78: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 619 | if ( (received_iot_seed && received_word0 && received_word1) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 620 | ( (received_iot_seed % IOT_SEED) == 0) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dtbtag.c: In function ‘update_record_btag’: ../dtbtag.c:839:14: warning: unused variable ‘dsize’ [-Wunused-variable] 839 | uint32_t dsize = dip->di_lbdata_size; | ^~~~~ ../dtbtag.c:838:25: warning: unused variable ‘tvp’ [-Wunused-variable] 838 | struct timeval tv, *tvp = &tv; | ^~~ make: *** [: dtaio.o] Error 1 ../dtiot.c: In function ‘display_iot_data’: ../dt.c: In function ‘parse_args’: ../dtiot.c:806:34: warning: unused variable ‘good_blocks’ [-Wunused-variable] 806 | unsigned int bad_blocks = 0, good_blocks = 0; | ^~~~~~~~~~~ ../dt.c:5764:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 5764 | if (p = strrchr(workload_name, ':')) { | ^ make: *** [: dtiot.o] Error 1 make: *** [: dthist.o] Error 1 ../dtbtag.c: At top level: ../dtbtag.c:219:14: warning: ‘empty_str’ defined but not used [-Wunused-variable] 219 | static char *empty_str = ""; | ^~~~~~~~~ make: *** [: dtbtag.o] Error 1 ../dt.c: At top level: ../dt.c:6759:1: error: conflicting types for ‘nofunc’; have ‘int(struct dinfo *)’ 6759 | nofunc(struct dinfo *dip) | ^~~~~~ ../dt.h:593:12: note: previous declaration of ‘nofunc’ with type ‘int(void)’ 593 | extern int nofunc(); /* Stub return (no test func). */ | ^~~~~~ ../dt.c: In function ‘setup_thread_attributes’: ../dt.c:7055:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 7055 | if (p = getenv(THREAD_STACK_ENV)) { | ^ ../dt.c: In function ‘init_pthread_attributes’: ../dt.c:7128:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 7128 | if (p = getenv(THREAD_STACK_ENV)) { | ^ ../dt.c:7124:12: warning: variable ‘desiredStackSize’ set but not used [-Wunused-but-set-variable] 7124 | size_t desiredStackSize = THREAD_STACK_SIZE; | ^~~~~~~~~~~~~~~~ ../dt.c:7123:12: warning: unused variable ‘currentStackSize’ [-Wunused-variable] 7123 | size_t currentStackSize = 0; | ^~~~~~~~~~~~~~~~ ../dt.c: In function ‘dtGetCommandLine’: ../dt.c:7355:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 7355 | if (p = strrchr(bufptr, '\n')) { | ^ ../dt.c: In function ‘MakeArgList’: ../dt.c:7676:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 7676 | while (*to++ = *from++) ; | ^ ../dt.c: In function ‘clone_device’: ../dt.c:8306:12: warning: variable ‘status’ set but not used [-Wunused-but-set-variable] 8306 | int i, status; | ^~~~~~ ../dt.c: In function ‘do_filesystem_setup’: ../dt.c:9457:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 9457 | if (p = strrchr(file, dip->di_dir_sep)) { | ^ ../dt.c:9528:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 9528 | if (p = strrchr(dip->di_dir, dip->di_dir_sep)) { | ^ make: *** [: dt.o] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.Cx9Hli (%build) Bad exit status from /var/tmp/rpm-tmp.Cx9Hli (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M d18196301b18411a898681513e979846 -D /var/lib/mock/f42-build-56358640-6543621/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.0h4rfql0:/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/dt.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 d18196301b18411a898681513e979846 -D /var/lib/mock/f42-build-56358640-6543621/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.0h4rfql0:/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/dt.spec'