Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pam_ccreds.spec'], chrootPath='/var/lib/mock/861624-epel-7-x86_64-1550862489.181123/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9pphd7u1:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6aad9ae7b0e640109085a167960bc468', '-D', '/var/lib/mock/861624-epel-7-x86_64-1550862489.181123/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9pphd7u1:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pam_ccreds.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/pam_ccreds-10-18.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/pam_ccreds.spec'], chrootPath='/var/lib/mock/861624-epel-7-x86_64-1550862489.181123/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9pphd7u1:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7c60100901a34cc2b852b5d9060297a3', '-D', '/var/lib/mock/861624-epel-7-x86_64-1550862489.181123/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9pphd7u1:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/pam_ccreds.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ywC1V3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pam_ccreds-10 + /usr/bin/gzip -dc /builddir/build/SOURCES/pam_ccreds-10.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd pam_ccreds-10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (pam_ccreds-3-inst-no-root.patch): + echo 'Patch #1 (pam_ccreds-3-inst-no-root.patch):' + /usr/bin/cat /builddir/build/SOURCES/pam_ccreds-3-inst-no-root.patch + /usr/bin/patch -p1 -b --suffix .inst-no-root --fuzz=0 patching file Makefile.am Patch #2 (pam_ccreds-7-no-filename.patch): + echo 'Patch #2 (pam_ccreds-7-no-filename.patch):' + /usr/bin/cat /builddir/build/SOURCES/pam_ccreds-7-no-filename.patch + /usr/bin/patch -p1 -b --suffix .no-filename --fuzz=0 patching file README Patch #3 (pam_ccreds-7-open.patch): + echo 'Patch #3 (pam_ccreds-7-open.patch):' + /usr/bin/patch -p1 -b --suffix .open --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/pam_ccreds-7-open.patch patching file cc_db.c + touch compile + autoreconf BUILDSTDERR: aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' BUILDSTDERR: autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' BUILDSTDERR: autoheader: WARNING: and `config.h.top', to define templates for `config.h.in' BUILDSTDERR: autoheader: WARNING: is deprecated and discouraged. BUILDSTDERR: autoheader: BUILDSTDERR: autoheader: WARNING: Using the third argument of `AC_DEFINE' and BUILDSTDERR: autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without BUILDSTDERR: autoheader: WARNING: `acconfig.h': BUILDSTDERR: autoheader: BUILDSTDERR: autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, BUILDSTDERR: autoheader: [Define if a function `main' is needed.]) BUILDSTDERR: autoheader: BUILDSTDERR: autoheader: WARNING: More sophisticated templates can also be produced, see the BUILDSTDERR: autoheader: WARNING: documentation. BUILDSTDERR: automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' BUILDSTDERR: configure.in:5: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: BUILDSTDERR: configure.in:5: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation BUILDSTDERR: automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eLLV3e + umask 022 + cd /builddir/build/BUILD + cd pam_ccreds-10 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --libdir=/lib64 --enable-gcrypt checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking target system type... x86_64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes BUILDSTDERR: /builddir/build/BUILD/pam_ccreds-10/missing: Unknown `--is-lightweight' option BUILDSTDERR: Try `/builddir/build/BUILD/pam_ccreds-10/missing --help' for more information BUILDSTDERR: configure: WARNING: 'missing' script is too old or missing checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for libgcrypt-config... /usr/bin/libgcrypt-config checking for LIBGCRYPT - version >= 1.2.0... yes checking security/pam_appl.h usability... yes checking security/pam_appl.h presence... yes checking for security/pam_appl.h... yes checking security/pam_misc.h usability... yes checking security/pam_misc.h presence... yes checking for security/pam_misc.h... yes checking security/pam_modules.h usability... yes checking security/pam_modules.h presence... yes checking for security/pam_modules.h... yes checking pam/pam_appl.h usability... no checking pam/pam_appl.h presence... no checking for pam/pam_appl.h... no checking pam/pam_misc.h usability... no checking pam/pam_misc.h presence... no checking for pam/pam_misc.h... no checking pam/pam_modules.h usability... no checking pam/pam_modules.h presence... no checking for pam/pam_modules.h... no checking db.h usability... yes checking db.h presence... yes checking for db.h... yes checking for main in -ldb... yes checking for pam_start in -lpam... yes checking for misc_conv in -lpam_misc... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands + make make all-am make[1]: Entering directory `/builddir/build/BUILD/pam_ccreds-10' gcc -DHAVE_CONFIG_H -I. -D_REENTRANT -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -fPIC -c cc_db.c gcc -DHAVE_CONFIG_H -I. -D_REENTRANT -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -fPIC -c cc_lib.c BUILDSTDERR: cc_lib.c: In function 'pam_cc_run_helper_binary': BUILDSTDERR: cc_lib.c:687:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(fds[1], passwd, strlen(passwd) + 1); BUILDSTDERR: ^ BUILDSTDERR: cc_lib.c:690:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(fds[1], "", 1); /* blank password */ BUILDSTDERR: ^ gcc -DHAVE_CONFIG_H -I. -D_REENTRANT -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -fPIC -c cc_pam.c gcc -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -fPIC -shared -Wl,-Bdynamic -Wl,--version-script,./exports.linux -Wl,-z,relro -o pam_ccreds.so cc_db.o cc_lib.o cc_pam.o -lgcrypt -ldl -lgpg-error -lpam_misc -lpam -ldb gcc -DHAVE_CONFIG_H -I. -D_REENTRANT -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -fPIC -c cc_test.c gcc -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -fPIC -Wl,-rpath -Wl,/lib64/security -Wl,-z,relro -o cc_test cc_test.o pam_ccreds.so -lpam -lpam_misc -lpam_misc -lpam -ldb gcc -DHAVE_CONFIG_H -I. -D_REENTRANT -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -fPIC -c cc_dump.c gcc -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -fPIC -Wl,-rpath -Wl,/lib64/security -Wl,-z,relro -o cc_dump cc_dump.o pam_ccreds.so -lpam -lpam_misc -lpam_misc -lpam -ldb gcc -DHAVE_CONFIG_H -I. -D_REENTRANT -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -fPIC -c ccreds_chkpwd.c gcc -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -fPIC -Wl,-rpath -Wl,/lib64/security -Wl,-z,relro -o ccreds_chkpwd ccreds_chkpwd.o pam_ccreds.so -lpam -lpam_misc -lpam_misc -lpam -ldb make[1]: Leaving directory `/builddir/build/BUILD/pam_ccreds-10' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.W6gICx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pam_ccreds-10-18.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pam_ccreds-10-18.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/pam_ccreds-10-18.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pam_ccreds-10-18.el7.x86_64 + cd pam_ccreds-10 + make install DESTDIR=/builddir/build/BUILDROOT/pam_ccreds-10-18.el7.x86_64 make[1]: Entering directory `/builddir/build/BUILD/pam_ccreds-10' /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/pam_ccreds-10-18.el7.x86_64/lib64/security mkdir /builddir/build/BUILDROOT/pam_ccreds-10-18.el7.x86_64/lib64 mkdir /builddir/build/BUILDROOT/pam_ccreds-10-18.el7.x86_64/lib64/security /usr/bin/install -c pam_ccreds.so /builddir/build/BUILDROOT/pam_ccreds-10-18.el7.x86_64/lib64/security/pam_ccreds.so /usr/bin/mkdir -p '/builddir/build/BUILDROOT/pam_ccreds-10-18.el7.x86_64/usr/sbin' /usr/bin/install -c ccreds_chkpwd '/builddir/build/BUILDROOT/pam_ccreds-10-18.el7.x86_64/usr/sbin' make[1]: Nothing to be done for `install-data-am'. make[1]: Leaving directory `/builddir/build/BUILD/pam_ccreds-10' + install -m 755 cc_test /builddir/build/BUILDROOT/pam_ccreds-10-18.el7.x86_64/usr/sbin + install -m 755 cc_dump /builddir/build/BUILDROOT/pam_ccreds-10-18.el7.x86_64/usr/sbin + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/pam_ccreds-10 extracting debug info from /builddir/build/BUILDROOT/pam_ccreds-10-18.el7.x86_64/usr/sbin/cc_dump extracting debug info from /builddir/build/BUILDROOT/pam_ccreds-10-18.el7.x86_64/usr/sbin/cc_test extracting debug info from /builddir/build/BUILDROOT/pam_ccreds-10-18.el7.x86_64/usr/sbin/ccreds_chkpwd extracting debug info from /builddir/build/BUILDROOT/pam_ccreds-10-18.el7.x86_64/lib64/security/pam_ccreds.so /usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. BUILDSTDERR: 89 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: pam_ccreds-10-18.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.QbzYdS + umask 022 + cd /builddir/build/BUILD + cd pam_ccreds-10 + DOCDIR=/builddir/build/BUILDROOT/pam_ccreds-10-18.el7.x86_64/usr/share/doc/pam_ccreds-10 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pam_ccreds-10-18.el7.x86_64/usr/share/doc/pam_ccreds-10 + cp -pr AUTHORS /builddir/build/BUILDROOT/pam_ccreds-10-18.el7.x86_64/usr/share/doc/pam_ccreds-10 + cp -pr README /builddir/build/BUILDROOT/pam_ccreds-10-18.el7.x86_64/usr/share/doc/pam_ccreds-10 + exit 0 Provides: pam_ccreds = 10-18.el7 pam_ccreds(x86-64) = 10-18.el7 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.4)(64bit) libdb-5.3.so()(64bit) libdl.so.2()(64bit) libgcrypt.so.11()(64bit) libgcrypt.so.11(GCRYPT_1.2)(64bit) libgpg-error.so.0()(64bit) libpam.so.0()(64bit) libpam.so.0(LIBPAM_1.0)(64bit) libpam_misc.so.0()(64bit) rtld(GNU_HASH) Processing files: pam_ccreds-debuginfo-10-18.el7.x86_64 Provides: pam_ccreds-debuginfo = 10-18.el7 pam_ccreds-debuginfo(x86-64) = 10-18.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pam_ccreds-10-18.el7.x86_64 Wrote: /builddir/build/RPMS/pam_ccreds-10-18.el7.x86_64.rpm Wrote: /builddir/build/RPMS/pam_ccreds-debuginfo-10-18.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.a6skQS + umask 022 + cd /builddir/build/BUILD + cd pam_ccreds-10 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pam_ccreds-10-18.el7.x86_64 + exit 0 Child return code was: 0