D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
Installing /home/pterjan/rpmbuild/SRPMS/pam-google-authenticator-1.0-10.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.rLlOGo
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/pam-google-authenticator-1.0-build
+ test -d /home/pterjan/rpmbuild/BUILD/pam-google-authenticator-1.0-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/pam-google-authenticator-1.0-build
+ /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/pam-google-authenticator-1.0-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/pam-google-authenticator-1.0-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/pam-google-authenticator-1.0-build/SPECPARTS
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.tezD0R
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/pam-google-authenticator-1.0-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/pam-google-authenticator-1.0-build
+ rm -rf libpam-google-authenticator-1.0
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/libpam-google-authenticator-1.0-source.tar.bz2
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd libpam-google-authenticator-1.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/pam-google-authenticator-destdir.patch
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.gJuY0Y
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/pam-google-authenticator-1.0-build
+ cd libpam-google-authenticator-1.0
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ /usr/bin/make -O -j16 V=1 VERBOSE=1 CC=gcc 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
gcc --std=gnu99 -Wall -O2 -g -fPIC -c  -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -o base32.o base32.c
gcc --std=gnu99 -Wall -O2 -g -fPIC -c  -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -o demo.o demo.c
demo.c: In function 'pam_get_item':
demo.c:88:36: warning: argument to 'sizeof' in 'memcpy' call is the same expression as the source; did you mean to remove the addressof? [-Wsizeof-pointer-memaccess]
   88 |       memcpy(item, &service, sizeof(&service));
      |                                    ^
demo.c:93:33: warning: argument to 'sizeof' in 'memcpy' call is the same expression as the source; did you mean to remove the addressof? [-Wsizeof-pointer-memaccess]
   93 |       memcpy(item, &user, sizeof(&user));
      |                                 ^
gcc --std=gnu99 -Wall -O2 -g -fPIC -c  -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -o hmac.o hmac.c
gcc --std=gnu99 -Wall -O2 -g -fPIC -c  -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -o sha1.o sha1.c
In file included from /usr/include/sys/types.h:25,
                 from sha1.c:44:
/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
gcc --std=gnu99 -Wall -O2 -g -fPIC -c  -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -o google-authenticator.o google-authenticator.c
In file included from /usr/include/string.h:548,
                 from google-authenticator.c:29:
In function 'strcpy',
    inlined from 'main' at google-authenticator.c:689:3:
/usr/include/bits/string_fortified.h:81:10: warning: '__builtin___strcpy_chk' accessing between 1 and 9223372036854775806 bytes at offsets [1, 9223372036854775806] and 0 may overlap up to 9223372036854775805 bytes at offset [1, 9223372036854775805] [-Wrestrict]
   81 |   return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DDEMO --std=gnu99 -Wall -O2 -g -fPIC -c  -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -o pam_google_authenticator_demo.o pam_google_authenticator.c
pam_google_authenticator.c: In function 'get_secret_filename':
pam_google_authenticator.c:209:22: warning: pointer 'secret_filename' may be used after 'realloc' [-Wuse-after-free]
  209 |       var += resized - secret_filename;
      |              ~~~~~~~~^~~~~~~~~~~~~~~~~
pam_google_authenticator.c:204:23: note: call to 'realloc' here
  204 |       char *resized = realloc(secret_filename,
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~
  205 |                               strlen(secret_filename) + subst_len);
      |                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'get_secret_filename',
    inlined from 'google_authenticator.isra' at pam_google_authenticator.c:1349:26:
pam_google_authenticator.c:209:11: warning: pointer may be used after 'realloc' [-Wuse-after-free]
  209 |       var += resized - secret_filename;
      |       ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
pam_google_authenticator.c:204:23: note: call to 'realloc' here
  204 |       char *resized = realloc(secret_filename,
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~
  205 |                               strlen(secret_filename) + subst_len);
      |                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g   -o google-authenticator google-authenticator.o base32.o hmac.o sha1.o  -ldl
gcc -g   -rdynamic -o demo demo.o pam_google_authenticator_demo.o base32.o hmac.o sha1.o  -ldl
gcc -DTESTING --std=gnu99 -Wall -O2 -g -fPIC -c  -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full       \
              -o pam_google_authenticator_testing.o pam_google_authenticator.c
