Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libcap-ng.spec'], chrootPath='/var/lib/mock/f29-build-21862-11402/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: sh: /usr/bin/python: No such file or directory Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/libcap-ng-0.7.9-2.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libcap-ng.spec'], chrootPath='/var/lib/mock/f29-build-21862-11402/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: sh: /usr/bin/python: No such file or directory Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VpXNd5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libcap-ng-0.7.9 + /usr/bin/gzip -dc /builddir/build/SOURCES/libcap-ng-0.7.9.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libcap-ng-0.7.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6hgXyt + umask 022 + cd /builddir/build/BUILD + cd libcap-ng-0.7.9 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ 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/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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=/lib64 --with-python --with-python3 Configuring libcap-ng checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking target system type... riscv64-koji-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 for style of include used by make... GNU checking for riscv64-koji-linux-gnu-gcc... no checking for 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 riscv64-koji-linux-gnu file names to riscv64-koji-linux-gnu format... func_convert_file_noop checking how to convert riscv64-koji-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-koji-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-koji-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-koji-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-koji-linux-gnu-strip... no checking for strip... strip checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... 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 riscv64-koji-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... no 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... yes . Checking for programs checking for riscv64-koji-linux-gnu-gcc... 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 for an ANSI C-conforming const... yes checking for inline... inline checking sys/syscall.h usability... yes checking sys/syscall.h presence... yes checking for sys/syscall.h... yes checking for swig... yes checking whether to create python bindings... testing checking for python... no checking for python2... /usr/bin/python2 checking for python version... 2.7 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.7/site-packages checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages configure: Python bindings will be built 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 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.7.9 Target: riscv64-koji-linux-gnu Installation prefix: /usr Compiler: gcc Compiler flags: -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection + make 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9' Making all in src make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/src' Making all in test make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/src/test' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.9/src/test' make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -fPIC -DPIC -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o cap-ng.lo cap-ng.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -fPIC -DPIC -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 -Wformat -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c lookup_table.c -fPIC -DPIC -o .libs/lookup_table.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -fPIC -DPIC -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c cap-ng.c -fPIC -DPIC -o .libs/cap-ng.o BUILDSTDERR: lookup_table.c: In function 'capng_capability_to_name': BUILDSTDERR: lookup_table.c:34:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] BUILDSTDERR: #define cap_valid(x) ((x) <= last_cap) BUILDSTDERR: ^~ BUILDSTDERR: lookup_table.c:112:7: note: in expansion of macro 'cap_valid' BUILDSTDERR: if (!cap_valid(capability)) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: lookup_table.c:115:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: ptr = capng_lookup_number(captab, captab_msgstr.str, BUILDSTDERR: ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -fPIC -DPIC -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c lookup_table.c -o lookup_table.o >/dev/null 2>&1 BUILDSTDERR: cap-ng.c: In function 'capng_update': BUILDSTDERR: cap-ng.c:69:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] BUILDSTDERR: #define cap_valid(x) ((x) <= last_cap) BUILDSTDERR: ^~ BUILDSTDERR: cap-ng.c:457:7: note: in expansion of macro 'cap_valid' BUILDSTDERR: if (!cap_valid(capability)) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: cap-ng.c: In function 'capng_updatev': BUILDSTDERR: cap-ng.c:69:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] BUILDSTDERR: #define cap_valid(x) ((x) <= last_cap) BUILDSTDERR: ^~ BUILDSTDERR: cap-ng.c:504:9: note: in expansion of macro 'cap_valid' BUILDSTDERR: while (cap_valid(cap)) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: cap-ng.c: In function 'capng_have_capability': BUILDSTDERR: cap-ng.c:69:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] BUILDSTDERR: #define cap_valid(x) ((x) <= last_cap) BUILDSTDERR: ^~ BUILDSTDERR: cap-ng.c:854:7: note: in expansion of macro 'cap_valid' BUILDSTDERR: if (!cap_valid(capability)) BUILDSTDERR: ^~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -fPIC -DPIC -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c cap-ng.c -o cap-ng.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=link gcc -fPIC -DPIC -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libcap-ng.la -rpath /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/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,-z -Wl,relro -Wl,-z -Wl,now -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: ar cru .libs/libcap-ng.a cap-ng.o lookup_table.o libtool: link: ranlib .libs/libcap-ng.a 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.7.9/src' make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.9/src' Making all in utils make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/utils' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o pscap.o pscap.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o netcap.o netcap.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o proc-llist.o proc-llist.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o filecap.o filecap.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o captest.o captest.c /bin/sh ../libtool --tag=CC --mode=link gcc -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o pscap pscap.o -L../src -lcap-ng BUILDSTDERR: captest.c: In function 'report': BUILDSTDERR: captest.c:74:4: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: setuid(0); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: captest.c:78:5: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: setgid(0); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: captest.c:191:4: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: system("/usr/bin/captest --no-child --text"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: captest.c:193:4: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: system("/usr/bin/captest --no-child"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o filecap filecap.o -L../src -lcap-ng BUILDSTDERR: netcap.c: In function 'collect_process_info': BUILDSTDERR: netcap.c:179:26: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 156 and 255 [-Wformat-truncation=] BUILDSTDERR: snprintf(ln, 256, "%s/%s", buf, ent->d_name); BUILDSTDERR: ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from netcap.c:27: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 356 bytes into a destination of size 256 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o netcap netcap.o proc-llist.o -L../src -lcap-ng /bin/sh ../libtool --tag=CC --mode=link gcc -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o captest captest.o -L../src -lcap-ng libtool: link: gcc -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/filecap filecap.o -L../src /builddir/build/BUILD/libcap-ng-0.7.9/src/.libs/libcap-ng.so libtool: link: gcc -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/pscap pscap.o -L../src /builddir/build/BUILD/libcap-ng-0.7.9/src/.libs/libcap-ng.so libtool: link: gcc -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/captest captest.o -L../src /builddir/build/BUILD/libcap-ng-0.7.9/src/.libs/libcap-ng.so libtool: link: gcc -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/netcap netcap.o proc-llist.o -L../src /builddir/build/BUILD/libcap-ng-0.7.9/src/.libs/libcap-ng.so make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.9/utils' Making all in m4 make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/m4' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.9/m4' Making all in docs make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/docs' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.9/docs' Making all in bindings make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/bindings' Making all in src make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/bindings/src' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.9/bindings/src' Making all in python make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/bindings/python' Making all in test make[4]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/bindings/python/test' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.9/bindings/python/test' make[4]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/bindings/python' cat /usr/include/linux/capability.h | grep '^#define CAP' | grep -v '[()]' > caps.h cat ../../src/cap-ng.h | grep -v '_state' > capng.h swig -o capng_wrap.c -python -I. -I../.. -I/usr/include/python2.7 ./../src/capng_swig.i BUILDSTDERR: ./../src/capng_swig.i:35: Warning 116: %except is deprecated. Use %exception instead. /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I/usr/include/python2.7 -shared -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/python2.7 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c capng_wrap.c -fPIC -DPIC -o .libs/_capng_la-capng_wrap.o /bin/sh ../../libtool --tag=CC --mode=link gcc -shared -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -module -avoid-version -Wl,-z,relro -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o _capng.la -rpath /usr/lib64/python2.7/site-packages _capng_la-capng_wrap.lo ../../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.7.9/src/.libs ../../src/.libs/libcap-ng.so -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,_capng.so -o .libs/_capng.so libtool: link: ( cd ".libs" && rm -f "_capng.la" && ln -s "../_capng.la" "_capng.la" ) make[4]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.9/bindings/python' make[3]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.9/bindings/python' Making all in python3 make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/bindings/python3' cat /usr/include/linux/capability.h | grep '^#define CAP' | grep -v '[()]' > caps.h cat ../../src/cap-ng.h | grep -v '_state' > capng.h swig -o capng_wrap.c -python -py3 -modern -I. -I../.. -I/usr/include/python3.7m -I/usr/include/python3.7m ./../src/capng_swig.i BUILDSTDERR: ./../src/capng_swig.i:35: Warning 116: %except is deprecated. Use %exception instead. /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I/usr/include/python3.7m -I/usr/include/python3.7m -shared -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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.7m -I/usr/include/python3.7m -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c capng_wrap.c -fPIC -DPIC -o .libs/_capng_la-capng_wrap.o /bin/sh ../../libtool --tag=CC --mode=link gcc -shared -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -module -avoid-version -Wl,-z,relro -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o _capng.la -rpath /usr/lib64/python3.7/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.7.9/src/.libs ../../src/.libs/libcap-ng.so -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,-z -Wl,relro -Wl,-z -Wl,now -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.7.9/bindings/python3' make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/bindings' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.9/bindings' make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.9/bindings' make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9' make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.9' make[1]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.9' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VHEG0t + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64 + cd libcap-ng-0.7.9 + make DESTDIR=/builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64 'INSTALL=install -p' install Making install in src make[1]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/src' Making install in test make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/src/test' make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/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.7.9/src/test' make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.9/src/test' make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/src' make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/lib64' /bin/sh ../libtool --mode=install install -p libcap-ng.la '/builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/lib64' libtool: install: install -p .libs/libcap-ng.so.0.0.0 /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/lib64/libcap-ng.so.0.0.0 libtool: install: (cd /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/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.7.9-2.fc29.riscv64/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: install -p .libs/libcap-ng.lai /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/lib64/libcap-ng.la libtool: install: install -p .libs/libcap-ng.a /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/lib64/libcap-ng.a libtool: install: chmod 644 /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/lib64/libcap-ng.a libtool: install: ranlib /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/lib64/libcap-ng.a BUILDSTDERR: libtool: warning: remember to run 'libtool --finish /lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/include' install -p -m 644 cap-ng.h '/builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/include' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/lib64/pkgconfig' install -p -m 644 libcap-ng.pc '/builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/lib64/pkgconfig' make[3]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.9/src' make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.9/src' make[1]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.9/src' Making install in utils make[1]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/utils' make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/utils' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/bin' /bin/sh ../libtool --mode=install install -p pscap netcap filecap captest '/builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/bin' BUILDSTDERR: libtool: warning: '/builddir/build/BUILD/libcap-ng-0.7.9/src/libcap-ng.la' has not been installed in '/lib64' libtool: install: install -p .libs/pscap /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/bin/pscap BUILDSTDERR: libtool: warning: '/builddir/build/BUILD/libcap-ng-0.7.9/src/libcap-ng.la' has not been installed in '/lib64' libtool: install: install -p .libs/netcap /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/bin/netcap BUILDSTDERR: libtool: warning: '/builddir/build/BUILD/libcap-ng-0.7.9/src/libcap-ng.la' has not been installed in '/lib64' libtool: install: install -p .libs/filecap /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/bin/filecap BUILDSTDERR: libtool: warning: '/builddir/build/BUILD/libcap-ng-0.7.9/src/libcap-ng.la' has not been installed in '/lib64' libtool: install: install -p .libs/captest /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/bin/captest /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/share/man/man8' install -p -m 644 pscap.8 netcap.8 filecap.8 captest.8 '/builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/share/man/man8' make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.9/utils' make[1]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.9/utils' Making install in m4 make[1]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/m4' make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/m4' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/share/aclocal' install -p -m 644 cap-ng.m4 '/builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/share/aclocal' make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.9/m4' make[1]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.9/m4' Making install in docs make[1]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/docs' make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/docs' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/share/man/man3' 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_set_caps_fd.3 capng_have_capabilities.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.7.9-2.fc29.riscv64/usr/share/man/man3' make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.9/docs' make[1]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.9/docs' Making install in bindings make[1]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/bindings' Making install in src make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/bindings/src' make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/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.7.9/bindings/src' make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.9/bindings/src' Making install in python make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/bindings/python' Making install in test make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/bindings/python/test' make[4]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/bindings/python/test' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.9/bindings/python/test' make[3]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.9/bindings/python/test' make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/bindings/python' make[4]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/bindings/python' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/lib64/python2.7/site-packages' /bin/sh ../../libtool --mode=install install -p _capng.la '/builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/lib64/python2.7/site-packages' BUILDSTDERR: libtool: warning: relinking '_capng.la' libtool: install: (cd /builddir/build/BUILD/libcap-ng-0.7.9/bindings/python; /bin/sh "/builddir/build/BUILD/libcap-ng-0.7.9/libtool" --tag CC --mode=relink gcc -shared -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -module -avoid-version -Wl,-z,relro -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o _capng.la -rpath /usr/lib64/python2.7/site-packages _capng_la-capng_wrap.lo ../../src/libcap-ng.la -inst-prefix-dir /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64) libtool: relink: gcc -shared -fPIC -DPIC .libs/_capng_la-capng_wrap.o -L/builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/lib64 -L/lib64 -lcap-ng -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,_capng.so -o .libs/_capng.so libtool: install: install -p .libs/_capng.soT /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/lib64/python2.7/site-packages/_capng.so libtool: install: install -p .libs/_capng.lai /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/lib64/python2.7/site-packages/_capng.la BUILDSTDERR: libtool: warning: remember to run 'libtool --finish /usr/lib64/python2.7/site-packages' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/lib64/python2.7/site-packages' install -p -m 644 capng.py '/builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/lib64/python2.7/site-packages' Byte-compiling python modules... capng.py Byte-compiling python modules (optimized versions) ... capng.py make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.9/bindings/python' make[3]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.9/bindings/python' make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.9/bindings/python' Making install in python3 make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/bindings/python3' make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/bindings/python3' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/lib64/python3.7/site-packages' /bin/sh ../../libtool --mode=install install -p _capng.la '/builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/lib64/python3.7/site-packages' BUILDSTDERR: libtool: warning: relinking '_capng.la' libtool: install: (cd /builddir/build/BUILD/libcap-ng-0.7.9/bindings/python3; /bin/sh "/builddir/build/BUILD/libcap-ng-0.7.9/libtool" --tag CC --mode=relink gcc -shared -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -module -avoid-version -Wl,-z,relro -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o _capng.la -rpath /usr/lib64/python3.7/site-packages _capng_la-capng_wrap.lo ../../src/libcap-ng.la ../../src/libcap-ng.la -inst-prefix-dir /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64) libtool: relink: gcc -shared -fPIC -DPIC .libs/_capng_la-capng_wrap.o -L/builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/lib64 -L/lib64 -lcap-ng -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,_capng.so -o .libs/_capng.so libtool: install: install -p .libs/_capng.soT /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/lib64/python3.7/site-packages/_capng.so libtool: install: install -p .libs/_capng.lai /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/lib64/python3.7/site-packages/_capng.la BUILDSTDERR: libtool: warning: remember to run 'libtool --finish /usr/lib64/python3.7/site-packages' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/lib64/python3.7/site-packages' install -p -m 644 capng.py '/builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/lib64/python3.7/site-packages' Byte-compiling python modules... capng.py BUILDSTDERR: -c:2: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses 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.7.9/bindings/python3' make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.9/bindings/python3' make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/bindings' make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9/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.7.9/bindings' make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.9/bindings' make[1]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.9/bindings' make[1]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9' make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.9' 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.7.9' make[1]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.9' + rm -f /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/lib64/libcap-ng.so + mkdir -p /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/lib64 BUILDSTDERR: ++ ls /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/lib64/libcap-ng.so.0.0.0 + VLIBNAME=/builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/lib64/libcap-ng.so.0.0.0 BUILDSTDERR: ++ basename /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/lib64/libcap-ng.so.0.0.0 + LIBNAME=libcap-ng.so.0.0.0 + ln -s ../../lib64/libcap-ng.so.0.0.0 /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/lib64/libcap-ng.so + mv /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/lib64/pkgconfig /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/lib64 + rm -f /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/lib64/libcap-ng.la + rm -f /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/lib64/libcap-ng.a + rm -f '/builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64//usr/lib64/python?.?/site-packages/_capng.a' + rm -f /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64//usr/lib64/python2.7/site-packages/_capng.la /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64//usr/lib64/python3.7/site-packages/_capng.la + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.7.9-2.fc29 --unique-debug-suffix -0.7.9-2.fc29.riscv64 --unique-debug-src-base libcap-ng-0.7.9-2.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libcap-ng-0.7.9 extracting debug info from /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/bin/pscap extracting debug info from /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/bin/captest extracting debug info from /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/bin/filecap extracting debug info from /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/bin/netcap extracting debug info from /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/lib64/python3.7/site-packages/_capng.so extracting debug info from /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/lib64/python2.7/site-packages/_capng.so extracting debug info from /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/lib64/libcap-ng.so.0.0.0 /usr/lib/rpm/sepdebugcrcfix: Updated 7 CRC32s, 0 CRC32s did match. BUILDSTDERR: 692 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 Bytecompiling .py files below /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/lib/debug/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/lib/debug/usr/lib64/python3.7 using /usr/bin/python3.7 Bytecompiling .py files below /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/lib64/python3.7 using /usr/bin/python3.7 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.brvyI1 Processing files: libcap-ng-0.7.9-2.fc29.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Zh9nDL + umask 022 + cd /builddir/build/BUILD + cd libcap-ng-0.7.9 + LICENSEDIR=/builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/share/licenses/libcap-ng + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/share/licenses/libcap-ng + cp -pr COPYING.LIB /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/usr/share/licenses/libcap-ng + exit 0 Provides: libcap-ng = 0.7.9-2.fc29 libcap-ng(riscv-64) = 0.7.9-2.fc29 libcap-ng.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-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: libcap-ng-devel-0.7.9-2.fc29.riscv64 Provides: libcap-ng-devel = 0.7.9-2.fc29 libcap-ng-devel(riscv-64) = 0.7.9-2.fc29 pkgconfig(libcap-ng) = 0.7.9 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) Processing files: python2-libcap-ng-0.7.9-2.fc29.riscv64 BUILDSTDERR: error: File not found: /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/capng.py* RPM build errors: BUILDSTDERR: File not found: /builddir/build/BUILDROOT/libcap-ng-0.7.9-2.fc29.riscv64/capng.py* Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do 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 --target riscv64 --nodeps /builddir/build/SPECS/libcap-ng.spec