D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/libcap-ng-0.8.4-1.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.q4pkgj + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf libcap-ng-0.8.4 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/libcap-ng-0.8.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libcap-ng-0.8.4 + rm -rf /home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/2332370a041c41e1111f8c5f68a7d5640fc96009.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.xCGDyP + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd libcap-ng-0.8.4 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + ./autogen.sh + touch NEWS + autoreconf -fv --install autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I m4 autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:42: installing './compile' configure.ac:41: installing './missing' bindings/python3/Makefile.am: installing './depcomp' bindings/src/Makefile.am:24: warning: variable 'SWIG_SOURCES' is defined but no program or bindings/src/Makefile.am:24: library has 'SWIG' as canonical name (possible typo) autoreconf: './install-sh' is updated autoreconf: Leaving directory '.' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --libdir=/usr/lib64 --with-python3 Configuring libcap-ng checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking target system type... x86_64-mageia-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking 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 x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-mageia-linux-gnu-file... no checking for file... file checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking for x86_64-mageia-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 x86_64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for 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 -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes . Checking for programs checking for x86_64-mageia-linux-gnu-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking for gawk... (cached) gawk . Checking for header files checking for linux/capability.h... yes checking for sys/xattr.h... yes checking for linux/securebits.h... yes checking for pthread.h... yes checking for library containing pthread_atfork... none required checking for sys/vfs.h... yes checking for linux/magic.h... yes checking __attr_dealloc_free support... yes checking for -Wformat-truncation... yes checking for sys/syscall.h... yes checking for gcc options needed to detect all undeclared functions... none needed checking whether PR_CAP_AMBIENT is declared... yes checking whether VFS_CAP_REVISION_2 is declared... yes checking whether VFS_CAP_REVISION_3 is declared... yes checking whether CAP_EPOLLWAKEUP is declared... no checking whether CAP_WAKE_ALARM is declared... yes checking whether CAP_BLOCK_SUSPEND is declared... yes checking whether CAP_AUDIT_READ is declared... yes checking whether CAP_PERFMON is declared... yes checking whether CAP_BPF is declared... yes checking whether CAP_CHECKPOINT_RESTORE is declared... yes checking for swig... yes checking whether to create 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/python3/Makefile config.status: creating bindings/src/Makefile config.status: creating bindings/python3/test/Makefile config.status: creating utils/Makefile config.status: creating m4/Makefile config.status: creating docs/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands . libcap-ng Version: 0.8.4 Target: x86_64-mageia-linux-gnu Installation prefix: /usr PYTHON3_PREFIX: ${prefix} Compiler: gcc Compiler flags: -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full __attr_dealloc_free support: yes + /usr/bin/make -O -j16 V=1 VERBOSE=1 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' /usr/bin/make all-recursive Making all in src Making all in test make[3]: Nothing to be done for 'all'. make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -fPIC -DPIC -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libdrop_ambient.lo libdrop_ambient.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -fPIC -DPIC -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c libdrop_ambient.c -fPIC -DPIC -o .libs/libdrop_ambient.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -fPIC -DPIC -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c libdrop_ambient.c -o libdrop_ambient.o >/dev/null 2>&1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -fPIC -DPIC -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o lookup_table.lo lookup_table.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -fPIC -DPIC -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -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 -Wno-format-truncation -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c lookup_table.c -o lookup_table.o >/dev/null 2>&1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/src' /bin/sh ../libtool --tag=CC --mode=link gcc -fPIC -DPIC -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -o libdrop_ambient.la -rpath /usr/lib64 libdrop_ambient.lo libtool: link: gcc -shared -Wl,--as-needed -fPIC -DPIC .libs/libdrop_ambient.o -O2 -g -fstack-protector-strong -m64 -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,-soname -Wl,libdrop_ambient.so.0 -o .libs/libdrop_ambient.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libdrop_ambient.so.0" && ln -s "libdrop_ambient.so.0.0.0" "libdrop_ambient.so.0") libtool: link: (cd ".libs" && rm -f "libdrop_ambient.so" && ln -s "libdrop_ambient.so.0.0.0" "libdrop_ambient.so") libtool: link: ar cr .libs/libdrop_ambient.a libdrop_ambient.o libtool: link: ranlib .libs/libdrop_ambient.a libtool: link: ( cd ".libs" && rm -f "libdrop_ambient.la" && ln -s "../libdrop_ambient.la" "libdrop_ambient.la" ) make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -fPIC -DPIC -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o cap-ng.lo cap-ng.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -fPIC -DPIC -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c cap-ng.c -fPIC -DPIC -o .libs/cap-ng.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -fPIC -DPIC -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c cap-ng.c -o cap-ng.o >/dev/null 2>&1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/src' /bin/sh ../libtool --tag=CC --mode=link gcc -fPIC -DPIC -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,-z,relro -Wl,-z,nodelete -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -o libcap-ng.la -rpath /usr/lib64 cap-ng.lo lookup_table.lo libtool: link: gcc -shared -Wl,--as-needed -fPIC -DPIC .libs/cap-ng.o .libs/lookup_table.o -O2 -g -fstack-protector-strong -m64 -Wl,-z -Wl,relro -Wl,-z -Wl,nodelete -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -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 cr .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 '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/src' Making all in utils make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/utils' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o proc-llist.o proc-llist.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/utils' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/utils' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o pscap.o pscap.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/utils' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/utils' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o captest.o captest.c captest.c: In function 'report': captest.c:75:25: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 75 | setuid(0); | ^~~~~~~~~ captest.c:79:33: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 79 | setgid(0); | ^~~~~~~~~ captest.c:198:25: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 198 | system("/usr/bin/captest --no-child --text"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ captest.c:200:25: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 200 | system("/usr/bin/captest --no-child"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/utils' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/utils' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o filecap.o filecap.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/utils' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/utils' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o netcap.o netcap.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/utils' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/utils' /bin/sh ../libtool --tag=CC --mode=link gcc -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -o pscap pscap.o -L../src -lcap-ng libtool: link: gcc -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -o .libs/pscap pscap.o -L../src /home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/src/.libs/libcap-ng.so make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/utils' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/utils' /bin/sh ../libtool --tag=CC --mode=link gcc -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -o captest captest.o -L../src -lcap-ng libtool: link: gcc -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -o .libs/captest captest.o -L../src /home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/src/.libs/libcap-ng.so make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/utils' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/utils' /bin/sh ../libtool --tag=CC --mode=link gcc -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -o filecap filecap.o -L../src -lcap-ng libtool: link: gcc -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -o .libs/filecap filecap.o -L../src /home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/src/.libs/libcap-ng.so make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/utils' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/utils' /bin/sh ../libtool --tag=CC --mode=link gcc -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -o netcap netcap.o proc-llist.o -L../src -lcap-ng libtool: link: gcc -W -Wall -Wshadow -Wno-format-truncation -Wundef -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -o .libs/netcap netcap.o proc-llist.o -L../src /home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/src/.libs/libcap-ng.so make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/utils' Making all in m4 make[2]: Nothing to be done for 'all'. Making all in docs make[2]: Nothing to be done for 'all'. Making all in bindings Making all in src make[3]: Nothing to be done for 'all'. Making all in python3 Making all in test make[4]: Nothing to be done for 'all'. make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/bindings/python3' cat /usr/include/linux/capability.h | grep '^#define CAP' | grep -v '[()]' > caps.h make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/bindings/python3' make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/bindings/python3' cat ../../src/cap-ng.h | grep -v '_state' > capng.h make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/bindings/python3' make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/bindings/python3' swig -o capng_wrap.c -python -I. -I../.. -I/usr/include/python3.12 -I/usr/include/python3.12 ./../src/capng_swig.i ./../src/capng_swig.i:33: Error: Unknown directive '%except'. make[4]: *** [Makefile:878: capng_wrap.c] Error 1 make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libcap-ng-0.8.4/bindings/python3' make[3]: *** [Makefile:595: all-recursive] Error 1 make[2]: *** [Makefile:390: all-recursive] Error 1 make[1]: *** [Makefile:442: all-recursive] Error 1 make: *** [Makefile:374: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.xCGDyP (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.xCGDyP (%build) I: [iurt_root_command] ERROR: chroot