D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/apache-mod_auth_openidc-2.4.2.1-1.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.tAijr2 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf mod_auth_openidc-2.4.2.1 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/mod_auth_openidc-2.4.2.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mod_auth_openidc-2.4.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.GBVvc1 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd mod_auth_openidc-2.4.2.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + NOCONFIGURE=1 + ./autogen.sh + 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 + 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 configure: WARNING: unrecognized options: --disable-dependency-tracking checking for apxs2... no checking for apxs... /usr/bin/apxs checking for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for CURL... yes checking for OPENSSL... yes checking for APR... yes checking for x86_64-mageia-linux-gnu-gcc... x86_64-mageia-linux-gnu-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 x86_64-mageia-linux-gnu-gcc accepts -g... yes checking for x86_64-mageia-linux-gnu-gcc option to enable C11 features... none needed checking for sys/types.h... yes checking for sys/stat.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for apr_memcache.h... yes checking for JANSSON... yes checking for CJOSE... yes checking for PCRE... yes checking for HIREDIS... no configure: creating ./config.status config.status: creating Makefile configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/apxs -Wc,"-DNAMEVER=\"mod_auth_openidc-2.4.2.1\" -DUSE_MEMCACHE " -Wl,"-lssl -lcrypto -lcurl -ljansson -lcjose -ljansson -lcrypto -lpcre " -Wc,-Wall -Wc,-g -c src/mod_auth_openidc.c src/cache/file.c src/cache/shm.c src/cache/common.c src/oauth.c src/proto.c src/config.c src/util.c src/authz.c src/session.c src/metadata.c src/jose.c src/parse.c src/pcre_subst.c src/cache/memcache.c /usr/lib64/apr-1/build/libtool --silent --mode=compile x86_64-mageia-linux-gnu-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 -DNAMEVER="mod_auth_openidc-2.4.2.1" -DUSE_MEMCACHE -Wall -g -c -o src/mod_auth_openidc.lo src/mod_auth_openidc.c && touch src/mod_auth_openidc.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile x86_64-mageia-linux-gnu-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 -DNAMEVER="mod_auth_openidc-2.4.2.1" -DUSE_MEMCACHE -Wall -g -c -o src/cache/file.lo src/cache/file.c && touch src/cache/file.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile x86_64-mageia-linux-gnu-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 -DNAMEVER="mod_auth_openidc-2.4.2.1" -DUSE_MEMCACHE -Wall -g -c -o src/cache/shm.lo src/cache/shm.c && touch src/cache/shm.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile x86_64-mageia-linux-gnu-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 -DNAMEVER="mod_auth_openidc-2.4.2.1" -DUSE_MEMCACHE -Wall -g -c -o src/cache/common.lo src/cache/common.c && touch src/cache/common.slo src/cache/common.c: In function 'oidc_cache_set': src/cache/common.c:663:8: warning: '%s' directive argument is null [-Wformat-overflow=] 663 | msg = apr_psprintf(r->pool, "%d bytes in %s cache backend for %skey %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 664 | value ? (int) strlen(value) : 0, cfg->cache->name, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 665 | encrypted ? "encrypted " : "", key); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/apr-1/build/libtool --silent --mode=compile x86_64-mageia-linux-gnu-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 -DNAMEVER="mod_auth_openidc-2.4.2.1" -DUSE_MEMCACHE -Wall -g -c -o src/oauth.lo src/oauth.c && touch src/oauth.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile x86_64-mageia-linux-gnu-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 -DNAMEVER="mod_auth_openidc-2.4.2.1" -DUSE_MEMCACHE -Wall -g -c -o src/proto.lo src/proto.c && touch src/proto.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile x86_64-mageia-linux-gnu-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 -DNAMEVER="mod_auth_openidc-2.4.2.1" -DUSE_MEMCACHE -Wall -g -c -o src/config.lo src/config.c && touch src/config.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile x86_64-mageia-linux-gnu-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 -DNAMEVER="mod_auth_openidc-2.4.2.1" -DUSE_MEMCACHE -Wall -g -c -o src/util.lo src/util.c && touch src/util.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile x86_64-mageia-linux-gnu-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 -DNAMEVER="mod_auth_openidc-2.4.2.1" -DUSE_MEMCACHE -Wall -g -c -o src/authz.lo src/authz.c && touch src/authz.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile x86_64-mageia-linux-gnu-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 -DNAMEVER="mod_auth_openidc-2.4.2.1" -DUSE_MEMCACHE -Wall -g -c -o src/session.lo src/session.c && touch src/session.slo In file included from /usr/include/string.h:495, from /usr/include/apr-1/apr_want.h:63, from /usr/include/apr-1/apr_pools.h:47, from /usr/include/apr-1/apr_general.h:29, from /usr/include/apr-1/apr_base64.h:28, from src/session.c:52: In function 'strncpy', inlined from 'oidc_session_load_cache_by_uuid' at src/session.c:141:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/session.c: In function 'oidc_session_load_cache_by_uuid': src/session.c:141:4: note: length computed here 141 | strncpy(z->uuid, uuid, strlen(uuid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/apr-1/build/libtool --silent --mode=compile x86_64-mageia-linux-gnu-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 -DNAMEVER="mod_auth_openidc-2.4.2.1" -DUSE_MEMCACHE -Wall -g -c -o src/metadata.lo src/metadata.c && touch src/metadata.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile x86_64-mageia-linux-gnu-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 -DNAMEVER="mod_auth_openidc-2.4.2.1" -DUSE_MEMCACHE -Wall -g -c -o src/jose.lo src/jose.c && touch src/jose.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile x86_64-mageia-linux-gnu-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 -DNAMEVER="mod_auth_openidc-2.4.2.1" -DUSE_MEMCACHE -Wall -g -c -o src/parse.lo src/parse.c && touch src/parse.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile x86_64-mageia-linux-gnu-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 -DNAMEVER="mod_auth_openidc-2.4.2.1" -DUSE_MEMCACHE -Wall -g -c -o src/pcre_subst.lo src/pcre_subst.c && touch src/pcre_subst.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile x86_64-mageia-linux-gnu-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 -DNAMEVER="mod_auth_openidc-2.4.2.1" -DUSE_MEMCACHE -Wall -g -c -o src/cache/memcache.lo src/cache/memcache.c && touch src/cache/memcache.slo /usr/lib64/apr-1/build/libtool --silent --mode=link x86_64-mageia-linux-gnu-gcc -lsystemd -Wl,-z,relro,-z,now -o src/mod_auth_openidc.la -lssl -lcrypto -lcurl -ljansson -lcjose -ljansson -lcrypto -lpcre -rpath /usr/lib64/httpd/modules -module -avoid-version src/cache/memcache.lo src/pcre_subst.lo src/parse.lo src/jose.lo src/metadata.lo src/session.lo src/authz.lo src/util.lo src/config.lo src/proto.lo src/oauth.lo src/cache/common.lo src/cache/shm.lo src/cache/file.lo src/mod_auth_openidc.lo /usr/bin/ld: cannot find -lsystemd collect2: error: ld returned 1 exit status apxs:Error: Command failed with rc=65536 . make: *** [Makefile:68: src/mod_auth_openidc.la] Error 1 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.GBVvc1 (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.GBVvc1 (%build) I: [iurt_root_command] ERROR: chroot