Mock Version: 6.1 Mock Version: 6.1 Mock Version: 6.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/dt.spec'], chrootPath='/var/lib/mock/f43-build-58963717-6569496/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._edatn3e:/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._edatn3e:/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', '4c1ff0e7a15e40a8bb692fe79d272376', '-D', '/var/lib/mock/f43-build-58963717-6569496/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._edatn3e:/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 x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721174400 Wrote: /builddir/build/SRPMS/dt-21.27.git8d78d78-14.fc43.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/dt.spec'], chrootPath='/var/lib/mock/f43-build-58963717-6569496/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._edatn3e:/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._edatn3e:/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', 'e16dcc8978af4a6383f8b9580712aed6', '-D', '/var/lib/mock/f43-build-58963717-6569496/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._edatn3e:/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 x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721174400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.zKqt6o Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HSr1Bp + 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 . + echo 'Patch #0 (dt-manpage.patch):' 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.D19VQq + 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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -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 -j6 '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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtgen.o ../dtgen.c 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; | ^~~~ 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; | ^~~~ 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; | ^~~~ 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; | ^~~~ 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:33: note: ‘bool’ is a keyword with ‘-std=c23’ onwards ../common.h:364:33: note: ‘bool’ is a keyword with ‘-std=c23’ onwards ../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; | ^~~~~~~ ../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; | ^~~~~~~ ../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; | ^~~~~~~ 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 ../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: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: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: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: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). */ | ^~~~~~ ../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). */ | ^~~~~~ ../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, '.')) { | ^ ../dtaio.c: In function ‘dtaio_read_data’: ../dtaio.c:728:31: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 728 | dip->di_max_data && (dip->di_maxdata_read >= dip->di_max_data) ) { | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dtaio.c: In function ‘dtaio_process_read’: ../dtaio.c:1013:17: warning: unused variable ‘eio_flag’ [-Wunused-variable] 1013 | hbool_t eio_flag = os_isIoError(error); | ^~~~~~~~ ../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, ',')) { | ^ ../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); | ^~~~~~ ../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)) { | ^~~~ ../dtaio.c: In function ‘dtaio_write_data’: ../dtaio.c:1230:31: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1230 | dip->di_max_data && (dip->di_maxdata_written >= dip->di_max_data) ) { | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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; | ^~~ ../dtfmt.c:989:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 989 | if (p = strchr(hostname, '.')) { | ^ ../dtgen.c: In function ‘set_open_flags’: ../dtgen.c:298:11: warning: unused variable ‘file’ [-Wunused-variable] 298 | char *file = FileName; | ^~~~ ../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); | ^~~~~~~~ ../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); | ^~~~~~ ../dtgen.c: In function ‘write_file’: ../dtfs.c: In function ‘restart_on_file_system_full’: ../dtfs.c:1900:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1900 | if ( restart_flag = is_fsfull_restartable(dip) ) { | ^~~~~~~~~~~~ ../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) ) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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.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)) { | ^ make: *** [: dtfmt.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [: dtaio.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 make: *** [: dtgen.o] Error 1 make: *** [: dtfs.o] Error 1 ../dt.c: In function ‘parse_args’: ../dt.c:5764:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 5764 | if (p = strrchr(workload_name, ':')) { | ^ ../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 error: Bad exit status from /var/tmp/rpm-tmp.D19VQq (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.D19VQq (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M e16dcc8978af4a6383f8b9580712aed6 -D /var/lib/mock/f43-build-58963717-6569496/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv._edatn3e:/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 x86_64 --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 e16dcc8978af4a6383f8b9580712aed6 -D /var/lib/mock/f43-build-58963717-6569496/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv._edatn3e:/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 x86_64 --nodeps /builddir/build/SPECS/dt.spec'