Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/dt.spec'], chrootPath='/var/lib/mock/f29-build-26841-13985/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/dt-21.27.git8d78d78-1.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/dt.spec'], chrootPath='/var/lib/mock/f29-build-26841-13985/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.E2Azf7 + 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 . Patch #0 (dt-manpage.patch): + echo 'Patch #0 (dt-manpage.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Documentation/dt.man + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.alrP4V + umask 022 + cd /builddir/build/BUILD + cd dt.v21.27.git8d78d78 + mkdir tmp + cd tmp + make -j4 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 BUILDSTDERR: ../dtaio.c: In function 'dtaio_read_data': BUILDSTDERR: ../dtaio.c:728:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: dip->di_max_data && (dip->di_maxdata_read >= dip->di_max_data) ) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../dtaio.c: In function 'dtaio_process_read': BUILDSTDERR: ../dtaio.c:1013:10: warning: unused variable 'eio_flag' [-Wunused-variable] BUILDSTDERR: hbool_t eio_flag = os_isIoError(error); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: ../dtaio.c:1123:14: warning: unused variable 'rcount' [-Wunused-variable] BUILDSTDERR: ssize_t rcount = verify_record(odip, dip->di_data_buffer, count, acbp->aio_offset, &status); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../dtaio.c: In function 'dtaio_write_data': BUILDSTDERR: ../dtaio.c:1230:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: dip->di_max_data && (dip->di_maxdata_written >= dip->di_max_data) ) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../dtaio.c: In function 'dtaio_process_write': BUILDSTDERR: ../dtaio.c:1522:10: warning: unused variable 'eio_flag' [-Wunused-variable] BUILDSTDERR: hbool_t eio_flag = os_isIoError(error); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: ../dtaio.c:1650:10: warning: unused variable 'rcount' [-Wunused-variable] BUILDSTDERR: ssize_t rcount = verify_record(idip, (u_char *)acbp->aio_buf, count, acbp->aio_offset, &status); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../dt.c: In function 'initiate_devs': BUILDSTDERR: ../dt.c:871:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (p = strchr(p, ',')) { BUILDSTDERR: ^ BUILDSTDERR: ../dtfs.c: In function 'restart_on_file_system_full': BUILDSTDERR: ../dtfs.c:1900:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if ( restart_flag = is_fsfull_restartable(dip) ) { BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: ../dt.c: In function 'handle_file_system_full': BUILDSTDERR: ../dt.c:2471:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if ( free_space = do_free_space_wait(dip, dip->di_fsfree_retries) ) { BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../dt.c:2469:6: warning: unused variable 'rc' [-Wunused-variable] BUILDSTDERR: int rc = dt_truncate_file(dip, dip->di_dname, (Offset_t)0, &isDiskFull, EnableErrors); BUILDSTDERR: ^~ BUILDSTDERR: ../dt.c: In function 'setup_base_name': BUILDSTDERR: ../dt.c:2716:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (p = strrchr(file, dip->di_dir_sep)) { BUILDSTDERR: ^ BUILDSTDERR: ../dtbtag.c: In function 'initialize_btag': BUILDSTDERR: ../dtbtag.c:89:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (p = strchr(hostname, '.')) { BUILDSTDERR: ^ BUILDSTDERR: ../dtbtag.c: In function 'update_record_btag': BUILDSTDERR: ../dtbtag.c:839:14: warning: unused variable 'dsize' [-Wunused-variable] BUILDSTDERR: uint32_t dsize = dip->di_lbdata_size; BUILDSTDERR: ^~~~~ BUILDSTDERR: ../dtbtag.c:838:25: warning: unused variable 'tvp' [-Wunused-variable] BUILDSTDERR: struct timeval tv, *tvp = &tv; BUILDSTDERR: ^~~ BUILDSTDERR: At top level: BUILDSTDERR: ../dtbtag.c:219:14: warning: 'empty_str' defined but not used [-Wunused-variable] BUILDSTDERR: static char *empty_str = ""; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: ../dt.c: In function 'parse_args': BUILDSTDERR: ../dt.c:5764:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (p = strrchr(workload_name, ':')) { BUILDSTDERR: ^ BUILDSTDERR: ../dt.c: In function 'setup_thread_attributes': BUILDSTDERR: ../dt.c:7055:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (p = getenv(THREAD_STACK_ENV)) { BUILDSTDERR: ^ BUILDSTDERR: ../dt.c: In function 'init_pthread_attributes': BUILDSTDERR: ../dt.c:7128:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (p = getenv(THREAD_STACK_ENV)) { BUILDSTDERR: ^ BUILDSTDERR: ../dt.c:7124:12: warning: variable 'desiredStackSize' set but not used [-Wunused-but-set-variable] BUILDSTDERR: size_t desiredStackSize = THREAD_STACK_SIZE; BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: ../dt.c:7123:12: warning: unused variable 'currentStackSize' [-Wunused-variable] BUILDSTDERR: size_t currentStackSize = 0; BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: ../dt.c: In function 'dtGetCommandLine': BUILDSTDERR: ../dt.c:7355:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (p = strrchr(bufptr, '\n')) { BUILDSTDERR: ^ BUILDSTDERR: ../dt.c: In function 'MakeArgList': BUILDSTDERR: ../dt.c:7676:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (*to++ = *from++) ; BUILDSTDERR: ^ BUILDSTDERR: ../dt.c: In function 'clone_device': BUILDSTDERR: ../dt.c:8306:12: warning: variable 'status' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i, status; BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../dt.c: In function 'do_filesystem_setup': BUILDSTDERR: ../dt.c:9457:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (p = strrchr(file, dip->di_dir_sep)) { BUILDSTDERR: ^ BUILDSTDERR: ../dt.c:9528:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (p = strrchr(dip->di_dir, dip->di_dir_sep)) { BUILDSTDERR: ^ BUILDSTDERR: ../dtfs.c: In function 'process_next_dir': BUILDSTDERR: ../dtfs.c:286:8: warning: 'status' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (status == SUCCESS) { BUILDSTDERR: ^ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 BUILDSTDERR: ../dtfmt.c: In function 'FmtString': BUILDSTDERR: ../dtfmt.c:908:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (sptr = strchr(sptr, ifs)) { BUILDSTDERR: ^~~~ BUILDSTDERR: ../dtfmt.c:913:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (sptr = strchr(sptr, '.')) { BUILDSTDERR: ^~~~ BUILDSTDERR: ../dtfmt.c:939:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (sptr = strrchr(pptr, ifs)) { BUILDSTDERR: ^~~~ BUILDSTDERR: ../dtfmt.c:989:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (p = strchr(hostname, '.')) { BUILDSTDERR: ^ BUILDSTDERR: ../dtgen.c: In function 'set_open_flags': BUILDSTDERR: ../dtgen.c:298:11: warning: unused variable 'file' [-Wunused-variable] BUILDSTDERR: char *file = FileName; BUILDSTDERR: ^~~~ BUILDSTDERR: ../dtgen.c: In function 'write_file': BUILDSTDERR: ../dtgen.c:1000:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ( (dip->di_io_mode == MIRROR_MODE) || (dip->di_io_mode == TEST_MODE) && BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: (dip->di_compare_flag == False) && (dip->di_mmap_flag == False) ) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 BUILDSTDERR: ../dtiot.c: In function 'display_iot_block': BUILDSTDERR: ../dtiot.c:619:64: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ( (received_iot_seed && received_word0 && received_word1) && BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: ( (received_iot_seed % IOT_SEED) == 0) || BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../dtiot.c: In function 'display_iot_data': BUILDSTDERR: ../dtiot.c:806:34: warning: unused variable 'good_blocks' [-Wunused-variable] BUILDSTDERR: unsigned int bad_blocks = 0, good_blocks = 0; BUILDSTDERR: ^~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 BUILDSTDERR: ../dtjobs.c: In function 'cleanup_job': BUILDSTDERR: ../dtjobs.c:459:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (tip = job->ji_tinfo) { BUILDSTDERR: ^~~ BUILDSTDERR: ../dtjobs.c: In function 'remove_job_by_id': BUILDSTDERR: ../dtjobs.c:540:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (job = find_job_by_id(dip, job_id, True)) { BUILDSTDERR: ^~~ BUILDSTDERR: ../dtjobs.c: In function 'set_threads_state': BUILDSTDERR: ../dtjobs.c:596:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (dip = dip->di_output_dinfo) { BUILDSTDERR: ^~~ BUILDSTDERR: ../dtjobs.c: In function 'cancel_job_by_id': BUILDSTDERR: ../dtjobs.c:798:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (job = find_job_by_id(dip, job_id, True)) { BUILDSTDERR: ^~~ BUILDSTDERR: ../dtjobs.c: In function 'cancel_job_by_tag': BUILDSTDERR: ../dtjobs.c:814:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (job = find_job_by_tag(dip, job_tag, True)) { BUILDSTDERR: ^~~ BUILDSTDERR: ../dtjobs.c: In function 'cancel_jobs_by_tag': BUILDSTDERR: ../dtjobs.c:832:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (job = find_jobs_by_tag(dip, job_tag, job, lock_jobs)) { BUILDSTDERR: ^~~ BUILDSTDERR: ../dtjobs.c: In function 'pause_job_by_id': BUILDSTDERR: ../dtjobs.c:901:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (job = find_job_by_id(dip, job_id, True)) { BUILDSTDERR: ^~~ BUILDSTDERR: ../dtjobs.c: In function 'pause_job_by_tag': BUILDSTDERR: ../dtjobs.c:923:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (job = find_job_by_tag(dip, job_tag, True)) { BUILDSTDERR: ^~~ BUILDSTDERR: ../dtjobs.c: In function 'pause_jobs_by_tag': BUILDSTDERR: ../dtjobs.c:949:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (job = find_jobs_by_tag(dip, job_tag, job, lock_jobs)) { BUILDSTDERR: ^~~ BUILDSTDERR: ../dtjobs.c: In function 'resume_job_by_id': BUILDSTDERR: ../dtjobs.c:1025:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (job = find_job_by_id(dip, job_id, True)) { BUILDSTDERR: ^~~ BUILDSTDERR: ../dtjobs.c: In function 'resume_job_by_tag': BUILDSTDERR: ../dtjobs.c:1047:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (job = find_job_by_tag(dip, job_tag, True)) { BUILDSTDERR: ^~~ BUILDSTDERR: ../dtjobs.c: In function 'resume_jobs_by_tag': BUILDSTDERR: ../dtjobs.c:1073:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (job = find_jobs_by_tag(dip, job_tag, job, lock_jobs)) { BUILDSTDERR: ^~~ BUILDSTDERR: ../dtjobs.c: In function 'modify_job_by_id': BUILDSTDERR: ../dtjobs.c:1144:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (job = find_job_by_id(dip, job_id, True)) { BUILDSTDERR: ^~~ BUILDSTDERR: ../dtjobs.c: In function 'modify_job_by_tag': BUILDSTDERR: ../dtjobs.c:1163:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (job = find_job_by_tag(dip, job_tag, True)) { BUILDSTDERR: ^~~ BUILDSTDERR: ../dtjobs.c: In function 'modify_jobs_by_tag': BUILDSTDERR: ../dtjobs.c:1184:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (job = find_jobs_by_tag(dip, job_tag, job, lock_jobs)) { BUILDSTDERR: ^~~ BUILDSTDERR: ../dtjobs.c: In function 'query_job_by_id': BUILDSTDERR: ../dtjobs.c:1455:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (job = find_job_by_id(dip, job_id, True)) { BUILDSTDERR: ^~~ BUILDSTDERR: ../dtjobs.c: In function 'query_job_by_tag': BUILDSTDERR: ../dtjobs.c:1471:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (job = find_job_by_tag(dip, job_tag, True)) { BUILDSTDERR: ^~~ BUILDSTDERR: ../dtjobs.c: In function 'query_jobs_by_tag': BUILDSTDERR: ../dtjobs.c:1489:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (job = find_jobs_by_tag(dip, job_tag, job, lock_jobs)) { BUILDSTDERR: ^~~ BUILDSTDERR: ../dtjobs.c: In function 'show_job_by_id': BUILDSTDERR: ../dtjobs.c:1580:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (job = find_job_by_id(dip, job_id, True)) { BUILDSTDERR: ^~~ BUILDSTDERR: ../dtjobs.c: In function 'show_job_by_tag': BUILDSTDERR: ../dtjobs.c:1596:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (job = find_job_by_tag(dip, job_tag, True)) { BUILDSTDERR: ^~~ BUILDSTDERR: ../dtjobs.c: In function 'show_jobs_by_tag': BUILDSTDERR: ../dtjobs.c:1614:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (job = find_jobs_by_tag(dip, job_tag, job, lock_jobs)) { BUILDSTDERR: ^~~ BUILDSTDERR: ../dtjobs.c: In function 'stop_job_by_id': BUILDSTDERR: ../dtjobs.c:1758:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (job = find_job_by_id(dip, job_id, True)) { BUILDSTDERR: ^~~ BUILDSTDERR: ../dtjobs.c: In function 'stop_job_by_tag': BUILDSTDERR: ../dtjobs.c:1774:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (job = find_job_by_tag(dip, job_tag, True)) { BUILDSTDERR: ^~~ BUILDSTDERR: ../dtjobs.c: In function 'stop_jobs_by_tag': BUILDSTDERR: ../dtjobs.c:1792:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (job = find_jobs_by_tag(dip, job_tag, job, lock_jobs)) { BUILDSTDERR: ^~~ BUILDSTDERR: ../dtjobs.c: In function 'wait_for_jobs': BUILDSTDERR: ../dtjobs.c:1841:17: warning: unused variable 'job' [-Wunused-variable] BUILDSTDERR: job_info_t *job = jhdr->ji_flink; BUILDSTDERR: ^~~ BUILDSTDERR: ../dtjobs.c: In function 'wait_for_job_by_id': BUILDSTDERR: ../dtjobs.c:1877:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (job = find_job_by_id(dip, job_id, True)) { BUILDSTDERR: ^~~ BUILDSTDERR: ../dtjobs.c: In function 'wait_for_job_by_tag': BUILDSTDERR: ../dtjobs.c:1914:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (job = find_job_by_tag(dip, job_tag, True)) { BUILDSTDERR: ^~~ BUILDSTDERR: ../dtjobs.c: In function 'wait_for_jobs_by_tag': BUILDSTDERR: ../dtjobs.c:1952:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (job = find_job_by_tag(dip, job_tag, True)) { BUILDSTDERR: ^~~ BUILDSTDERR: ../dtjobs.c: In function 'do_wait_for_threads_done': BUILDSTDERR: ../dtjobs.c:2003:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int status; BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../dtjobs.c: In function 'execute_threads': BUILDSTDERR: ../dtjobs.c:2260:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (odip = tdip->di_output_dinfo) { BUILDSTDERR: ^~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 BUILDSTDERR: ../dtmmap.c: In function 'reference_data': BUILDSTDERR: ../dtmmap.c:385:25: warning: variable 'data' set but not used [-Wunused-but-set-variable] BUILDSTDERR: static volatile u_char data; BUILDSTDERR: ^~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 BUILDSTDERR: ../dtjobs.c: In function 'query_threads_info': BUILDSTDERR: ../dtjobs.c:1542:9: warning: 'dip' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: (void)(*dip->di_iobf->iob_job_query)(mdip, dip->di_job); BUILDSTDERR: ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../dtprint.c: In function 'ReportExtendedErrorInfo': BUILDSTDERR: ../dtprint.c:413:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (p = strrchr(eip->ei_file, dip->di_dir_sep)) { BUILDSTDERR: ^ BUILDSTDERR: ../dtprint.c: In function 'RecordErrorTimes': BUILDSTDERR: ../dtprint.c:508:9: warning: unused variable 'flags' [-Wunused-variable] BUILDSTDERR: int flags = PRT_SYSLOG; BUILDSTDERR: ^~~~~ BUILDSTDERR: ../dtprint.c: In function 'mPrintf': BUILDSTDERR: ../dtprint.c:1038:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int status; BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../dtprint.c: In function 'mPrint': BUILDSTDERR: ../dtprint.c:1068:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int status; BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../dtprint.c: In function 'PrintLines': BUILDSTDERR: ../dtprint.c:1230:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (p = strchr(bp, '\n')) { BUILDSTDERR: ^ BUILDSTDERR: ../dtprocs.c: In function 'start_devs': BUILDSTDERR: ../dtprocs.c:654:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (p = strchr(p, ',')) { BUILDSTDERR: ^ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 BUILDSTDERR: ../dtread.c: In function 'check_last_write_info': BUILDSTDERR: ../dtread.c:110:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: ((ssize_t)dip->di_last_write_size > 0) && (dip->di_last_write_size != bsize) ) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../dtread.c: In function 'read_data': BUILDSTDERR: ../dtread.c:381:14: warning: unused variable 'rcount' [-Wunused-variable] BUILDSTDERR: ssize_t rcount = verify_record(odip, dip->di_data_buffer, count, odip->di_offset, &status); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../dtread.c: In function 'read_data_iolock': BUILDSTDERR: ../dtread.c:533:13: warning: unused variable 'check_write_limit' [-Wunused-variable] BUILDSTDERR: hbool_t check_write_limit = False; BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ../dtread.c: In function 'verify_record': BUILDSTDERR: ../dtread.c:1189:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (dip->di_pattern_buffer = pbase) { BUILDSTDERR: ^~~ BUILDSTDERR: ../dtread.c: In function 'FindCapacity': BUILDSTDERR: ../dtread.c:1225:10: warning: unused variable 'mode' [-Wunused-variable] BUILDSTDERR: int mode = O_RDONLY; BUILDSTDERR: ^~~~ BUILDSTDERR: ../dtwrite.c: In function 'write_data': BUILDSTDERR: ../dtwrite.c:468:14: warning: unused variable 'rcount' [-Wunused-variable] BUILDSTDERR: ssize_t rcount = verify_record(idip, dip->di_data_buffer, count, dip->di_offset, &status); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../dtwrite.c: In function 'write_data_iolock': BUILDSTDERR: ../dtwrite.c:867:45: warning: self-comparison always evaluates to true [-Wtautological-compare] BUILDSTDERR: if ( dip->di_max_data && (dip->di_max_data >= dip->di_max_data) ) { BUILDSTDERR: ^~ BUILDSTDERR: ../dtwrite.c: In function 'check_write': BUILDSTDERR: ../dtwrite.c:1277:15: warning: unused variable 'updated_offset' [-Wunused-variable] BUILDSTDERR: Offset_t updated_offset = 0; BUILDSTDERR: ^~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 BUILDSTDERR: ../dtscsi.c: In function 'clone_scsi_info': BUILDSTDERR: ../dtscsi.c:81:6: warning: unused variable 'error' [-Wunused-variable] BUILDSTDERR: int error = init_sg_info(cdip); BUILDSTDERR: ^~~~~ BUILDSTDERR: ../dtscsi.c: In function 'do_unmap_blocks': BUILDSTDERR: ../dtscsi.c:483:5: warning: enumeration value 'UNMAP_TYPE_NONE' not handled in switch [-Wswitch] BUILDSTDERR: switch (unmap_type) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../dtscsi.c:483:5: warning: enumeration value 'UNMAP_TYPE_RANDOM' not handled in switch [-Wswitch] BUILDSTDERR: ../dtscsi.c:483:5: warning: enumeration value 'NUM_UNMAP_TYPES' not handled in switch [-Wswitch] BUILDSTDERR: ../dtscsi.c: In function 'do_scsi_triage': BUILDSTDERR: ../dtscsi.c:557:27: warning: unused variable 'retries' [-Wunused-variable] BUILDSTDERR: int status = SUCCESS, retries = 0; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ../dtread.c: In function 'read_data': BUILDSTDERR: ../dtread.c:251:18: warning: 'sequential_offset' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: dip->di_offset = sequential_offset; BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 BUILDSTDERR: ../dtwrite.c: In function 'write_data': BUILDSTDERR: ../dtwrite.c:354:18: warning: 'sequential_offset' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: dip->di_offset = sequential_offset; BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../dtstats.c: In function 'report_pass': BUILDSTDERR: ../dtstats.c:277:11: warning: unused variable 'max_files' [-Wunused-variable] BUILDSTDERR: large_t max_files = calculate_max_files(dip); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: ../dtstats.c: In function 'report_os_information': BUILDSTDERR: ../dtstats.c:850:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if ( bp = os_gethostname() ) { BUILDSTDERR: ^~ BUILDSTDERR: ../dtstats.c:854:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if ( address = os_getaddrinfo(dip, host, dip->di_inet_family, NULL, NULL) ) { BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ../dtstats.c:862:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if ( bp = os_getusername() ) { BUILDSTDERR: ^~ BUILDSTDERR: ../dtstats.c:867:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if ( bp = os_getosinfo() ) { BUILDSTDERR: ^~ BUILDSTDERR: ../dtunix.c: In function 'isDeviceMounted': BUILDSTDERR: ../dtunix.c:404:10: warning: unused variable 'path_dir' [-Wunused-variable] BUILDSTDERR: char path_dir[PATH_BUFFER_SIZE]; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: ../dtunix.c: In function 'os_ctime': BUILDSTDERR: ../dtunix.c:712:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (bp = strrchr(time_buffer, '\n')) { BUILDSTDERR: ^~ BUILDSTDERR: ../dtunix.c: In function 'tPerror': BUILDSTDERR: ../dtunix.c:1120:11: warning: variable 'fp' set but not used [-Wunused-but-set-variable] BUILDSTDERR: FILE *fp; BUILDSTDERR: ^~ BUILDSTDERR: ../dtunix.c: In function 'os_isEof': BUILDSTDERR: ../dtunix.c:1244:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: ( (count == (ssize_t) -1) && BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: ( (error == ENOSPC) || BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: (error == ENXIO)) || BUILDSTDERR: ~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 BUILDSTDERR: ../dtutil.c: In function 'process_iotune': BUILDSTDERR: ../dtutil.c:705:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (p = strrchr(buffer, '\r')) *p = '\0'; BUILDSTDERR: ^ BUILDSTDERR: ../dtutil.c:706:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (p = strrchr(buffer, '\n')) *p = '\0'; BUILDSTDERR: ^ BUILDSTDERR: ../dtutil.c: In function 'FormatElapstedTime': BUILDSTDERR: ../dtutil.c:872:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (hr = ticks / 60) { BUILDSTDERR: ^~ BUILDSTDERR: ../dtutil.c: In function 'is_Eof': BUILDSTDERR: ../dtutil.c:1993:10: warning: variable 'data_bytes' set but not used [-Wunused-but-set-variable] BUILDSTDERR: large_t data_bytes; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../dtutil.c: At top level: BUILDSTDERR: ../dtutil.c:92:12: warning: 'get_max_cpu_busy' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: static int get_max_cpu_busy(dinfo_t *dip, char *cmd); BUILDSTDERR: ^~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 BUILDSTDERR: ../dtutil.c: In function 'seek_position': BUILDSTDERR: ../dtutil.c:941:3: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: Eprintf(dip, "The offset "FUF" exceeds the disk capacity of "LUF" bytes!\n", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: pos, disk_capacity); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../dtverify.c: In function 'dump_buffer': BUILDSTDERR: ../dtverify.c:238:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (boff) Lprintf(dip, " \"%s\"\n", abufp); abp = abufp; BUILDSTDERR: ^~ BUILDSTDERR: ../dtverify.c:238:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if (boff) Lprintf(dip, " \"%s\"\n", abufp); abp = abufp; BUILDSTDERR: ^~~ BUILDSTDERR: ../dtverify.c: In function 'verify_reread': BUILDSTDERR: ../dtverify.c:562:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ( (dip->di_bypass_flag == False) && BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: (bcount % BLOCK_SIZE) || (record_offset % BLOCK_SIZE) ) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../dtverify.c: In function 'verify_data_normal': BUILDSTDERR: ../dtverify.c:898:23: warning: unused variable 'dsize' [-Wunused-variable] BUILDSTDERR: register uint32_t dsize = dip->di_lbdata_size; BUILDSTDERR: ^~~~~ BUILDSTDERR: ../dtverify.c: In function 'verify_reread': BUILDSTDERR: ../dtverify.c:652:5: warning: 'record_offset' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: report_reread_command(dip, bcount, record_offset, pattern); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../dtverify.c:660:22: warning: 'saved_dio_flag' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: dip->di_dio_flag = saved_dio_flag; BUILDSTDERR: ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: ../dtverify.c:661:24: warning: 'saved_rDebugFlag' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: dip->di_rDebugFlag = saved_rDebugFlag; BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 BUILDSTDERR: ../libscsi.c: In function 'GetUniqueID': BUILDSTDERR: ../libscsi.c:817:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (*identifier = GetDeviceIdentifier(fd, dsf, debug, errlog, BUILDSTDERR: ^ BUILDSTDERR: ../libscsi.c:828:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (serial_number = GetSerialNumber(fd, dsf, debug, errlog, BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: ../scsidata.c: In function 'DumpSenseDescriptors': BUILDSTDERR: ../scsidata.c:1127:14: warning: unused variable 'dip' [-Wunused-variable] BUILDSTDERR: dinfo_t *dip = sgp->opaque; BUILDSTDERR: ^~~ BUILDSTDERR: scsilib.c:801:1: warning: 'linux_SuggestStatus' defined but not used [-Wunused-function] BUILDSTDERR: linux_SuggestStatus(unsigned short suggest_status) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ loading dt ...done + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.RPmypU + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dt-21.27.git8d78d78-1.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dt-21.27.git8d78d78-1.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/dt-21.27.git8d78d78-1.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dt-21.27.git8d78d78-1.fc29.riscv64 + cd dt.v21.27.git8d78d78 + install -d -m755 /builddir/build/BUILDROOT/dt-21.27.git8d78d78-1.fc29.riscv64/usr/sbin + install -d -m755 /builddir/build/BUILDROOT/dt-21.27.git8d78d78-1.fc29.riscv64/usr/share/man/man8 + install -d -m755 /builddir/build/BUILDROOT/dt-21.27.git8d78d78-1.fc29.riscv64/usr/share/dt + install -d -m755 /builddir/build/BUILDROOT/dt-21.27.git8d78d78-1.fc29.riscv64/usr/share/doc/dt/html + install -m755 tmp/dt /builddir/build/BUILDROOT/dt-21.27.git8d78d78-1.fc29.riscv64/usr/sbin + install -m644 Documentation/dt.man /builddir/build/BUILDROOT/dt-21.27.git8d78d78-1.fc29.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-1.fc29.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-1.fc29.riscv64/usr/share/dt + install -m644 html/dt-Recommendations.html html/dt.html /builddir/build/BUILDROOT/dt-21.27.git8d78d78-1.fc29.riscv64/usr/share/doc/dt/html + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 21.27.git8d78d78-1.fc29 --unique-debug-suffix -21.27.git8d78d78-1.fc29.riscv64 --unique-debug-src-base dt-21.27.git8d78d78-1.fc29.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-1.fc29.riscv64/usr/sbin/dt extracting debug info from /builddir/build/BUILDROOT/dt-21.27.git8d78d78-1.fc29.riscv64/usr/sbin/dt /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 3214 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/share/dt/dtt 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/dtf 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/dts 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/dtc from /bin/csh to #!/usr/bin/csh Processing files: dt-21.27.git8d78d78-1.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.qlGjgX + umask 022 + cd /builddir/build/BUILD + cd dt.v21.27.git8d78d78 + DOCDIR=/builddir/build/BUILDROOT/dt-21.27.git8d78d78-1.fc29.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-1.fc29.riscv64/usr/share/doc/dt + cp -pr Documentation/dt-UsersGuide.txt /builddir/build/BUILDROOT/dt-21.27.git8d78d78-1.fc29.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-1.fc29.riscv64/usr/share/doc/dt + cp -pr html /builddir/build/BUILDROOT/dt-21.27.git8d78d78-1.fc29.riscv64/usr/share/doc/dt + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ffOUc3 + umask 022 + cd /builddir/build/BUILD + cd dt.v21.27.git8d78d78 + LICENSEDIR=/builddir/build/BUILDROOT/dt-21.27.git8d78d78-1.fc29.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-1.fc29.riscv64/usr/share/licenses/dt + cp -pr LICENSE /builddir/build/BUILDROOT/dt-21.27.git8d78d78-1.fc29.riscv64/usr/share/licenses/dt + exit 0 Provides: dt = 21.27.git8d78d78-1.fc29 dt(riscv-64) = 21.27.git8d78d78-1.fc29 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) 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-1.fc29.riscv64 Provides: dt-debugsource = 21.27.git8d78d78-1.fc29 dt-debugsource(riscv-64) = 21.27.git8d78d78-1.fc29 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-1.fc29.riscv64 Provides: debuginfo(build-id) = faec19b48f38136f1182adaafab837977bac7dec dt-debuginfo = 21.27.git8d78d78-1.fc29 dt-debuginfo(riscv-64) = 21.27.git8d78d78-1.fc29 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-1.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dt-21.27.git8d78d78-1.fc29.riscv64 Wrote: /builddir/build/RPMS/dt-21.27.git8d78d78-1.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/dt-debugsource-21.27.git8d78d78-1.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/dt-debuginfo-21.27.git8d78d78-1.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.VIuax3 + umask 022 + cd /builddir/build/BUILD + cd dt.v21.27.git8d78d78 + /usr/bin/rm -rf /builddir/build/BUILDROOT/dt-21.27.git8d78d78-1.fc29.riscv64 + exit 0 Child return code was: 0