Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/pam_url.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-105918-66669/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --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': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/pam_url-0.3.3-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps --nocheck /builddir/build/SPECS/pam_url.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-105918-66669/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps --nocheck /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': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SLVT63 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pam_url-58e33bfaed3064ddc93f352b8272d42c17a20313 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pam_url-58e33bfaed3064ddc93f352b8272d42c17a20313.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pam_url-58e33bfaed3064ddc93f352b8272d42c17a20313 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (pam_url-0.3.3-curl-timeout.patch): + echo 'Patch #0 (pam_url-0.3.3-curl-timeout.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file examples/pam_url.conf patching file pam_url.c patching file pam_url.h Patch #1 (pam_url-0.3.3-nolibcheck.patch): + echo 'Patch #1 (pam_url-0.3.3-nolibcheck.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file pam_url.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4C3P8Y + umask 022 + cd /builddir/build/BUILD + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fcommon -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fcommon -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pam_url-58e33bfaed3064ddc93f352b8272d42c17a20313 + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -std=c99' + make -j8 pamlib=lib64/security all gcc -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -fPIC -pthread -D_GNU_SOURCE -c -o pam_url.o pam_url.c gcc -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -fPIC -pthread -D_GNU_SOURCE -c -o pam_url_account.o pam_url_account.c pam_url.c: In function 'get_password': pam_url.c:21:13: warning: unused variable 'prompt_len' [-Wunused-variable] 21 | int prompt_len = 0; | ^~~~~~~~~~ pam_url.c: In function 'fetch_url': pam_url.c:217:45: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'const void *' [-Wformat=] 217 | if( asprintf(&combined, "%s%s", opts.first_pass, opts.passwd) < 0 || | ~^ ~~~~~~~~~~~ | | | | char * const void * | %p gcc -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -fPIC -pthread -D_GNU_SOURCE -c -o pam_url_authenticate.o pam_url_authenticate.c pam_url.c: In function 'check_rc': pam_url.c:347:13: warning: unused variable 'ret' [-Wunused-variable] 347 | int ret=0; | ^~~ gcc -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -fPIC -pthread -D_GNU_SOURCE -c -o pam_url_password.o pam_url_password.c pam_url_authenticate.c: In function 'pam_sm_authenticate': pam_url_authenticate.c:15:13: warning: unused variable 'len' [-Wunused-variable] 15 | int len = 0; | ^~~ gcc -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -fPIC -pthread -D_GNU_SOURCE -c -o pam_url_session.o pam_url_session.c gcc pam_url.o pam_url_account.o pam_url_authenticate.o pam_url_password.o pam_url_session.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -shared -lpam -pthread -lcurl -lconfig -o pam_url.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.o4KDXn + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pam_url-0.3.3-1.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pam_url-0.3.3-1.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/pam_url-0.3.3-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pam_url-0.3.3-1.oc9.aarch64 + cd pam_url-58e33bfaed3064ddc93f352b8272d42c17a20313 + make DESTDIR=/builddir/build/BUILDROOT/pam_url-0.3.3-1.oc9.aarch64 pamlib=lib64/security install install -D -m 755 pam_url.so /builddir/build/BUILDROOT/pam_url-0.3.3-1.oc9.aarch64/lib64/security/pam_url.so install -D -m 644 examples/pam_url.conf /builddir/build/BUILDROOT/pam_url-0.3.3-1.oc9.aarch64/etc/pam_url.conf + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.3.3-1.oc9 --unique-debug-suffix -0.3.3-1.oc9.aarch64 --unique-debug-src-base pam_url-0.3.3-1.oc9.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/pam_url-58e33bfaed3064ddc93f352b8272d42c17a20313 extracting debug info from /builddir/build/BUILDROOT/pam_url-0.3.3-1.oc9.aarch64/lib64/security/pam_url.so 35 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: pam_url-0.3.3-1.oc9.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.tAh9Xm + umask 022 + cd /builddir/build/BUILD + cd pam_url-58e33bfaed3064ddc93f352b8272d42c17a20313 + DOCDIR=/builddir/build/BUILDROOT/pam_url-0.3.3-1.oc9.aarch64/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-1.oc9.aarch64/usr/share/doc/pam_url + cp -pr AUTHOR /builddir/build/BUILDROOT/pam_url-0.3.3-1.oc9.aarch64/usr/share/doc/pam_url + cp -pr COPYING /builddir/build/BUILDROOT/pam_url-0.3.3-1.oc9.aarch64/usr/share/doc/pam_url + cp -pr INSTALL /builddir/build/BUILDROOT/pam_url-0.3.3-1.oc9.aarch64/usr/share/doc/pam_url + cp -pr README /builddir/build/BUILDROOT/pam_url-0.3.3-1.oc9.aarch64/usr/share/doc/pam_url + cp -pr examples /builddir/build/BUILDROOT/pam_url-0.3.3-1.oc9.aarch64/usr/share/doc/pam_url + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(pam_url) = 0.3.3-1.oc9 pam_url = 0.3.3-1.oc9 pam_url(aarch-64) = 0.3.3-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(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) rtld(GNU_HASH) Processing files: pam_url-debugsource-0.3.3-1.oc9.aarch64 Provides: pam_url-debugsource = 0.3.3-1.oc9 pam_url-debugsource(aarch-64) = 0.3.3-1.oc9 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-1.oc9.aarch64 Provides: debuginfo(build-id) = 228efa9908391ae1718c6c89851bdc752c814a5b pam_url-debuginfo = 0.3.3-1.oc9 pam_url-debuginfo(aarch-64) = 0.3.3-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pam_url-debugsource(aarch-64) = 0.3.3-1.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pam_url-0.3.3-1.oc9.aarch64 Wrote: /builddir/build/RPMS/pam_url-debugsource-0.3.3-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/pam_url-0.3.3-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/pam_url-debuginfo-0.3.3-1.oc9.aarch64.rpm Child return code was: 0