D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/apache-mod_auth_kerb-5.4-9.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.LASr27 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf mod_auth_kerb-5.4 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/mod_auth_kerb-5.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mod_auth_kerb-5.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/mod_auth_kerb-5.4-rcopshack.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/mod_auth_kerb-5.4-fixes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/mod_auth_kerb-5.4-s4u2proxy.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/mod_auth_kerb-5.4-httpd24.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.9D5NDP + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd mod_auth_kerb-5.4 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name 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 + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-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 --localstatedir=/var/lib --with-krb5=/usr --without-krb4 configure: WARNING: unrecognized options: --disable-dependency-tracking checking for x86_64-mageia-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 make sets $(MAKE)... yes checking for main in -lresolv... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -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 limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking gssapi.h usability... yes checking gssapi.h presence... yes checking for gssapi.h... yes checking for krb5_init_context in -lkrb5... yes checking for krb5_cc_new_unique in -lkrb5... yes checking whether we are using Heimdal... no checking whether the GSSAPI libraries support SPNEGO... yes checking for apxs... /bin/apxs configure: creating ./config.status config.status: creating Makefile config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j12 V=1 VERBOSE=1 ./apxs.sh "-I. -Ispnegokrb5 -I/usr/include " "-L/usr/lib64 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv" "" "/bin/apxs" "-c" "src/mod_auth_kerb.c" /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include -I. -Ispnegokrb5 -I/usr/include -c -o src/mod_auth_kerb.lo src/mod_auth_kerb.c && touch src/mod_auth_kerb.slo src/mod_auth_kerb.c: In function 'have_rcache_type': src/mod_auth_kerb.c:2058:10: warning: implicit declaration of function 'krb5_rc_resolve_full'; did you mean 'krb5_cc_resolve'? [-Wimplicit-function-declaration] 2058 | ret = krb5_rc_resolve_full(context, &id, "none:"); | ^~~~~~~~~~~~~~~~~~~~ | krb5_cc_resolve src/mod_auth_kerb.c:2062:7: warning: implicit declaration of function 'krb5_rc_destroy'; did you mean 'krb5_cc_destroy'? [-Wimplicit-function-declaration] 2062 | krb5_rc_destroy(context, id); | ^~~~~~~~~~~~~~~ | krb5_cc_destroy /usr/lib64/apr-1/build/libtool --silent --mode=link gcc -lsystemd -Wl,-z,relro,-z,now -o src/mod_auth_kerb.la -L/usr/lib64 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -rpath /usr/lib64/httpd/modules -module -avoid-version src/mod_auth_kerb.lo /usr/bin/ld: cannot find -lsystemd: No such file or directory collect2: error: ld returned 1 exit status apxs:Error: Command failed with rc=65536 . make: *** [Makefile:16: src/mod_auth_kerb.so] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.9D5NDP (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.9D5NDP (%build) I: [iurt_root_command] ERROR: chroot