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/libcap-ng.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-141879-9720/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 0xffe1e2a1d0>timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/libcap-ng.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: loongarch64
Building for target loongarch64
Wrote: /builddir/build/SRPMS/libcap-ng-0.8.3-5.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/libcap-ng.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-141879-9720/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 0xffe1e2a1d0>timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/libcap-ng.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: loongarch64
Building for target loongarch64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Q4ttTj
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf libcap-ng-0.8.3
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libcap-ng-0.8.3.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd libcap-ng-0.8.3
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VmegFJ
+ 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 libcap-ng-0.8.3
+ '[' '-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	2022-03-30 04:21:46.000000000 +0800
+++ ./configure	2024-04-23 22:18:54.337929371 +0800
@@ -1799,7 +1799,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-04-23 22:18:54.337929371 +0800
+++ ./configure	2024-04-23 22:18:54.357929826 +0800
@@ -6096,7 +6096,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'"
@@ -14711,7 +14711,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.sub
+ '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']'
+ /usr/bin/rm -f ./config.sub
++ basename ./config.sub
+ /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub
'/usr/lib/rpm/OpenCloudOS/config.sub' -> './config.sub'
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']'
+ /usr/bin/rm -f ./config.guess
++ basename ./config.guess
+ /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess
'/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess'
+ '[' 1 = 1 ']'
+ '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']'
++ find . -name ltmain.sh
+ 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"~' ./ltmain.sh
+ ./configure --build=loongarch64-opencloudos-linux-gnu --host=loongarch64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --libdir=/usr/lib64 --with-python=no --with-python3 --disable-static
Configuring libcap-ng
checking build system type... loongarch64-opencloudos-linux-gnu
checking host system type... loongarch64-opencloudos-linux-gnu
checking target system type... loongarch64-opencloudos-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
checking for loongarch64-opencloudos-linux-gnu-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking for a sed that does not truncate output... /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 loongarch64-opencloudos-linux-gnu file names to loongarch64-opencloudos-linux-gnu format... func_convert_file_noop
checking how to convert loongarch64-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 loongarch64-opencloudos-linux-gnu-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for loongarch64-opencloudos-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for loongarch64-opencloudos-linux-gnu-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for loongarch64-opencloudos-linux-gnu-strip... no
checking for strip... strip
checking for loongarch64-opencloudos-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 6102:  -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 loongarch64-opencloudos-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for 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) 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... no
.
Checking for programs
checking for loongarch64-opencloudos-linux-gnu-gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) none
checking for gawk... (cached) gawk
.
Checking for header files
checking for ANSI C header files... (cached) yes
checking linux/capability.h usability... yes
checking linux/capability.h presence... yes
checking for linux/capability.h... yes
checking sys/xattr.h usability... yes
checking sys/xattr.h presence... yes
checking for sys/xattr.h... yes
checking linux/securebits.h usability... yes
checking linux/securebits.h presence... yes
checking for linux/securebits.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for library containing pthread_atfork... none required
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking linux/magic.h usability... yes
checking linux/magic.h presence... yes
checking for linux/magic.h... yes
configure: WARNING: linux/magic.h is required in order to verify procfs.
checking __attr_access support... yes
checking for -Wformat-truncation... yes
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking whether PR_CAP_AMBIENT is declared... yes
checking whether VFS_CAP_REVISION_2 is declared... yes
checking whether VFS_CAP_REVISION_3 is declared... yes
checking whether CAP_EPOLLWAKEUP is declared... no
checking whether CAP_WAKE_ALARM is declared... yes
checking whether CAP_BLOCK_SUSPEND is declared... yes
checking whether CAP_AUDIT_READ is declared... yes
checking whether CAP_PERFMON is declared... yes
checking whether CAP_BPF is declared... yes
checking whether CAP_CHECKPOINT_RESTORE is declared... yes
checking for swig... yes
checking whether to create python bindings... no
checking whether to create python3 bindings... investigating
checking for python3-config... /usr/bin/python3-config
Python3 bindings WILL be built
checking for python3... /usr/bin/python3
<string>:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
<string>:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/libcap-ng.pc
config.status: creating src/test/Makefile
config.status: creating bindings/Makefile
config.status: creating bindings/python/Makefile
config.status: creating bindings/python3/Makefile
config.status: creating bindings/src/Makefile
config.status: creating bindings/python/test/Makefile
config.status: creating utils/Makefile
config.status: creating m4/Makefile
config.status: creating docs/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
.
  libcap-ng Version:      0.8.3
  Target:                 loongarch64-opencloudos-linux-gnu
  Installation prefix:    /usr
  Compiler:               gcc
  Compiler flags:
                          -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
  __attr_access support:  yes
