Mock Version: 1.1.32 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/python-cups.spec'], False, '/srv/build/3/workerG/mock-root/c7.00.02-x86_64/root/', None, 21600, True, False, 502, 498, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/python-cups.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory warning: Could not canonicalize hostname: b18.bsys.dev.centos.org Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-cups-1.9.63-6.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/python-cups.spec'], False, '/srv/build/3/workerG/mock-root/c7.00.02-x86_64/root/', None, 21600, True, False, 502, 498, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/python-cups.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TlM7sf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pycups-1.9.63 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/pycups-1.9.63.tar.bz2 + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd pycups-1.9.63 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (python-cups-uris.patch):' Patch #1 (python-cups-uris.patch): + /usr/bin/cat /builddir/build/SOURCES/python-cups-uris.patch + /usr/bin/patch -p1 -b --suffix .uris --fuzz=0 patching file cupsconnection.c Patch #2 (python-cups-decoding.patch): + echo 'Patch #2 (python-cups-decoding.patch):' + /usr/bin/cat /builddir/build/SOURCES/python-cups-decoding.patch + /usr/bin/patch -p1 -b --suffix .decoding --fuzz=0 patching file cupsconnection.c Patch #3 (python-cups-booleans.patch): + echo 'Patch #3 (python-cups-booleans.patch):' + /usr/bin/cat /builddir/build/SOURCES/python-cups-booleans.patch + /usr/bin/patch -p1 -b --suffix .booleans --fuzz=0 patching file cupsconnection.c Hunk #1 succeeded at 616 (offset -25 lines). + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lMSRue + umask 022 + cd /builddir/build/BUILD + cd pycups-1.9.63 + 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 -fno-strict-aliasing' python setup.py build running build running build_ext building 'cups' extension creating build creating build/temp.linux-x86_64-2.7 gcc -pthread -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 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -DVERSION="1.9.63" -I/usr/include/python2.7 -c cupsmodule.c -o build/temp.linux-x86_64-2.7/cupsmodule.o cupsmodule.c: In function 'cups_ppdSetConformance': cupsmodule.c:564:3: warning: 'ppdSetConformance' is deprecated (declared at /usr/include/cups/ppd.h:414) [-Wdeprecated-declarations] ppdSetConformance (level); ^ gcc -pthread -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 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -DVERSION="1.9.63" -I/usr/include/python2.7 -c cupsconnection.c -o build/temp.linux-x86_64-2.7/cupsconnection.o cupsconnection.c: In function 'Connection_adminExportSamba': cupsconnection.c:3791:3: warning: 'cupsAdminCreateWindowsPPD' is deprecated (declared at /usr/include/cups/adminutil.h:59) [-Wdeprecated-declarations] if (!cupsAdminCreateWindowsPPD(self->http, name, ppdfile, sizeof(ppdfile))) { ^ cupsconnection.c:3800:3: warning: 'cupsAdminExportSamba' is deprecated (declared at /usr/include/cups/adminutil.h:54) [-Wdeprecated-declarations] ret = cupsAdminExportSamba(name, ppdfile, server, user, password, tf); ^ gcc -pthread -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 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -DVERSION="1.9.63" -I/usr/include/python2.7 -c cupsppd.c -o build/temp.linux-x86_64-2.7/cupsppd.o cupsppd.c: In function 'PPD_localize': cupsppd.c:262:3: warning: 'ppdLocalize' is deprecated (declared at /usr/include/cups/ppd.h:434) [-Wdeprecated-declarations] if (!ppdLocalize (self->ppd)) ^ cupsppd.c: In function 'PPD_localizeIPPReason': cupsppd.c:282:3: warning: 'ppdLocalizeIPPReason' is deprecated (declared at /usr/include/cups/ppd.h:438) [-Wdeprecated-declarations] if (ppdLocalizeIPPReason (self->ppd, reason, scheme, buffer, bufsize)) ^ cupsppd.c: In function 'PPD_localizeMarkerName': cupsppd.c:305:3: warning: 'ppdLocalizeMarkerName' is deprecated (declared at /usr/include/cups/ppd.h:461) [-Wdeprecated-declarations] lname = ppdLocalizeMarkerName (self->ppd, name); ^ cupsppd.c: In function 'PPD_findAttr': cupsppd.c:408:3: warning: 'ppdFindAttr' is deprecated (declared at /usr/include/cups/ppd.h:407) [-Wdeprecated-declarations] attr = ppdFindAttr (self->ppd, name, spec); ^ cupsppd.c: In function 'PPD_findNextAttr': cupsppd.c:441:3: warning: 'ppdFindNextAttr' is deprecated (declared at /usr/include/cups/ppd.h:409) [-Wdeprecated-declarations] attr = ppdFindNextAttr (self->ppd, name, spec); ^ cupsppd.c: In function 'PPD_emitString': cupsppd.c:550:3: warning: 'ppdEmitString' is deprecated (declared at /usr/include/cups/ppd.h:424) [-Wdeprecated-declarations] emitted = ppdEmitString(self->ppd, section, min_order); ^ cupsppd.c: In function 'PPD_emitAfterOrder': cupsppd.c:606:3: warning: 'ppdEmitAfterOrder' is deprecated (declared at /usr/include/cups/ppd.h:420) [-Wdeprecated-declarations] if (!ppdEmitAfterOrder(self->ppd, f, section, limit, min_order)) ^ cupsppd.c: In function 'PPD_emitJCLEnd': cupsppd.c:671:3: warning: 'ppdEmitJCLEnd' is deprecated (declared at /usr/include/cups/ppd.h:423) [-Wdeprecated-declarations] if (!ppdEmitJCLEnd(self->ppd, f)) ^ gcc -pthread -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 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -DVERSION="1.9.63" -I/usr/include/python2.7 -c cupsipp.c -o build/temp.linux-x86_64-2.7/cupsipp.o creating build/lib.linux-x86_64-2.7 gcc -pthread -shared -Wl,-z,relro -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing build/temp.linux-x86_64-2.7/cupsmodule.o build/temp.linux-x86_64-2.7/cupsconnection.o build/temp.linux-x86_64-2.7/cupsppd.o build/temp.linux-x86_64-2.7/cupsipp.o -L/usr/lib64 -lcups -lpython2.7 -o build/lib.linux-x86_64-2.7/cups.so ln -sf build/lib*/cups.so . + make doc python setup.py build running build running build_ext ln -sf build/lib*/cups.so . rm -rf html epydoc -o html --html cups.so [.........................................................................] Warning: 1 markup error was found while processing docstrings. Use the verbose switch (-v) to display markup errors. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Bw0a8l + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-cups-1.9.63-6.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-cups-1.9.63-6.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/python-cups-1.9.63-6.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-cups-1.9.63-6.el7.x86_64 + cd pycups-1.9.63 + make install DESTDIR=/builddir/build/BUILDROOT/python-cups-1.9.63-6.el7.x86_64 if [ -n "/usr/lib/rpm" ]; then \ RPMCONFIG="$DESTDIR/usr/lib/rpm" ; \ mkdir -p "$RPMCONFIG"/fileattrs ; \ install -m0644 psdriver.attr "$RPMCONFIG"/fileattrs/ ; \ install -m0755 postscriptdriver.prov "$RPMCONFIG"/ ; \ fi ROOT= ; \ if [ -n "$DESTDIR" ]; then ROOT="--root $DESTDIR"; fi; \ python setup.py install --skip-build $ROOT running install running install_lib creating /builddir/build/BUILDROOT/python-cups-1.9.63-6.el7.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/python-cups-1.9.63-6.el7.x86_64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/python-cups-1.9.63-6.el7.x86_64/usr/lib64/python2.7/site-packages copying build/lib.linux-x86_64-2.7/cups.so -> /builddir/build/BUILDROOT/python-cups-1.9.63-6.el7.x86_64/usr/lib64/python2.7/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/python-cups-1.9.63-6.el7.x86_64/usr/lib64/python2.7/site-packages/pycups-1.9.63-py2.7.egg-info + /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/pycups-1.9.63 extracting debug info from /builddir/build/BUILDROOT/python-cups-1.9.63-6.el7.x86_64/usr/lib64/python2.7/site-packages/cups.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 508 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 Bytecompiling .py files below /builddir/build/BUILDROOT/python-cups-1.9.63-6.el7.x86_64/usr/lib64/python2.7/ using /usr/bin/python2.7 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: python-cups-1.9.63-6.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3j89Au + umask 022 + cd /builddir/build/BUILD + cd pycups-1.9.63 + DOCDIR=/builddir/build/BUILDROOT/python-cups-1.9.63-6.el7.x86_64/usr/share/doc/python-cups-1.9.63 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-cups-1.9.63-6.el7.x86_64/usr/share/doc/python-cups-1.9.63 + cp -pr COPYING /builddir/build/BUILDROOT/python-cups-1.9.63-6.el7.x86_64/usr/share/doc/python-cups-1.9.63 + cp -pr ChangeLog /builddir/build/BUILDROOT/python-cups-1.9.63-6.el7.x86_64/usr/share/doc/python-cups-1.9.63 + cp -pr README /builddir/build/BUILDROOT/python-cups-1.9.63-6.el7.x86_64/usr/share/doc/python-cups-1.9.63 + cp -pr NEWS /builddir/build/BUILDROOT/python-cups-1.9.63-6.el7.x86_64/usr/share/doc/python-cups-1.9.63 + cp -pr TODO /builddir/build/BUILDROOT/python-cups-1.9.63-6.el7.x86_64/usr/share/doc/python-cups-1.9.63 + exit 0 Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/python2.7/site-packages/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /bin/sh -c " while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u " Provides: python-cups = 1.9.63-6.el7 python-cups(x86-64) = 1.9.63-6.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-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.3)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcups.so.2()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpython2.7.so.1.0()(64bit) python(abi) = 2.7 rtld(GNU_HASH) /usr/bin/python Processing files: python-cups-doc-1.9.63-6.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.jVahaE + umask 022 + cd /builddir/build/BUILD + cd pycups-1.9.63 + DOCDIR=/builddir/build/BUILDROOT/python-cups-1.9.63-6.el7.x86_64/usr/share/doc/python-cups-doc-1.9.63 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-cups-1.9.63-6.el7.x86_64/usr/share/doc/python-cups-doc-1.9.63 + cp -pr examples /builddir/build/BUILDROOT/python-cups-1.9.63-6.el7.x86_64/usr/share/doc/python-cups-doc-1.9.63 + cp -pr html /builddir/build/BUILDROOT/python-cups-1.9.63-6.el7.x86_64/usr/share/doc/python-cups-doc-1.9.63 + exit 0 Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/python2.7/site-packages/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /bin/sh -c " while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u " Provides: python-cups-doc = 1.9.63-6.el7 python-cups-doc(x86-64) = 1.9.63-6.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Requires: /usr/bin/python Processing files: python-cups-debuginfo-1.9.63-6.el7.x86_64 Provides: python-cups-debuginfo = 1.9.63-6.el7 python-cups-debuginfo(x86-64) = 1.9.63-6.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/python-cups-1.9.63-6.el7.x86_64 Wrote: /builddir/build/RPMS/python-cups-1.9.63-6.el7.x86_64.rpm Wrote: /builddir/build/RPMS/python-cups-doc-1.9.63-6.el7.x86_64.rpm Wrote: /builddir/build/RPMS/python-cups-debuginfo-1.9.63-6.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.93WF0p + umask 022 + cd /builddir/build/BUILD + cd pycups-1.9.63 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-cups-1.9.63-6.el7.x86_64 + exit 0 Child return code was: 0 LEAVE do -->