pam_google_authenticator.c: In function 'get_secret_filename':
pam_google_authenticator.c:209:22: warning: pointer 'secret_filename' may be used after 'realloc' [-Wuse-after-free]
  209 |       var += resized - secret_filename;
      |              ~~~~~~~~^~~~~~~~~~~~~~~~~
pam_google_authenticator.c:204:23: note: call to 'realloc' here
  204 |       char *resized = realloc(secret_filename,
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~
  205 |                               strlen(secret_filename) + subst_len);
      |                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'get_secret_filename',
    inlined from 'google_authenticator.isra' at pam_google_authenticator.c:1349:26:
pam_google_authenticator.c:209:11: warning: pointer may be used after 'realloc' [-Wuse-after-free]
  209 |       var += resized - secret_filename;
      |       ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
pam_google_authenticator.c:204:23: note: call to 'realloc' here
  204 |       char *resized = realloc(secret_filename,
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~
  205 |                               strlen(secret_filename) + subst_len);
      |                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -shared -g   -o pam_google_authenticator_testing.so pam_google_authenticator_testing.o base32.o hmac.o sha1.o -lpam
gcc --std=gnu99 -Wall -O2 -g -fPIC -c  -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -o pam_google_authenticator.o pam_google_authenticator.c
pam_google_authenticator.c: In function 'get_secret_filename':
pam_google_authenticator.c:209:22: warning: pointer 'secret_filename' may be used after 'realloc' [-Wuse-after-free]
  209 |       var += resized - secret_filename;
      |              ~~~~~~~~^~~~~~~~~~~~~~~~~
pam_google_authenticator.c:204:23: note: call to 'realloc' here
  204 |       char *resized = realloc(secret_filename,
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~
  205 |                               strlen(secret_filename) + subst_len);
      |                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'get_secret_filename',
    inlined from 'google_authenticator.isra' at pam_google_authenticator.c:1349:26:
pam_google_authenticator.c:209:11: warning: pointer may be used after 'realloc' [-Wuse-after-free]
  209 |       var += resized - secret_filename;
      |       ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
pam_google_authenticator.c:204:23: note: call to 'realloc' here
  204 |       char *resized = realloc(secret_filename,
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~
  205 |                               strlen(secret_filename) + subst_len);
      |                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -shared -g   -o pam_google_authenticator.so pam_google_authenticator.o base32.o hmac.o sha1.o -lpam
gcc --std=gnu99 -Wall -O2 -g -fPIC -c  -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -o pam_google_authenticator_unittest.o pam_google_authenticator_unittest.c
pam_google_authenticator_unittest.c: In function 'pam_get_item':
pam_google_authenticator_unittest.c:76:36: warning: argument to 'sizeof' in 'memcpy' call is the same expression as the source; did you mean to remove the addressof? [-Wsizeof-pointer-memaccess]
   76 |       memcpy(item, &service, sizeof(&service));
      |                                    ^
pam_google_authenticator_unittest.c:81:33: warning: argument to 'sizeof' in 'memcpy' call is the same expression as the source; did you mean to remove the addressof? [-Wsizeof-pointer-memaccess]
   81 |       memcpy(item, &user, sizeof(&user));
      |                                 ^