+ /usr/bin/make -O -j32 V=1 VERBOSE=1
/usr/bin/make  all-recursive
Making all in src
Making all in test
make[3]: Nothing to be done for 'all'.
make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I. -I..  -fPIC -DPIC -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -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 -c -o libdrop_ambient.lo libdrop_ambient.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -fPIC -DPIC -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -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 -c libdrop_ambient.c  -fPIC -DPIC -o .libs/libdrop_ambient.o
make[3]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/src'
make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I. -I..  -fPIC -DPIC -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -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 -c -o lookup_table.lo lookup_table.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -fPIC -DPIC -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -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 -c lookup_table.c  -fPIC -DPIC -o .libs/lookup_table.o
make[3]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/src'
make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/src'
/bin/sh ../libtool  --tag=CC   --mode=link gcc -fPIC -DPIC -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -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  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -o libdrop_ambient.la -rpath /usr/lib64 libdrop_ambient.lo  
libtool: link: gcc -shared  -fPIC -DPIC  .libs/libdrop_ambient.o   -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -fstack-protector-strong -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,--build-id=sha1   -Wl,-soname -Wl,libdrop_ambient.so.0 -o .libs/libdrop_ambient.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libdrop_ambient.so.0" && ln -s "libdrop_ambient.so.0.0.0" "libdrop_ambient.so.0")
libtool: link: (cd ".libs" && rm -f "libdrop_ambient.so" && ln -s "libdrop_ambient.so.0.0.0" "libdrop_ambient.so")
libtool: link: ( cd ".libs" && rm -f "libdrop_ambient.la" && ln -s "../libdrop_ambient.la" "libdrop_ambient.la" )
make[3]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/src'
make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I. -I..  -fPIC -DPIC -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -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 -c -o cap-ng.lo cap-ng.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -fPIC -DPIC -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -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 -c cap-ng.c  -fPIC -DPIC -o .libs/cap-ng.o
make[3]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/src'
make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/src'
/bin/sh ../libtool  --tag=CC   --mode=link gcc -fPIC -DPIC -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -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 -Wl,-z,relro -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -o libcap-ng.la -rpath /usr/lib64 cap-ng.lo lookup_table.lo  
libtool: link: gcc -shared  -fPIC -DPIC  .libs/cap-ng.o .libs/lookup_table.o   -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,--build-id=sha1   -Wl,-soname -Wl,libcap-ng.so.0 -o .libs/libcap-ng.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libcap-ng.so.0" && ln -s "libcap-ng.so.0.0.0" "libcap-ng.so.0")
libtool: link: (cd ".libs" && rm -f "libcap-ng.so" && ln -s "libcap-ng.so.0.0.0" "libcap-ng.so")
libtool: link: ( cd ".libs" && rm -f "libcap-ng.la" && ln -s "../libcap-ng.la" "libcap-ng.la" )
make[3]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/src'
Making all in utils
make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/utils'
gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../src  -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -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 -c -o proc-llist.o proc-llist.c
make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/utils'
make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/utils'
gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../src  -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -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 -c -o filecap.o filecap.c
make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/utils'
make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/utils'
gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../src  -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -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 -c -o pscap.o pscap.c
make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/utils'
make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/utils'
gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../src  -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -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 -c -o captest.o captest.c
make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/utils'
captest.c: In function 'report':
captest.c:75:25: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   75 |                         setuid(0);
      |                         ^~~~~~~~~
