D: [iurt_root_command] chroot
warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
Installing /home/iurt/rpmbuild/SRPMS/pam_yubico-2.26-2.mga9.src.rpm
Building target platforms: aarch64
Building for target aarch64
Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.25LcBi
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/iurt/rpmbuild/BUILD
+ rm -rf yubico-pam-2.26
+ /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/pam_yubico-2.26.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd yubico-pam-2.26
+ /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.lQGCst
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd yubico-pam-2.26
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ export 'CFLAGS=-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'
+ CFLAGS='-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'
+ export 'CXXFLAGS=-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'
+ CXXFLAGS='-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'
+ export 'RPM_OPT_FLAGS=-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'
+ RPM_OPT_FLAGS='-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'
+ autoreconf -vfi
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 AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/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
configure.ac:38: warning: The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
configure.ac:38: You should run autoupdate.
m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
configure.ac:38: the top level
configure.ac:38: warning: AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you
configure.ac:38: put the 'win32-dll' option into LT_INIT's first parameter.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
configure.ac:38: the top level
configure.ac:40: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:40: You should run autoupdate.
m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from...
configure.ac:40: the top level
configure.ac:71: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:71: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
m4/lib-link.m4:56: AC_LIB_HAVE_LINKFLAGS is expanded from...
configure.ac:71: the top level
configure.ac:77: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:77: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
m4/lib-link.m4:56: AC_LIB_HAVE_LINKFLAGS is expanded from...
configure.ac:77: the top level
configure.ac:99: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:99: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:99: the top level
autoreconf: configure.ac: not using Autoheader
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:36: installing 'build-aux/ar-lib'
configure.ac:34: installing 'build-aux/compile'
configure.ac:38: installing 'build-aux/config.guess'
configure.ac:38: installing 'build-aux/config.sub'
configure.ac:32: installing 'build-aux/install-sh'
configure.ac:32: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
parallel-tests: installing 'build-aux/test-driver'
autoreconf: Leaving directory '.'
+ CFLAGS='-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'
+ export CFLAGS
+ CXXFLAGS='-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'
+ export CXXFLAGS
+ FFLAGS='-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 '
+ export FFLAGS
+ FCFLAGS='-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 '
+ 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
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./build-aux/config.sub
+ '[' -f /usr/lib/rpm/mageia/config.sub ']'
++ basename ./build-aux/config.sub
+ cp -af /usr/lib/rpm/mageia/config.sub ./build-aux/config.sub
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./build-aux/config.guess
+ '[' -f /usr/lib/rpm/mageia/config.guess ']'
++ basename ./build-aux/config.guess
+ cp -af /usr/lib/rpm/mageia/config.guess ./build-aux/config.guess
+ /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 build-aux/ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking)
+ /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=aarch64-mageia-linux-gnu --build=aarch64-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=/lib64 --with-pam-dir=/lib64/security
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 whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
checking for aarch64-mageia-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 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 aarch64-mageia-linux-gnu-ar... no
checking for aarch64-mageia-linux-gnu-lib... no
checking for aarch64-mageia-linux-gnu-link... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... aarch64-mageia-linux-gnu
checking host system type... aarch64-mageia-linux-gnu
checking how to print strings... printf
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 aarch64-mageia-linux-gnu file names to aarch64-mageia-linux-gnu format... func_convert_file_noop
checking how to convert aarch64-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 aarch64-mageia-linux-gnu-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for aarch64-mageia-linux-gnu-dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for aarch64-mageia-linux-gnu-ar... ar
checking for archiver @FILE support... @
checking for aarch64-mageia-linux-gnu-strip... no
checking for strip... strip
checking for aarch64-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 aarch64-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) 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... no
checking for security/pam_appl.h... yes
checking for security/pam_modules.h... yes
checking for security/_pam_macros.h... yes
checking for security/pam_modutil.h... yes
checking for pam_start in -lpam... yes
checking for library containing pam_modutil_drop_priv... -lpam
checking for ldap_init in -lldap... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking how to run the C preprocessor... gcc -E
checking for libykclient... yes
checking how to link with libykclient... /lib64/libykclient.so -Wl,-rpath -Wl,/lib64
checking for libyubikey... yes
checking how to link with libyubikey... /lib64/libyubikey.so -Wl,-rpath -Wl,/lib64
checking for aarch64-mageia-linux-gnu-pkg-config... /usr/bin/aarch64-mageia-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for YKPERS... yes
configure: PAM installation path /lib64/security
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating tests/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
configure: Summary of build options:

  Version:            2.26
  Host type:          aarch64-mageia-linux-gnu
  Install prefix:     /usr
  Compiler:           gcc
  Library types:      Shared=yes, Static=no
  LDAP:               yes
  Challenge-Response: yes

