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/coreutils.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-232748-19847/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/coreutils.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/coreutils-9.4-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/coreutils.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-232748-19847/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/coreutils.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nU1C9O + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf coreutils-9.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/coreutils-9.4.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd coreutils-9.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed src/dircolors.hin -e 's| 00;36$| 01;36|' + sed src/dircolors.hin -e 's| 01;31$| 00;31|' -e 's| 01;35$| 00;35|' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/skip-some-tests-if-selinux-is-disabled.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-CVE-2024-0684-split-do-not-shrink-hold-buffer.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/coreutils-9.4-systemd-coredump.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/add-sm3sum-support.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-fix-uname-processortype-error-for-loongarch64.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + find tests -name '*.sh' -perm 0644 -print -exec chmod 0755 '{}' + + autoreconf -fiv autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: running: autopoint --force Copying file build-aux/config.rpath Copying file m4/extern-inline.m4 Copying file m4/glibc2.m4 Copying file m4/glibc21.m4 Copying file m4/intdiv0.m4 Copying file m4/intl.m4 Copying file m4/intldir.m4 Copying file m4/intmax.m4 Copying file m4/inttypes-pri.m4 Copying file m4/printf-posix.m4 Copying file m4/uintmax_t.m4 Copying file po/Makefile.in.in Copying file po/Makevars.template autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing autoreconf: 'build-aux/config.guess' is updated autoreconf: Leaving directory '.' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4TXTLT + 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 coreutils-9.4 + export '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 -fno-strict-aliasing -fpic' + 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 -fno-strict-aliasing -fpic' + export ac_cv_func_lchmod=no + ac_cv_func_lchmod=no + export 'optflags=-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 -D_GNU_SOURCE=1' + optflags='-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 -D_GNU_SOURCE=1' + mkdir -p separate + cd separate + ln -s ../configure + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 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 --with-openssl --cache-file=../config.cache --enable-install-program=arch --enable-no-install-program=kill,uptime --with-tty-group DEFAULT_POSIX2_VERSION=200112 alternative=199209 configure: creating cache ../config.cache checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for aarch64-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 whether gcc understands -c and -o together... yes checking whether the compiler is clang... no checking for compiler option needed when checking for declarations... none checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none 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 whether gcc needs -traditional... no checking for aarch64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking for egrep... (cached) /usr/bin/grep -E checking whether ln -s works... 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 wchar.h... yes checking for minix/config.h... no checking for arpa/inet.h... yes checking for features.h... yes checking for sys/socket.h... yes checking for xlocale.h... no checking for uchar.h... yes checking for sys/param.h... yes checking for dirent.h... yes checking for error.h... yes checking for linux/xattr.h... yes checking for fnmatch.h... yes checking for stdio_ext.h... yes checking for sys/vfs.h... yes checking for sys/fs_types.h... no checking for netdb.h... yes checking for netinet/in.h... yes checking for getopt.h... yes checking for sys/cdefs.h... yes checking for termios.h... yes checking for sys/time.h... yes checking for grp.h... yes checking for threads.h... yes checking for iconv.h... yes checking for limits.h... yes checking for crtdefs.h... no checking for wctype.h... yes checking for langinfo.h... yes checking for math.h... yes checking for sys/mman.h... yes checking for sys/statvfs.h... yes checking for priv.h... no checking for sys/select.h... yes checking for pthread.h... yes checking for utmp.h... yes checking for utmpx.h... yes checking for OS.h... no checking for malloc.h... yes checking for selinux/selinux.h... yes checking for stdbool.h... yes checking for stdckdint.h... no checking for sys/ioctl.h... yes checking for sys/random.h... yes checking for sys/resource.h... yes checking for sys/uio.h... yes checking for sys/utsname.h... yes checking for sys/wait.h... yes checking for utime.h... yes checking for semaphore.h... yes checking for hurd.h... no checking for linux/falloc.h... yes checking for linux/fs.h... yes checking for paths.h... yes checking for stropts.h... no checking for sys/mtio.h... yes checking for sys/systeminfo.h... no checking for syslog.h... yes checking for pwd.h... yes checking for vfork.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking build system type... aarch64-opencloudos-linux-gnu checking host system type... aarch64-opencloudos-linux-gnu checking for Minix Amsterdam compiler... no checking for aarch64-opencloudos-linux-gnu-ar... no checking for ar... ar checking for _LARGEFILE_SOURCE value needed for large files... no checking for gcc option to enable large file support... none needed checking for gcc option for timestamps after 2038... none needed configure: autobuild project... GNU coreutils configure: autobuild revision... 9.4 configure: autobuild hostname... builder3.aarch64.stream.opencloudos.tech configure: autobuild timestamp... 20240816T085546Z checking for fchmod... yes checking for pathconf... yes checking for btowc... yes checking for mbrtowc... yes checking for mbsinit... yes checking for canonicalize_file_name... yes checking for realpath... yes checking for lstat... yes checking for chown... yes checking for fchown... yes checking for _set_invalid_parameter_handler... no checking for fchdir... yes checking for fdopendir... yes checking for explicit_bzero... yes checking for posix_fadvise... yes checking for fchmodat... yes checking for lchmod... (cached) no checking for fcntl... yes checking for symlink... yes checking for listxattr... yes checking for fnmatch... yes checking for mbsrtowcs... yes checking for fpurge... no checking for __freadahead... no checking for __freadptr... no checking for __freadptrinc... no checking for fstatat... yes checking for fsync... yes checking for openat... yes checking for fstatfs... yes checking for getdtablesize... yes checking for microuptime... no checking for nanouptime... no checking for getlogin... yes checking for flockfile... yes checking for funlockfile... yes checking for getpass... yes checking for getexecname... no checking for timespec_getres... yes checking for gettimeofday... yes checking for getusershell... yes checking for isblank... yes checking for iswcntrl... yes checking for link... yes checking for readlink... yes checking for mbrlen... yes checking for mbslen... no checking for isascii... yes checking for mprotect... yes checking for memset_explicit... no checking for memset_s... no checking for getgrouplist... yes checking for mkdirat... yes checking for mknod... yes checking for mkstemp... yes checking for pipe... yes checking for pselect... yes checking for pthread_sigmask... yes checking for utmpname... yes checking for utmpxname... yes checking for iswctype... yes checking for renameat... yes checking for fpathconf... yes checking for secure_getenv... yes checking for getuid... yes checking for geteuid... yes checking for getgid... yes checking for getegid... yes checking for setenv... yes checking for settimeofday... yes checking for stime... no checking for sigaction... yes checking for sigaltstack... yes checking for siginterrupt... yes checking for snprintf... yes checking for __xpg_strerror_r... yes checking for strtoimax... yes checking for strtold... yes checking for strtoumax... yes checking for localtime_r... yes checking for unlinkat... yes checking for vasnprintf... no checking for wcrtomb... yes checking for wcwidth... yes checking for wcswidth... yes checking for pause... yes checking for getrusage... yes checking for sleep... yes checking for shutdown... yes checking for usleep... yes checking for mquery... no checking for pstat_getprocvm... no checking for wctob... yes checking for directio... no checking for nl_langinfo... yes checking for setitimer... yes checking for setrlimit... yes checking for prctl... yes checking for endgrent... yes checking for endpwent... yes checking for fallocate... yes checking for ftruncate... yes checking for iswspace... yes checking for mkfifo... yes checking for setgroups... yes checking for sethostname... yes checking for sync... yes checking for syncfs... yes checking for sysctl... no checking for sysinfo... yes checking for tcgetpgrp... yes checking for getgrgid_nomembers... no checking for getgrnam_nomembers... no checking for getgrent_nomembers... no checking for fork... yes checking for vfork... yes checking for sys/acl.h... yes checking for library containing acl_get_file... -lacl checking for acl_get_file... yes checking for acl_get_fd... yes checking for acl_set_file... yes checking for acl_set_fd... yes checking for acl_free... yes checking for acl_from_mode... yes checking for acl_from_text... yes checking for acl_delete_def_file... yes checking for acl_extended_file... yes checking for acl_delete_fd_np... no checking for acl_delete_file_np... no checking for acl_copy_ext_native... no checking for acl_create_entry_np... no checking for acl_to_short_text... no checking for acl_free_text... no checking for working acl_get_file... yes checking for acl/libacl.h... yes checking for acl_entries... yes checking for ACL_FIRST_ENTRY... yes checking for ACL_TYPE_EXTENDED... no checking for gcc options needed to detect all undeclared functions... none needed checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking whether the preprocessor supports include_next... yes checking whether source code line length is unlimited... yes checking for d_ino member in directory struct... yes checking for long file names... yes checking for C/C++ restrict keyword... __restrict__ checking whether uses 'inline' correctly... yes checking for nl_langinfo and CODESET... yes checking for a traditional french locale... none checking for uselocale... yes checking whether uselocale works... yes checking whether char8_t is correctly defined... yes checking whether char16_t is correctly defined... yes checking whether char32_t is correctly defined... yes checking for bit size of wchar_t... 32 checking for mbstate_t... yes checking for a traditional japanese locale... none checking for a french Unicode locale... none checking for a transitional chinese locale... none checking whether mbrtowc handles incomplete characters... guessing yes checking whether mbrtowc works as well as mbtowc... guessing yes checking whether mbrtoc32 is declared... yes checking for mbrtoc32... yes checking whether mbrtoc32 works as well as mbrtowc... guessing yes checking whether malloc is ptrdiff_t safe... yes checking whether malloc, realloc, calloc set errno on failure... yes checking whether lstat correctly handles trailing slash... yes checking whether // is distinct from /... no checking whether realpath works... yes checking for uid_t in sys/types.h... yes checking for unistd.h... (cached) yes checking for working chown... yes checking whether chown dereferences symlinks... yes checking whether chown honors trailing slash... yes checking whether chown always updates ctime... yes checking whether is self-contained... yes checking for shutdown... (cached) yes checking whether defines the SHUT_* macros... yes checking for struct sockaddr_storage... yes checking for sa_family_t... yes checking for struct sockaddr_storage.ss_family... yes checking for inline... inline checking whether linux/if_alg.h has struct sockaddr_alg.... yes checking whether byte ordering is bigendian... no checking if environ is properly declared... yes checking for complete errno.h... yes checking for error... yes checking whether error_at_line is declared... yes checking for error_at_line... yes checking for working error function... yes checking whether strerror_r is declared... yes checking whether strerror_r returns char *... yes checking type of array argument to getgroups... gid_t checking whether fchdir is declared... yes checking whether fflush works on input streams... no checking for working fcntl.h... yes checking for pid_t... yes checking for mode_t... yes checking for promoted mode_t type... mode_t checking whether fdatasync is declared... yes checking whether strmode is declared... no checking for mempcpy... yes checking whether fopen recognizes a trailing slash... yes checking whether frexp() can be used without linking with libm... yes checking whether alarm is declared... yes checking whether long double and double are the same... no checking whether stdin defaults to large file offsets... yes checking whether fseeko is declared... yes checking for fseeko... yes checking whether fflush works on input streams... (cached) no checking whether stat file-mode macros are broken... no checking for nlink_t... yes checking whether ftello is declared... yes checking whether ungetc works on arbitrary bytes... yes checking for ftello... yes checking whether ftello works... yes checking for O_CLOEXEC... yes checking for library containing gethostbyname... none required checking for gethostbyname... yes checking for library containing getservbyname... none required