Mock Version: 1.2.21 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libnfsidmap-mnsswitch.spec'], printOutput=Falsegid=135user='mockbuild'timeout=0chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-4551/root'logger=uid=1001shell=Falseenv={'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'HOSTNAME': 'mock'}) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libnfsidmap-mnsswitch.spec'] with env {'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'HOSTNAME': 'mock'} and shell False warning: Could not canonicalize hostname: copr-builder-763026254.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/libnfsidmap-mnsswitch-0.25-2.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libnfsidmap-mnsswitch.spec'], printOutput=Falsegid=135user='mockbuild'timeout=0chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-4551/root'logger=private_network=Trueuid=1001shell=Falseenv={'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'HOSTNAME': 'mock'}) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libnfsidmap-mnsswitch.spec'] with env {'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0CMauF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libnfsidmap-0.25 + /usr/bin/gzip -dc /builddir/build/SOURCES/libnfsidmap-0.25.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd libnfsidmap-0.25 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -a /builddir/build/SOURCES/mnss.c ./ Patch #1 (40-DU-mnssfix.patch): + echo 'Patch #1 (40-DU-mnssfix.patch):' + /usr/bin/cat /builddir/build/SOURCES/40-DU-mnssfix.patch + /usr/bin/patch -p1 --fuzz=0 patching file mnss.c + echo 'Patch #2 (50-DU-mnsslog.patch):' Patch #2 (50-DU-mnsslog.patch): + /usr/bin/cat /builddir/build/SOURCES/50-DU-mnsslog.patch + /usr/bin/patch -p1 --fuzz=0 patching file mnss.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bpKZmh + umask 022 + cd /builddir/build/BUILD + cd libnfsidmap-0.25 + gcc -c -o mnss.o mnss.c -O2 -Wall -fPIC -D__REENTRANT mnss.c: In function 'mnss_gss_princ_to_ids': mnss.c:335:6: warning: unused variable 'err' [-Wunused-variable] int err = 0; ^ mnss.c:334:17: warning: unused variable 'pw' [-Wunused-variable] struct passwd *pw; ^ mnss.c: In function 'mnss_gss_princ_to_grouplist': mnss.c:357:2: warning: pointer targets in passing argument 2 of 'find_gid' differ in signedness [-Wpointer-sign] if(find_gid(princ, &gid)==-ENOENT) ^ mnss.c:225:12: note: expected 'gid_t *' but argument is of type 'int *' static int find_gid(char *name, gid_t *gid) ^ + gcc -O2 -Wall -fPIC -o mnsswitch.so -shared -Wl,-Bdynamic mnss.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7N9SAT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libnfsidmap-mnsswitch-0.25-2.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libnfsidmap-mnsswitch-0.25-2.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/libnfsidmap-mnsswitch-0.25-2.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libnfsidmap-mnsswitch-0.25-2.el7.centos.x86_64 + cd libnfsidmap-0.25 + rm -rf /builddir/build/BUILDROOT/libnfsidmap-mnsswitch-0.25-2.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT/libnfsidmap-mnsswitch-0.25-2.el7.centos.x86_64//lib64/libnfsidmap/ + cp mnsswitch.so /builddir/build/BUILDROOT/libnfsidmap-mnsswitch-0.25-2.el7.centos.x86_64//lib64/libnfsidmap/ + /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/libnfsidmap-0.25 extracting debug info from /builddir/build/BUILDROOT/libnfsidmap-mnsswitch-0.25-2.el7.centos.x86_64/lib64/libnfsidmap/mnsswitch.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 1 CRC32s did match. + /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: libnfsidmap-mnsswitch-0.25-2.el7.centos.x86_64 Provides: libnfsidmap-mnsswitch = 0.25-2.el7.centos libnfsidmap-mnsswitch(x86-64) = 0.25-2.el7.centos 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.2.5)(64bit) rtld(GNU_HASH) Processing files: libnfsidmap-mnsswitch-debuginfo-0.25-2.el7.centos.x86_64 Provides: libnfsidmap-mnsswitch-debuginfo = 0.25-2.el7.centos libnfsidmap-mnsswitch-debuginfo(x86-64) = 0.25-2.el7.centos 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/libnfsidmap-mnsswitch-0.25-2.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-763026254.novalocal Wrote: /builddir/build/RPMS/libnfsidmap-mnsswitch-0.25-2.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/libnfsidmap-mnsswitch-debuginfo-0.25-2.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.wn488K + umask 022 + cd /builddir/build/BUILD + cd libnfsidmap-0.25 + rm -rf /builddir/build/BUILDROOT/libnfsidmap-mnsswitch-0.25-2.el7.centos.x86_64 + exit 0 Child return code was: 0