Mock Version: 4.1
Mock Version: 4.1
Mock Version: 4.1
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/mtx.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-254282-24615/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffff8771f9d0>timeout=86400uid=981gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wsy8rqy8:/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=False)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wsy8rqy8:/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', '49e4545f867446d7beeb90326c1262a9', '-D', '/var/lib/mock/dist-ocs23-base-build-254282-24615/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wsy8rqy8:/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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: aarch64
Building for target aarch64
Wrote: /builddir/build/SRPMS/mtx-1.3.12-5.ocs23.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/mtx.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-254282-24615/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffff8771f9d0>timeout=86400uid=981gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wsy8rqy8:/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=False)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wsy8rqy8:/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', 'e10431c582c14358be1bd8086c15ec4f', '-D', '/var/lib/mock/dist-ocs23-base-build-254282-24615/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wsy8rqy8:/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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: aarch64
Building for target aarch64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7h9v5Q
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf mtx-1.3.12
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mtx-1.3.12.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd mtx-1.3.12
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/mtx-1.3.12-destdir.patch
+ /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/mtx-1.3.12-argc.patch
+ chmod a-x contrib/config_sgen_solaris.sh contrib/mtx-changer
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Ddjpum
+ umask 022
+ cd /builddir/build/BUILD
+ 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CFLAGS
+ CXXFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CXXFLAGS
+ FFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd mtx-1.3.12
+ '[' '-flto=auto -ffat-lto-objectsx' '!=' 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/OpenCloudOS/config.sub ']'
+ /usr/bin/rm -f ./config.sub
++ basename ./config.sub
+ /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub
'/usr/lib/rpm/OpenCloudOS/config.sub' -> './config.sub'
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']'
+ /usr/bin/rm -f ./config.guess
++ basename ./config.guess
+ /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess
'/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess'
+ '[' 1 = 1 ']'
+ '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']'
++ find . -name ltmain.sh
+ ./configure --build=aarch64-opencloudos-linux-gnu --host=aarch64-opencloudos-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... aarch64-opencloudos-linux-gnu
checking host system type... aarch64-opencloudos-linux-gnu
checking target system type... aarch64-opencloudos-linux-gnu
checking for aarch64-opencloudos-linux-gnu-gcc... gcc
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 gcc accepts -g... yes
checking for gcc 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... gcc -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
+ /usr/bin/make -O -j8 V=1 VERBOSE=1
gcc -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DVERSION="\"1.3.12\"" -I. -I. -DLONG_PRINT_REQUEST_SENSE=1  -c -o tapeinfo.o tapeinfo.c
gcc -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DVERSION="\"1.3.12\"" -I. -I. -DLONG_PRINT_REQUEST_SENSE=1  -c -o scsieject.o scsieject.c
gcc -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DVERSION="\"1.3.12\"" -I. -I. -DLONG_PRINT_REQUEST_SENSE=1  -c -o loaderinfo.o loaderinfo.c
gcc -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DVERSION="\"1.3.12\"" -I. -I. -DLONG_PRINT_REQUEST_SENSE=1  -c -o mtx.o mtx.c
gcc -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DVERSION="\"1.3.12\"" -I. -I. -DLONG_PRINT_REQUEST_SENSE=1  -c -o scsitape.o scsitape.c
scsitape.c: In function 'execute_command':
scsitape.c:149:30: warning: comparison of constant '-1' with boolean expression is always false [-Wbool-compare]
  149 |         if (!MediumChangerFD == -1)
      |                              ^~
scsitape.c:149:30: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
scsitape.c:149:13: note: add parentheses around left hand side expression to silence this warning
  149 |         if (!MediumChangerFD == -1)
      |             ^~~~~~~~~~~~~~~~
      |             (               )
scsitape.c: In function 'S_read':
scsitape.c:867:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  867 |                                 write(outfile,buffer,len);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~
scsitape.c:887:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  887 |                                         write(outfile,buffer,len);
      |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~
