Mock Version: 1.2.12 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/google-authenticator.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-3026/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/google-authenticator.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False warning: Could not canonicalize hostname: copr-builder-262890987.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/google-authenticator-1.0-0.gita096a62.el7.centos.5.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/google-authenticator.spec '], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-3026/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/google-authenticator.spec '] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HsGlHm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf google-authenticator-1.0-gita096a62 + /usr/bin/gzip -dc /builddir/build/SOURCES/google-authenticator-1.0-gita096a62.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd google-authenticator-1.0-gita096a62 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NCQZAy + umask 022 + cd /builddir/build/BUILD + cd google-authenticator-1.0-gita096a62 + cd libpam + make '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' LDFLAGS=-ldl -j2 gcc --std=gnu99 -Wall -O2 -g -fPIC -c -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -o google-authenticator.o google-authenticator.c gcc --std=gnu99 -Wall -O2 -g -fPIC -c -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -o base32.o base32.c gcc --std=gnu99 -Wall -O2 -g -fPIC -c -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -o hmac.o hmac.c gcc --std=gnu99 -Wall -O2 -g -fPIC -c -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -o sha1.o sha1.c gcc --std=gnu99 -Wall -O2 -g -fPIC -c -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -o pam_google_authenticator.o pam_google_authenticator.c pam_google_authenticator.c: In function 'setgroup': pam_google_authenticator.c:251:13: warning: ignoring return value of 'setfsgid', declared with attribute warn_unused_result [-Wunused-result] setfsgid(old_gid); ^ pam_google_authenticator.c: In function 'setuser': pam_google_authenticator.c:232:13: warning: ignoring return value of 'setfsuid', declared with attribute warn_unused_result [-Wunused-result] setfsuid(old_uid); ^ gcc --std=gnu99 -Wall -O2 -g -fPIC -c -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -o demo.o demo.c demo.c: In function 'pam_get_item': demo.c:88:36: warning: argument to 'sizeof' in 'memcpy' call is the same expression as the source; did you mean to remove the addressof? [-Wsizeof-pointer-memaccess] memcpy(item, &service, sizeof(&service)); ^ demo.c:93:33: warning: argument to 'sizeof' in 'memcpy' call is the same expression as the source; did you mean to remove the addressof? [-Wsizeof-pointer-memaccess] memcpy(item, &user, sizeof(&user)); ^ gcc -DDEMO --std=gnu99 -Wall -O2 -g -fPIC -c -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -o pam_google_authenticator_demo.o pam_google_authenticator.c pam_google_authenticator.c: In function 'setgroup': pam_google_authenticator.c:251:13: warning: ignoring return value of 'setfsgid', declared with attribute warn_unused_result [-Wunused-result] setfsgid(old_gid); ^ pam_google_authenticator.c: In function 'setuser': pam_google_authenticator.c:232:13: warning: ignoring return value of 'setfsuid', declared with attribute warn_unused_result [-Wunused-result] setfsuid(old_uid); ^ gcc -DTESTING --std=gnu99 -Wall -O2 -g -fPIC -c -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic \ -o pam_google_authenticator_testing.o pam_google_authenticator.c pam_google_authenticator.c: In function 'setgroup': pam_google_authenticator.c:251:13: warning: ignoring return value of 'setfsgid', declared with attribute warn_unused_result [-Wunused-result] setfsgid(old_gid); ^ pam_google_authenticator.c: In function 'setuser': pam_google_authenticator.c:232:13: warning: ignoring return value of 'setfsuid', declared with attribute warn_unused_result [-Wunused-result] setfsuid(old_uid); ^ gcc -g -ldl -o google-authenticator google-authenticator.o base32.o hmac.o sha1.o -ldl gcc -shared -g -ldl -o pam_google_authenticator.so pam_google_authenticator.o base32.o hmac.o sha1.o -lpam gcc -g -ldl -rdynamic -o demo demo.o pam_google_authenticator_demo.o base32.o hmac.o sha1.o -ldl gcc -shared -g -ldl -o pam_google_authenticator_testing.so pam_google_authenticator_testing.o base32.o hmac.o sha1.o -lpam gcc --std=gnu99 -Wall -O2 -g -fPIC -c -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -o pam_google_authenticator_unittest.o pam_google_authenticator_unittest.c pam_google_authenticator_unittest.c: In function 'pam_get_item': pam_google_authenticator_unittest.c:79:36: warning: argument to 'sizeof' in 'memcpy' call is the same expression as the source; did you mean to remove the addressof? [-Wsizeof-pointer-memaccess] memcpy(item, &service, sizeof(&service)); ^ pam_google_authenticator_unittest.c:84:33: warning: argument to 'sizeof' in 'memcpy' call is the same expression as the source; did you mean to remove the addressof? [-Wsizeof-pointer-memaccess] memcpy(item, &user, sizeof(&user)); ^ gcc -g -ldl -rdynamic -o pam_google_authenticator_unittest pam_google_authenticator_unittest.o base32.o hmac.o sha1.o -lc -ldl + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.73h5gQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/google-authenticator-1.0-0.gita096a62.el7.centos.5.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/google-authenticator-1.0-0.gita096a62.el7.centos.5.x86_64 ++ dirname /builddir/build/BUILDROOT/google-authenticator-1.0-0.gita096a62.el7.centos.5.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/google-authenticator-1.0-0.gita096a62.el7.centos.5.x86_64 + cd google-authenticator-1.0-gita096a62 + rm -rf /builddir/build/BUILDROOT/google-authenticator-1.0-0.gita096a62.el7.centos.5.x86_64 + cd libpam + mkdir -p /builddir/build/BUILDROOT/google-authenticator-1.0-0.gita096a62.el7.centos.5.x86_64/lib64/security + install -m0755 pam_google_authenticator.so /builddir/build/BUILDROOT/google-authenticator-1.0-0.gita096a62.el7.centos.5.x86_64/lib64/security/pam_google_authenticator.so + mkdir -p /builddir/build/BUILDROOT/google-authenticator-1.0-0.gita096a62.el7.centos.5.x86_64//usr/bin + install -m0755 google-authenticator /builddir/build/BUILDROOT/google-authenticator-1.0-0.gita096a62.el7.centos.5.x86_64//usr/bin/google-authenticator + /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/google-authenticator-1.0-gita096a62 extracting debug info from /builddir/build/BUILDROOT/google-authenticator-1.0-0.gita096a62.el7.centos.5.x86_64/usr/bin/google-authenticator extracting debug info from /builddir/build/BUILDROOT/google-authenticator-1.0-0.gita096a62.el7.centos.5.x86_64/lib64/security/pam_google_authenticator.so /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 181 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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.rt4IP8 + umask 022 + cd /builddir/build/BUILD + cd google-authenticator-1.0-gita096a62 + exit 0 Processing files: google-authenticator-1.0-0.gita096a62.el7.centos.5.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.NR8Zor + umask 022 + cd /builddir/build/BUILD + cd google-authenticator-1.0-gita096a62 + DOCDIR=/builddir/build/BUILDROOT/google-authenticator-1.0-0.gita096a62.el7.centos.5.x86_64/usr/share/doc/google-authenticator-1.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/google-authenticator-1.0-0.gita096a62.el7.centos.5.x86_64/usr/share/doc/google-authenticator-1.0 + cp -pr libpam/FILEFORMAT /builddir/build/BUILDROOT/google-authenticator-1.0-0.gita096a62.el7.centos.5.x86_64/usr/share/doc/google-authenticator-1.0 + cp -pr libpam/README /builddir/build/BUILDROOT/google-authenticator-1.0-0.gita096a62.el7.centos.5.x86_64/usr/share/doc/google-authenticator-1.0 + cp -pr libpam/totp.html /builddir/build/BUILDROOT/google-authenticator-1.0-0.gita096a62.el7.centos.5.x86_64/usr/share/doc/google-authenticator-1.0 + exit 0 Provides: google-authenticator = 1.0-0.gita096a62.el7.centos.5 google-authenticator(x86-64) = 1.0-0.gita096a62.el7.centos.5 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) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libpam.so.0()(64bit) libpam.so.0(LIBPAM_1.0)(64bit) rtld(GNU_HASH) Processing files: google-authenticator-debuginfo-1.0-0.gita096a62.el7.centos.5.x86_64 Provides: google-authenticator-debuginfo = 1.0-0.gita096a62.el7.centos.5 google-authenticator-debuginfo(x86-64) = 1.0-0.gita096a62.el7.centos.5 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/google-authenticator-1.0-0.gita096a62.el7.centos.5.x86_64 warning: Could not canonicalize hostname: copr-builder-262890987.novalocal Wrote: /builddir/build/RPMS/google-authenticator-1.0-0.gita096a62.el7.centos.5.x86_64.rpm Wrote: /builddir/build/RPMS/google-authenticator-debuginfo-1.0-0.gita096a62.el7.centos.5.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.bC98ln + umask 022 + cd /builddir/build/BUILD + cd google-authenticator-1.0-gita096a62 + /usr/bin/rm -rf /builddir/build/BUILDROOT/google-authenticator-1.0-0.gita096a62.el7.centos.5.x86_64 + exit 0 Child return code was: 0 LEAVE do -->