captest.c:79:33: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result]
   79 |                                 setgid(0);
      |                                 ^~~~~~~~~
captest.c:198:25: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result]
  198 |                         system("/usr/bin/captest --no-child --text");
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
captest.c:200:25: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result]
  200 |                         system("/usr/bin/captest --no-child");
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/utils'
gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../src  -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -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 -c -o netcap.o netcap.c
make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/utils'
make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/utils'
/bin/sh ../libtool  --tag=CC   --mode=link gcc -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -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  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -o pscap pscap.o  -L../src -lcap-ng
libtool: link: gcc -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -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 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/pscap pscap.o  -L../src /builddir/build/BUILD/libcap-ng-0.8.3/src/.libs/libcap-ng.so
make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/utils'
make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/utils'
/bin/sh ../libtool  --tag=CC   --mode=link gcc -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -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  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -o filecap filecap.o  -L../src -lcap-ng
libtool: link: gcc -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -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 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/filecap filecap.o  -L../src /builddir/build/BUILD/libcap-ng-0.8.3/src/.libs/libcap-ng.so
make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/utils'
make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/utils'
/bin/sh ../libtool  --tag=CC   --mode=link gcc -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -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  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -o captest captest.o  -L../src -lcap-ng
libtool: link: gcc -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -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 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/captest captest.o  -L../src /builddir/build/BUILD/libcap-ng-0.8.3/src/.libs/libcap-ng.so
make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/utils'
make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/utils'
/bin/sh ../libtool  --tag=CC   --mode=link gcc -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -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  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -o netcap netcap.o proc-llist.o  -L../src -lcap-ng
libtool: link: gcc -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -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 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/netcap netcap.o proc-llist.o  -L../src /builddir/build/BUILD/libcap-ng-0.8.3/src/.libs/libcap-ng.so
make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/utils'
Making all in m4
make[2]: Nothing to be done for 'all'.
Making all in docs
make[2]: Nothing to be done for 'all'.
Making all in bindings
Making all in src
make[3]: Nothing to be done for 'all'.
Making all in python3
make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/bindings/python3'
cat ../../src/cap-ng.h | grep -v '_state' > capng.h
make[3]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/bindings/python3'
make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/bindings/python3'
cat /usr/include/linux/capability.h | grep '^#define CAP'  | grep -v '[()]' > caps.h
make[3]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/bindings/python3'
make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/bindings/python3'
swig -o capng_wrap.c -python -py3 -modern -I. -I../.. -I/usr/include/python3.11 -I/usr/include/python3.11 ./../src/capng_swig.i
make[3]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/bindings/python3'
Deprecated command line option: -py3. Ignored, this option is no longer supported.
Deprecated command line option: -modern. Ignored, this option is now always on.
./../src/capng_swig.i:38: Warning 116: %except is deprecated.  Use %exception instead.
make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/bindings/python3'
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -I. -I../.. -I/usr/include/python3.11 -I/usr/include/python3.11  -shared -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 -c -o _capng_la-capng_wrap.lo `test -f 'capng_wrap.c' || echo './'`capng_wrap.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I/usr/include/python3.11 -I/usr/include/python3.11 -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 -c capng_wrap.c  -fPIC -DPIC -o .libs/_capng_la-capng_wrap.o
make[3]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/bindings/python3'
make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/bindings/python3'
/bin/sh ../../libtool  --tag=CC   --mode=link gcc -shared -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 -module -avoid-version -Wl,-z,relro -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -o _capng.la -rpath /usr/lib64/python3.11/site-packages _capng_la-capng_wrap.lo ../../src/libcap-ng.la ../../src/libcap-ng.la
libtool: link: gcc -shared  -fPIC -DPIC  .libs/_capng_la-capng_wrap.o   -Wl,-rpath -Wl,/builddir/build/BUILD/libcap-ng-0.8.3/src/.libs ../../src/.libs/libcap-ng.so -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,--build-id=sha1   -Wl,-soname -Wl,_capng.so -o .libs/_capng.so
libtool: link: ( cd ".libs" && rm -f "_capng.la" && ln -s "../_capng.la" "_capng.la" )
make[3]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/bindings/python3'
make[3]: Nothing to be done for 'all-am'.
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.iuVkTc
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64
++ dirname /builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64
+ cd libcap-ng-0.8.3
+ /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64 'INSTALL=/usr/bin/install -p'
Making install in src
make[1]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/src'
Making install in test
make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/src/test'
make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/src/test'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/src/test'
make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/src/test'
make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/src'
make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/src'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/lib64'
 /bin/sh ../libtool   --mode=install /usr/bin/install -p   libcap-ng.la libdrop_ambient.la '/builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/lib64'