scsitape.c:899:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  899 |                         write(outfile,buffer,len);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~
gcc -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -DVERSION="\"1.3.12\"" -I. -I. -DLONG_PRINT_REQUEST_SENSE=1  -c -o mtxl.o mtxl.c
gcc -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -o loaderinfo loaderinfo.o mtxl.o  
gcc -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -o scsieject scsieject.o mtxl.o  
gcc -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -o scsitape scsitape.o mtxl.o  
gcc -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -o tapeinfo tapeinfo.o mtxl.o  
gcc -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -o mtx mtx.o mtxl.o  
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.UTKaAR
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/mtx-1.3.12-5.ocs23.aarch64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/mtx-1.3.12-5.ocs23.aarch64
++ dirname /builddir/build/BUILDROOT/mtx-1.3.12-5.ocs23.aarch64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/mtx-1.3.12-5.ocs23.aarch64
+ cd mtx-1.3.12
+ /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/mtx-1.3.12-5.ocs23.aarch64 'INSTALL=/usr/bin/install -p'
/usr/bin/install -p -m 755 -d /builddir/build/BUILDROOT/mtx-1.3.12-5.ocs23.aarch64/usr/sbin
for file in mtx tapeinfo loaderinfo scsitape scsieject; do \
/usr/bin/install -p -m 755 "$file" /builddir/build/BUILDROOT/mtx-1.3.12-5.ocs23.aarch64/usr/sbin ; \
done	
/usr/bin/install -p -m 755 -d /builddir/build/BUILDROOT/mtx-1.3.12-5.ocs23.aarch64/usr/share/man /builddir/build/BUILDROOT/mtx-1.3.12-5.ocs23.aarch64/usr/share/man/man1
for file in mtx.1 tapeinfo.1 scsitape.1 scsieject.1 loaderinfo.1 ; do \
/usr/bin/install -p -m 644 "$file"  /builddir/build/BUILDROOT/mtx-1.3.12-5.ocs23.aarch64/usr/share/man/man1 ; \
done
+ /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.3.12-5.ocs23 --unique-debug-suffix -1.3.12-5.ocs23.aarch64 --unique-debug-src-base mtx-1.3.12-5.ocs23.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/mtx-1.3.12
extracting debug info from /builddir/build/BUILDROOT/mtx-1.3.12-5.ocs23.aarch64/usr/sbin/scsieject
extracting debug info from /builddir/build/BUILDROOT/mtx-1.3.12-5.ocs23.aarch64/usr/sbin/loaderinfo
extracting debug info from /builddir/build/BUILDROOT/mtx-1.3.12-5.ocs23.aarch64/usr/sbin/mtx
extracting debug info from /builddir/build/BUILDROOT/mtx-1.3.12-5.ocs23.aarch64/usr/sbin/tapeinfo
extracting debug info from /builddir/build/BUILDROOT/mtx-1.3.12-5.ocs23.aarch64/usr/sbin/scsitape
401 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/OpenCloudOS/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs
+ /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0
+ /usr/lib/rpm/OpenCloudOS/brp-python-hardlink
Processing files: mtx-1.3.12-5.ocs23.aarch64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.tsoUBn
+ umask 022
+ cd /builddir/build/BUILD
+ cd mtx-1.3.12
+ DOCDIR=/builddir/build/BUILDROOT/mtx-1.3.12-5.ocs23.aarch64/usr/share/doc/mtx
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/mtx-1.3.12-5.ocs23.aarch64/usr/share/doc/mtx
+ cp -pr CHANGES /builddir/build/BUILDROOT/mtx-1.3.12-5.ocs23.aarch64/usr/share/doc/mtx
+ cp -pr COMPATABILITY /builddir/build/BUILDROOT/mtx-1.3.12-5.ocs23.aarch64/usr/share/doc/mtx
+ cp -pr contrib /builddir/build/BUILDROOT/mtx-1.3.12-5.ocs23.aarch64/usr/share/doc/mtx
+ cp -pr FAQ /builddir/build/BUILDROOT/mtx-1.3.12-5.ocs23.aarch64/usr/share/doc/mtx
+ cp -pr mtx.doc /builddir/build/BUILDROOT/mtx-1.3.12-5.ocs23.aarch64/usr/share/doc/mtx
+ cp -pr mtxl.README.html /builddir/build/BUILDROOT/mtx-1.3.12-5.ocs23.aarch64/usr/share/doc/mtx
+ cp -pr README /builddir/build/BUILDROOT/mtx-1.3.12-5.ocs23.aarch64/usr/share/doc/mtx
+ cp -pr TODO /builddir/build/BUILDROOT/mtx-1.3.12-5.ocs23.aarch64/usr/share/doc/mtx
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.HP6bzD
+ umask 022
+ cd /builddir/build/BUILD
+ cd mtx-1.3.12
+ LICENSEDIR=/builddir/build/BUILDROOT/mtx-1.3.12-5.ocs23.aarch64/usr/share/licenses/mtx
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/mtx-1.3.12-5.ocs23.aarch64/usr/share/licenses/mtx
+ cp -pr LICENSE /builddir/build/BUILDROOT/mtx-1.3.12-5.ocs23.aarch64/usr/share/licenses/mtx
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: mtx = 1.3.12-5.ocs23 mtx(aarch-64) = 1.3.12-5.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH)
Processing files: mtx-debugsource-1.3.12-5.ocs23.aarch64
Provides: mtx-debugsource = 1.3.12-5.ocs23 mtx-debugsource(aarch-64) = 1.3.12-5.ocs23
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-5.ocs23.aarch64
Provides: debuginfo(build-id) = 66ac4ec9dc7ac3d13e40284c3b2e8c6beea907e0 debuginfo(build-id) = 8cb890d229b4201add534c8faffa02ca83f721f5 debuginfo(build-id) = dbcda13de9986939927bacf6c9f2be780eb78d78 debuginfo(build-id) = e9e4ed26529a010f66d39806982e4a6f40c8d267 debuginfo(build-id) = f1a6c9620fe794bceadf89f7043effa6970799d3 mtx-debuginfo = 1.3.12-5.ocs23 mtx-debuginfo(aarch-64) = 1.3.12-5.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: mtx-debugsource(aarch-64) = 1.3.12-5.ocs23
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mtx-1.3.12-5.ocs23.aarch64
Wrote: /builddir/build/RPMS/mtx-debugsource-1.3.12-5.ocs23.aarch64.rpm
Wrote: /builddir/build/RPMS/mtx-debuginfo-1.3.12-5.ocs23.aarch64.rpm
Wrote: /builddir/build/RPMS/mtx-1.3.12-5.ocs23.aarch64.rpm
Child return code was: 0