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/star.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-147154-9849/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 loongarch64 --nodeps /builddir/build/SPECS/star.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/star-1.6-4.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/star.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-147154-9849/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 loongarch64 --nodeps /builddir/build/SPECS/star.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.wZKuSL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf star-1.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/star-1.6.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd star-1.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/star-1.6-star-mk.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/star-1.5.2-bufferoverflow.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/star-1.6-manpagereferences.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/star-1.5.2-rmt-rh-access.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/star-1.5.2-use-ssh-by-default.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + cp -a star/all.mk star/Makefile + for PLAT in ppc64le aarch64 x86_64 + for AFILE in gcc cc + '[' '!' -e RULES/ppc64le-linux-gcc.rul ']' + ln -s i586-linux-gcc.rul RULES/ppc64le-linux-gcc.rul + for AFILE in gcc cc + '[' '!' -e RULES/ppc64le-linux-cc.rul ']' + ln -s i586-linux-cc.rul RULES/ppc64le-linux-cc.rul + for PLAT in ppc64le aarch64 x86_64 + for AFILE in gcc cc + '[' '!' -e RULES/aarch64-linux-gcc.rul ']' + ln -s i586-linux-gcc.rul RULES/aarch64-linux-gcc.rul + for AFILE in gcc cc + '[' '!' -e RULES/aarch64-linux-cc.rul ']' + ln -s i586-linux-cc.rul RULES/aarch64-linux-cc.rul + for PLAT in ppc64le aarch64 x86_64 + for AFILE in gcc cc + '[' '!' -e RULES/x86_64-linux-gcc.rul ']' + ln -s i586-linux-gcc.rul RULES/x86_64-linux-gcc.rul + for AFILE in gcc cc + '[' '!' -e RULES/x86_64-linux-cc.rul ']' + ln -s i586-linux-cc.rul RULES/x86_64-linux-cc.rul + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zhE7AZ + 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 star-1.6 + make -j32 GMAKE_NOWARN=true RUNPATH= LDPATH= PARCH=loongarch64 K_ARCH=loongarch64 INS_BASE=/builddir/build/BUILDROOT/star-1.6-4.ocs23.loongarch64/usr INS_RBASE=/builddir/build/BUILDROOT/star-1.6-4.ocs23.loongarch64 'INSTALL=sh $(SRCROOT)/conf/install-sh -c -m $(INSMODEINS)' 'COPTX=-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 -DTRY_EXT2_FS' 'LDOPTX=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' DEFCCOM=gcc ==> MAKING SYMLINKS in ./RULES/ sh conf/cc-config.sh gcc gcc incs/Dcc.loongarch64-linux ==> MAKING DIRECTORY "incs/loongarch64-linux-gcc/Inull" Trying to find gcc ==> CONFIGURING RULES "incs/loongarch64-linux-gcc/rules.cnf" creating cache ./config.cache Found gcc checking host system type... Creating empty 'incs/Dcc.loongarch64-linux', using gcc as default compiler Invalid configuration `loongarch64-unknown-linux-gnu': machine `loongarch64-unknown' not recognized checking if sh is bash... egrep: warning: egrep is obsolescent; using grep -E yes checking if /bin/sh is bash... egrep: warning: egrep is obsolescent; using grep -E yes checking whether sh -ce is broken... no checking whether /bin/sh -ce is broken... no checking whether /bin/bosh is a working shell... no checking whether /opt/schily/bin/bosh is a working shell... no checking for cc... gcc checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... ln: failed to create symbolic link 'ppc64le-linux-cc.rul': File exists ln: failed to create symbolic link 'ppc64le-linux-gcc.rul': File exists yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... ln: failed to create symbolic link 'x86_64-linux-cc.rul': File exists ln: failed to create symbolic link 'x86_64-linux-gcc.rul': File exists yes checking for object suffix... ln: failed to create symbolic link 'aarch64-linux-cc.rul': File exists ln: failed to create symbolic link 'aarch64-linux-gcc.rul': File exists o checking for Cygwin environment... no checking for mingw32 environment... no checking for EMX/OS2 environment... no checking for executable suffix... no checking for executable calling suffix... no checking how to run the C preprocessor... gcc -E checking how to run the C preprocessor for any type of file... /usr/bin/cpp checking if suncc/cc supports -m64... no checking if HP cc supports -Ae... no checking if HP cc supports -O... no checking if HP cc supports -G... no checking for ranlib... ranlib checking whether make sets ${MAKE}... yes checking for yacc... no checking for bison... no checking for byacc... no checking for bison... no checking for lorder... echo checking for ANSI C header files... ==> MAKING SYMLINKS in ./TEMPLATES/ yes checking for stdarg.h... yes checking for stdlib.h... yes checking for string.h... yes checking for float.h... yes checking for UNIX-98 compliant inttypes.h... yes checking for SUSv3 compliant stdint.h... yes checking for dirent.h that defines DIR... yes checking for opendir in -lc... yes checking whether stat file-mode macros are broken... no checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking if select needs nonstd include files... no checking if sys/select.h is needed for select... no checking if sys/socket.h is needed for select... no checking for ar.h... yes checking for assert.h... yes checking for stdio.h... yes checking for varargs.h... no checking for stdarg.h... (cached) yes checking for stdlib.h... (cached) yes checking for stddef.h... yes checking for string.h... (cached) yes checking for strings.h... yes checking for unistd.h... yes checking for fcntl.h... yes checking for io.h... no checking for sys/file.h... yes checking for conio.h... no checking for getopt.h... yes checking for limits.h... yes checking for a.out.h... yes checking for aouthdr.h... no checking for elf.h... yes checking for sysexits.h... yes checking for malloc.h... yes checking for posix/malloc.h... no checking for sgtty.h... yes checking for termios.h... yes checking for termio.h... yes checking for pwd.h... yes checking for grp.h... yes checking for sys/acl.h... yes checking for aclutils.h... no checking for acllib.h... no checking for acl/libacl.h... yes checking for signal.h... yes checking for siginfo.h... no checking for sys/siginfo.h... no checking for ucontext.h... yes checking for shadow.h... yes checking for syslog.h... yes checking for sys/time.h... yes checking for sys/times.h... yes checking for utime.h... yes checking for sys/utime.h... no checking for sys/ioctl.h... yes checking for sys/filio.h... no checking for sys/param.h... yes checking for sys/systeminfo.h... no checking for sys/sysctl.h... no checking for sys/loadavg.h... no checking for sys/syscall.h... yes checking for mach/machine.h... no checking for mntent.h... yes checking for sys/mntent.h... no checking for sys/mnttab.h... no checking for sys/mount.h... yes checking for sys/fork.h... no checking for vfork.h... no checking for wait.h... yes checking for sys/wait.h... (cached) yes checking for sys/resource.h... yes checking for procfs.h... no checking for sys/procfs.h... yes checking for libproc.h... no checking for ulimit.h... yes checking for process.h... no checking for sys/utsname.h... yes checking for sys/priocntl.h... no checking for sys/rtpriocntl.h... no checking for sys/procset.h... no checking for sys/mtio.h... yes checking for sys/tape.h... no checking for sys/mman.h... yes checking for linux/pg.h... yes checking for camlib.h... no checking for sys/shm.h... yes checking for sys/sem.h... yes checking for sys/ipc.h... yes checking for semaphore.h... yes checking for sys/dkio.h... no checking for sys/dklabel.h... no checking for sun/dkio.h... no checking for sun/dklabel.h... no checking for sys/types.h... yes checking for sys/stat.h... yes checking for types.h... no checking for stat.h... no checking for sys/stypes.h... no checking for sys/filedesc.h... no checking for sys/acct.h... yes checking for poll.h... yes checking for sys/poll.h... yes checking for sys/select.h... yes checking for netdb.h... yes checking for arpa/aixrcmds.h... no checking for sys/socket.h... yes checking for netinet/in.h... yes checking for stropts.h... no checking for ieeefp.h... no checking for fp.h... no checking for values.h... yes checking for float.h... (cached) yes checking for math.h... yes checking for arpa/inet.h... yes checking for rpc/rpc.h... no checking for bsd/dev/scsireg.h... no checking for sys/bsdtty.h... no checking for scsi/scsi.h... yes checking for scsi/sg.h... yes checking for linux/scsi.h... no checking for linux.sg.h... no checking for linux/types.h... yes checking for linux/gfp.h... no checking for asm/types.h... yes checking for sys/capability.h... no checking for selinux/selinux.h... yes checking for OS.h... no checking for os2.h... no checking for os2me.h... no checking for windows.h... no checking for linux/fs.h... yes checking for ext2fs/ext2_fs.h... yes checking for sys/xattr.h... yes checking for attr/xattr.h... no checking for crt_externs.h... no checking for fnmatch.h... yes checking for libintl.h... yes checking for locale.h... yes checking for langinfo.h... yes checking for nl_types.h... yes checking for ctype.h... yes checking for wctype.h... yes checking for wchar.h... yes checking for iconv.h... yes checking for priv.h... no checking for sys/priv.h... no checking for exec_attr.h... no checking for secdb.h... no checking for direct.h... no checking for pthread.h... yes checking for thread.h... no checking for libgen.h... yes checking for regex.h... yes checking for regexp.h... no checking for regexpr.h... no checking for dlfcn.h... yes checking for link.h... yes checking for dl.h... no checking for libelf.h... no checking for ranlib.h... no checking for expat.h... no checking for header file containing major(), minor() and makedev()... sys/sysmacros.h checking bits in minor device number... 44 checking whether bits in minor device numbers are non contiguous... yes checking for _filbuf()... no checking for __filbuf()... no checking for USG derived STDIO... no checking for errno definition in errno.h... yes checking for environ definition in unistd.h/stdlib.h... yes checking for sys_siglist definition in signal.h... no checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for wait.h... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for errno definition in errno.h... (cached) yes checking for SVr4 compliant waitpid() with WNOWAIT support... no checking for working const... yes checking whether byte ordering is bigendian... no checking whether bitorder in bitfields is htol... no checking for preprocessor stringizing operator... yes checking for inline... inline checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for type long long... yes checking for type __int64... no checking for type long double... yes checking for prototypes... yes checking if compiler allows dynamic arrays... yes checking if compiler allows pragma weak... yes checking if linker allows pragma weak... yes checking for uid_t in sys/types.h... (cached) yes checking for size_t... yes checking for ssize_t... yes checking for ptrdiff_t... yes checking for pid_t... yes checking for off_t... yes checking for mode_t... yes checking for time_t... yes checking for caddr_t... yes checking for daddr_t... yes checking for dev_t... yes checking for major_t... no checking for minor_t... no checking for ino_t... yes checking for nlink_t... yes checking for blksize_t... yes checking for blkcnt_t... yes checking for clock_t... yes checking for socklen_t... yes checking for greg_t... no checking for rlim_t... yes checking if idtype_t is declared correctly in wait.h... yes checking for siginfo_t... yes checking if stack_t is declared in signal.h... yes checking if siginfo_t is declared in signal.h... yes checking for u_char... yes checking for u_short... yes checking for u_int... yes checking for u_long... yes checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for intmax_t... yes checking for intptr_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uintmax_t... yes checking for uintptr_t... yes checking for wctype_t... yes checking for wint_t... yes checking for mbstate_t... yes checking for timestruc_t... no checking size of char... 1 checking size of short int... 2 checking size of int... 4 checking size of long int... 8 checking size of long long... 8 checking size of __int64... 0 checking size of char *... 8 checking size of unsigned char... 1 checking size of unsigned short int... 2 checking size of unsigned int... 4 checking size of unsigned long int... 8 checking size of unsigned long long... 8 checking size of unsigned __int64... 0 checking size of unsigned char *... 8 checking size of float... 4 checking size of double... 8 checking size of long double... 16 checking size of size_t... 8 checking size of ssize_t... 8 checking size of ptrdiff_t... 8 checking size of mode_t... 4 checking size of uid_t... 4 checking size of gid_t... 4 checking size of pid_t... 4 checking size of dev_t... 8 checking size of major_t... 8 checking size of minor_t... 8 checking size of time_t... 8 checking size of wchar... 4 checking size of wchar_t... 4 checking if char is unsigned... no checking if va_list is an array... no checking for f->_flags in FILE *... yes checking for f->_IO_buf_base in FILE *... yes checking for struct timeval in time.h or sys/time.h... yes checking for struct timezone in time.h or sys/time.h... yes checking for struct timespec in time.h or sys/time.h... yes checking if struct mtget contains mt_type... yes checking if struct mtget contains mt_model... no checking if struct mtget contains mt_dsreg... yes checking if struct mtget contains mt_dsreg1... no checking if struct mtget contains mt_dsreg2... no checking if struct mtget contains mt_gstat... yes checking if struct mtget contains mt_erreg... yes checking if struct mtget contains mt_resid... yes checking if struct mtget contains mt_fileno... yes checking if struct mtget contains mt_blkno... yes checking if struct mtget contains mt_flags... no checking if struct mtget contains mt_bf... no checking if struct rusage is declared in sys/resource.h... yes checking if struct siginfo contains si_utime... no checking if struct sockaddr_storage is declared in socket.h... yes checking if an illegal declaration for union semun in sys/sem.h exists... no checking if union wait is declared in wait.h or sys/wait.h... no checking if union wait is used by default... no checking if struct stat contains st_spare1... no checking if struct stat contains st_atimensec... no checking if struct stat contains st_atime_n... no checking if struct stat contains st_atim.tv_nsec... yes checking if struct stat contains st_atim.st__tim.tv_nsec... no checking if struct stat contains st_atimespec.tv_nsec... no checking for st_blksize in struct stat... yes checking for st_blocks in struct stat... yes checking if struct stat contains st_fstype... no checking if struct stat contains st_aclcnt... no checking for st_rdev in struct stat... yes checking if struct stat contains st_flag... no checking if struct stat contains st_flags... no checking if struct dirent contains d_ino... yes checking if struct dirent contains d_type... yes checking if DIR * contains dd_fd... no checking if struct utsname contains arch... no checking if struct utsname contains processor... no checking if struct utsname contains sysname_host... no checking if struct utsname contains release_host... no checking if struct utsname contains version_host... no checking whether iconv() uses const char **... no checking if stat is declared... yes checking if lstat is declared... yes checking for wait3 that fills in rusage... yes checking for mlock... yes checking for mlockall... yes checking for va_copy... yes checking for __va_copy... yes checking for working ecvt() ... yes checking for working fcvt() ... yes checking for working gcvt() ... yes checking for __dtoa... no checking for __dtoa that needs result ptr... no checking if getpagesize is defined or function... yes checking for unistd.h... (cached) yes checking for mmap that needs ptr to size... no checking for unistd.h... (cached) yes checking for working mmap... yes checking for unistd.h... (cached) yes checking for mmap that needs ptr to size... (cached) no checking if mmap works to get shared memory... yes checking if shmget works to get shared memory... yes checking for working alloca.h... yes checking for alloca... yes checking if quotactl is an ioctl... no checking for file locking via fcntl... yes checking for uname... yes checking for execl... yes checking for vfork.h... (cached) no checking for working vfork... yes checking for sys_siglist... no checking for BSD compliant getpgrp... no checking for BSD compliant setpgrp... no checking for C99 compliant isinf... yes checking for C99 compliant isnan... yes checking for sigsetjmp... yes checking for siglongjmp... yes checking whether *printf() supports %jd... yes checking whether *printf() supports %zd... yes checking whether *printf() supports %lld... yes checking for stdlib.h... (cached) yes checking return type of signal handlers... (cached) void checking if realloc() does implement realloc(NULL, size)... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for wait.h... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for halfway POSIX compliant waitid()... no checking for access... yes checking for eaccess... yes checking for euidaccess... yes checking for memchr... yes checking for memcmp... yes checking for memcpy... yes checking for memccpy... yes checking for memmove... yes checking for memset... yes checking for brk... yes checking for sbrk... yes checking for strerror... yes checking for nice... yes checking for flock... yes checking for lockf... yes checking for fchdir... yes checking for statvfs... yes checking for quotactl... yes checking for realpath... yes checking for resolvepath... no checking for dup... yes checking for dup2... yes checking for getcwd... yes checking for shmat... yes checking for semget... yes checking for lstat... yes checking for readlink... yes checking for symlink... yes checking for link... yes checking for rename... yes checking for mkfifo... yes checking for mknod... yes checking for setreuid... yes checking for setresuid... yes checking for seteuid... yes checking for setuid... yes checking for setregid... yes checking for setresgid... yes checking for setegid... yes checking for setgid... yes checking for getuid... yes checking for geteuid... yes checking for getgid... yes checking for getegid... yes checking for getpid... yes checking for getppid... yes checking for getpgid... yes checking for setpgid... yes checking for getsid... yes checking for setsid... yes checking for getpgrp... yes checking for setpgrp... yes checking for getpwnam... yes checking for getpwent... yes checking for getpwuid... yes checking for setpwent... yes checking for endpwent... yes checking for getgrnam... yes checking for getgrent... yes checking for getgrgid... yes checking for setgrent... yes checking for endgrent... yes checking for getspnam... yes checking for getspwnam... no checking for getlogin... yes checking for sync... yes checking for fsync... yes checking for fork... yes checking for forkx... no checking for vforkx... no checking for forkall... no checking for forkallx... no checking for wait... yes checking for wait4... yes checking for wait6... no checking for waitpid... yes checking for getrusage... yes checking for getrlimit... yes checking for setrlimit... yes checking for ulimit... yes checking for execl... (cached) yes checking for execle... yes checking for execlp... yes checking for execv... yes checking for execve... yes checking for execvp... yes checking for spawnl... no checking for spawnle... no checking for spawnlp... no checking for spawnlpe... no checking for spawnv... no checking for spawnve... no checking for spawnvp... no checking for spawnvpe... no checking for cwait... no checking for getexecname... no checking for getprogname... no checking for setprogname... no checking for proc_pidpath... no checking for getloadavg... yes checking for gethostid... yes checking for gethostname... yes checking for getdomainname... yes checking for getdtablesize... yes checking for gettimeofday... yes checking for settimeofday... yes checking for time... yes checking for stime... no checking for gethrtime... no checking for ftime... yes checking for tzset... yes checking for mktime... yes checking for gmtime... yes checking for localtime... yes checking for timegm... yes checking for timelocal... yes checking for ctime... yes checking for cftime... no checking for ascftime... no checking for strftime... yes checking for poll... yes checking for select... yes checking for isastream... no checking for chown... yes checking for fchown... yes checking for lchown... yes checking for chmod... yes checking for fchmod... yes checking for lchmod... yes checking for times... yes checking for utime... yes checking for utimes... yes checking for futimes... yes checking for lutimes... yes checking for utimens... no checking for lutimens... no checking for futimens... yes checking for utimensat... yes checking for ioctl... yes checking for fcntl... yes checking for qecvt... yes checking for qfcvt... yes checking for qgcvt... yes checking for _qecvt... no checking for _qfcvt... no checking for _qgcvt... no checking for _qecvt_r... no checking for _qfcvt_r... no checking for _qgcvt_r... no checking for _ldecvt... no checking for _ldfcvt... no checking for _ldgcvt... no checking for ecvt_r... yes checking for fcvt_r... yes checking for gcvt_r... no checking for _ldecvt_r... no checking for _ldfcvt_r... no checking for _ldgcvt_r... no checking for econvert... no checking for fconvert... no checking for gconvert... no checking for qeconvert... no checking for qfconvert... no checking for qgconvert... no checking for isinf... yes checking for isnan... yes checking for getc_unlocked... yes checking for getchar_unlocked... yes checking for putc_unlocked... yes checking for putchar_unlocked... yes checking for flockfile... yes checking for funlockfile... yes checking for ftrylockfile... yes checking for rand... yes checking for drand48... yes checking for strtol... yes checking for strtoll... yes checking for strtoul... yes checking for strtoull... yes checking for strtod... yes checking for setpriority... yes checking for DosSetPriority... no checking for DosAllocSharedMem... no checking for getdelim... yes checking for seekdir... yes checking for fdopendir... yes checking for openat... yes checking for fstatat... yes checking for fchownat... yes checking for futimesat... yes checking for renameat... yes checking for unlinkat... yes checking for attropen... no checking for __accessat... no checking for accessat... no checking for mkdirat... yes checking for faccessat... yes checking for fchmodat... yes checking for linkat... yes checking for mkfifoat... yes checking for mknodat... yes checking for readlinkat... yes checking for symlinkat... yes checking for pipe... yes checking for _pipe... no checking for popen... yes checking for pclose... yes checking for _popen... no checking for _pclose... no checking for closefrom... yes checking for strsignal... yes checking for str2sig... no checking for sig2str... no checking for kill... yes checking for killpg... yes checking for signal... yes checking for sighold... yes checking for sigrelse... yes checking for sigignore... yes checking for sigpause... yes checking for sigprocmask... yes checking for sigsetmask... yes checking for sigset... yes checking for sigaltstack... yes checking for sigblock... yes checking for alarm... yes checking for sleep... yes checking for usleep... yes checking for yield... no checking for atexit... yes checking for on_exit... yes checking if tcgetattr is defined or function... yes checking if tcsetattr is defined or function... yes checking for tcgetpgrp... yes checking for tcsetpgrp... yes checking for tcgetsid... yes checking for getenv... yes checking for putenv... yes checking for setenv... yes checking for unsetenv... yes checking for snprintf... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for vprintf... yes checking for vfprintf... yes checking for vsprintf... yes checking for vsnprintf... yes checking if strcat is defined or function... yes checking if strncat is defined or function... yes checking if strcmp is defined or function... yes checking if strncmp is defined or function... yes checking if strcpy is defined or function... yes checking if strlcat is defined or function... yes checking if strlcpy is defined or function... yes checking if strncpy is defined or function... yes checking if strdup is defined or function... yes checking if strndup is defined or function... yes checking if strlen is defined or function... yes checking if strnlen is defined or function... yes checking if strchr is defined or function... yes checking if strrchr is defined or function... yes checking if strstr is defined or function... yes checking if strspn is defined or function... yes checking if strcspn is defined or function... yes checking if wcscat is defined or function... yes checking if wcsncat is defined or function... yes checking if wcscmp is defined or function... yes checking if wcsncmp is defined or function... yes checking if wcscpy is defined or function... yes checking if wcslcat is defined or function... yes checking if wcslcpy is defined or function... yes checking if wcsncpy is defined or function... yes checking if wcsdup is defined or function... yes checking if wcsndup is defined or function... no checking if wcslen is defined or function... yes checking if wcsnlen is defined or function... yes checking if wcschr is defined or function... yes checking if wcsrchr is defined or function... yes checking if wcsstr is defined or function... yes checking if wcsspn is defined or function... yes checking if wcscspn is defined or function... yes checking for wcwidth... yes checking for wcswidth... yes checking for wctype... yes checking for iswctype... yes checking for basename... yes checking for dirname... yes checking for pathconf... yes checking for fpathconf... yes checking for lpathconf... no checking for malloc... yes checking for calloc... yes checking for valloc... yes checking for realloc... yes checking for memalign... yes checking for posix_memalign... yes checking for madvise... yes checking for mktemp... yes checking for mkstemp... yes checking for chflags... no checking for fchflags... no checking for fflagstostr... no checking for strtofflags... no checking for fnmatch... yes checking for truncate... yes checking for ftruncate... yes checking for getppriv... no checking for setppriv... no checking for priv_set... no checking for issetugid... no checking for getroles... no checking for privbit_set... no checking for setlocale... yes checking for localeconv... yes checking for nl_langinfo... yes checking for setbuf... yes checking for setvbuf... yes checking for clone_area... no checking for create_area... no checking for delete_area... no Checking for POSIX violations by the POSIX.1-2008 standard: checking for raw availability of fexecl... no checking for raw availability of fexecle... no checking for raw availability of fexecv... no checking for raw availability of fexecve... yes checking for raw availability of fspawnv... no checking for raw availability of fspawnl... no checking for raw availability of fspawnv_nowait... no checking for raw availability of getline... yes checking for raw availability of fgetline... no End of tests for POSIX violations by the POSIX.1-2008 standard. checking if dirfd is defined or function... yes checking if iswprint is defined or function... yes checking if iswblank is defined or function... yes checking if isblank is defined or function... yes checking if mbsinit is defined or function... yes checking if mbtowc is defined or function... yes checking if wctomb is defined or function... yes checking if mbrtowc is defined or function... yes checking if wcrtomb is defined or function... yes checking if finite is defined or function... no checking if isnand is defined or function... no checking if we may not define our own malloc()... no checking for working extern long timezone ... yes checking for extern timezone in time.h or sys/time.h... no checking for working extern char *__progname ... yes checking for working extern char *__progname_full ... yes checking if link() allows hard links on symlinks... yes checking if link() does not folow symlinks... yes checking for unistd.h... (cached) yes checking if access() does implement E_OK... no checking for fnmatch.h... (cached) yes checking if fnmatch() does implement FNM_IGNORECASE or FNM_CASEFOLD... yes checking for fseeko()... yes checking for ftello()... yes checking for dlopen in -lc... yes checking for dlopen... yes checking for dlclose... yes checking for dlsym... yes checking for dlerror... yes checking for dlinfo... yes checking for shl_load... no checking for shl_unload... no checking for shl_gethandle... no checking if LoadLibrary is defined or function... no checking if FreeLibrary is defined or function... no checking if GetProcAddress is defined or function... no checking for socket in -lc... yes checking for gethostbyname in -lc... yes checking for rcmd... yes checking for socket... yes checking for socketpair... yes checking for getservbyname... yes checking for inet_ntoa... yes checking for getaddrinfo... yes checking for getnameinfo... yes checking for host2netname... no checking for netname2host... no checking for res_init in -lc... no checking for res_init in -lresolv... 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 _LARGE_FILES value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking if system supports Large Files at all... yes checking for crypt in -lc... no checking for crypt in -lcrypt... yes checking for crypt... yes checking for gettext in -lc... yes checking if gettext is defined or function... yes checking for iconv_open in -lc... yes checking if iconv is defined or function... yes checking if iconv_open is defined or function... yes checking if iconv_close is defined or function... yes checking if libiconv is defined or function... no checking if libiconv_open is defined or function... no checking if libiconv_close is defined or function... no checking for XML_Parse in -lc... no checking for XML_Parse in -lexpat... no checking for XML_Parse... no checking for SCardEstablishContext in -lc... no checking for SCardEstablishContext in -lwinscard... no checking for SCardEstablishContext in -lpcsclite... no checking for SCardEstablishContext... no checking for CRYPTO_free in -lc... no checking for CRYPTO_free in -lcrypto... no checking for CRYPTO_free... no checking for SSL_free in -lc... no checking for SSL_free in -lssl... no checking for SSL_free... no checking for Posix Access Control List support checking for acl_get_file in -lacl... yes checking for acl_get_file in -lpacl... no checking for acl_get_file... yes checking for acl_set_file... yes checking for acl_from_text... yes checking for acl_to_text... yes checking for acl_free... yes checking for acl_delete_def_file... yes checking for acl_extended_file... yes checking for acl_get_entry... yes checking for acl_to_text_np... no checking for acl_get_brand_np... no checking for acl_is_trivial_np... no checking for acl_strip_np... no checking for Solaris UFS Access Control List support checking for acltotext in -lsec... no checking for acl... no checking for facl... no checking for aclfromtext... no checking for acltotext... no checking for NFSv4 Access Control List support checking for acl_get... no checking for acl_set... no checking for facl_get... no checking for facl_set... no checking for acl_fromtext... no checking for acl_totext... no checking for HP-UX Access Control List support checking for getacl... no checking for fgetacl... no checking for setacl... no checking for fsetacl... no checking for strtoacl... no checking for acltostr... no checking for cpacl... no checking for fcpacl... no checking for chownacl... no checking for setaclentry... no checking for fsetaclentry... no checking for Linux flavor Extended Attribute support checking for getxattr in -lc... yes checking for getxattr... yes checking for setxattr... yes checking for listxattr... yes checking for lgetxattr... yes checking for lsetxattr... yes checking for llistxattr... yes checking for RBAC support checking for getuserattr in -lsecdb... no checking for getauthattr... no checking for getuserattr... no checking for getexecattr... no checking for getprofattr... no checking for gmatch() support checking for gmatch in -lgen... no checking for gmatch... no checking for ELF support checking for elf_begin in -lelf... no checking for elf_begin... no checking for thr_yield... no checking for pthread_create in -lc... yes checking for pthread_create... yes checking for pthread_kill... yes checking for pthread_mutex_lock... yes checking for pthread_cond_wait... yes checking for pthread_spin_lock... yes checking for clock_gettime in -lc... yes checking for clock_gettime... yes checking for clock_settime... yes checking for clock_getres... yes checking for sched_getparam... yes checking for sched_setparam... yes checking for sched_getscheduler... yes checking for sched_setscheduler... yes checking for sched_yield... yes checking for nanosleep... yes checking for cap_get_proc in -lcap... no checking for cap_get_proc... no checking for cap_set_proc... no checking for cap_set_flag... no checking for cap_clear_flag... no checking for SELinux support checking for is_selinux_enabled in -lselinux... yes checking for is_selinux_enabled... yes checking for /dev/tty... yes checking for /dev/null... yes checking for /dev/zero... yes checking for /dev/stdin... yes checking for /dev/stdout... yes checking for /dev/stderr... yes checking for /dev/fd/0... yes checking for /dev/fd/1... yes checking for /dev/fd/2... yes checking for /usr/src/linux/include... no checking for /usr/xpg4/bin/sh... no checking for /opt/schily/xpg4/bin/sh... no checking if Linux include file linux/ext2_fs.h is broken... yes checking if Linux include file /usr/src/linux/include/linux/ext2_fs.h is broken... yes checking if Linux include file scsi/scsi.h is broken... no checking if Linux include file /usr/src/linux/include/scsi/scsi.h is broken... no checking if Linux include file scsi/sg.h is broken... no checking if Linux include file /usr/src/linux/include/scsi/sg.h is broken... no updating cache ./config.cache creating ./config.status creating rules.cnf creating xconfig.h ==> MAKING "all" ON SUBDIRECTORY "SRCROOT/conf" make[1]: Entering directory '/builddir/build/BUILD/star-1.6/conf' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/star-1.6/conf' ==> MAKING "all" ON SUBDIRECTORY "SRCROOT/inc" make[1]: Entering directory '/builddir/build/BUILD/star-1.6/inc' ==> MAKING "all" ON SUBCOMPONENT "SRCROOT/inc/align_test.mk" make[2]: Entering directory '/builddir/build/BUILD/star-1.6/inc' ==> MAKING DIRECTORY "OBJ/loongarch64-linux-gcc" ==> MAKING DIRECTORY "OBJ/loongarch64-linux-gcc/man" ==> MAKING DEPENDENCIES "OBJ/loongarch64-linux-gcc/align_test.d" /bin/sh: line 1: makedepend: command not found c -o OBJ/loongarch64-linux-gcc/align_test.o align_test.c /bin/sh: line 1: c: command not found make[2]: [../RULES/r-gmake.obj:51: OBJ/loongarch64-linux-gcc/align_test.o] Error 127 (ignored) o OBJ/loongarch64-linux-gcc/align_test OBJ/loongarch64-linux-gcc/align_test.o /bin/sh: line 1: o: command not found make[2]: [../RULES/rules.inc:46: OBJ/loongarch64-linux-gcc/align_test] Error 127 (ignored) ==> GENERATING include file "../incs/loongarch64-linux-gcc/align.h" /bin/sh: line 2: OBJ/loongarch64-linux-gcc/align_test: No such file or directory /bin/sh: line 3: OBJ/loongarch64-linux-gcc/align_test: No such file or directory make[2]: *** [../RULES/rules.inc:59: ../incs/loongarch64-linux-gcc/align.h] Error 127 make[2]: Leaving directory '/builddir/build/BUILD/star-1.6/inc' make[1]: *** [../RULES/rules.mks:25: all] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/star-1.6/inc' make: *** [RULES/rules1.dir:25: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.zhE7AZ (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.zhE7AZ (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/star.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/star.spec