libtool: install: /usr/bin/install -p .libs/libcap-ng.so.0.0.0 /builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/lib64/libcap-ng.so.0.0.0
libtool: install: (cd /builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/lib64 && { ln -s -f libcap-ng.so.0.0.0 libcap-ng.so.0 || { rm -f libcap-ng.so.0 && ln -s libcap-ng.so.0.0.0 libcap-ng.so.0; }; })
libtool: install: (cd /builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/lib64 && { ln -s -f libcap-ng.so.0.0.0 libcap-ng.so || { rm -f libcap-ng.so && ln -s libcap-ng.so.0.0.0 libcap-ng.so; }; })
libtool: install: /usr/bin/install -p .libs/libcap-ng.lai /builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/lib64/libcap-ng.la
libtool: install: /usr/bin/install -p .libs/libdrop_ambient.so.0.0.0 /builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/lib64/libdrop_ambient.so.0.0.0
libtool: install: (cd /builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/lib64 && { ln -s -f libdrop_ambient.so.0.0.0 libdrop_ambient.so.0 || { rm -f libdrop_ambient.so.0 && ln -s libdrop_ambient.so.0.0.0 libdrop_ambient.so.0; }; })
libtool: install: (cd /builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/lib64 && { ln -s -f libdrop_ambient.so.0.0.0 libdrop_ambient.so || { rm -f libdrop_ambient.so && ln -s libdrop_ambient.so.0.0.0 libdrop_ambient.so; }; })
libtool: install: /usr/bin/install -p .libs/libdrop_ambient.lai /builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/lib64/libdrop_ambient.la
libtool: warning: remember to run 'libtool --finish /usr/lib64'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/include'
 /usr/bin/install -p -m 644 cap-ng.h '/builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/include'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/lib64/pkgconfig'
 /usr/bin/install -p -m 644 libcap-ng.pc '/builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/lib64/pkgconfig'
make[3]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/src'
make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/src'
make[1]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/src'
Making install in utils
make[1]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/utils'
make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/utils'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/bin'
  /bin/sh ../libtool   --mode=install /usr/bin/install -p pscap netcap filecap captest '/builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/bin'
libtool: warning: '/builddir/build/BUILD/libcap-ng-0.8.3/src/libcap-ng.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -p .libs/pscap /builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/bin/pscap
libtool: warning: '/builddir/build/BUILD/libcap-ng-0.8.3/src/libcap-ng.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -p .libs/netcap /builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/bin/netcap
libtool: warning: '/builddir/build/BUILD/libcap-ng-0.8.3/src/libcap-ng.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -p .libs/filecap /builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/bin/filecap
libtool: warning: '/builddir/build/BUILD/libcap-ng-0.8.3/src/libcap-ng.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -p .libs/captest /builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/bin/captest
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/share/man/man8'
 /usr/bin/install -p -m 644 pscap.8 netcap.8 filecap.8 captest.8 '/builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/share/man/man8'
