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 x86_64 --nodeps /builddir/build/SPECS/util-linux.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-172207-10529/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f8e42bdcbd0>timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/util-linux.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/util-linux-2.40.1-1.ocs23.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/util-linux.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-172207-10529/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f8e42bdcbd0>timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/util-linux.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bOZJYv
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf util-linux-2.40.1
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/util-linux-2.40.1.tar.xz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd util-linux-2.40.1
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/git init -q
+ /usr/bin/git config user.name rpm-build
+ /usr/bin/git config user.email '<rpm-build>'
+ /usr/bin/git config gc.auto 0
+ /usr/bin/git add --force .
+ /usr/bin/git commit -q --allow-empty -a --author 'rpm-build <rpm-build>' -m 'util-linux-2.40.1 base'
+ /usr/bin/git checkout --track -b rpm-build
Switched to a new branch 'rpm-build'
branch 'rpm-build' set up to track 'master'.
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/login-lastlog-create.patch
+ /usr/bin/git apply --index --reject -p1 -
Checking patch login-utils/login.c...
Hunk #1 succeeded at 681 (offset 96 lines).
Applied patch login-utils/login.c cleanly.
+ /usr/bin/git commit -q -m login-lastlog-create.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/login-default-motd-file.patch
+ /usr/bin/git apply --index --reject -p1 -
Checking patch include/pathnames.h...
Applied patch include/pathnames.h cleanly.
+ /usr/bin/git commit -q -m login-default-motd-file.patch --author 'rpm-build <rpm-build>'
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.TqAVPX
+ 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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -flto=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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -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 util-linux-2.40.1
+ unset LINGUAS
+ export 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export SUID_CFLAGS=-fpie
+ SUID_CFLAGS=-fpie
+ export 'SUID_LDFLAGS=-pie -Wl,-z,relro -Wl,-z,now'
+ SUID_LDFLAGS='-pie -Wl,-z,relro -Wl,-z,now'
+ export DAEMON_CFLAGS=-fpie
+ DAEMON_CFLAGS=-fpie
+ export 'DAEMON_LDFLAGS=-pie -Wl,-z,relro -Wl,-z,now'
+ DAEMON_LDFLAGS='-pie -Wl,-z,relro -Wl,-z,now'
+ '[' '-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-05-06 16:20:58.337712659 +0800
+++ ./configure	2024-05-29 11:59:56.179550179 +0800
@@ -2806,7 +2806,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
--- ./configure.backup	2024-05-29 11:59:56.179550179 +0800
+++ ./configure	2024-05-29 11:59:56.218550070 +0800
@@ -12634,7 +12634,7 @@
 # Transform an extracted symbol line into a proper C declaration.
 # Some systems (esp. on ia64) link data and code symbols differently,
 # so use this general approach.
-lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 $lt_cdecl_hook\
 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
@@ -45270,7 +45270,7 @@
 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
-lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
+ '[' 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/config.sub
+ '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']'
+ /usr/bin/rm -f ./config/config.sub
++ basename ./config/config.sub
+ /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config/config.sub
'/usr/lib/rpm/OpenCloudOS/config.sub' -> './config/config.sub'
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config/config.guess
+ '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']'
+ /usr/bin/rm -f ./config/config.guess
++ basename ./config/config.guess
+ /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config/config.guess
'/usr/lib/rpm/OpenCloudOS/config.guess' -> './config/config.guess'
+ '[' 1 = 1 ']'
+ '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']'
++ find . -name ltmain.sh
+ for i in $(find . -name ltmain.sh)
+ /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld"~' ./config/ltmain.sh
+ ./configure --build=x86_64-opencloudos-linux-gnu --host=x86_64-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-systemdsystemunitdir=/usr/lib/systemd/system --without-user --disable-silent-rules --disable-bfs --disable-pg --enable-chfn-chsh --enable-usrdir-path --enable-write --disable-raw --enable-hardlink --enable-fdformat --enable-asciidoc --with-python=3 --with-systemd --with-udev --with-selinux --with-audit --with-utempter --disable-makeinstall-chown
checking for x86_64-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 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 whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
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 the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking dependency style of gcc... none
checking whether make supports nested variables... (cached) yes
checking for x86_64-opencloudos-linux-gnu-ar... no
checking for x86_64-opencloudos-linux-gnu-lib... no
checking for x86_64-opencloudos-linux-gnu-link... no
checking for ar... ar
checking the archiver (ar) interface... ar
configure: Default --exec-prefix detected.
configure: Default --prefix detected.
configure:   --runstatedir defaults to /run
checking for x86_64-opencloudos-linux-gnu-gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking for bison... no
checking for byacc... no
checking for a sed that does not truncate output... /usr/bin/sed
checking for flex... no
checking for bison... no
checking build system type... x86_64-opencloudos-linux-gnu
checking host system type... x86_64-opencloudos-linux-gnu
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking how to run the C preprocessor... gcc -E
checking whether compiler handles -fno-common... yes
checking whether compiler handles -Wall... yes
checking whether compiler handles -Wextra... yes
checking whether compiler handles -Waddress-of-packed-member... yes
checking whether compiler handles -Wdiscarded-qualifiers... yes
checking whether compiler handles -Wembedded-directive... no
checking whether compiler handles -Wextra-semi... no
checking whether compiler handles -Wformat-security... no
checking whether compiler handles -Wimplicit-function-declaration... yes
checking whether compiler handles -Wmissing-declarations... yes
checking whether compiler handles -Wmissing-parameter-type... yes
checking whether compiler handles -Wmissing-prototypes... yes
checking whether compiler handles -Wnested-externs... yes
checking whether compiler handles -Wno-missing-field-initializers... yes
checking whether compiler handles -Wold-style-definition... yes
checking whether compiler handles -Wpointer-arith... yes
checking whether compiler handles -Wredundant-decls... yes
checking whether compiler handles -Wsign-compare... yes
checking whether compiler handles -Wstrict-prototypes... yes
checking whether compiler handles -Wtype-limits... yes
checking whether compiler handles -Wuninitialized... yes
checking whether compiler handles -Wunused-but-set-parameter... yes
checking whether compiler handles -Wunused-but-set-variable... yes
checking whether compiler handles -Wunused-parameter... yes
checking whether compiler handles -Wunused-result... yes
checking whether compiler handles -Wunused-variable... yes
checking whether compiler handles -Wvla... yes
checking whether compiler handles -Walloca... yes
checking whether compiler handles -Werror=sequence-point... yes
checking whether compiler handles -Wno-clobbered... yes
checking whether compiler handles -Wno-cast-function-type... yes
checking whether the compiler supports GNU C++... no
checking whether g++ accepts -g... no
checking for g++ option to enable C++11 features... unsupported
checking for g++ option to enable C++98 features... unsupported
checking dependency style of g++... none
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-opencloudos-linux-gnu file names to x86_64-opencloudos-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-opencloudos-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for x86_64-opencloudos-linux-gnu-file... no
checking for file... file
checking for x86_64-opencloudos-linux-gnu-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-opencloudos-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-opencloudos-linux-gnu-ar... ar
checking for archiver @FILE support... @
checking for x86_64-opencloudos-linux-gnu-strip... no
checking for strip... strip
checking for x86_64-opencloudos-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 12640:  -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory
ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-opencloudos-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking linker version script flag... --version-script
checking if version scripts can use complex wildcards... yes
checking for x86_64-opencloudos-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether to build gtk-doc documentation... no
checking for gtkdoc-check... no
checking for xsltproc... /usr/bin/xsltproc
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether to enable assertions... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for gcc options needed to detect all undeclared functions... none needed
checking for struct tm.tm_zone... yes
checking for gcc option for timestamps after 2038... none needed
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by gcc... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for linux/compiler.h... no
checking for linux/blkpg.h... yes
checking for linux/major.h... yes
checking for asm-generic/fcntl.h... yes
checking for asm/fcntl.h... yes
checking for asm/io.h... no
checking for byteswap.h... yes
checking for endian.h... yes
checking for err.h... yes
checking for errno.h... yes
checking for fcntl.h... yes
checking for getopt.h... yes
checking for inttypes.h... (cached) yes
checking for lastlog.h... yes
checking for libutil.h... no
checking for linux/blkzoned.h... yes
checking for linux/btrfs.h... yes
checking for linux/capability.h... yes
checking for linux/cdrom.h... yes
checking for linux/falloc.h... yes
checking for linux/fd.h... yes
checking for linux/fiemap.h... yes
checking for linux/landlock.h... yes
checking for linux/kcmp.h... yes
checking for linux/net_namespace.h... yes
checking for linux/nsfs.h... yes
checking for linux/pr.h... yes
checking for linux/raw.h... no
checking for linux/securebits.h... yes
checking for linux/tiocl.h... yes
checking for linux/version.h... yes
checking for linux/watchdog.h... yes
checking for linux/if_alg.h... yes
checking for locale.h... yes
checking for mntent.h... yes
checking for net/if_dl.h... no
checking for net/if.h... yes
checking for netinet/in.h... yes
checking for paths.h... yes
checking for pty.h... yes
checking for security/pam_appl.h... yes
checking for security/pam_modules.h... yes
checking for shadow.h... yes
checking for stdint.h... (cached) yes
checking for stdio_ext.h... yes
checking for stdlib.h... (cached) yes
checking for sys/disk.h... no
checking for sys/disklabel.h... no
checking for sys/endian.h... no
checking for sys/file.h... yes
checking for sys/ioccom.h... no
checking for sys/ioctl.h... yes
checking for sys/io.h... yes
checking for sys/mkdev.h... no
checking for sys/mount.h... yes
checking for sys/param.h... yes
checking for sys/pidfd.h... yes
checking for sys/prctl.h... yes
checking for sys/resource.h... yes
checking for sys/sendfile.h... yes
checking for sys/signalfd.h... yes
checking for sys/socket.h... yes
checking for sys/sockio.h... no
checking for sys/stat.h... (cached) yes
checking for sys/statfs.h... yes
checking for sys/swap.h... yes
checking for sys/syscall.h... yes
checking for sys/sysmacros.h... yes
checking for sys/time.h... yes
checking for sys/timex.h... yes
checking for sys/ttydefaults.h... yes
checking for sys/types.h... (cached) yes
checking for sys/ucred.h... no
checking for sys/un.h... yes
checking for sys/vfs.h... yes
checking for sys/xattr.h... yes
checking for unistd.h... (cached) yes
checking for utmp.h... yes
checking for utmpx.h... yes
checking for linux/fs.h... yes
checking for linux/mount.h... yes
checking for linux/gsmmux.h... yes
checking for security/pam_misc.h... yes
checking whether BLK_ZONE_REP_CAPACITY is declared... yes
checking whether PR_REP_CAPACITY is declared... no
checking for security/openpam.h... no
checking for langinfo.h... yes
checking whether langinfo.h defines ALTMON_x constants... yes
checking whether langinfo.h defines _NL_ABALTMON_x constants... yes
checking for struct mount_attr... yes
checking for enum fsconfig_command... yes
checking for struct termios.c_line... yes
checking for struct stat.st_mtim.tv_nsec... yes
checking for struct statx... yes
checking for struct statx.stx_mnt_id... yes
checking whether _NL_TIME_WEEK_1STDAY is declared... yes
checking whether environ is declared... yes
checking whether strsignal is declared... yes
checking whether TIOCGLCKTRMIOS is declared... yes
checking whether SOCK_CLOEXEC is declared... yes
checking whether SOCK_NONBLOCK is declared... yes
checking whether SO_PASSCRED is declared... yes
checking for cachestat... no
checking for clearenv... yes
checking for close_range... yes
checking for eaccess... yes
checking for err... yes
checking for errx... yes
checking for explicit_bzero... yes
checking for __fpending... yes
checking for __fpurge... yes
checking for fpurge... no
checking for fnmatch... yes
checking for fsconfig... yes
checking for fsmount... yes
checking for fsopen... yes
checking for fspick... yes
checking for fsync... yes
checking for getdomainname... yes
checking for getdtablesize... yes
checking for getexecname... no
checking for getmntinfo... no
checking for getrandom... yes
checking for getrlimit... yes
checking for getsgnam... yes
checking for getttynam... yes
checking for inotify_init... yes
checking for jrand48... yes
checking for landlock_create_ruleset... no
checking for landlock_add_rule... no
checking for landlock_restrict_self... no
checking for lchown... yes
checking for lgetxattr... yes
checking for llistxattr... yes
checking for llseek... no
checking for newlocale... yes
checking for mempcpy... yes
checking for mkostemp... yes
checking for move_mount... yes
checking for mount_setattr... yes
checking for nanosleep... yes
checking for ntp_gettime... yes
checking for open_tree... yes
checking for personality... yes
checking for pidfd_open... yes
checking for pidfd_send_signal... yes
checking for posix_fadvise... yes
checking for prctl... yes
checking for qsort_r... yes
checking for reallocarray... yes
checking for renameat2... yes
checking for rpmatch... yes
checking for scandirat... yes
checking for sched_setattr... no
checking for sched_setscheduler... yes
checking for __secure_getenv... no
checking for secure_getenv... yes
checking for sendfile... yes
checking for setprogname... no
checking for setresgid... yes
checking for setresuid... yes
checking for sigqueue... yes
checking for srandom... yes
checking for statx... yes
checking for strnchr... no
checking for strndup... yes
checking for strnlen... yes
checking for strtod_l... yes
checking for sysconf... yes
checking for sysinfo... yes
checking for timegm... yes
checking for usleep... yes
checking for uselocale... yes
checking for utimensat... yes
checking for vwarnx... yes
checking for warn... yes
checking for warnx... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for futimens... yes
checking for getusershell... yes
checking for inotify_init1... yes
checking for ioperm... yes
checking for iopl... yes
checking for openat... yes
checking for fstatat... yes
checking for unlinkat... yes
checking for open_memstream... yes
checking for reboot... yes
checking for updwtmpx... yes
checking for updwtmpx... (cached) yes
checking for syscall setns... SYS_setns
checking for syscall pidfd_open... SYS_pidfd_open
checking for syscall pidfd_send_signal... SYS_pidfd_send_signal
checking for syscall close_range... SYS_close_range
checking for syscall fsconfig... SYS_fsconfig
checking for syscall fsmount... SYS_fsmount
checking for syscall fsopen... SYS_fsopen
checking for syscall fspick... SYS_fspick
checking for syscall mount_setattr... SYS_mount_setattr
checking for syscall move_mount... SYS_move_mount
checking for syscall open_tree... SYS_open_tree
checking for isnan... yes
checking for clock_gettime... yes
checking for timer_create... yes
checking for rtas_get_sysparm in -lrtas... no
checking for struct sockaddr.sa_len... no
checking for library containing socket... none required
checking for dirfd... yes
checking for mq_open in -lrt... yes
checking whether program_invocation_short_name is defined... yes
checking whether __progname is defined... yes
checking whether IOC_OPAL_GET_STATUS is declared... yes
checking for asciidoctor... /usr/bin/asciidoctor
checking whether /usr/bin/asciidoctor supports --failure-level... yes
configure: re-use already generated man-pages.
checking for po4a... /usr/bin/po4a
checking whether the target supports thread-local storage... yes
checking for openpty in -lutil... yes
checking for union semun... no
checking for loff_t... yes
checking wchar_t support... yes
checking for cpu_set_t... yes
checking for sighandler_t... yes
checking whether CPU_ALLOC is declared... yes
checking for crypt.h... yes
checking for libselinux >= 2.5... yes
checking for security_get_initial_context... yes
checking for audit_log_user_message in -laudit... yes
checking for udev_new in -ludev... yes
checking for x86_64-opencloudos-linux-gnu-ncursesw6-config... no
checking for ncursesw6-config... ncursesw6-config
checking for ncursesw/ncurses.h... yes
checking for ncursesw/term.h... yes
checking for use_default_colors in -lncursesw... yes
checking for resizeterm in -lncursesw... yes
checking for tinfow... no
checking for tgetent in -ltinfow... no
checking for tinfo... yes
checking for readline in -lreadline... yes
checking for utempter_add_record in -lutempter... yes
checking for sqlite3... no
configure: error: liblastlog2 selected, but required sqlite3 library not available
error: Bad exit status from /var/tmp/rpm-tmp.TqAVPX (%build)
    Bad exit status from /var/tmp/rpm-tmp.TqAVPX (%build)
RPM build errors:
Child return code was: 1
EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/util-linux.spec\n', 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
             ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, 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 x86_64 --nodeps /builddir/build/SPECS/util-linux.spec