+ /usr/bin/make -O -j4 V=1 VERBOSE=1
Making all in .
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/yubico-pam-2.26'
gcc -DPACKAGE_NAME=\"pam_yubico\" -DPACKAGE_TARNAME=\"pam_yubico\" -DPACKAGE_VERSION=\"2.26\" -DPACKAGE_STRING=\"pam_yubico\ 2.26\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"pam_yubico\" -DVERSION=\"2.26\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_SECURITY_PAM_APPL_H=1 -DHAVE_SECURITY_PAM_MODULES_H=1 -DHAVE_SECURITY__PAM_MACROS_H=1 -DHAVE_SECURITY_PAM_MODUTIL_H=1 -DHAVE_PAM_MODUTIL_DROP_PRIV=1 -DHAVE_LIBLDAP=1 -DHAVE_LIBYKCLIENT=1 -DHAVE_LIBYUBIKEY=1 -DHAVE_CR=1 -I.  -I/usr/include/ykpers-1 -pthread     -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 -c -o ykpamcfg.o ykpamcfg.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/yubico-pam-2.26'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/yubico-pam-2.26'
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"pam_yubico\" -DPACKAGE_TARNAME=\"pam_yubico\" -DPACKAGE_VERSION=\"2.26\" -DPACKAGE_STRING=\"pam_yubico\ 2.26\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"pam_yubico\" -DVERSION=\"2.26\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_SECURITY_PAM_APPL_H=1 -DHAVE_SECURITY_PAM_MODULES_H=1 -DHAVE_SECURITY__PAM_MACROS_H=1 -DHAVE_SECURITY_PAM_MODUTIL_H=1 -DHAVE_PAM_MODUTIL_DROP_PRIV=1 -DHAVE_LIBLDAP=1 -DHAVE_LIBYKCLIENT=1 -DHAVE_LIBYUBIKEY=1 -DHAVE_CR=1 -I.  -I/usr/include/ykpers-1 -pthread     -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 -c -o drop_privs.lo drop_privs.c
libtool: compile:  gcc -DPACKAGE_NAME=\"pam_yubico\" -DPACKAGE_TARNAME=\"pam_yubico\" -DPACKAGE_VERSION=\"2.26\" "-DPACKAGE_STRING=\"pam_yubico 2.26\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"pam_yubico\" -DVERSION=\"2.26\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_SECURITY_PAM_APPL_H=1 -DHAVE_SECURITY_PAM_MODULES_H=1 -DHAVE_SECURITY__PAM_MACROS_H=1 -DHAVE_SECURITY_PAM_MODUTIL_H=1 -DHAVE_PAM_MODUTIL_DROP_PRIV=1 -DHAVE_LIBLDAP=1 -DHAVE_LIBYKCLIENT=1 -DHAVE_LIBYUBIKEY=1 -DHAVE_CR=1 -I. -I/usr/include/ykpers-1 -pthread -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 -c drop_privs.c  -fPIC -DPIC -o .libs/drop_privs.o
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/yubico-pam-2.26'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/yubico-pam-2.26'
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"pam_yubico\" -DPACKAGE_TARNAME=\"pam_yubico\" -DPACKAGE_VERSION=\"2.26\" -DPACKAGE_STRING=\"pam_yubico\ 2.26\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"pam_yubico\" -DVERSION=\"2.26\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_SECURITY_PAM_APPL_H=1 -DHAVE_SECURITY_PAM_MODULES_H=1 -DHAVE_SECURITY__PAM_MACROS_H=1 -DHAVE_SECURITY_PAM_MODUTIL_H=1 -DHAVE_PAM_MODUTIL_DROP_PRIV=1 -DHAVE_LIBLDAP=1 -DHAVE_LIBYKCLIENT=1 -DHAVE_LIBYUBIKEY=1 -DHAVE_CR=1 -I.  -I/usr/include/ykpers-1 -pthread     -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 -c -o util.lo util.c
libtool: compile:  gcc -DPACKAGE_NAME=\"pam_yubico\" -DPACKAGE_TARNAME=\"pam_yubico\" -DPACKAGE_VERSION=\"2.26\" "-DPACKAGE_STRING=\"pam_yubico 2.26\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"pam_yubico\" -DVERSION=\"2.26\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_SECURITY_PAM_APPL_H=1 -DHAVE_SECURITY_PAM_MODULES_H=1 -DHAVE_SECURITY__PAM_MACROS_H=1 -DHAVE_SECURITY_PAM_MODUTIL_H=1 -DHAVE_PAM_MODUTIL_DROP_PRIV=1 -DHAVE_LIBLDAP=1 -DHAVE_LIBYKCLIENT=1 -DHAVE_LIBYUBIKEY=1 -DHAVE_CR=1 -I. -I/usr/include/ykpers-1 -pthread -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 -c util.c  -fPIC -DPIC -o .libs/util.o
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/yubico-pam-2.26'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/yubico-pam-2.26'
/bin/sh ./libtool  --tag=CC   --mode=link gcc   -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  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o libpam_util.la  util.lo -L/lib64 -lyubikey -R/lib64 -lykpers-1  -lpam 
libtool: link: ar cru .libs/libpam_util.a .libs/util.o 
libtool: link: ranlib .libs/libpam_util.a
libtool: link: ( cd ".libs" && rm -f "libpam_util.la" && ln -s "../libpam_util.la" "libpam_util.la" )
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/yubico-pam-2.26'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/yubico-pam-2.26'
/bin/sh '/home/iurt/rpmbuild/BUILD/yubico-pam-2.26/build-aux/missing' a2x -L --format=manpage -a revdate="Version 2.26" ykpamcfg.1.txt
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/yubico-pam-2.26'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/yubico-pam-2.26'
/bin/sh ./libtool  --tag=CC   --mode=link gcc   -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  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o ykpamcfg ykpamcfg.o libpam_util.la -lpam 
libtool: link: gcc -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 -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o ykpamcfg ykpamcfg.o  ./.libs/libpam_util.a -L/lib64 -lyubikey -lykpers-1 -lpam
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/yubico-pam-2.26'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/yubico-pam-2.26'
/bin/sh '/home/iurt/rpmbuild/BUILD/yubico-pam-2.26/build-aux/missing' a2x -L --format=manpage -a revdate="Version 2.26" pam_yubico.8.txt
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/yubico-pam-2.26'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/yubico-pam-2.26'
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"pam_yubico\" -DPACKAGE_TARNAME=\"pam_yubico\" -DPACKAGE_VERSION=\"2.26\" -DPACKAGE_STRING=\"pam_yubico\ 2.26\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"pam_yubico\" -DVERSION=\"2.26\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_SECURITY_PAM_APPL_H=1 -DHAVE_SECURITY_PAM_MODULES_H=1 -DHAVE_SECURITY__PAM_MACROS_H=1 -DHAVE_SECURITY_PAM_MODUTIL_H=1 -DHAVE_PAM_MODUTIL_DROP_PRIV=1 -DHAVE_LIBLDAP=1 -DHAVE_LIBYKCLIENT=1 -DHAVE_LIBYUBIKEY=1 -DHAVE_CR=1 -I.  -I/usr/include/ykpers-1 -pthread     -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 -c -o pam_yubico.lo pam_yubico.c
libtool: compile:  gcc -DPACKAGE_NAME=\"pam_yubico\" -DPACKAGE_TARNAME=\"pam_yubico\" -DPACKAGE_VERSION=\"2.26\" "-DPACKAGE_STRING=\"pam_yubico 2.26\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"pam_yubico\" -DVERSION=\"2.26\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_SECURITY_PAM_APPL_H=1 -DHAVE_SECURITY_PAM_MODULES_H=1 -DHAVE_SECURITY__PAM_MACROS_H=1 -DHAVE_SECURITY_PAM_MODUTIL_H=1 -DHAVE_PAM_MODUTIL_DROP_PRIV=1 -DHAVE_LIBLDAP=1 -DHAVE_LIBYKCLIENT=1 -DHAVE_LIBYUBIKEY=1 -DHAVE_CR=1 -I. -I/usr/include/ykpers-1 -pthread -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 -c pam_yubico.c  -fPIC -DPIC -o .libs/pam_yubico.o
pam_yubico.c: In function 'do_challenge_response':
pam_yubico.c:657:8: warning: implicit declaration of function 'mkostemp'; did you mean 'mkstemp'? [-Wimplicit-function-declaration]
  657 |   fd = mkostemp(tmpfile, O_CLOEXEC);
      |        ^~~~~~~~
      |        mkstemp
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/yubico-pam-2.26'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/yubico-pam-2.26'
/bin/sh ./libtool  --tag=CC   --mode=link gcc   -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  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o libpam_real.la  pam_yubico.lo  -lpam 
libtool: link: ar cru .libs/libpam_real.a .libs/pam_yubico.o 
libtool: link: ranlib .libs/libpam_real.a
libtool: link: ( cd ".libs" && rm -f "libpam_real.la" && ln -s "../libpam_real.la" "libpam_real.la" )
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/yubico-pam-2.26'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/yubico-pam-2.26'
/bin/sh ./libtool  --tag=CC   --mode=link gcc   -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 -module -avoid-version -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o pam_yubico.la -rpath /lib64/security drop_privs.lo -L/lib64 -lyubikey -R/lib64 -L/lib64 -lykclient -R/lib64 -lldap -llber -lpam libpam_util.la libpam_real.la -lpam 
libtool: link: gcc -shared -Wl,--as-needed  -fPIC -DPIC  .libs/drop_privs.o  -Wl,--whole-archive ./.libs/libpam_util.a ./.libs/libpam_real.a -Wl,--no-whole-archive    -O2 -g -fstack-protector -fstack-protector-all -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags    -Wl,-rpath -Wl,/lib64 -L/lib64 -lykclient -lldap -llber -lyubikey -lykpers-1 -lpam -Wl,-soname -Wl,pam_yubico.so -o .libs/pam_yubico.so
libtool: link: ( cd ".libs" && rm -f "pam_yubico.la" && ln -s "../pam_yubico.la" "pam_yubico.la" )
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/yubico-pam-2.26'
Making all in tests
make[1]: Nothing to be done for 'all'.
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.aGXHRn
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' /home/iurt/rpmbuild/BUILDROOT/pam_yubico-2.26-2.mga9.aarch64 '!=' / ']'
+ rm -rf /home/iurt/rpmbuild/BUILDROOT/pam_yubico-2.26-2.mga9.aarch64
++ dirname /home/iurt/rpmbuild/BUILDROOT/pam_yubico-2.26-2.mga9.aarch64
+ mkdir -p /home/iurt/rpmbuild/BUILDROOT
+ mkdir /home/iurt/rpmbuild/BUILDROOT/pam_yubico-2.26-2.mga9.aarch64
+ cd yubico-pam-2.26
+ '[' 1 -eq 1 ']'
+ /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/pam_yubico-2.26-2.mga9.aarch64 'INSTALL=/usr/bin/install -p'
Making install in .
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/yubico-pam-2.26'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/yubico-pam-2.26'
 /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/pam_yubico-2.26-2.mga9.aarch64/lib64/security'
 /bin/sh ./libtool   --mode=install /usr/bin/install -p   pam_yubico.la '/home/iurt/rpmbuild/BUILDROOT/pam_yubico-2.26-2.mga9.aarch64/lib64/security'