make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/utils'
make[1]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/utils'
Making install in m4
make[1]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/m4'
make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/m4'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/share/aclocal'
 /usr/bin/install -p -m 644 cap-ng.m4 '/builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/share/aclocal'
make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/m4'
make[1]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/m4'
Making install in docs
make[1]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/docs'
make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/docs'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/share/man/man3'
 /usr/bin/install -p -m 644 capng_clear.3 capng_fill.3 capng_setpid.3 capng_get_caps_process.3 capng_update.3 capng_updatev.3 capng_apply.3 capng_lock.3 capng_change_id.3 capng_get_caps_fd.3 capng_apply_caps_fd.3 capng_have_capabilities.3 capng_get_rootid.3 capng_set_rootid.3 capng_have_capability.3 capng_print_caps_numeric.3 capng_print_caps_text.3 capng_name_to_capability.3 capng_capability_to_name.3 capng_save_state.3 capng_restore_state.3 '/builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/share/man/man3'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/share/man/man7'
 /usr/bin/install -p -m 644 libdrop_ambient.7 '/builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/share/man/man7'
make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/docs'
make[1]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/docs'
Making install in bindings
make[1]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/bindings'
Making install in src
make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/bindings/src'
make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/bindings/src'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/bindings/src'
make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/bindings/src'
Making install in python3
make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/bindings/python3'
make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/bindings/python3'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/lib64/python3.11/site-packages'
 /bin/sh ../../libtool   --mode=install /usr/bin/install -p   _capng.la '/builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/lib64/python3.11/site-packages'
libtool: warning: relinking '_capng.la'
libtool: install: (cd /builddir/build/BUILD/libcap-ng-0.8.3/bindings/python3; /bin/sh "/builddir/build/BUILD/libcap-ng-0.8.3/libtool"  --tag CC --mode=relink gcc -shared -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 -module -avoid-version -Wl,-z,relro -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o _capng.la -rpath /usr/lib64/python3.11/site-packages _capng_la-capng_wrap.lo ../../src/libcap-ng.la ../../src/libcap-ng.la -inst-prefix-dir /builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64)
libtool: relink: gcc -shared  -fPIC -DPIC  .libs/_capng_la-capng_wrap.o   -L/builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/lib64 -L/usr/lib64 -lcap-ng -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,--build-id=sha1   -Wl,-soname -Wl,_capng.so -o .libs/_capng.so
libtool: install: /usr/bin/install -p .libs/_capng.soT /builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/lib64/python3.11/site-packages/_capng.so
libtool: install: /usr/bin/install -p .libs/_capng.lai /builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/lib64/python3.11/site-packages/_capng.la
libtool: warning: remember to run 'libtool --finish /usr/lib64/python3.11/site-packages'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/lib64/python3.11/site-packages'
 /usr/bin/install -p -m 644 capng.py '/builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/lib64/python3.11/site-packages'
