Mock Version: 1.2.14 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/moodle.spec'], chrootPath='/srv/build/7/B/mock-root/c7-epel-i686/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB', '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=21600logger=uid=501) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/moodle.spec'] with env {'LANG': 'en_GB', '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: worker1.bsys.centos.org Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/moodle-3.0.3-1.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/moodle.spec '], chrootPath='/srv/build/7/B/mock-root/c7-epel-i686/root'shell=Falseuid=501env={'LANG': 'en_GB', '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=21600private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/moodle.spec '] with env {'LANG': 'en_GB', '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: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GeXoNT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf moodle + /usr/bin/tar -xf - + /usr/bin/gzip -dc /builddir/build/SOURCES/moodle-3.0.3.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd moodle + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/moodle-README-rpm README-rpm Patch #1 (moodle-2.9-unbundle-tcpdf.patch): + echo 'Patch #1 (moodle-2.9-unbundle-tcpdf.patch):' + /usr/bin/cat /builddir/build/SOURCES/moodle-2.9-unbundle-tcpdf.patch + /usr/bin/patch -p1 --fuzz=0 patching file lib/pdflib.php Patch #2 (moodle-QuickForm.patch): + echo 'Patch #2 (moodle-QuickForm.patch):' + /usr/bin/cat /builddir/build/SOURCES/moodle-QuickForm.patch + /usr/bin/patch -p0 --fuzz=0 patching file lib/formslib.php + find . -type f '!' -name '*.pl' -exec chmod a-x '{}' ';' + find . -name '*.cgi' -exec chmod a+x '{}' ';' + chmod a+x admin/process_email.php + chmod a+x mod/chat/chatd.php + sed -i 's/\r//' lib/adodb/license.txt + sed -i 's/\r//' lib/adodb/readme.txt + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.B6gH3U + umask 022 + cd /builddir/build/BUILD + cd moodle + rm config-dist.php install.php filter/tex/mimetex.darwin filter/tex/mimetex.exe filter/tex/mimetex.freebsd filter/tex/mimetex.linux filter/tex/README.mimetex + rm lib/phpmailer/language/phpmailer.lang-fo.php + find . -type f -name '*.swf' + xargs rm -f + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LuH2wW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386 ++ dirname /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386 + cd moodle + rm -rf /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386 + mkdir -p /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web + mkdir -p /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/data + cp -a COPYING.txt Gruntfile.js README-rpm README.txt TRADEMARK.txt admin auth availability backup badges behat.yml.dist blocks blog brokenfile.php cache calendar cohort comment completion composer.json composer.lock course draftfile.php enrol error file.php files filter githash.php grade group help.php help_ajax.php index.php install iplookup lang lib local login message mnet mod my notes npm-shrinkwrap.json package.json phpunit.xml.dist pix plagiarism pluginfile.php portfolio question rating report repository rss tag tags.txt theme user userpix version.php webservice /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web + rm /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/README-rpm /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/README.txt + install -p -D -m 0644 /builddir/build/SOURCES/moodle.conf /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/etc/httpd/conf.d/moodle.conf + install -p -D -m 0644 /builddir/build/SOURCES/moodle-config.php /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/config.php + install -p -D -m 0644 /builddir/build/SOURCES/moodle.cron /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/etc/cron.d/moodle + install -p -D -m 0755 /builddir/build/SOURCES/moodle-cron /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/usr/sbin/moodle-cron + install -p -D -m 0644 /builddir/build/SOURCES/moodle.service /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/usr/lib/systemd/system/moodle.service + find /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386 -name '*.mimetex-*' -exec rm '{}' ';' + rm -f /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/pix/.cvsignore + rm -rf /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/smarty + ln -s /usr/share/php/Smarty/ /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/smarty + rm -rf /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/adodb + ln -s /usr/share/php/adodb/ /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/adodb + rm -f /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/default.ttf + ln -s /usr/share/fonts/gnu-free/FreeSans.ttf /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/default.ttf + rm -rf /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/lessphp + ln -s /usr/share/php/lessphp/ /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/lessphp + rm -rf /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/google + ln -s /usr/share/php/Google/ /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/google + rm -rf /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/jabber/XMPP /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/jabber/readme_moodle.txt + ln -s /usr/share/php/xmpphp/ /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/jabber/XMPP + rm -rf /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/password_compat/lib + ln -s /usr/share/php/password_compat/ /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/password_compat/lib + rm -rf /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/auth/cas/CAS + ln -s /usr/share/pear/ /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/auth/cas/CAS + rm -rf /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/markdown.php + ln -s /usr/share/php/markdown.php /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/markdown.php + rm -rf /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/pear/Auth/RADIUS.php + ln -s /usr/share/pear/Auth/RADIUS.php /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/pear/Auth/RADIUS.php + rm -rf /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/pear/Crypt/CHAP.php + ln -s /usr/share/pear/Crypt/CHAP.php /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/pear/Crypt/CHAP.php + rm -rf /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/pear/HTML/Common.php + ln -s /usr/share/pear/HTML/Common.php /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/pear/HTML/Common.php + mv /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/pear/HTML/QuickForm/DHTMLRulesTableless.php /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/pear/ + mv /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/pear/HTML/QuickForm/Renderer/Tableless.php /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/pear/ + rm -rf /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/pear/HTML/QuickForm /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/pear/HTML/QuickForm.php + ln -s /usr/share/pear/HTML/QuickForm /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/pear/HTML/QuickForm + ln -s /usr/share/pear/HTML/QuickForm.php /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/pear/HTML/QuickForm.php + rm -rf /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/pear/OLE + ln -s /usr/share/pear/OLE /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/pear/OLE + cp -p /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/simplepie/moodle_simplepie.php . + rm -rf /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/simplepie + mkdir -p /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/usr/share/php/simplepie + cp -p moodle_simplepie.php /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/usr/share/php/simplepie + rm -rf /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/zend/Zend /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/zend/readme_moodle.txt + ln -s /usr/share/php/Zend/ /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/zend/Zend + rm -rf /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/var/www/moodle/web/lib/tcpdf + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/moodle /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. find: 'debug': No such file or directory + /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: moodle-3.0.3-1.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4L1Ob8 + umask 022 + cd /builddir/build/BUILD + cd moodle + DOCDIR=/builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/usr/share/doc/moodle-3.0.3 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/usr/share/doc/moodle-3.0.3 + cp -pr README-rpm README.txt /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/usr/share/doc/moodle-3.0.3 + cp -pr TRADEMARK.txt /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/usr/share/doc/moodle-3.0.3 + cp -pr local/readme.txt /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/usr/share/doc/moodle-3.0.3 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.x4F5Rj + umask 022 + cd /builddir/build/BUILD + cd moodle + LICENSEDIR=/builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/usr/share/licenses/moodle-3.0.3 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/usr/share/licenses/moodle-3.0.3 + cp -pr COPYING.txt /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386/usr/share/licenses/moodle-3.0.3 + exit 0 warning: File listed twice: /var/www/moodle/web/config.php warning: File listed twice: /var/www/moodle/web/lib/adodb warning: File listed twice: /var/www/moodle/web/lib/smarty Provides: config(moodle) = 3.0.3-1.el7 moodle = 3.0.3-1.el7 perl(AlgParser) perl(AlgParserWithImplicitExpand) perl(Expr) perl(ExprWithImplicitExpand) Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: /bin/sh /usr/bin/perl /usr/bin/php perl(HTML::Entities) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386 Wrote: /builddir/build/RPMS/moodle-3.0.3-1.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.s1rInT + umask 022 + cd /builddir/build/BUILD + cd moodle + /usr/bin/rm -rf /builddir/build/BUILDROOT/moodle-3.0.3-1.el7.i386 + exit 0 Child return code was: 0 LEAVE do -->