libtool: install: /usr/bin/install -p .libs/pam_yubico.so /home/iurt/rpmbuild/BUILDROOT/pam_yubico-2.26-2.mga9.aarch64/lib64/security/pam_yubico.so
libtool: install: /usr/bin/install -p .libs/pam_yubico.lai /home/iurt/rpmbuild/BUILDROOT/pam_yubico-2.26-2.mga9.aarch64/lib64/security/pam_yubico.la
libtool: warning: remember to run 'libtool --finish /lib64/security'
 /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/pam_yubico-2.26-2.mga9.aarch64/usr/bin'
  /bin/sh ./libtool   --mode=install /usr/bin/install -p ykpamcfg '/home/iurt/rpmbuild/BUILDROOT/pam_yubico-2.26-2.mga9.aarch64/usr/bin'
libtool: install: /usr/bin/install -p ykpamcfg /home/iurt/rpmbuild/BUILDROOT/pam_yubico-2.26-2.mga9.aarch64/usr/bin/ykpamcfg
 /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/pam_yubico-2.26-2.mga9.aarch64/usr/share/man/man1'
 /usr/bin/install -p -m 644 ykpamcfg.1 '/home/iurt/rpmbuild/BUILDROOT/pam_yubico-2.26-2.mga9.aarch64/usr/share/man/man1'
 /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/pam_yubico-2.26-2.mga9.aarch64/usr/share/man/man8'
 /usr/bin/install -p -m 644 pam_yubico.8 '/home/iurt/rpmbuild/BUILDROOT/pam_yubico-2.26-2.mga9.aarch64/usr/share/man/man8'
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/yubico-pam-2.26'
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/yubico-pam-2.26'
Making install in tests
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/yubico-pam-2.26/tests'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/yubico-pam-2.26/tests'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/yubico-pam-2.26/tests'
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/yubico-pam-2.26/tests'
+ rm -f /home/iurt/rpmbuild/BUILDROOT/pam_yubico-2.26-2.mga9.aarch64/lib64/security/pam_yubico.la
+ /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 2.26-2.mga9 --unique-debug-suffix -2.26-2.mga9.aarch64 --unique-debug-src-base pam_yubico-2.26-2.mga9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/yubico-pam-2.26

