Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/dt.spec'], chrootPath='/var/lib/mock/f33-build-294594-55344/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595808000 Wrote: /builddir/build/SRPMS/dt-21.27.git8d78d78-5.fc33.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/f33-build-294594-55344/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595808000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4BqeEh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dt.v21.27.git8d78d78 + /usr/bin/xz -dc /builddir/build/SOURCES/dt-source-v21.27.git8d78d78.tar.xz + /usr/bin/tar -xof - + 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 -p1 --fuzz=0 patching file Documentation/dt.man + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.BpK7vg + umask 022 + cd /builddir/build/BUILD + 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,-D_FORTIFY_SOURCE=2 -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI' -f ../Makefile.linux VPATH=.. OS=linux cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dt.o ../dt.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtaio.o ../dtaio.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtbtag.o ../dtbtag.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtfs.o ../dtfs.c ../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, ',')) { | ^ ../dtbtag.c: In function 'initialize_btag': ../dtbtag.c:89:6: 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:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 728 | dip->di_max_data && (dip->di_maxdata_read >= 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_read': ../dtaio.c:1013:10: warning: unused variable 'eio_flag' [-Wunused-variable] 1013 | hbool_t eio_flag = os_isIoError(error); | ^~~~~~~~ ../dtaio.c:1123:14: warning: unused variable 'rcount' [-Wunused-variable] 1123 | ssize_t rcount = verify_record(odip, dip->di_data_buffer, count, acbp->aio_offset, &status); | ^~~~~~ ../dt.c: In function 'handle_file_system_full': ../dt.c:2471:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2471 | if ( free_space = do_free_space_wait(dip, dip->di_fsfree_retries) ) { | ^~~~~~~~~~ ../dtaio.c: In function 'dtaio_write_data': ../dt.c:2469:6: warning: unused variable 'rc' [-Wunused-variable] 2469 | int rc = dt_truncate_file(dip, dip->di_dname, (Offset_t)0, &isDiskFull, EnableErrors); | ^~ ../dtaio.c:1230:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1230 | dip->di_max_data && (dip->di_maxdata_written >= dip->di_max_data) ) { | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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)) { | ^ ../dtaio.c: In function 'dtaio_process_write': ../dtaio.c:1522:10: warning: unused variable 'eio_flag' [-Wunused-variable] 1522 | hbool_t eio_flag = os_isIoError(error); | ^~~~~~~~ ../dtaio.c:1650:10: 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) ) { | ^~~~~~~~~~~~ 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:7: 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:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 9457 | if (p = strrchr(file, dip->di_dir_sep)) { | ^ ../dt.c:9528:10: 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 in this function [-Wmaybe-uninitialized] 286 | if (status == SUCCESS) { | ^ cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtfmt.o ../dtfmt.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtgen.o ../dtgen.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dthist.o ../dthist.c ../dtfmt.c: In function 'FmtString': ../dtfmt.c:908:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 908 | while (sptr = strchr(sptr, ifs)) { | ^~~~ ../dtfmt.c:913:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 913 | while (sptr = strchr(sptr, '.')) { | ^~~~ ../dtfmt.c:939:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 939 | if (sptr = strrchr(pptr, ifs)) { | ^~~~ ../dtfmt.c:989:11: 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; | ^~~~ ../dtgen.c: In function 'write_file': ../dtgen.c:1000:35: 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) ) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtiot.o ../dtiot.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtinfo.o ../dtinfo.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtjobs.o ../dtjobs.c ../dtiot.c: In function 'display_iot_block': ../dtiot.c:619:64: 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; | ^~~~~~~~~~~ ../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:6: 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:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2260 | if (odip = tdip->di_output_dinfo) { | ^~~~ cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtmem.o ../dtmem.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtmmap.o ../dtmmap.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -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:25: warning: variable 'data' set but not used [-Wunused-but-set-variable] 385 | static volatile u_char data; | ^~~~ cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtprint.o ../dtprint.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtprocs.o ../dtprocs.c ../dtjobs.c: In function 'query_threads_info': ../dtjobs.c:1542:9: warning: 'dip' may be used uninitialized in this function [-Wmaybe-uninitialized] 1542 | (void)(*dip->di_iobf->iob_job_query)(mdip, dip->di_job); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dtprint.c: In function 'ReportExtendedErrorInfo': ../dtprint.c:413:6: 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, ',')) { | ^ cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtread.o ../dtread.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtwrite.o ../dtwrite.c ../dtwrite.c: In function 'write_data': ../dtwrite.c:468:14: 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:45: 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:15: warning: unused variable 'updated_offset' [-Wunused-variable] 1277 | Offset_t updated_offset = 0; | ^~~~~~~~~~~~~~ ../dtread.c: In function 'check_last_write_info': ../dtread.c:110:42: 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:14: 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:10: warning: unused variable 'mode' [-Wunused-variable] 1225 | int mode = O_RDONLY; | ^~~~ cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtscsi.o ../dtscsi.c ../dtscsi.c: In function 'clone_scsi_info': ../dtscsi.c:81:6: 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:18: warning: 'sequential_offset' may be used uninitialized in this function [-Wmaybe-uninitialized] 251 | dip->di_offset = sequential_offset; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ../dtwrite.c: In function 'write_data': ../dtwrite.c:354:18: warning: 'sequential_offset' may be used uninitialized in this function [-Wmaybe-uninitialized] 354 | dip->di_offset = sequential_offset; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtstats.o ../dtstats.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dttape.o ../dttape.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtunix.o ../dtunix.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtutil.o ../dtutil.c ../dtstats.c: In function 'report_pass': ../dtstats.c:277:11: 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:7: 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:6: 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:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1244 | ( (count == (ssize_t) -1) && | ~~~~~~~~~~~~~~~~~~~~~~~~^~ 1245 | ( (error == ENOSPC) || | ~~~~~~~~~~~~~~~~~~~~~~ 1246 | (error == ENXIO)) || | ~~~~~~~~~~~~~~~~~ ../dtutil.c: In function 'process_iotune': ../dtutil.c:705:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 705 | if (p = strrchr(buffer, '\r')) *p = '\0'; | ^ ../dtutil.c:706:10: 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:10: 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); | ^~~~~~~~~~~~~~~~ cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtusage.o ../dtusage.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtverify.o ../dtverify.c ../dtutil.c: In function 'seek_position': ../dtutil.c:941:3: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized] 941 | Eprintf(dip, "The offset "FUF" exceeds the disk capacity of "LUF" bytes!\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 942 | pos, disk_capacity); | ~~~~~~~~~~~~~~~~~~~ cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o dtworkloads.o ../dtworkloads.c ../dtverify.c: In function 'dump_buffer': ../dtverify.c:238:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 238 | if (boff) Lprintf(dip, " \"%s\"\n", abufp); abp = abufp; | ^~ ../dtverify.c:238:50: 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:38: 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; | ^~~~~ cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o libscsi.o ../libscsi.c ../dtverify.c: In function 'verify_reread': ../dtverify.c:652:5: warning: 'record_offset' may be used uninitialized in this function [-Wmaybe-uninitialized] 652 | report_reread_command(dip, bcount, record_offset, pattern); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dtverify.c:660:22: warning: 'saved_dio_flag' may be used uninitialized in this function [-Wmaybe-uninitialized] 660 | dip->di_dio_flag = saved_dio_flag; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../dtverify.c:661:24: warning: 'saved_rDebugFlag' may be used uninitialized in this function [-Wmaybe-uninitialized] 661 | dip->di_rDebugFlag = saved_rDebugFlag; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -I.. -DAIO -DMMAP -D__linux__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DSCSI -c -o scsidata.o ../scsidata.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -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:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 817 | if (*identifier = GetDeviceIdentifier(fd, dsf, debug, errlog, | ^ ../libscsi.c:828:6: 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) | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from ../libscsi.c:44: In function 'strncpy', inlined from 'GetUniqueID' at ../libscsi.c:832:12: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output may be truncated copying 8 bytes from a string of length 246 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'GetUniqueID' at ../libscsi.c:833:12: /usr/include/bits/string_fortified.h:137:10: warning: 'strncat' output may be truncated copying 16 bytes from a string of length 238 [-Wstringop-truncation] 137 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loading dt ...done + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9ZnO8f + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dt-21.27.git8d78d78-5.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dt-21.27.git8d78d78-5.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/dt-21.27.git8d78d78-5.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dt-21.27.git8d78d78-5.fc33.riscv64 + cd dt.v21.27.git8d78d78 + install -d -m755 /builddir/build/BUILDROOT/dt-21.27.git8d78d78-5.fc33.riscv64/usr/sbin + install -d -m755 /builddir/build/BUILDROOT/dt-21.27.git8d78d78-5.fc33.riscv64/usr/share/man/man8 + install -d -m755 /builddir/build/BUILDROOT/dt-21.27.git8d78d78-5.fc33.riscv64/usr/share/dt + install -d -m755 /builddir/build/BUILDROOT/dt-21.27.git8d78d78-5.fc33.riscv64/usr/share/doc/dt/html + install -m755 tmp/dt /builddir/build/BUILDROOT/dt-21.27.git8d78d78-5.fc33.riscv64/usr/sbin + install -m644 Documentation/dt.man /builddir/build/BUILDROOT/dt-21.27.git8d78d78-5.fc33.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-5.fc33.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-5.fc33.riscv64/usr/share/dt + install -m644 html/dt-Recommendations.html html/dt.html /builddir/build/BUILDROOT/dt-21.27.git8d78d78-5.fc33.riscv64/usr/share/doc/dt/html + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 21.27.git8d78d78-5.fc33 --unique-debug-suffix -21.27.git8d78d78-5.fc33.riscv64 --unique-debug-src-base dt-21.27.git8d78d78-5.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/dt.v21.27.git8d78d78 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dt-21.27.git8d78d78-5.fc33.riscv64/usr/sbin/dt extracting debug info from /builddir/build/BUILDROOT/dt-21.27.git8d78d78-5.fc33.riscv64/usr/sbin/dt original debug info size: 5352kB, size after compression: 4856kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 3214 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 + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/share/dt/dta 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/dtw from /bin/csh to #!/usr/bin/csh mangling shebang in /usr/share/dt/dtt 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/dtf from /bin/csh to #!/usr/bin/csh mangling shebang in /usr/share/dt/dtc from /bin/csh to #!/usr/bin/csh Processing files: dt-21.27.git8d78d78-5.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.aqIIjj + umask 022 + cd /builddir/build/BUILD + cd dt.v21.27.git8d78d78 + DOCDIR=/builddir/build/BUILDROOT/dt-21.27.git8d78d78-5.fc33.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-5.fc33.riscv64/usr/share/doc/dt + cp -pr Documentation/dt-UsersGuide.txt /builddir/build/BUILDROOT/dt-21.27.git8d78d78-5.fc33.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-5.fc33.riscv64/usr/share/doc/dt + cp -pr html /builddir/build/BUILDROOT/dt-21.27.git8d78d78-5.fc33.riscv64/usr/share/doc/dt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.FRUnnf + umask 022 + cd /builddir/build/BUILD + cd dt.v21.27.git8d78d78 + LICENSEDIR=/builddir/build/BUILDROOT/dt-21.27.git8d78d78-5.fc33.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-5.fc33.riscv64/usr/share/licenses/dt + cp -pr LICENSE /builddir/build/BUILDROOT/dt-21.27.git8d78d78-5.fc33.riscv64/usr/share/licenses/dt + RPM_EC=0 ++ jobs -p + exit 0 Provides: dt = 21.27.git8d78d78-5.fc33 dt(riscv-64) = 21.27.git8d78d78-5.fc33 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) libgcc_s.so.1()(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) librt.so.1()(64bit) librt.so.1(GLIBC_2.27)(64bit) libuuid.so.1()(64bit) libuuid.so.1(UUID_1.0)(64bit) rtld(GNU_HASH) Processing files: dt-debugsource-21.27.git8d78d78-5.fc33.riscv64 Provides: dt-debugsource = 21.27.git8d78d78-5.fc33 dt-debugsource(riscv-64) = 21.27.git8d78d78-5.fc33 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-5.fc33.riscv64 Provides: debuginfo(build-id) = ccf699766879fbbd0489eaa80d5e5c176a269734 dt-debuginfo = 21.27.git8d78d78-5.fc33 dt-debuginfo(riscv-64) = 21.27.git8d78d78-5.fc33 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-5.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dt-21.27.git8d78d78-5.fc33.riscv64 Wrote: /builddir/build/RPMS/dt-21.27.git8d78d78-5.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/dt-debuginfo-21.27.git8d78d78-5.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/dt-debugsource-21.27.git8d78d78-5.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.zNeoGf + umask 022 + cd /builddir/build/BUILD + cd dt.v21.27.git8d78d78 + /usr/bin/rm -rf /builddir/build/BUILDROOT/dt-21.27.git8d78d78-5.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0