Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/mtools.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-186568-12833/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=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/mtools.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/mtools-4.0.43-2.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/mtools.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-186568-12833/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=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/mtools.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cxB33z + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mtools-4.0.43 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mtools-4.0.43.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mtools-4.0.43 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/mtools-3.9.6-config.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DbGGOV + 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 -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 -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 -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 -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 mtools-4.0.43 + autoreconf -fiv autoreconf: export WARNINGS= autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: Entering directory '.' autoreconf: configure.in: not using Gettext autoreconf: running: aclocal --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: configure.in: tracing autoreconf: configure.in: not using Libtool autoreconf: configure.in: not using Intltool autoreconf: configure.in: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: configure.in: not using Automake autoreconf: './install-sh' is updated autoreconf: Leaving directory '.' + '[' '-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 --- ./configure.backup 2024-06-25 19:54:45.210975012 +0800 +++ ./configure 2024-06-25 19:54:45.754987399 +0800 @@ -1599,7 +1599,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /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=loongarch64-opencloudos-linux-gnu --host=loongarch64-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 --disable-floppyd configure: WARNING: unrecognized options: --disable-dependency-tracking checking for loongarch64-opencloudos-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for install-info... /usr/sbin/install-info checking build system type... loongarch64-opencloudos-linux-gnu checking host system type... loongarch64-opencloudos-linux-gnu checking target system type... loongarch64-opencloudos-linux-gnu checking for an ANSI C-conforming const... yes checking for inline... inline checking for getpwnam in -lsun... no checking for iconv in -liconv... no checking for sys/wait.h that is POSIX.1 compatible... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for _Bool... yes checking for stdbool.h that conforms to C99... yes checking for getopt.h... yes checking for stdarg.h... yes checking for inttypes.h... (cached) yes checking for libc.h... no checking for fcntl.h... yes checking for limits.h... yes checking for sys/file.h... yes checking for sys/ioctl.h... yes checking for time.h... yes checking for sys/time.h... yes checking for sys/param.h... yes checking for memory.h... yes checking for malloc.h... yes checking for io.h... no checking for signal.h... yes checking for sys/signal.h... yes checking for utime.h... yes checking for sgtty.h... yes checking for sys/floppy.h... no checking for mntent.h... yes checking for sys/sysmacros.h... yes checking for assert.h... yes checking for iconv.h... yes checking for wctype.h... yes checking for wchar.h... yes checking for locale.h... yes checking for xlocale.h... no checking for dirent.h... yes checking for termio.h... yes checking for termios.h... yes checking for sys/fdio.h... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for ssize_t... yes checking for size_t... yes checking for off_t... 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 uid_t in sys/types.h... yes checking for pid_t... yes checking for caddr_t... yes checking for long long... yes checking size of size_t... 8 checking size of off_t... 8 checking size of time_t... 8 checking size of long... 8 checking size of int... 4 checking for htons... yes checking for an ANSI C-conforming const... (cached) yes checking for inline... (cached) inline checking for size_t... (cached) yes checking whether struct tm is in sys/time.h or time.h... time.h checking for strerror... yes checking for random... yes checking for srandom... yes checking for strchr... yes checking for strrchr... yes checking for lockf... yes checking for flock... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for strnlen... yes checking for atexit... yes checking for on_exit... yes checking for getpass... yes checking for memmove... yes checking for strdup... yes checking for strndup... yes checking for strcspn... yes checking for strspn... yes checking for strtoul... yes checking for strtol... yes checking for strtoll... yes checking for strtoui... no checking for memcpy... yes checking for strpbrk... yes checking for memset... yes checking for setenv... yes checking for seteuid... yes checking for setresuid... yes checking for tcsetattr... yes checking for tcflush... yes checking for basename... yes checking for readdir... yes checking for snprintf... yes checking for setlocale... yes checking for strstr... yes checking for toupper_l... yes checking for strncasecmp_l... yes checking for wcsdup... yes checking for wcscasecmp... yes checking for wcsnlen... yes checking for putwc... yes checking for alarm... yes checking for sigaction... yes checking for usleep... yes checking for lstat... yes checking for unsetenv... yes checking for mkdir... yes checking for utimes... yes checking for tzset... yes checking for gettimeofday... yes checking for gcc options needed to detect all undeclared functions... none needed checking whether sys_errlist is declared... no checking whether optarg is declared... yes checking for X... no configure: creating ./config.status config.status: creating Makefile config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j32 V=1 VERBOSE=1 gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c codepages.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c device.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c lba.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c llong.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c lockdev.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c expand.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c fat_free.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c force_io.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c dos2unix.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c directory.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c mcd.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c copyfile.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c match.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c mdel.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c direntry.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c buffer.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c file_name.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c mattrib.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c mcat.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c mdu.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c charsetConv.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c devices.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c hash.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c mdoctorfat.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c missFuncs.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c dirCache.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c mshortname.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c mshowfat.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c mbadblocks.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c mmount.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c mmd.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c mtools.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c mcopy.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c init.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c misc.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c open_image.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c old_dos.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c mainloop.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c mmove.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c offset.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c patchlevel.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c precmd.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c privileges.c privileges.c: In function 'reclaim_privs': privileges.c:114:9: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 114 | setgid(egid); | ^~~~~~~~~~~~ privileges.c: In function 'Setuid': privileges.c:98:17: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 98 | seteuid(uid); | ^~~~~~~~~~~~ privileges.c:104:17: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 104 | setuid(uid); | ^~~~~~~~~~~ privileges.c: In function 'drop_privs': privileges.c:122:9: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 122 | setgid(rgid); | ^~~~~~~~~~~~ privileges.c: In function 'destroy_privs': privileges.c:132:17: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 132 | setuid(0); /* get the necessary privs to drop real root id */ | ^~~~~~~~~ privileges.c:133:17: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 133 | setuid(ruid); /* this should be enough to get rid of the three | ^~~~~~~~~~~~ privileges.c:135:17: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 135 | seteuid(ruid); /* for good measure... just in case we came | ^~~~~~~~~~~~~ privileges.c: In function 'init_privs': privileges.c:183:17: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 183 | setuid(0); /* set real uid to 0 */ | ^~~~~~~~~ sed "s%SYSCONFDIR%/etc/%g" ./mtools.tmpl.1 >mtools.1 sed "s%SYSCONFDIR%/etc/%g" ./mtools.tmpl.5 >mtools.5 gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c mlabel.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c scsi.c scsi.c:104:37: warning: argument 2 of type 'unsigned char *' declared as a pointer [-Warray-parameter=] 104 | int scsi_cmd(int fd, unsigned char *cdb, uint8_t cmdlen, scsi_io_mode_t mode, | ~~~~~~~~~~~~~~~^~~ In file included from scsi.c:37: scsi.h:35:36: note: previously declared as an array 'unsigned char[6]' 35 | int scsi_cmd(int fd, unsigned char cdb[6], uint8_t clen, scsi_io_mode_t mode, | ~~~~~~~~~~~~~~^~~~~~ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c minfo.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c streamcache.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c signal.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c stream.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c file.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c mdir.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c remap.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c partition.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c unix2dos.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c swap.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c tty.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c unixdir.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c mzip.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c plain_io.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c mpartition.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c strtonum.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c scsi_io.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c mkmanifest.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c mk_direntry.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c config.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c fat.c gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 missFuncs.o mkmanifest.o misc.o patchlevel.o -o mkmanifest gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c vfat.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c xdf_io.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_loongarch64 -DVENDOR_opencloudos -DOS_linux_gnu -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -I. -c mformat.c In file included from fsP.h:21, from mformat.c:27: In function 'set_word', inlined from 'inst_boot_prg' at mformat.c:171:2, inlined from 'mformat' at mformat.c:1419:3: msdos.h:82:17: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 82 | data[1] = (value >> 8) & 0xff; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ msdos.h: In function 'mformat': msdos.h:166:23: note: at offset [21, 65556] into destination object 'jump' of size 3 166 | unsigned char jump[3]; /* 0 Jump to boot code */ | ^~~~ In function 'set_word', inlined from 'inst_boot_prg' at mformat.c:171:2, inlined from 'mformat' at mformat.c:1419:3: msdos.h:83:17: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 83 | data[0] = (value >> 0) & 0xff; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ msdos.h: In function 'mformat': msdos.h:166:23: note: at offset [20, 65555] into destination object 'jump' of size 3 166 | unsigned char jump[3]; /* 0 Jump to boot code */ | ^~~~ gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 buffer.o charsetConv.o codepages.o config.o copyfile.o device.o devices.o dirCache.o directory.o direntry.o dos2unix.o expand.o fat.o fat_free.o file.o file_name.o force_io.o hash.o init.o lba.o llong.o lockdev.o match.o mainloop.o mattrib.o mbadblocks.o mcat.o mcd.o mcopy.o mdel.o mdir.o mdoctorfat.o mdu.o mformat.o minfo.o misc.o missFuncs.o mk_direntry.o mlabel.o mmd.o mmount.o mmove.o mpartition.o mshortname.o mshowfat.o mzip.o mtools.o offset.o old_dos.o open_image.o patchlevel.o partition.o plain_io.o precmd.o privileges.o remap.o scsi_io.o scsi.o signal.o stream.o streamcache.o swap.o unix2dos.o unixdir.o tty.o vfat.o strtonum.o xdf_io.o -o mtools In function 'set_word', inlined from 'inst_boot_prg' at mformat.c:171:2, inlined from 'mformat' at mformat.c:1419:3: msdos.h:82:17: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 82 | data[1] = (value >> 8) & 0xff; | ^ msdos.h: In function 'mformat': msdos.h:166:23: note: at offset [21, 65556] into destination object 'jump' of size 3 166 | unsigned char jump[3]; /* 0 Jump to boot code */ | ^ In function 'set_word', inlined from 'inst_boot_prg' at mformat.c:171:2, inlined from 'mformat' at mformat.c:1419:3: msdos.h:83:17: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 83 | data[0] = (value >> 0) & 0xff; | ^ msdos.h: In function 'mformat': msdos.h:166:23: note: at offset [20, 65555] into destination object 'jump' of size 3 166 | unsigned char jump[3]; /* 0 Jump to boot code */ | ^ rm -f mcd && ln -s mtools mcd rm -f mdel && ln -s mtools mdel rm -f mattrib && ln -s mtools mattrib rm -f mcat && ln -s mtools mcat rm -f mcopy && ln -s mtools mcopy rm -f mdeltree && ln -s mtools mdeltree rm -f mdir && ln -s mtools mdir rm -f mformat && ln -s mtools mformat rm -f minfo && ln -s mtools minfo rm -f mlabel && ln -s mtools mlabel rm -f mmove && ln -s mtools mmove rm -f mdu && ln -s mtools mdu rm -f mpartition && ln -s mtools mpartition rm -f mmount && ln -s mtools mmount rm -f mmd && ln -s mtools mmd rm -f mrd && ln -s mtools mrd rm -f mren && ln -s mtools mren rm -f mtype && ln -s mtools mtype rm -f mtoolstest && ln -s mtools mtoolstest rm -f mshortname && ln -s mtools mshortname rm -f mshowfat && ln -s mtools mshowfat rm -f mzip && ln -s mtools mzip rm -f mbadblocks && ln -s mtools mbadblocks + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.G1eWXy + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64 + cd mtools-4.0.43 + rm -rf /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/etc /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64//usr/share/info + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' ./mkinstalldirs /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin mkdir /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin /usr/bin/install -p mtools /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/mtools mkdir /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/man mkdir /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/man/man1 /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/man/man1/floppyd.1 /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/man/man1/floppyd_installtest.1 /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/man/man1/mattrib.1 /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/man/man1/mbadblocks.1 /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/man/man1/mcat.1 /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/man/man1/mcd.1 /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/man/man1/mcopy.1 /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/man/man1/mdel.1 /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/man/man1/mdeltree.1 /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/man/man1/mdir.1 /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/man/man1/mdu.1 /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/man/man1/mformat.1 /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/man/man1/minfo.1 /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/man/man1/mkmanifest.1 /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/man/man1/mlabel.1 /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/man/man1/mmd.1 /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/man/man1/mmount.1 /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/man/man1/mmove.1 /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/man/man1/mpartition.1 /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/man/man1/mrd.1 /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/man/man1/mren.1 /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/man/man1/mshortname.1 /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/man/man1/mshowfat.1 /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/man/man1/mtoolstest.1 /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/man/man1/mtools.1 /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/man/man1/mtype.1 /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/man/man1/mzip.1 mkdir /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/man/man5 /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/man/man5/mtools.5 /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/mattrib /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/mcat /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/mcd /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/mcopy /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/mdel /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/mdeltree /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/mdir /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/mdu /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/mformat /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/minfo /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/mlabel /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/mmd /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/mmount /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/mmove /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/mpartition /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/mrd /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/mren /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/mtype /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/mtoolstest /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/mshortname /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/mshowfat /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/mbadblocks /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/mzip ./mkinstalldirs /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin /usr/bin/install -p mkmanifest /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/mkmanifest /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/mcheck /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/mxtar /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/uz /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/tgz /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/mcomp /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/amuFormat.sh rm -f /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/lz cd /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin && ln -s uz lz ./mkinstalldirs /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/info if test -f mtools.info; then \ for i in mtools.info*; do \ /usr/bin/install -p -m 644 $i /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/info/$i; \ done; \ else \ for i in ./mtools.info*; do \ /usr/bin/install -p -m 644 $i /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/info/`echo $i | sed 's|^./||'`; \ done; \ fi; \ if [ -n "/usr/sbin/install-info" ] ; then \ /usr/sbin/install-info --info-dir=/builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/info /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/info/mtools.info; \ fi + install -m644 mtools.conf /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/etc + gzip -9f /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64//usr/share/info/dir /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64//usr/share/info/mtools.info + rm -f /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64//usr/share/info/dir.gz + find /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64 -name 'floppyd*' -exec rm '{}' ';' + ln -s mtools.5.gz /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/man/man5/mtools.conf.5.gz + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 4.0.43-2.ocs23 --unique-debug-suffix -4.0.43-2.ocs23.loongarch64 --unique-debug-src-base mtools-4.0.43-2.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/mtools-4.0.43 extracting debug info from /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/mkmanifest extracting debug info from /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/bin/mtools 1173 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 mangling shebang in /usr/bin/mcheck from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/mxtar from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/uz from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/tgz from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/mcomp from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/amuFormat.sh from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: mtools-4.0.43-2.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.11uM2x + umask 022 + cd /builddir/build/BUILD + cd mtools-4.0.43 + DOCDIR=/builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/doc/mtools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/doc/mtools + cp -pr README /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/doc/mtools + cp -pr Release.notes /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/doc/mtools + cp -pr NEWS /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/doc/mtools + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.P2WwiW + umask 022 + cd /builddir/build/BUILD + cd mtools-4.0.43 + LICENSEDIR=/builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/licenses/mtools + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/licenses/mtools + cp -pr COPYING /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64/usr/share/licenses/mtools + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(mtools) = 4.0.43-2.ocs23 mtools = 4.0.43-2.ocs23 mtools(loongarch-64) = 4.0.43-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) rtld(GNU_HASH) Processing files: mtools-debugsource-4.0.43-2.ocs23.loongarch64 Provides: mtools-debugsource = 4.0.43-2.ocs23 mtools-debugsource(loongarch-64) = 4.0.43-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mtools-debuginfo-4.0.43-2.ocs23.loongarch64 Provides: debuginfo(build-id) = 8d88d999bdf086d003674751f6b42435ae144ce4 debuginfo(build-id) = aa4aa670f08c506a816a0d3e8c503f23f9e37ccf mtools-debuginfo = 4.0.43-2.ocs23 mtools-debuginfo(loongarch-64) = 4.0.43-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mtools-debugsource(loongarch-64) = 4.0.43-2.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mtools-4.0.43-2.ocs23.loongarch64 Wrote: /builddir/build/RPMS/mtools-4.0.43-2.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/mtools-debugsource-4.0.43-2.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/mtools-debuginfo-4.0.43-2.ocs23.loongarch64.rpm Child return code was: 0