Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pam_url.spec'], chrootPath='/var/lib/mock/f31-build-90217-32168/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=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pam_url.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=1564012800 Wrote: /builddir/build/SRPMS/pam_url-0.3.3-12.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pam_url.spec'], chrootPath='/var/lib/mock/f31-build-90217-32168/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=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pam_url.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=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EI7a8F + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pam_url-0.3.3 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/pam_url-0.3.3.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pam_url-0.3.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WThDCD + umask 022 + cd /builddir/build/BUILD + cd pam_url-0.3.3 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99' + make -j4 pamlib=lib64/security all BUILDSTDERR: pam_url.c: In function 'get_password': BUILDSTDERR: pam_url.c:21:6: warning: unused variable 'prompt_len' [-Wunused-variable] BUILDSTDERR: 21 | int prompt_len = 0; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: pam_url_authenticate.c: In function 'pam_sm_authenticate': BUILDSTDERR: pam_url_authenticate.c:15:6: warning: unused variable 'len' [-Wunused-variable] BUILDSTDERR: 15 | int len = 0; BUILDSTDERR: | ^~~ BUILDSTDERR: pam_url.c: In function 'parse_opts': BUILDSTDERR: pam_url.c:120:65: warning: passing argument 3 of 'config_lookup_string' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 120 | if(config_lookup_string(&config, "pam_url.settings.extradata", &opts->extra_field) == CONFIG_FALSE) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char ** BUILDSTDERR: In file included from pam_url.h:36, BUILDSTDERR: from pam_url.c:3: BUILDSTDERR: /usr/include/libconfig.h:317:60: note: expected 'const char **' but argument is of type 'char **' BUILDSTDERR: 317 | const char **value); BUILDSTDERR: | ~~~~~~~~~~~~~^~~~~ BUILDSTDERR: pam_url.c: In function 'fetch_url': BUILDSTDERR: pam_url.c:212:31: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'const void *' [-Wformat=] BUILDSTDERR: 212 | if( asprintf(&combined, "%s%s", opts.first_pass, opts.passwd) < 0 || BUILDSTDERR: | ~^ ~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | char * const void * BUILDSTDERR: | %p BUILDSTDERR: pam_url.c: In function 'check_rc': BUILDSTDERR: pam_url.c:329:6: warning: unused variable 'ret' [-Wunused-variable] BUILDSTDERR: 329 | int ret=0; BUILDSTDERR: | ^~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -fPIC -pthread -D_GNU_SOURCE -c -o pam_url.o pam_url.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -fPIC -pthread -D_GNU_SOURCE -c -o pam_url_account.o pam_url_account.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -fPIC -pthread -D_GNU_SOURCE -c -o pam_url_authenticate.o pam_url_authenticate.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -fPIC -pthread -D_GNU_SOURCE -c -o pam_url_password.o pam_url_password.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -fPIC -pthread -D_GNU_SOURCE -c -o pam_url_session.o pam_url_session.c cc pam_url.o pam_url_account.o pam_url_authenticate.o pam_url_password.o pam_url_session.o -shared -lpam -pthread -lcurl -lconfig -o pam_url.so Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ciubmE + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pam_url-0.3.3-12.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pam_url-0.3.3-12.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/pam_url-0.3.3-12.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pam_url-0.3.3-12.fc31.riscv64 + cd pam_url-0.3.3 + make DESTDIR=/builddir/build/BUILDROOT/pam_url-0.3.3-12.fc31.riscv64 pamlib=lib64/security install + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.3.3-12.fc31 --unique-debug-suffix -0.3.3-12.fc31.riscv64 --unique-debug-src-base pam_url-0.3.3-12.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pam_url-0.3.3 BUILDSTDERR: 34 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs install -D -m 755 pam_url.so /builddir/build/BUILDROOT/pam_url-0.3.3-12.fc31.riscv64/lib64/security/pam_url.so install -D -m 644 examples/pam_url.conf /builddir/build/BUILDROOT/pam_url-0.3.3-12.fc31.riscv64/etc/pam_url.conf explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/pam_url-0.3.3-12.fc31.riscv64/lib64/security/pam_url.so extracting debug info from /builddir/build/BUILDROOT/pam_url-0.3.3-12.fc31.riscv64/lib64/security/pam_url.so original debug info size: 100kB, size after compression: 92kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: pam_url-0.3.3-12.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.OQpMhE + umask 022 + cd /builddir/build/BUILD + cd pam_url-0.3.3 + DOCDIR=/builddir/build/BUILDROOT/pam_url-0.3.3-12.fc31.riscv64/usr/share/doc/pam_url + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pam_url-0.3.3-12.fc31.riscv64/usr/share/doc/pam_url + cp -pr AUTHOR /builddir/build/BUILDROOT/pam_url-0.3.3-12.fc31.riscv64/usr/share/doc/pam_url + cp -pr COPYING /builddir/build/BUILDROOT/pam_url-0.3.3-12.fc31.riscv64/usr/share/doc/pam_url + cp -pr INSTALL /builddir/build/BUILDROOT/pam_url-0.3.3-12.fc31.riscv64/usr/share/doc/pam_url + cp -pr README /builddir/build/BUILDROOT/pam_url-0.3.3-12.fc31.riscv64/usr/share/doc/pam_url + cp -pr examples /builddir/build/BUILDROOT/pam_url-0.3.3-12.fc31.riscv64/usr/share/doc/pam_url + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: config(pam_url) = 1:0.3.3-12.fc31 pam_url = 1:0.3.3-12.fc31 pam_url(riscv-64) = 1:0.3.3-12.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: 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) libconfig.so.11()(64bit) libcurl.so.4()(64bit) libpam.so.0()(64bit) libpam.so.0(LIBPAM_1.0)(64bit) libpam.so.0(LIBPAM_EXTENSION_1.0)(64bit) libpthread.so.0()(64bit) rtld(GNU_HASH) Processing files: pam_url-debugsource-0.3.3-12.fc31.riscv64 Provides: pam_url-debugsource = 1:0.3.3-12.fc31 pam_url-debugsource(riscv-64) = 1:0.3.3-12.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: pam_url-debuginfo-0.3.3-12.fc31.riscv64 Provides: debuginfo(build-id) = a7e5ac75b9bd2fb231fbc71a3dac5bb893441a73 pam_url-debuginfo = 1:0.3.3-12.fc31 pam_url-debuginfo(riscv-64) = 1:0.3.3-12.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pam_url-debugsource(riscv-64) = 1:0.3.3-12.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pam_url-0.3.3-12.fc31.riscv64 Wrote: /builddir/build/RPMS/pam_url-debugsource-0.3.3-12.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/pam_url-0.3.3-12.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/pam_url-debuginfo-0.3.3-12.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fG4fsG + umask 022 + cd /builddir/build/BUILD + cd pam_url-0.3.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pam_url-0.3.3-12.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0