extracting debug info from /home/iurt/rpmbuild/BUILDROOT/pam_yubico-2.26-2.mga9.aarch64/lib64/security/pam_yubico.so
extracting debug info from /home/iurt/rpmbuild/BUILDROOT/pam_yubico-2.26-2.mga9.aarch64/usr/bin/ykpamcfg
dwz: ./lib64/security/pam_yubico.so-2.26-2.mga9.aarch64.debug: Unknown debugging section .debug_line_str
dwz: ./usr/bin/ykpamcfg-2.26-2.mga9.aarch64.debug: Unknown debugging section .debug_line_str
dwz: Too few files for multifile optimization
original debug info size: 220kB, size after compression: 220kB
/usr/bin/sepdebugcrcfix: Updated 0 CRC32s, 2 CRC32s did match.
125 blocks
+ /usr/lib/rpm/check-buildroot
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/compress_files .xz
+ '[' -n '' ']'
+ /usr/share/spec-helper/relink_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_perl
+ '[' -n '' ']'
+ /usr/share/spec-helper/lib_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/gprintify
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_mo
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_pamd
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_eol
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_desktop_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_elf_files
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 0
+ /usr/lib/rpm/check-rpaths
*******************************************************************************
*
* WARNING: 'check-rpaths' detected a broken RPATH OR RUNPATH and will cause
*          'rpmbuild' to fail. To ignore these errors, you can set the
*          '$QA_RPATHS' environment variable which is a bitmask allowing the
*          values below. The current value of QA_RPATHS is 0x0000.
*
*    0x0001 ... standard RPATHs (e.g. /usr/lib); such RPATHs are a minor
*               issue but are introducing redundant searchpaths without
*               providing a benefit. They can also cause errors in multilib
*               environments.
*    0x0002 ... invalid RPATHs; these are RPATHs which are neither absolute
*               nor relative filenames and can therefore be a SECURITY risk
*    0x0004 ... insecure RPATHs; these are relative RPATHs which are a
*               SECURITY risk
*    0x0008 ... the special '$ORIGIN' RPATHs are appearing after other
*               RPATHs; this is just a minor issue but usually unwanted
*    0x0010 ... the RPATH is empty; there is no reason for such RPATHs
*               and they cause unneeded work while loading libraries
*    0x0020 ... an RPATH references '..' of an absolute path; this will break
*               the functionality when the path before '..' is a symlink
*          
*
* Examples:
* - to ignore standard and empty RPATHs, execute 'rpmbuild' like
*   $ QA_RPATHS=$(( 0x0001|0x0010 )) rpmbuild my-package.src.rpm
* - to check existing files, set $RPM_BUILD_ROOT and execute check-rpaths like
*   $ RPM_BUILD_ROOT=<top-dir> /usr/lib/rpm/check-rpaths
*  
*******************************************************************************
ERROR   0001: file '/lib64/security/pam_yubico.so' contains a standard  '/lib64' in [/lib64]
error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.aGXHRn (%install)


RPM build errors:
    Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
    Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.aGXHRn (%install)
I: [iurt_root_command] ERROR: chroot