Byte-compiling python modules...
capng.py
Byte-compiling python modules (optimized versions) ...
capng.py
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/bindings/python3'
make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/bindings/python3'
make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/bindings'
make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/bindings'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/bindings'
make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/bindings'
make[1]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/bindings'
make[1]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3'
make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3'
make[1]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3'
+ find /builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64 -name '*.la' -delete -print
/builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/lib64/libcap-ng.la
/builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/lib64/libdrop_ambient.la
/builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/lib64/python3.11/site-packages/_capng.la
+ /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 0.8.3-5.ocs23 --unique-debug-suffix -0.8.3-5.ocs23.loongarch64 --unique-debug-src-base libcap-ng-0.8.3-5.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/libcap-ng-0.8.3
extracting debug info from /builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/bin/captest
extracting debug info from /builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/bin/netcap
extracting debug info from /builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/bin/filecap
extracting debug info from /builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/bin/pscap
extracting debug info from /builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/lib64/libdrop_ambient.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/lib64/python3.11/site-packages/_capng.so
extracting debug info from /builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/lib64/libcap-ng.so.0.0.0
439 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/OpenCloudOS/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs
+ /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0
Bytecompiling .py files below /builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/lib64/python3.11 using python3.11
Bytecompiling .py files below /builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/lib/debug/usr/lib64/python3.11 using python3.11
+ /usr/lib/rpm/OpenCloudOS/brp-python-hardlink
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Gmq0AN
+ 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 libcap-ng-0.8.3
+ make check
Making check in src
make[1]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/src'
Making check in test
make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/src/test'
make  lib_test thread_test
make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/src/test'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../.. -I../../src   -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 -c -o lib_test.o lib_test.c
/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -o lib_test lib_test.o ../../src/libcap-ng.la 
libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/lib_test lib_test.o  ../../src/.libs/libcap-ng.so
gcc -DHAVE_CONFIG_H -I. -I../..  -I../.. -I../../src   -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 -c -o thread_test.o thread_test.c
/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -o thread_test thread_test.o ../../src/libcap-ng.la -lpthread 
libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/thread_test thread_test.o  ../../src/.libs/libcap-ng.so -lpthread
make[3]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/src/test'
make  check-TESTS
make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/src/test'
make[4]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/src/test'
PASS: lib_test
PASS: thread_test
============================================================================
Testsuite summary for libcap-ng 0.8.3
============================================================================
# TOTAL: 2
# PASS:  2
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[4]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/src/test'
make[3]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/src/test'
make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/src/test'
make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/src'
make[2]: Nothing to be done for 'check-am'.
make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/src'
make[1]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/src'
Making check in utils
make[1]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/utils'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/utils'
Making check in m4
make[1]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/m4'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/m4'
Making check in docs
make[1]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/docs'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/docs'
Making check in bindings
make[1]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/bindings'
Making check in src
make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/bindings/src'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/bindings/src'
Making check in python3
make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/bindings/python3'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/bindings/python3'
make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3/bindings'
make[2]: Nothing to be done for 'check-am'.
make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/bindings'
make[1]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3/bindings'
make[1]: Entering directory '/builddir/build/BUILD/libcap-ng-0.8.3'
make[1]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.8.3'
+ RPM_EC=0
++ jobs -p
+ exit 0
Processing files: libcap-ng-0.8.3-5.ocs23.loongarch64
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.3xGXOQ
+ umask 022
+ cd /builddir/build/BUILD
+ cd libcap-ng-0.8.3
+ LICENSEDIR=/builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/share/licenses/libcap-ng
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/share/licenses/libcap-ng
+ cp -pr COPYING /builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/share/licenses/libcap-ng
+ cp -pr COPYING.LIB /builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64/usr/share/licenses/libcap-ng
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: libcap-ng = 0.8.3-5.ocs23 libcap-ng(loongarch-64) = 0.8.3-5.ocs23 libcap-ng.so.0()(64bit) libdrop_ambient.so.0()(64bit)
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libc.so.6(GLIBC_2.38)(64bit) rtld(GNU_HASH)
Processing files: libcap-ng-utils-0.8.3-5.ocs23.loongarch64
Provides: libcap-ng-utils = 0.8.3-5.ocs23 libcap-ng-utils(loongarch-64) = 0.8.3-5.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libc.so.6(GLIBC_2.38)(64bit) libcap-ng.so.0()(64bit) rtld(GNU_HASH)
Processing files: libcap-ng-devel-0.8.3-5.ocs23.loongarch64
Provides: libcap-ng-devel = 0.8.3-5.ocs23 libcap-ng-devel(loongarch-64) = 0.8.3-5.ocs23 pkgconfig(libcap-ng) = 0.8.3
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /usr/bin/pkg-config libcap-ng.so.0()(64bit) libdrop_ambient.so.0()(64bit)
Processing files: libcap-ng-python3-0.8.3-5.ocs23.loongarch64
warning: File listed twice: /usr/lib64/python3.11/site-packages/capng.py
Provides: libcap-ng-python3 = 0.8.3-5.ocs23 libcap-ng-python3(loongarch-64) = 0.8.3-5.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libcap-ng.so.0()(64bit) python(abi) = 3.11 rtld(GNU_HASH)
Processing files: libcap-ng-debugsource-0.8.3-5.ocs23.loongarch64
Provides: libcap-ng-debugsource = 0.8.3-5.ocs23 libcap-ng-debugsource(loongarch-64) = 0.8.3-5.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: libcap-ng-debuginfo-0.8.3-5.ocs23.loongarch64
Provides: debuginfo(build-id) = 1cf09dd5ed894d7e08b636301f0c25225e691336 debuginfo(build-id) = e4bfaa4f8b4c500719e2a4aa872d28fe1c35eb22 libcap-ng-debuginfo = 0.8.3-5.ocs23 libcap-ng-debuginfo(loongarch-64) = 0.8.3-5.ocs23 libcap-ng.so.0.0.0-0.8.3-5.ocs23.loongarch64.debug()(64bit) libdrop_ambient.so.0.0.0-0.8.3-5.ocs23.loongarch64.debug()(64bit)
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: libcap-ng-debugsource(loongarch-64) = 0.8.3-5.ocs23
Processing files: libcap-ng-utils-debuginfo-0.8.3-5.ocs23.loongarch64
Provides: debuginfo(build-id) = 24e874332aeee91411cbaacb9915317713131ca2 debuginfo(build-id) = 3e1b8c89a727cf3b247a0b55d14ac4fb17ede87e debuginfo(build-id) = 500f3f7169b57d23d702a96e4018293df510bc68 debuginfo(build-id) = 63669298378384c86d420ad4ab4988e79d237b97 libcap-ng-utils-debuginfo = 0.8.3-5.ocs23 libcap-ng-utils-debuginfo(loongarch-64) = 0.8.3-5.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: libcap-ng-debugsource(loongarch-64) = 0.8.3-5.ocs23
Processing files: libcap-ng-python3-debuginfo-0.8.3-5.ocs23.loongarch64
Provides: debuginfo(build-id) = 6d67af840bc85fdad1eda6ff692563f34e134bad libcap-ng-python3-debuginfo = 0.8.3-5.ocs23 libcap-ng-python3-debuginfo(loongarch-64) = 0.8.3-5.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: libcap-ng-debugsource(loongarch-64) = 0.8.3-5.ocs23
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libcap-ng-0.8.3-5.ocs23.loongarch64
Wrote: /builddir/build/RPMS/libcap-ng-python3-0.8.3-5.ocs23.loongarch64.rpm
Wrote: /builddir/build/RPMS/libcap-ng-devel-0.8.3-5.ocs23.loongarch64.rpm
Wrote: /builddir/build/RPMS/libcap-ng-0.8.3-5.ocs23.loongarch64.rpm
Wrote: /builddir/build/RPMS/libcap-ng-debuginfo-0.8.3-5.ocs23.loongarch64.rpm
Wrote: /builddir/build/RPMS/libcap-ng-utils-0.8.3-5.ocs23.loongarch64.rpm
Wrote: /builddir/build/RPMS/libcap-ng-utils-debuginfo-0.8.3-5.ocs23.loongarch64.rpm
Wrote: /builddir/build/RPMS/libcap-ng-debugsource-0.8.3-5.ocs23.loongarch64.rpm
Wrote: /builddir/build/RPMS/libcap-ng-python3-debuginfo-0.8.3-5.ocs23.loongarch64.rpm
RPM build warnings:
    File listed twice: /usr/lib64/python3.11/site-packages/capng.py
Child return code was: 0