Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/dt.spec'], chrootPath='/var/lib/mock/f38-build-697960-86877/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/dt-21.27.git8d78d78-10.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/dt.spec'], chrootPath='/var/lib/mock/f38-build-697960-86877/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ROv8ER + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/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.EcaYLp + 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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 -j4 '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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-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 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-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 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-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 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-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 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtfs.o ../dtfs.c ../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); | ^~~~~~~~ ../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': ../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; | ^~~ ../dtaio.c: In function 'dtaio_process_write': ../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: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); | ^~~~~~ ../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) ) { | ^~~~~~~~~~~~ ../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)) { | ^ ../dtbtag.c: At top level: ../dtbtag.c:219:14: warning: 'empty_str' defined but not used [-Wunused-variable] 219 | static char *empty_str = ""; | ^~~~~~~~~ ../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: 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)) { | ^ ../dtfs.c: In function 'process_next_dir': ../dtfs.c:286:8: warning: 'status' may be used uninitialized [-Wmaybe-uninitialized] 286 | if (status == SUCCESS) { | ^ ../dtfs.c:252:9: note: 'status' was declared here 252 | int status; | ^~~~~~ gcc -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtfmt.o ../dtfmt.c ../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)) { | ^~~~ ../dtfmt.c:989:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 989 | if (p = strchr(hostname, '.')) { | ^ gcc -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dthist.o ../dthist.c ../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) ) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtiot.o ../dtiot.c ../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) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dtiot.c: In function 'display_iot_data': ../dtiot.c:806:34: warning: unused variable 'good_blocks' [-Wunused-variable] 806 | unsigned int bad_blocks = 0, good_blocks = 0; | ^~~~~~~~~~~ gcc -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtinfo.o ../dtinfo.c gcc -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtjobs.o ../dtjobs.c ../dtjobs.c: In function 'cleanup_job': ../dtjobs.c:459:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 459 | if (tip = job->ji_tinfo) { | ^~~ ../dtjobs.c: In function 'remove_job_by_id': ../dtjobs.c:540:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 540 | if (job = find_job_by_id(dip, job_id, True)) { | ^~~ ../dtjobs.c: In function 'set_threads_state': ../dtjobs.c:596:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 596 | if (dip = dip->di_output_dinfo) { | ^~~ ../dtjobs.c: In function 'cancel_job_by_id': ../dtjobs.c:798:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 798 | if (job = find_job_by_id(dip, job_id, True)) { | ^~~ ../dtjobs.c: In function 'cancel_job_by_tag': ../dtjobs.c:814:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 814 | if (job = find_job_by_tag(dip, job_tag, True)) { | ^~~ ../dtjobs.c: In function 'cancel_jobs_by_tag': ../dtjobs.c:832:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 832 | while (job = find_jobs_by_tag(dip, job_tag, job, lock_jobs)) { | ^~~ ../dtjobs.c: In function 'pause_job_by_id': ../dtjobs.c:901:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 901 | if (job = find_job_by_id(dip, job_id, True)) { | ^~~ ../dtjobs.c: In function 'pause_job_by_tag': ../dtjobs.c:923:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 923 | if (job = find_job_by_tag(dip, job_tag, True)) { | ^~~ ../dtjobs.c: In function 'pause_jobs_by_tag': ../dtjobs.c:949:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 949 | while (job = find_jobs_by_tag(dip, job_tag, job, lock_jobs)) { | ^~~ ../dtjobs.c: In function 'resume_job_by_id': ../dtjobs.c:1025:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1025 | if (job = find_job_by_id(dip, job_id, True)) { | ^~~ ../dtjobs.c: In function 'resume_job_by_tag': ../dtjobs.c:1047:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1047 | if (job = find_job_by_tag(dip, job_tag, True)) { | ^~~ ../dtjobs.c: In function 'resume_jobs_by_tag': ../dtjobs.c:1073:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1073 | while (job = find_jobs_by_tag(dip, job_tag, job, lock_jobs)) { | ^~~ ../dtjobs.c: In function 'modify_job_by_id': ../dtjobs.c:1144:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1144 | if (job = find_job_by_id(dip, job_id, True)) { | ^~~ ../dtjobs.c: In function 'modify_job_by_tag': ../dtjobs.c:1163:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1163 | if (job = find_job_by_tag(dip, job_tag, True)) { | ^~~ ../dtjobs.c: In function 'modify_jobs_by_tag': ../dtjobs.c:1184:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1184 | while (job = find_jobs_by_tag(dip, job_tag, job, lock_jobs)) { | ^~~ ../dtjobs.c: In function 'query_job_by_id': ../dtjobs.c:1455:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1455 | if (job = find_job_by_id(dip, job_id, True)) { | ^~~ ../dtjobs.c: In function 'query_job_by_tag': ../dtjobs.c:1471:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1471 | if (job = find_job_by_tag(dip, job_tag, True)) { | ^~~ ../dtjobs.c: In function 'query_jobs_by_tag': ../dtjobs.c:1489:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1489 | while (job = find_jobs_by_tag(dip, job_tag, job, lock_jobs)) { | ^~~ ../dtjobs.c: In function 'show_job_by_id': ../dtjobs.c:1580:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1580 | if (job = find_job_by_id(dip, job_id, True)) { | ^~~ ../dtjobs.c: In function 'show_job_by_tag': ../dtjobs.c:1596:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1596 | if (job = find_job_by_tag(dip, job_tag, True)) { | ^~~ ../dtjobs.c: In function 'show_jobs_by_tag': ../dtjobs.c:1614:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1614 | while (job = find_jobs_by_tag(dip, job_tag, job, lock_jobs)) { | ^~~ ../dtjobs.c: In function 'stop_job_by_id': ../dtjobs.c:1758:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1758 | if (job = find_job_by_id(dip, job_id, True)) { | ^~~ ../dtjobs.c: In function 'stop_job_by_tag': ../dtjobs.c:1774:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1774 | if (job = find_job_by_tag(dip, job_tag, True)) { | ^~~ ../dtjobs.c: In function 'stop_jobs_by_tag': ../dtjobs.c:1792:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1792 | while (job = find_jobs_by_tag(dip, job_tag, job, lock_jobs)) { | ^~~ ../dtjobs.c: In function 'wait_for_jobs': ../dtjobs.c:1841:17: warning: unused variable 'job' [-Wunused-variable] 1841 | job_info_t *job = jhdr->ji_flink; | ^~~ ../dtjobs.c: In function 'wait_for_job_by_id': ../dtjobs.c:1877:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1877 | while (job = find_job_by_id(dip, job_id, True)) { | ^~~ ../dtjobs.c: In function 'wait_for_job_by_tag': ../dtjobs.c:1914:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1914 | while (job = find_job_by_tag(dip, job_tag, True)) { | ^~~ ../dtjobs.c: In function 'wait_for_jobs_by_tag': ../dtjobs.c:1952:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1952 | while (job = find_job_by_tag(dip, job_tag, True)) { | ^~~ ../dtjobs.c: In function 'do_wait_for_threads_done': ../dtjobs.c:2003:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] 2003 | int status; | ^~~~~~ ../dtjobs.c: In function 'execute_threads': ../dtjobs.c:2260:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2260 | if (odip = tdip->di_output_dinfo) { | ^~~~ gcc -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtmem.o ../dtmem.c gcc -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtmmap.o ../dtmmap.c gcc -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtmtrand64.o ../dtmtrand64.c ../dtmmap.c: In function 'reference_data': ../dtmmap.c:385:32: warning: variable 'data' set but not used [-Wunused-but-set-variable] 385 | static volatile u_char data; | ^~~~ gcc -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtprint.o ../dtprint.c gcc -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtprocs.o ../dtprocs.c ../dtprint.c: In function 'ReportExtendedErrorInfo': ../dtprint.c:413:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 413 | if (p = strrchr(eip->ei_file, dip->di_dir_sep)) { | ^ ../dtprint.c: In function 'RecordErrorTimes': ../dtprint.c:508:9: warning: unused variable 'flags' [-Wunused-variable] 508 | int flags = PRT_SYSLOG; | ^~~~~ ../dtprint.c: In function 'mPrintf': ../dtprint.c:1038:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] 1038 | int status; | ^~~~~~ ../dtprint.c: In function 'mPrint': ../dtprint.c:1068:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] 1068 | int status; | ^~~~~~ ../dtprint.c: In function 'PrintLines': ../dtprint.c:1230:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1230 | if (p = strchr(bp, '\n')) { | ^ ../dtprocs.c: In function 'start_devs': ../dtprocs.c:654:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 654 | while (p = strchr(p, ',')) { | ^ ../dtjobs.c: In function 'query_threads_info': ../dtjobs.c:1540:19: warning: 'dip' may be used uninitialized [-Wmaybe-uninitialized] 1540 | if (dip && dip->di_iobf && dip->di_iobf->iob_job_query) { | ~~~^~~~~~~~~ ../dtjobs.c:1507:14: note: 'dip' was declared here 1507 | dinfo_t *dip; | ^~~ gcc -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtread.o ../dtread.c ../dtread.c: In function 'check_last_write_info': ../dtread.c:110:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 110 | ((ssize_t)dip->di_last_write_size > 0) && (dip->di_last_write_size != bsize) ) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dtread.c: In function 'read_data': ../dtread.c:381:21: warning: unused variable 'rcount' [-Wunused-variable] 381 | ssize_t rcount = verify_record(odip, dip->di_data_buffer, count, odip->di_offset, &status); | ^~~~~~ ../dtread.c: In function 'read_data_iolock': ../dtread.c:533:13: warning: unused variable 'check_write_limit' [-Wunused-variable] 533 | hbool_t check_write_limit = False; | ^~~~~~~~~~~~~~~~~ ../dtread.c: In function 'verify_record': ../dtread.c:1189:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1189 | if (dip->di_pattern_buffer = pbase) { | ^~~ ../dtread.c: In function 'FindCapacity': ../dtread.c:1225:17: warning: unused variable 'mode' [-Wunused-variable] 1225 | int mode = O_RDONLY; | ^~~~ gcc -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtwrite.o ../dtwrite.c gcc -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtscsi.o ../dtscsi.c ../dtwrite.c: In function 'write_data': ../dtwrite.c:468:21: warning: unused variable 'rcount' [-Wunused-variable] 468 | ssize_t rcount = verify_record(idip, dip->di_data_buffer, count, dip->di_offset, &status); | ^~~~~~ ../dtwrite.c: In function 'write_data_iolock': ../dtwrite.c:867:52: warning: self-comparison always evaluates to true [-Wtautological-compare] 867 | if ( dip->di_max_data && (dip->di_max_data >= dip->di_max_data) ) { | ^~ ../dtwrite.c: In function 'check_write': ../dtwrite.c:1277:22: warning: unused variable 'updated_offset' [-Wunused-variable] 1277 | Offset_t updated_offset = 0; | ^~~~~~~~~~~~~~ ../dtscsi.c: In function 'clone_scsi_info': ../dtscsi.c:81:13: warning: unused variable 'error' [-Wunused-variable] 81 | int error = init_sg_info(cdip); | ^~~~~ ../dtscsi.c: In function 'do_unmap_blocks': ../dtscsi.c:483:5: warning: enumeration value 'UNMAP_TYPE_NONE' not handled in switch [-Wswitch] 483 | switch (unmap_type) { | ^~~~~~ ../dtscsi.c:483:5: warning: enumeration value 'UNMAP_TYPE_RANDOM' not handled in switch [-Wswitch] ../dtscsi.c:483:5: warning: enumeration value 'NUM_UNMAP_TYPES' not handled in switch [-Wswitch] ../dtscsi.c: In function 'do_scsi_triage': ../dtscsi.c:557:27: warning: unused variable 'retries' [-Wunused-variable] 557 | int status = SUCCESS, retries = 0; | ^~~~~~~ ../dtread.c: In function 'read_data': ../dtread.c:251:32: warning: 'sequential_offset' may be used uninitialized [-Wmaybe-uninitialized] 251 | dip->di_offset = sequential_offset; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ../dtread.c:149:14: note: 'sequential_offset' was declared here 149 | Offset_t sequential_offset; | ^~~~~~~~~~~~~~~~~ gcc -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtstats.o ../dtstats.c gcc -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dttape.o ../dttape.c gcc -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtunix.o ../dtunix.c ../dtstats.c: In function 'report_pass': ../dtstats.c:277:18: warning: unused variable 'max_files' [-Wunused-variable] 277 | large_t max_files = calculate_max_files(dip); | ^~~~~~~~~ ../dtstats.c: In function 'report_os_information': ../dtstats.c:850:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 850 | if ( bp = os_gethostname() ) { | ^~ ../dtstats.c:854:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 854 | if ( address = os_getaddrinfo(dip, host, dip->di_inet_family, NULL, NULL) ) { | ^~~~~~~ ../dtstats.c:862:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 862 | if ( bp = os_getusername() ) { | ^~ ../dtstats.c:867:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 867 | if ( bp = os_getosinfo() ) { | ^~ ../dtunix.c: In function 'isDeviceMounted': ../dtunix.c:404:10: warning: unused variable 'path_dir' [-Wunused-variable] 404 | char path_dir[PATH_BUFFER_SIZE]; | ^~~~~~~~ ../dtunix.c: In function 'os_ctime': ../dtunix.c:712:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 712 | if (bp = strrchr(time_buffer, '\n')) { | ^~ ../dtunix.c: In function 'tPerror': ../dtunix.c:1120:11: warning: variable 'fp' set but not used [-Wunused-but-set-variable] 1120 | FILE *fp; | ^~ ../dtunix.c: In function 'os_isEof': ../dtunix.c:1244:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1244 | ( (count == (ssize_t) -1) && | ~~~~~~~~~~~~~~~~~~~~~~~~^~ 1245 | ( (error == ENOSPC) || | ~~~~~~~~~~~~~~~~~~~~~~ 1246 | (error == ENXIO)) || | ~~~~~~~~~~~~~~~~~ ../dtwrite.c: In function 'write_data': ../dtwrite.c:354:32: warning: 'sequential_offset' may be used uninitialized [-Wmaybe-uninitialized] 354 | dip->di_offset = sequential_offset; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ../dtwrite.c:205:14: note: 'sequential_offset' was declared here 205 | Offset_t sequential_offset; | ^~~~~~~~~~~~~~~~~ gcc -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtutil.o ../dtutil.c gcc -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtusage.o ../dtusage.c ../dtutil.c: In function 'process_iotune': ../dtutil.c:705:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 705 | if (p = strrchr(buffer, '\r')) *p = '\0'; | ^ ../dtutil.c:706:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 706 | if (p = strrchr(buffer, '\n')) *p = '\0'; | ^ ../dtutil.c: In function 'FormatElapstedTime': ../dtutil.c:872:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 872 | if (hr = ticks / 60) { | ^~ ../dtutil.c: In function 'is_Eof': ../dtutil.c:1993:17: warning: variable 'data_bytes' set but not used [-Wunused-but-set-variable] 1993 | large_t data_bytes; | ^~~~~~~~~~ ../dtutil.c: At top level: ../dtutil.c:92:12: warning: 'get_max_cpu_busy' declared 'static' but never defined [-Wunused-function] 92 | static int get_max_cpu_busy(dinfo_t *dip, char *cmd); | ^~~~~~~~~~~~~~~~ gcc -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtverify.o ../dtverify.c ../dtverify.c: In function 'dump_buffer': ../dtverify.c:238:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 238 | if (boff) Lprintf(dip, " \"%s\"\n", abufp); abp = abufp; | ^~ ../dtverify.c:238:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 238 | if (boff) Lprintf(dip, " \"%s\"\n", abufp); abp = abufp; | ^~~ ../dtverify.c: In function 'verify_reread': ../dtverify.c:562:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 562 | if ( (dip->di_bypass_flag == False) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 563 | (bcount % BLOCK_SIZE) || (record_offset % BLOCK_SIZE) ) { | ~~~~~~~~~~~~~~~~~~~~~ ../dtverify.c: In function 'verify_data_normal': ../dtverify.c:898:23: warning: unused variable 'dsize' [-Wunused-variable] 898 | register uint32_t dsize = dip->di_lbdata_size; | ^~~~~ ../dtutil.c: In function 'seek_position': ../dtutil.c:939:12: warning: 'pos' may be used uninitialized [-Wmaybe-uninitialized] 939 | if (pos > disk_capacity) { | ^ ../dtutil.c:919:14: note: 'pos' was declared here 919 | Offset_t pos; | ^~~ ../dtverify.c: In function 'verify_reread': ../dtverify.c:652:5: warning: 'record_offset' may be used uninitialized [-Wmaybe-uninitialized] 652 | report_reread_command(dip, bcount, record_offset, pattern); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dtverify.c:505:17: note: 'record_offset' was declared here 505 | Offset_t record_offset; | ^~~~~~~~~~~~~ ../dtverify.c:660:22: warning: 'saved_dio_flag' may be used uninitialized [-Wmaybe-uninitialized] 660 | dip->di_dio_flag = saved_dio_flag; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../dtverify.c:510:17: note: 'saved_dio_flag' was declared here 510 | hbool_t saved_dio_flag; | ^~~~~~~~~~~~~~ ../dtverify.c:659:22: warning: 'saved_aio_flag' may be used uninitialized [-Wmaybe-uninitialized] 659 | dip->di_aio_flag = saved_aio_flag; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../dtverify.c:509:17: note: 'saved_aio_flag' was declared here 509 | hbool_t saved_aio_flag; | ^~~~~~~~~~~~~~ ../dtverify.c:663:9: warning: 'reread_buffer' may be used uninitialized [-Wmaybe-uninitialized] 663 | free_palign(dip, reread_buffer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dtverify.c:504:18: note: 'reread_buffer' was declared here 504 | uint8_t *reread_buffer; | ^~~~~~~~~~~~~ ../dtverify.c:661:24: warning: 'saved_rDebugFlag' may be used uninitialized [-Wmaybe-uninitialized] 661 | dip->di_rDebugFlag = saved_rDebugFlag; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ../dtverify.c:511:17: note: 'saved_rDebugFlag' was declared here 511 | hbool_t saved_rDebugFlag; | ^~~~~~~~~~~~~~~~ gcc -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtworkloads.o ../dtworkloads.c gcc -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o libscsi.o ../libscsi.c gcc -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o scsidata.o ../scsidata.c gcc -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o scsilib.o scsilib.c ../libscsi.c: In function 'GetUniqueID': ../libscsi.c:817:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 817 | if (*identifier = GetDeviceIdentifier(fd, dsf, debug, errlog, | ^ ../libscsi.c:828:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 828 | if (serial_number = GetSerialNumber(fd, dsf, debug, errlog, | ^~~~~~~~~~~~~ ../scsidata.c: In function 'DumpSenseDescriptors': ../scsidata.c:1127:14: warning: unused variable 'dip' [-Wunused-variable] 1127 | dinfo_t *dip = sgp->opaque; | ^~~ scsilib.c:801:1: warning: 'linux_SuggestStatus' defined but not used [-Wunused-function] 801 | linux_SuggestStatus(unsigned short suggest_status) | ^~~~~~~~~~~~~~~~~~~ ../libscsi.c:832:19: warning: 'strncpy' output may be truncated copying 8 bytes from a string of length 246 [-Wstringop-truncation] 832 | (void)strncpy(*identifier, (char *)inquiry->inq_vid, INQ_VID_LEN); | ^ ../libscsi.c:833:19: warning: 'strncat' output may be truncated copying 16 bytes from a string of length 238 [-Wstringop-truncation] 833 | (void)strncat(*identifier, (char *)inquiry->inq_pid, INQ_PID_LEN); | ^ loading dt ...done + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.GidGnv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dt-21.27.git8d78d78-10.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dt-21.27.git8d78d78-10.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/dt-21.27.git8d78d78-10.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dt-21.27.git8d78d78-10.fc38.riscv64 + 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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 + install -d -m755 /builddir/build/BUILDROOT/dt-21.27.git8d78d78-10.fc38.riscv64/usr/sbin + install -d -m755 /builddir/build/BUILDROOT/dt-21.27.git8d78d78-10.fc38.riscv64/usr/share/man/man8 + install -d -m755 /builddir/build/BUILDROOT/dt-21.27.git8d78d78-10.fc38.riscv64/usr/share/dt + install -d -m755 /builddir/build/BUILDROOT/dt-21.27.git8d78d78-10.fc38.riscv64/usr/share/doc/dt/html + install -m755 tmp/dt /builddir/build/BUILDROOT/dt-21.27.git8d78d78-10.fc38.riscv64/usr/sbin + install -m644 Documentation/dt.man /builddir/build/BUILDROOT/dt-21.27.git8d78d78-10.fc38.riscv64/usr/share/man/man8/dt.8 + install -m755 Scripts/dta Scripts/dtc Scripts/dtf Scripts/dtr Scripts/dts Scripts/dtt Scripts/dtw /builddir/build/BUILDROOT/dt-21.27.git8d78d78-10.fc38.riscv64/usr/share/dt + install -m644 data/pattern_0 data/pattern_1 data/pattern_2 data/pattern_3 data/pattern_4 data/pattern_5 data/pattern_6 data/pattern_7 data/pattern_8 data/pattern_9 data/pattern_all data/pattern_dedup /builddir/build/BUILDROOT/dt-21.27.git8d78d78-10.fc38.riscv64/usr/share/dt + install -m644 html/dt-Recommendations.html html/dt.html /builddir/build/BUILDROOT/dt-21.27.git8d78d78-10.fc38.riscv64/usr/share/doc/dt/html + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 21.27.git8d78d78-10.fc38 --unique-debug-suffix -21.27.git8d78d78-10.fc38.riscv64 --unique-debug-src-base dt-21.27.git8d78d78-10.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/dt.v21.27.git8d78d78 extracting debug info from /builddir/build/BUILDROOT/dt-21.27.git8d78d78-10.fc38.riscv64/usr/sbin/dt original debug info size: 5508kB, size after compression: 5052kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 3241 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip lhs/off overflow 4294967295 0 + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/share/dt/dtc from /bin/csh to #!/usr/bin/csh mangling shebang in /usr/share/dt/dtf from /bin/csh to #!/usr/bin/csh mangling shebang in /usr/share/dt/dtw from /bin/csh to #!/usr/bin/csh mangling shebang in /usr/share/dt/dta from /bin/csh to #!/usr/bin/csh mangling shebang in /usr/share/dt/dts from /bin/csh to #!/usr/bin/csh mangling shebang in /usr/share/dt/dtr from /bin/csh to #!/usr/bin/csh mangling shebang in /usr/share/dt/dtt from /bin/csh to #!/usr/bin/csh + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: dt-21.27.git8d78d78-10.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.FOevCA + umask 022 + cd /builddir/build/BUILD + cd dt.v21.27.git8d78d78 + DOCDIR=/builddir/build/BUILDROOT/dt-21.27.git8d78d78-10.fc38.riscv64/usr/share/doc/dt + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dt-21.27.git8d78d78-10.fc38.riscv64/usr/share/doc/dt + cp -pr Documentation/dt-UsersGuide.txt /builddir/build/BUILDROOT/dt-21.27.git8d78d78-10.fc38.riscv64/usr/share/doc/dt + cp -pr Documentation/ReleaseNotes-dtv20.txt Documentation/ReleaseNotes-dtv21.11.txt Documentation/ReleaseNotes-dtv21.27.txt /builddir/build/BUILDROOT/dt-21.27.git8d78d78-10.fc38.riscv64/usr/share/doc/dt + cp -pr html /builddir/build/BUILDROOT/dt-21.27.git8d78d78-10.fc38.riscv64/usr/share/doc/dt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.72mJam + umask 022 + cd /builddir/build/BUILD + cd dt.v21.27.git8d78d78 + LICENSEDIR=/builddir/build/BUILDROOT/dt-21.27.git8d78d78-10.fc38.riscv64/usr/share/licenses/dt + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dt-21.27.git8d78d78-10.fc38.riscv64/usr/share/licenses/dt + cp -pr LICENSE /builddir/build/BUILDROOT/dt-21.27.git8d78d78-10.fc38.riscv64/usr/share/licenses/dt + RPM_EC=0 ++ jobs -p + exit 0 lhs/off overflow 4294967295 0 lhs/off overflow 4294967295 0 Provides: dt = 21.27.git8d78d78-10.fc38 dt(riscv-64) = 21.27.git8d78d78-10.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libgcc_s.so.1()(64bit) libm.so.6()(64bit) libuuid.so.1()(64bit) libuuid.so.1(UUID_1.0)(64bit) rtld(GNU_HASH) Processing files: dt-debugsource-21.27.git8d78d78-10.fc38.riscv64 Provides: dt-debugsource = 21.27.git8d78d78-10.fc38 dt-debugsource(riscv-64) = 21.27.git8d78d78-10.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: dt-debuginfo-21.27.git8d78d78-10.fc38.riscv64 Provides: debuginfo(build-id) = 20653f8f291f5d674528cb06425fb9ca18e4e654 dt-debuginfo = 21.27.git8d78d78-10.fc38 dt-debuginfo(riscv-64) = 21.27.git8d78d78-10.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dt-debugsource(riscv-64) = 21.27.git8d78d78-10.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dt-21.27.git8d78d78-10.fc38.riscv64 Wrote: /builddir/build/RPMS/dt-21.27.git8d78d78-10.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/dt-debuginfo-21.27.git8d78d78-10.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/dt-debugsource-21.27.git8d78d78-10.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.7A35zv + umask 022 + cd /builddir/build/BUILD + cd dt.v21.27.git8d78d78 + /usr/bin/rm -rf /builddir/build/BUILDROOT/dt-21.27.git8d78d78-10.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.XPmAFg + umask 022 + cd /builddir/build/BUILD + rm -rf dt.v21.27.git8d78d78 dt.v21.27.git8d78d78.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0