gcc -g   -rdynamic -o pam_google_authenticator_unittest pam_google_authenticator_unittest.o base32.o hmac.o sha1.o -lc  -ldl
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.T8aIKP
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/pam-google-authenticator-1.0-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/pam-google-authenticator-1.0-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/pam-google-authenticator-1.0-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/pam-google-authenticator-1.0-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/pam-google-authenticator-1.0-build
+ mkdir /home/pterjan/rpmbuild/BUILD/pam-google-authenticator-1.0-build/BUILDROOT
+ cd libpam-google-authenticator-1.0
+ '[' 1 -eq 1 ']'
+ /usr/bin/make 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' DESTDIR=/home/pterjan/rpmbuild/BUILD/pam-google-authenticator-1.0-build/BUILDROOT BINDIR=/usr/bin LIBSEC=/lib64/security install
install -D -m0755 pam_google_authenticator.so /home/pterjan/rpmbuild/BUILD/pam-google-authenticator-1.0-build/BUILDROOT/lib64/security/pam_google_authentifactor.so ;\
install -D -m0755 google-authenticator /home/pterjan/rpmbuild/BUILD/pam-google-authenticator-1.0-build/BUILDROOT/usr/bin/google-authenticator
+ /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 1.0-10.mga10 --unique-debug-suffix -1.0-10.mga10.x86_64 --unique-debug-src-base pam-google-authenticator-1.0-10.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/pam-google-authenticator-1.0-build/libpam-google-authenticator-1.0
find-debuginfo: starting

Extracting debug info from 2 files
DWARF-compressing 2 files
sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match.
Creating .debug symlinks for symlinks to ELF files
Copying sources found by 'debugedit -l' to /usr/src/debug/pam-google-authenticator-1.0-10.mga10.x86_64
find-debuginfo: done
+ /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/check-rpaths
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
+ env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16
+ /usr/lib/rpm/redhat/brp-python-hardlink
Reading /home/pterjan/rpmbuild/BUILD/pam-google-authenticator-1.0-build/SPECPARTS/rpm-debuginfo.specpart
Processing files: pam-google-authenticator-1.0-10.mga10.x86_64
Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.JKr99u
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/pam-google-authenticator-1.0-build
+ cd libpam-google-authenticator-1.0
+ DOCDIR=/home/pterjan/rpmbuild/BUILD/pam-google-authenticator-1.0-build/BUILDROOT/usr/share/doc/pam-google-authenticator
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/pam-google-authenticator-1.0-build/BUILDROOT/usr/share/doc/pam-google-authenticator
+ cp -pr /home/pterjan/rpmbuild/BUILD/pam-google-authenticator-1.0-build/libpam-google-authenticator-1.0/FILEFORMAT /home/pterjan/rpmbuild/BUILD/pam-google-authenticator-1.0-build/BUILDROOT/usr/share/doc/pam-google-authenticator
+ cp -pr /home/pterjan/rpmbuild/BUILD/pam-google-authenticator-1.0-build/libpam-google-authenticator-1.0/README /home/pterjan/rpmbuild/BUILD/pam-google-authenticator-1.0-build/BUILDROOT/usr/share/doc/pam-google-authenticator
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: pam-google-authenticator = 1.0-10.mga10 pam-google-authenticator(x86-64) = 1.0-10.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libpam.so.0()(64bit) libpam.so.0(LIBPAM_1.0)(64bit)
Recommends: lib64qrencode3
Processing files: pam-google-authenticator-debugsource-1.0-10.mga10.x86_64
Provides: pam-google-authenticator-debugsource = 1.0-10.mga10 pam-google-authenticator-debugsource(x86-64) = 1.0-10.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: pam-google-authenticator-debuginfo-1.0-10.mga10.x86_64
Provides: debuginfo(build-id) = 7d43d11131d31b4edda1885fa3cfb81b3eb7feb2 debuginfo(build-id) = f7869e5c215677cac825ed33234c0223c0f7e168 pam-google-authenticator-debuginfo = 1.0-10.mga10 pam-google-authenticator-debuginfo(x86-64) = 1.0-10.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: pam-google-authenticator-debugsource(x86-64) = 1.0-10.mga10
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/pam-google-authenticator-1.0-build/BUILDROOT
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/pam-google-authenticator-1.0-10.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/pam-google-authenticator-debugsource-1.0-10.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/pam-google-authenticator-debuginfo-1.0-10.mga10.x86_64.rpm
Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.up1Z4p
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/pam-google-authenticator-1.0-build
+ test -d /home/pterjan/rpmbuild/BUILD/pam-google-authenticator-1.0-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/pam-google-authenticator-1.0-build
+ rm -rf /home/pterjan/rpmbuild/BUILD/pam-google-authenticator-1.0-build
+ RPM_EC=0
++ jobs -p
+ exit 0
D: [iurt_root_command] Success!