+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/libcap-ng.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bPGARP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libcap-ng-0.7.8 + /usr/bin/gzip -dc /builddir/build/SOURCES/libcap-ng-0.7.8.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libcap-ng-0.7.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.p1yNBL + umask 022 + cd /builddir/build/BUILD + cd libcap-ng-0.7.8 + 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 ' + 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 ' + 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 -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 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/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ 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) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ 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-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-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-redhat-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-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-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-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-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-redhat-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-redhat-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... /usr/bin/python checking for python version... DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out 2.7 checking for python platform... DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out linux2 checking for python script directory... DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out ${prefix}/lib/python2.7/site-packages checking for python extension module directory... DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out ${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.8 Target: riscv64-redhat-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 + 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 ' -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8' Making all in src make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/src' Making all in test make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/src/test' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.8/src/test' make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/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 -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 -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 -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 -c cap-ng.c -fPIC -DPIC -o .libs/cap-ng.o lookup_table.c: In function 'capng_capability_to_name': lookup_table.c:34:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define cap_valid(x) ((x) <= last_cap) ^ lookup_table.c:112:7: note: in expansion of macro 'cap_valid' if (!cap_valid(capability)) ^~~~~~~~~ lookup_table.c:115:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ptr = capng_lookup_number(captab, captab_msgstr.str, ^ 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 -c lookup_table.c -o lookup_table.o >/dev/null 2>&1 cap-ng.c: In function 'get_bounding_set': cap-ng.c:270:70: warning: signed and unsigned type in conditional expression [-Wsign-compare] snprintf(buf, sizeof(buf), "/proc/%u/status", m.hdr.pid ? m.hdr.pid : ^ cap-ng.c: In function 'capng_update': cap-ng.c:68:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define cap_valid(x) ((x) <= last_cap) ^ cap-ng.c:433:7: note: in expansion of macro 'cap_valid' if (!cap_valid(capability)) { ^~~~~~~~~ cap-ng.c: In function 'capng_updatev': cap-ng.c:68:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define cap_valid(x) ((x) <= last_cap) ^ cap-ng.c:480:9: note: in expansion of macro 'cap_valid' while (cap_valid(cap)) { ^~~~~~~~~ cap-ng.c: In function 'capng_have_capability': cap-ng.c:68:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define cap_valid(x) ((x) <= last_cap) ^ cap-ng.c:830:7: note: in expansion of macro 'cap_valid' if (!cap_valid(capability)) ^~~~~~~~~ cap-ng.c: In function 'capng_print_caps_text': cap-ng.c:949:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0; i<=last_cap; i++) { ^~ 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 -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 -Wl,-z,relro -Wl,-z,relro -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 -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,-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.8/src' make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.8/src' Making all in utils make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/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 -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 -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 -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 -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 -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o pscap pscap.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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o filecap filecap.o -L../src -lcap-ng captest.c: In function 'report': captest.c:74:4: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(0); ^~~~~~~~~ captest.c:78:5: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(0); ^~~~~~~~~ captest.c:191:4: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system("/usr/bin/captest --no-child --text"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ captest.c:193:4: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system("/usr/bin/captest --no-child"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netcap.c: In function 'collect_process_info': netcap.c:179:28: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(ln, 256, "%s/%s", buf, ent->d_name); ^ In file included from /usr/include/stdio.h:861:0, from netcap.c:27: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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 -Wl,-z,relro -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 -Wl,-z,relro -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/pscap pscap.o -L../src /builddir/build/BUILD/libcap-ng-0.7.8/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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/filecap filecap.o -L../src /builddir/build/BUILD/libcap-ng-0.7.8/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 -Wl,-z -Wl,relro -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.8/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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/captest captest.o -L../src /builddir/build/BUILD/libcap-ng-0.7.8/src/.libs/libcap-ng.so make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.8/utils' Making all in m4 make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/m4' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.8/m4' Making all in docs make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/docs' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.8/docs' Making all in bindings make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/bindings' Making all in src make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/bindings/src' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.8/bindings/src' Making all in python make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/bindings/python' Making all in test make[4]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/bindings/python/test' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.8/bindings/python/test' make[4]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/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 ./../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 -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 -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 -module -avoid-version -shared -Wl,-z,relro -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.8/src/.libs ../../src/.libs/libcap-ng.so -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -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.8/bindings/python' make[3]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.8/bindings/python' Making all in python3 make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/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.6m -I/usr/include/python3.6m ./../src/capng_swig.i ./../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.6m -I/usr/include/python3.6m -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 -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.6m -I/usr/include/python3.6m -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 -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 -module -avoid-version -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o _capng.la -rpath /usr/lib64/python3.6/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.8/src/.libs ../../src/.libs/libcap-ng.so -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -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.8/bindings/python3' make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/bindings' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.8/bindings' make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.8/bindings' make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8' make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.8' make[1]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.8' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XQpPLQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64 + cd libcap-ng-0.7.8 + rm -rf /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64 + make DESTDIR=/builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64 'INSTALL=install -p' install Making install in src make[1]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/src' Making install in test make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/src/test' make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/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.8/src/test' make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.8/src/test' make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/src' make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/lib64' /bin/sh ../libtool --mode=install install -p libcap-ng.la '/builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/lib64' libtool: install: install -p .libs/libcap-ng.so.0.0.0 /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/lib64/libcap-ng.so.0.0.0 libtool: install: (cd /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.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.8-5.fc28.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.8-5.fc28.riscv64/lib64/libcap-ng.la libtool: install: install -p .libs/libcap-ng.a /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/lib64/libcap-ng.a libtool: install: chmod 644 /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/lib64/libcap-ng.a libtool: install: ranlib /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/lib64/libcap-ng.a libtool: warning: remember to run 'libtool --finish /lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/usr/include' install -p -m 644 cap-ng.h '/builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/usr/include' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/lib64/pkgconfig' install -p -m 644 libcap-ng.pc '/builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/lib64/pkgconfig' make[3]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.8/src' make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.8/src' make[1]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.8/src' Making install in utils make[1]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/utils' make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/utils' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/usr/bin' /bin/sh ../libtool --mode=install install -p pscap netcap filecap captest '/builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/usr/bin' libtool: warning: '/builddir/build/BUILD/libcap-ng-0.7.8/src/libcap-ng.la' has not been installed in '/lib64' libtool: install: install -p .libs/pscap /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/usr/bin/pscap libtool: warning: '/builddir/build/BUILD/libcap-ng-0.7.8/src/libcap-ng.la' has not been installed in '/lib64' libtool: install: install -p .libs/netcap /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/usr/bin/netcap libtool: warning: '/builddir/build/BUILD/libcap-ng-0.7.8/src/libcap-ng.la' has not been installed in '/lib64' libtool: install: install -p .libs/filecap /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/usr/bin/filecap libtool: warning: '/builddir/build/BUILD/libcap-ng-0.7.8/src/libcap-ng.la' has not been installed in '/lib64' libtool: install: install -p .libs/captest /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/usr/bin/captest /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/usr/share/man/man8' install -p -m 644 pscap.8 netcap.8 filecap.8 captest.8 '/builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/usr/share/man/man8' make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.8/utils' make[1]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.8/utils' Making install in m4 make[1]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/m4' make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/m4' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/usr/share/aclocal' install -p -m 644 cap-ng.m4 '/builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/usr/share/aclocal' make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.8/m4' make[1]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.8/m4' Making install in docs make[1]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/docs' make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/docs' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.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.8-5.fc28.riscv64/usr/share/man/man3' make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.8/docs' make[1]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.8/docs' Making install in bindings make[1]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/bindings' Making install in src make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/bindings/src' make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/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.8/bindings/src' make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.8/bindings/src' Making install in python make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/bindings/python' Making install in test make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/bindings/python/test' make[4]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/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.8/bindings/python/test' make[3]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.8/bindings/python/test' make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/bindings/python' make[4]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/bindings/python' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/usr/lib64/python2.7/site-packages' /bin/sh ../../libtool --mode=install install -p _capng.la '/builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/usr/lib64/python2.7/site-packages' libtool: warning: relinking '_capng.la' libtool: install: (cd /builddir/build/BUILD/libcap-ng-0.7.8/bindings/python; /bin/sh "/builddir/build/BUILD/libcap-ng-0.7.8/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 -module -avoid-version -shared -Wl,-z,relro -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.8-5.fc28.riscv64) libtool: relink: gcc -shared -fPIC -DPIC .libs/_capng_la-capng_wrap.o -L/builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/lib64 -L/lib64 -lcap-ng -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,-soname -Wl,_capng.so -o .libs/_capng.so libtool: install: install -p .libs/_capng.soT /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/usr/lib64/python2.7/site-packages/_capng.so libtool: install: install -p .libs/_capng.lai /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/usr/lib64/python2.7/site-packages/_capng.la libtool: warning: remember to run 'libtool --finish /usr/lib64/python2.7/site-packages' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/usr/lib64/python2.7/site-packages' install -p -m 644 capng.py '/builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/usr/lib64/python2.7/site-packages' DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out 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.8/bindings/python' make[3]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.8/bindings/python' make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.8/bindings/python' Making install in python3 make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/bindings/python3' make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/bindings/python3' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/usr/lib64/python3.6/site-packages' /bin/sh ../../libtool --mode=install install -p _capng.la '/builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/usr/lib64/python3.6/site-packages' libtool: warning: relinking '_capng.la' libtool: install: (cd /builddir/build/BUILD/libcap-ng-0.7.8/bindings/python3; /bin/sh "/builddir/build/BUILD/libcap-ng-0.7.8/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 -module -avoid-version -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o _capng.la -rpath /usr/lib64/python3.6/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.8-5.fc28.riscv64) libtool: relink: gcc -shared -fPIC -DPIC .libs/_capng_la-capng_wrap.o -L/builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/lib64 -L/lib64 -lcap-ng -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,-soname -Wl,_capng.so -o .libs/_capng.so libtool: install: install -p .libs/_capng.soT /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/usr/lib64/python3.6/site-packages/_capng.so libtool: install: install -p .libs/_capng.lai /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/usr/lib64/python3.6/site-packages/_capng.la libtool: warning: remember to run 'libtool --finish /usr/lib64/python3.6/site-packages' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/usr/lib64/python3.6/site-packages' install -p -m 644 capng.py '/builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/usr/lib64/python3.6/site-packages' DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out Byte-compiling python modules... capng.py File "/usr/lib64/python3.6/site-packages/capng.py", line 158 def capng_clear(set: 'capng_select_t') -> "void": ^ SyntaxError: invalid syntax 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.8/bindings/python3' make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.8/bindings/python3' make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/bindings' make[3]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8/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.8/bindings' make[2]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.8/bindings' make[1]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.8/bindings' make[1]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8' make[2]: Entering directory '/builddir/build/BUILD/libcap-ng-0.7.8' 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.8' make[1]: Leaving directory '/builddir/build/BUILD/libcap-ng-0.7.8' + rm -f /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/lib64/libcap-ng.so + mkdir -p /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/usr/lib64 ++ ls /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/lib64/libcap-ng.so.0.0.0 + VLIBNAME=/builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/lib64/libcap-ng.so.0.0.0 ++ basename /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.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.8-5.fc28.riscv64/usr/lib64/libcap-ng.so + mv /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/lib64/pkgconfig /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/usr/lib64 + rm -f /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/lib64/libcap-ng.la + rm -f /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/lib64/libcap-ng.a + rm -f '/builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64//usr/lib64/python?.?/site-packages/_capng.a' + rm -f /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64//usr/lib64/python2.7/site-packages/_capng.la /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64//usr/lib64/python3.6/site-packages/_capng.la + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /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 /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/usr/lib64/python3.6 using /usr/bin/python3.6 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: libcap-ng-0.7.8-5.fc28.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Xmd444 + umask 022 + cd /builddir/build/BUILD + cd libcap-ng-0.7.8 + LICENSEDIR=/builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.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.8-5.fc28.riscv64/usr/share/licenses/libcap-ng + cp -pr COPYING.LIB /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/usr/share/licenses/libcap-ng + exit 0 Provides: libcap-ng = 0.7.8-5.fc28 libcap-ng(riscv-64) = 0.7.8-5.fc28 libcap-ng.so.0()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig 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.8-5.fc28.riscv64 Provides: libcap-ng-devel = 0.7.8-5.fc28 libcap-ng-devel(riscv-64) = 0.7.8-5.fc28 pkgconfig(libcap-ng) = 0.7.8 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: libcap-ng-python-0.7.8-5.fc28.riscv64 Provides: libcap-ng-python = 0.7.8-5.fc28 libcap-ng-python(riscv-64) = 0.7.8-5.fc28 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-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) libcap-ng.so.0()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Processing files: libcap-ng-python3-0.7.8-5.fc28.riscv64 warning: File listed twice: /usr/lib64/python3.6/site-packages/capng.py Provides: libcap-ng-python3 = 0.7.8-5.fc28 libcap-ng-python3(riscv-64) = 0.7.8-5.fc28 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-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) libcap-ng.so.0()(64bit) python(abi) = 3.6 rtld(GNU_HASH) Processing files: libcap-ng-utils-0.7.8-5.fc28.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.VmLSwz + umask 022 + cd /builddir/build/BUILD + cd libcap-ng-0.7.8 + LICENSEDIR=/builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/usr/share/licenses/libcap-ng-utils + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/usr/share/licenses/libcap-ng-utils + cp -pr COPYING /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64/usr/share/licenses/libcap-ng-utils + exit 0 Provides: libcap-ng-utils = 0.7.8-5.fc28 libcap-ng-utils(riscv-64) = 0.7.8-5.fc28 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) libcap-ng.so.0()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64 Wrote: /builddir/build/SRPMS/libcap-ng-0.7.8-5.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/libcap-ng-0.7.8-5.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/libcap-ng-devel-0.7.8-5.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/libcap-ng-python-0.7.8-5.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/libcap-ng-python3-0.7.8-5.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/libcap-ng-utils-0.7.8-5.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.cNA3mD + umask 022 + cd /builddir/build/BUILD + cd libcap-ng-0.7.8 + rm -rf /builddir/build/BUILDROOT/libcap-ng-0.7.8-5.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff