Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pam_url.spec'], chrootPath='/var/lib/mock/f29-build-3554-925/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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 Wrote: /builddir/build/SRPMS/pam_url-0.3.3-9.fc29.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/f29-build-3554-925/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jieT6L + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pam_url-0.3.3 + /usr/bin/tar -xof - + /usr/bin/bzip2 -dc /builddir/build/SOURCES/pam_url-0.3.3.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd pam_url-0.3.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.S3FDFq + 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 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 BUILDSTDERR: pam_url.c: In function 'get_password': BUILDSTDERR: pam_url.c:21:6: warning: unused variable 'prompt_len' [-Wunused-variable] BUILDSTDERR: int prompt_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: if(config_lookup_string(&config, "pam_url.settings.extradata", &opts->extra_field) == CONFIG_FALSE) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from pam_url.h:36, BUILDSTDERR: from pam_url.c:3: BUILDSTDERR: /usr/include/libconfig.h:284:60: note: expected 'const char **' but argument is of type 'char **' BUILDSTDERR: 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: if( asprintf(&combined, "%s%s", opts.first_pass, opts.passwd) < 0 || BUILDSTDERR: ~^ ~~~~~~~~~~~ BUILDSTDERR: %p BUILDSTDERR: pam_url_authenticate.c: In function 'pam_sm_authenticate': BUILDSTDERR: pam_url_authenticate.c:15:6: warning: unused variable 'len' [-Wunused-variable] BUILDSTDERR: int len = 0; BUILDSTDERR: ^~~ BUILDSTDERR: pam_url.c: In function 'check_rc': BUILDSTDERR: pam_url.c:329:6: warning: unused variable 'ret' [-Wunused-variable] BUILDSTDERR: int ret=0; BUILDSTDERR: ^~~ 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 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.84SzVG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pam_url-0.3.3-9.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pam_url-0.3.3-9.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/pam_url-0.3.3-9.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pam_url-0.3.3-9.fc29.riscv64 + cd pam_url-0.3.3 + make DESTDIR=/builddir/build/BUILDROOT/pam_url-0.3.3-9.fc29.riscv64 pamlib=lib64/security install install -D -m 755 pam_url.so /builddir/build/BUILDROOT/pam_url-0.3.3-9.fc29.riscv64/lib64/security/pam_url.so install -D -m 644 examples/pam_url.conf /builddir/build/BUILDROOT/pam_url-0.3.3-9.fc29.riscv64/etc/pam_url.conf + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/pam_url-0.3.3-9.fc29.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: pam_url-0.3.3-9.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.SZigpl + umask 022 + cd /builddir/build/BUILD + cd pam_url-0.3.3 + DOCDIR=/builddir/build/BUILDROOT/pam_url-0.3.3-9.fc29.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-9.fc29.riscv64/usr/share/doc/pam_url + cp -pr AUTHOR /builddir/build/BUILDROOT/pam_url-0.3.3-9.fc29.riscv64/usr/share/doc/pam_url + cp -pr COPYING /builddir/build/BUILDROOT/pam_url-0.3.3-9.fc29.riscv64/usr/share/doc/pam_url + cp -pr INSTALL /builddir/build/BUILDROOT/pam_url-0.3.3-9.fc29.riscv64/usr/share/doc/pam_url + cp -pr README /builddir/build/BUILDROOT/pam_url-0.3.3-9.fc29.riscv64/usr/share/doc/pam_url + cp -pr examples /builddir/build/BUILDROOT/pam_url-0.3.3-9.fc29.riscv64/usr/share/doc/pam_url + exit 0 Provides: config(pam_url) = 1:0.3.3-9.fc29 pam_url = 1:0.3.3-9.fc29 pam_url(riscv-64) = 1:0.3.3-9.fc29 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.9()(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) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pam_url-0.3.3-9.fc29.riscv64 Wrote: /builddir/build/RPMS/pam_url-0.3.3-9.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fNNFpB + umask 022 + cd /builddir/build/BUILD + cd pam_url-0.3.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pam_url-0.3.3-9.fc29.riscv64 + exit 0 Child return code was: 0