Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pam-kwallet.spec'], chrootPath='/var/lib/mock/f33-build-376659-61729/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pam-kwallet.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1606812178 Wrote: /builddir/build/SRPMS/pam-kwallet-5.20.4-1.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pam-kwallet.spec'], chrootPath='/var/lib/mock/f33-build-376659-61729/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pam-kwallet.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1606812178 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lUSXP1 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kwallet-pam-5.20.4 + /usr/bin/tar -xof - + /usr/bin/xz -dc /builddir/build/SOURCES/kwallet-pam-5.20.4.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd kwallet-pam-5.20.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WUqPL4 + umask 022 + cd /builddir/build/BUILD + cd kwallet-pam-5.20.4 + QTDIR=/usr + export QTDIR + PATH=/usr/lib64/qt5/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + export PATH + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + export LDFLAGS + /usr/bin/cmake -S . -B riscv64-redhat-linux-gnu -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_TESTING:BOOL=FALSE -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_INCLUDEDIR_KF5:PATH=/usr/include/KF5 -DCMAKE_INSTALL_LIBEXECDIR_KF5:PATH=/usr/libexec/kf5 -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_USE_RELATIVE_PATHS:BOOL=ON -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DECM_MKSPECS_INSTALL_DIR:PATH=/usr/lib64/qt5/mkspecs/modules -DKDE_INSTALL_BINDIR:PATH=/usr/bin -DKDE_INSTALL_INCLUDEDIR:PATH=/usr/include -DKDE_INSTALL_KCFGDIR:PATH=/usr/share/config.kcfg -DKDE_INSTALL_LIBDIR:PATH=/usr/lib64 -DKDE_INSTALL_LIBEXECDIR:PATH=/usr/libexec -DKDE_INSTALL_METAINFODIR:PATH=/usr/share/metainfo -DKDE_INSTALL_PLUGINDIR:PATH=/usr/lib64/qt5/plugins -DKDE_INSTALL_QMLDIR:PATH=/usr/lib64/qt5/qml -DKDE_INSTALL_QTPLUGINDIR:PATH=/usr/lib64/qt5/plugins -DKDE_INSTALL_QTQUICKIMPORTSDIR:PATH=/usr/lib64/qt5/imports -DKDE_INSTALL_SYSCONFDIR:PATH=/etc -DKDE_INSTALL_USE_QT_SYS_PATHS:BOOL=ON -- The C compiler identification is GNU 10.2.1 -- The CXX compiler identification is GNU 10.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test PAM_MESSAGE_CONST -- Performing Test PAM_MESSAGE_CONST - Success -- Found PAM: /usr/lib64/libpam.so;/usr/lib64/libdl.so -- Found libgcrypt: -lgcrypt -ldl -lgpg-error -- Found socat executable: /usr/bin/socat -- Found KF5Wallet: /usr/lib64/cmake/KF5Wallet/KF5WalletConfig.cmake (found version "5.75.0") -- Found KF5: success (found suitable version "5.75.0", minimum required is "5.74") found components: Wallet -- Looking for explicit_bzero -- Looking for explicit_bzero - found -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_TESTING CMAKE_CXX_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_USE_RELATIVE_PATHS ECM_MKSPECS_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/kwallet-pam-5.20.4/riscv64-redhat-linux-gnu + /usr/bin/cmake --build riscv64-redhat-linux-gnu -j4 --verbose /usr/bin/cmake -S/builddir/build/BUILD/kwallet-pam-5.20.4 -B/builddir/build/BUILD/kwallet-pam-5.20.4/riscv64-redhat-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/kwallet-pam-5.20.4/riscv64-redhat-linux-gnu/CMakeFiles /builddir/build/BUILD/kwallet-pam-5.20.4/riscv64-redhat-linux-gnu//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/kwallet-pam-5.20.4/riscv64-redhat-linux-gnu' /usr/bin/gmake -f CMakeFiles/pam_kwallet5.dir/build.make CMakeFiles/pam_kwallet5.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/kwallet-pam-5.20.4/riscv64-redhat-linux-gnu' cd /builddir/build/BUILD/kwallet-pam-5.20.4/riscv64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/kwallet-pam-5.20.4 /builddir/build/BUILD/kwallet-pam-5.20.4 /builddir/build/BUILD/kwallet-pam-5.20.4/riscv64-redhat-linux-gnu /builddir/build/BUILD/kwallet-pam-5.20.4/riscv64-redhat-linux-gnu /builddir/build/BUILD/kwallet-pam-5.20.4/riscv64-redhat-linux-gnu/CMakeFiles/pam_kwallet5.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/kwallet-pam-5.20.4/riscv64-redhat-linux-gnu/CMakeFiles/pam_kwallet5.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/kwallet-pam-5.20.4/riscv64-redhat-linux-gnu/CMakeFiles/pam_kwallet5.dir/depend.internal". Dependee "/builddir/build/BUILD/kwallet-pam-5.20.4/riscv64-redhat-linux-gnu/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/kwallet-pam-5.20.4/riscv64-redhat-linux-gnu/CMakeFiles/pam_kwallet5.dir/depend.internal". Scanning dependencies of target pam_kwallet5 gmake[2]: Leaving directory '/builddir/build/BUILD/kwallet-pam-5.20.4/riscv64-redhat-linux-gnu' /usr/bin/gmake -f CMakeFiles/pam_kwallet5.dir/build.make CMakeFiles/pam_kwallet5.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/kwallet-pam-5.20.4/riscv64-redhat-linux-gnu' [ 50%] Building C object CMakeFiles/pam_kwallet5.dir/pam_kwallet.c.o /usr/bin/cc -DHAVE_EXPLICIT_BZERO -DHAVE_PAM_APPL -DHAVE_PAM_EXT -DKWALLETD_BIN_PATH=\"/usr/bin/kwalletd5\" -Dpam_kwallet5_EXPORTS -I/builddir/build/BUILD/kwallet-pam-5.20.4/riscv64-redhat-linux-gnu -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -o CMakeFiles/pam_kwallet5.dir/pam_kwallet.c.o -c /builddir/build/BUILD/kwallet-pam-5.20.4/pam_kwallet.c /builddir/build/BUILD/kwallet-pam-5.20.4/pam_kwallet.c: In function 'is_graphical_session': /builddir/build/BUILD/kwallet-pam-5.20.4/pam_kwallet.c:242:43: warning: unused variable 'display' [-Wunused-variable] 242 | *xdg_session_type = NULL, *display = NULL; | ^~~~~~~ /builddir/build/BUILD/kwallet-pam-5.20.4/pam_kwallet.c: In function 'readSaltFile': /builddir/build/BUILD/kwallet-pam-5.20.4/pam_kwallet.c:740:88: warning: format '%d' expects argument of type 'int', but argument 4 has type 'ssize_t' {aka 'const long int'} [-Wformat=] 740 | syslog(LOG_ERR, "%s: Couldn't read the full salt file contents from file. %d:%d", logPrefix, bytesRead, KWALLET_PAM_SALTSIZE); | ~^ ~~~~~~~~~ | | | | int ssize_t {aka const long int} | %ld [100%] Linking C shared library pam_kwallet5.so /usr/bin/cmake -E cmake_link_script CMakeFiles/pam_kwallet5.dir/link.txt --verbose=1 /usr/bin/cc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,pam_kwallet5.so -o pam_kwallet5.so CMakeFiles/pam_kwallet5.dir/pam_kwallet.c.o -lpam -ldl -lgcrypt -ldl -lgpg-error gmake[2]: Leaving directory '/builddir/build/BUILD/kwallet-pam-5.20.4/riscv64-redhat-linux-gnu' [100%] Built target pam_kwallet5 gmake[1]: Leaving directory '/builddir/build/BUILD/kwallet-pam-5.20.4/riscv64-redhat-linux-gnu' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/kwallet-pam-5.20.4/riscv64-redhat-linux-gnu/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.56TV91 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pam-kwallet-5.20.4-1.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pam-kwallet-5.20.4-1.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/pam-kwallet-5.20.4-1.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pam-kwallet-5.20.4-1.fc33.riscv64 + cd kwallet-pam-5.20.4 + DESTDIR=/builddir/build/BUILDROOT/pam-kwallet-5.20.4-1.fc33.riscv64 + /usr/bin/cmake --install riscv64-redhat-linux-gnu -- Install configuration: "release" -- Installing: /builddir/build/BUILDROOT/pam-kwallet-5.20.4-1.fc33.riscv64/usr/lib64/security/pam_kwallet5.so -- Installing: /builddir/build/BUILDROOT/pam-kwallet-5.20.4-1.fc33.riscv64/usr/libexec/pam_kwallet_init -- Installing: /builddir/build/BUILDROOT/pam-kwallet-5.20.4-1.fc33.riscv64/etc/xdg/autostart/pam_kwallet_init.desktop + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 5.20.4-1.fc33 --unique-debug-suffix -5.20.4-1.fc33.riscv64 --unique-debug-src-base pam-kwallet-5.20.4-1.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/kwallet-pam-5.20.4 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/pam-kwallet-5.20.4-1.fc33.riscv64/usr/lib64/security/pam_kwallet5.so extracting debug info from /builddir/build/BUILDROOT/pam-kwallet-5.20.4-1.fc33.riscv64/usr/lib64/security/pam_kwallet5.so original debug info size: 152kB, size after compression: 156kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 53 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/libexec/pam_kwallet_init from /bin/sh to #!/usr/bin/sh Processing files: pam-kwallet-5.20.4-1.fc33.riscv64 Provides: kwallet-pam = 5.20.4-1.fc33 pam-kwallet = 5.20.4-1.fc33 pam-kwallet(riscv-64) = 5.20.4-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcrypt.so.20()(64bit) libgcrypt.so.20(GCRYPT_1.6)(64bit) libpam.so.0()(64bit) libpam.so.0(LIBPAM_1.0)(64bit) libpam.so.0(LIBPAM_EXTENSION_1.0)(64bit) rtld(GNU_HASH) Processing files: pam-kwallet-debugsource-5.20.4-1.fc33.riscv64 Provides: pam-kwallet-debugsource = 5.20.4-1.fc33 pam-kwallet-debugsource(riscv-64) = 5.20.4-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: pam-kwallet-debuginfo-5.20.4-1.fc33.riscv64 Provides: debuginfo(build-id) = 715e187be281314365c48e544b639ff2d1cb481e pam-kwallet-debuginfo = 5.20.4-1.fc33 pam-kwallet-debuginfo(riscv-64) = 5.20.4-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pam-kwallet-debugsource(riscv-64) = 5.20.4-1.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pam-kwallet-5.20.4-1.fc33.riscv64 Wrote: /builddir/build/RPMS/pam-kwallet-5.20.4-1.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/pam-kwallet-debugsource-5.20.4-1.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/pam-kwallet-debuginfo-5.20.4-1.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.XndMA2 + umask 022 + cd /builddir/build/BUILD + cd kwallet-pam-5.20.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pam-kwallet-5.20.4-1.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0