Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/mtx.spec'], chrootPath='/var/lib/mock/centos-stream-9-x86_64-1672896790.303134/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.df6zzv5n:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.df6zzv5n:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f3960f8a6a2c410bbbe07a0165de50a6', '-D', '/var/lib/mock/centos-stream-9-x86_64-1672896790.303134/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.df6zzv5n:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/mtx.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1628467200 Wrote: /builddir/build/SRPMS/mtx-1.3.12-26.eln_clang_unknown.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/mtx.spec'], chrootPath='/var/lib/mock/centos-stream-9-x86_64-1672896790.303134/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.df6zzv5n:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.df6zzv5n:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '11747c909c554197b64efde9f8f6bbdc', '-D', '/var/lib/mock/centos-stream-9-x86_64-1672896790.303134/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.df6zzv5n:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/mtx.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1628467200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qQ02Al + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mtx-1.3.12 + /usr/bin/gzip -dc /builddir/build/SOURCES/mtx-1.3.12.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mtx-1.3.12 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (mtx-1.3.12-destdir.patch): + echo 'Patch #0 (mtx-1.3.12-destdir.patch):' + /usr/bin/patch --no-backup-if-mismatch -p2 -b --suffix .destdir --fuzz=0 patching file Makefile.in Patch #1 (mtx-1.3.12-argc.patch): + echo 'Patch #1 (mtx-1.3.12-argc.patch):' + /usr/bin/patch --no-backup-if-mismatch -p2 -b --suffix .argc --fuzz=0 patching file loaderinfo.c patching file tapeinfo.c + chmod a-x contrib/config_sgen_solaris.sh contrib/mtx-changer + '[' -e /usr/lib/rpm/clang/mtx-run ']' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PqN50Y + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd mtx-1.3.12 + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + '[' -fltox '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now ' ']' ++ find . -name ltmain.sh + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking target system type... x86_64-redhat-linux-gnu checking for x86_64-redhat-linux-gnu-gcc... clang checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking for a BSD-compatible install... /usr/bin/install -c checking for objcopy... yes checking how to run the C preprocessor... clang -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for unistd.h... (cached) yes checking for stdlib.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for string.h... (cached) yes checking scsi/scsi.h usability... yes checking scsi/scsi.h presence... yes checking for scsi/scsi.h... yes checking scsi/scsi_ioctl.h usability... yes checking scsi/scsi_ioctl.h presence... yes checking for scsi/scsi_ioctl.h... yes checking scsi/sg.h usability... yes checking scsi/sg.h presence... yes checking for scsi/sg.h... yes checking sys/gscdds.h usability... no checking sys/gscdds.h presence... no checking for sys/gscdds.h... no checking camlib.h usability... no checking camlib.h presence... no checking for camlib.h... no checking cam/cam_ccb.h usability... no checking cam/cam_ccb.h presence... no checking for cam/cam_ccb.h... no checking cam/scsi/scsi_message.h usability... no checking cam/scsi/scsi_message.h presence... no checking for cam/scsi/scsi_message.h... no checking sys/fsid.h usability... no checking sys/fsid.h presence... no checking for sys/fsid.h... no checking sys/fstyp.h usability... no checking sys/fstyp.h presence... no checking for sys/fstyp.h... no checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking sys/mnttab.h usability... no checking sys/mnttab.h presence... no checking for sys/mnttab.h... no checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/scsi/impl/uscsi.h usability... no checking sys/scsi/impl/uscsi.h presence... no checking for sys/scsi/impl/uscsi.h... no checking sys/scsi.h usability... no checking sys/scsi.h presence... no checking for sys/scsi.h... no checking sys/scsi_ctl.h usability... no checking sys/scsi_ctl.h presence... no checking for sys/scsi_ctl.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/mtio.h usability... yes checking sys/mtio.h presence... yes checking for sys/mtio.h... yes checking for sys/param.h... (cached) yes checking dslib.h usability... no checking dslib.h presence... no checking for dslib.h... no checking du/defs.h usability... no checking du/defs.h presence... no checking for du/defs.h... no checking ddk/ntddscsi.h usability... no checking ddk/ntddscsi.h presence... no checking for ddk/ntddscsi.h... no checking for an ANSI C-conforming const... yes checking for size_t... yes checking for pid_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 8 checking whether byte ordering is bigendian... no checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no configure: creating ./config.status config.status: creating Makefile config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting config.status: creating config.h + make -j2 clang -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -DVERSION="\"1.3.12\"" -I. -I. -DLONG_PRINT_REQUEST_SENSE=1 -c -o mtx.o mtx.c clang -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -DVERSION="\"1.3.12\"" -I. -I. -DLONG_PRINT_REQUEST_SENSE=1 -c -o mtxl.o mtxl.c clang -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -DVERSION="\"1.3.12\"" -I. -I. -DLONG_PRINT_REQUEST_SENSE=1 -c -o tapeinfo.o tapeinfo.c clang -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -DVERSION="\"1.3.12\"" -I. -I. -DLONG_PRINT_REQUEST_SENSE=1 -c -o loaderinfo.o loaderinfo.c clang -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -DVERSION="\"1.3.12\"" -I. -I. -DLONG_PRINT_REQUEST_SENSE=1 -c -o scsitape.o scsitape.c scsitape.c:149:6: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] clang -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -DVERSION="\"1.3.12\"" -I. -I. -DLONG_PRINT_REQUEST_SENSE=1 -c -o scsieject.o scsieject.c if (!MediumChangerFD == -1) ^ ~~ scsitape.c:149:6: note: add parentheses after the '!' to evaluate the comparison first if (!MediumChangerFD == -1) ^ ( ) scsitape.c:149:6: note: add parentheses around left hand side expression to silence this warning if (!MediumChangerFD == -1) ^ ( ) scsitape.c:149:23: warning: result of comparison of constant -1 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] if (!MediumChangerFD == -1) ~~~~~~~~~~~~~~~~ ^ ~~ scsitape.c:867:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] write(outfile,buffer,len); ^~~~~ ~~~~~~~~~~~~~~~~~~ scsitape.c:887:6: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] write(outfile,buffer,len); ^~~~~ ~~~~~~~~~~~~~~~~~~ scsitape.c:899:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] write(outfile,buffer,len); ^~~~~ ~~~~~~~~~~~~~~~~~~ 5 warnings generated. clang -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -o mtx mtx.o mtxl.o clang -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -o tapeinfo tapeinfo.o mtxl.o clang -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -o loaderinfo loaderinfo.o mtxl.o clang -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -o scsitape scsitape.o mtxl.o clang -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -o scsieject scsieject.o mtxl.o + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.S60VFb + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64 ++ dirname /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64 + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd mtx-1.3.12 + make install DESTDIR=/builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64 /usr/bin/install -c -m 755 -d /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/sbin for file in mtx tapeinfo loaderinfo scsitape scsieject; do \ /usr/bin/install -c -m 755 "$file" /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/sbin ; \ done /usr/bin/install -c -m 755 -d /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/share/man /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/share/man/man1 for file in mtx.1 tapeinfo.1 scsitape.1 scsieject.1 loaderinfo.1 ; do \ /usr/bin/install -c -m 644 "$file" /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/share/man/man1 ; \ done + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/sbin/scsieject [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/sbin/scsieject built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/sbin/scsitape [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/sbin/scsitape built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/sbin/loaderinfo [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/sbin/loaderinfo built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/sbin/tapeinfo [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/sbin/tapeinfo built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/sbin/mtx [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/sbin/mtx built with clang + /usr/lib/rpm/redhat/brp-llvm-compile-lto-elf -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto Checking for LLVM bitcode artifacts + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.3.12-26.eln_clang_unknown --unique-debug-suffix -1.3.12-26.eln_clang_unknown.x86_64 --unique-debug-src-base mtx-1.3.12-26.eln_clang_unknown.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/mtx-1.3.12 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/sbin/mtx explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/sbin/loaderinfo extracting debug info from /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/sbin/mtx extracting debug info from /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/sbin/loaderinfo explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/sbin/scsieject extracting debug info from /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/sbin/scsieject explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/sbin/scsitape extracting debug info from /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/sbin/scsitape explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/sbin/tapeinfo extracting debug info from /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/sbin/tapeinfo original debug info size: 284kB, size after compression: 264kB /usr/lib/rpm/sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match. 394 blocks + /usr/lib/rpm/check-buildroot + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/lib/debug/usr/sbin/tapeinfo-1.3.12-26.eln_clang_unknown.x86_64.debug [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/lib/debug/usr/sbin/tapeinfo-1.3.12-26.eln_clang_unknown.x86_64.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/lib/debug/usr/sbin/scsitape-1.3.12-26.eln_clang_unknown.x86_64.debug error: write on a pipe with no reader [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/lib/debug/usr/sbin/scsitape-1.3.12-26.eln_clang_unknown.x86_64.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/lib/debug/usr/sbin/scsieject-1.3.12-26.eln_clang_unknown.x86_64.debug [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/lib/debug/usr/sbin/scsieject-1.3.12-26.eln_clang_unknown.x86_64.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/lib/debug/usr/sbin/mtx-1.3.12-26.eln_clang_unknown.x86_64.debug [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/lib/debug/usr/sbin/mtx-1.3.12-26.eln_clang_unknown.x86_64.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/lib/debug/usr/sbin/loaderinfo-1.3.12-26.eln_clang_unknown.x86_64.debug [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/lib/debug/usr/sbin/loaderinfo-1.3.12-26.eln_clang_unknown.x86_64.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/sbin/scsieject [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/lib/debug/usr/sbin/scsieject-1.3.12-26.eln_clang_unknown.x86_64.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/sbin/scsitape [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/lib/debug/usr/sbin/scsitape-1.3.12-26.eln_clang_unknown.x86_64.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/sbin/loaderinfo [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/lib/debug/usr/sbin/loaderinfo-1.3.12-26.eln_clang_unknown.x86_64.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/sbin/tapeinfo error: write on a pipe with no reader [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/lib/debug/usr/sbin/tapeinfo-1.3.12-26.eln_clang_unknown.x86_64.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/sbin/mtx [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/lib/debug/usr/sbin/mtx-1.3.12-26.eln_clang_unknown.x86_64.debug built with clang + /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 Processing files: mtx-1.3.12-26.eln_clang_unknown.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.MTDB82 + umask 022 + cd /builddir/build/BUILD + cd mtx-1.3.12 + DOCDIR=/builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/share/doc/mtx + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/share/doc/mtx + cp -pr CHANGES /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/share/doc/mtx + cp -pr COMPATABILITY /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/share/doc/mtx + cp -pr contrib /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/share/doc/mtx + cp -pr FAQ /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/share/doc/mtx + cp -pr LICENSE /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/share/doc/mtx + cp -pr mtx.doc /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/share/doc/mtx + cp -pr mtxl.README.html /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/share/doc/mtx + cp -pr README /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/share/doc/mtx + cp -pr TODO /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64/usr/share/doc/mtx + RPM_EC=0 ++ jobs -p + exit 0 Provides: mtx = 1.3.12-26.eln_clang_unknown mtx(x86-64) = 1.3.12-26.eln_clang_unknown Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) Processing files: mtx-debugsource-1.3.12-26.eln_clang_unknown.x86_64 Provides: mtx-debugsource = 1.3.12-26.eln_clang_unknown mtx-debugsource(x86-64) = 1.3.12-26.eln_clang_unknown Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mtx-debuginfo-1.3.12-26.eln_clang_unknown.x86_64 Provides: debuginfo(build-id) = 3101eb55d9779e6587c634c7eb3bca76f295b936 debuginfo(build-id) = 77fee9741f7acdaf65c0b8078a0d0251f97ea6d8 debuginfo(build-id) = 843a0d1c96b04f14d851e266c288c1c7d4a8371b debuginfo(build-id) = 876224073d019ccae4a7190a7b4810542127a3f9 debuginfo(build-id) = b243608241f8a25c96040071eaabe96d7c7ffda0 mtx-debuginfo = 1.3.12-26.eln_clang_unknown mtx-debuginfo(x86-64) = 1.3.12-26.eln_clang_unknown Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mtx-debugsource(x86-64) = 1.3.12-26.eln_clang_unknown Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64 Wrote: /builddir/build/RPMS/mtx-1.3.12-26.eln_clang_unknown.x86_64.rpm Wrote: /builddir/build/RPMS/mtx-debuginfo-1.3.12-26.eln_clang_unknown.x86_64.rpm Wrote: /builddir/build/RPMS/mtx-debugsource-1.3.12-26.eln_clang_unknown.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.apFLoy + umask 022 + cd /builddir/build/BUILD + cd mtx-1.3.12 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mtx-1.3.12-26.eln_clang_unknown.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0