Mock Version: 1.4.11 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/moodle.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.uWSGdb:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '571ea190e9b14d80b5c890fb33eda8c7', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.uWSGdb:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/moodle.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: warning: bogus date in %changelog: Thu Aug 08 2016 Jonathan Dieter - 3.1-1-2 Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/moodle-3.1.13-2.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/moodle.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.uWSGdb:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '73be38f5945d4fa1b37e527647d89d8b', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.uWSGdb:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/moodle.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: warning: bogus date in %changelog: Thu Aug 08 2016 Jonathan Dieter - 3.1-1-2 Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Isj33t + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf moodle + /usr/bin/gzip -dc /builddir/build/SOURCES/moodle-3.1.13.tgz + /usr/bin/tar -xf - + 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 + echo 'Patch #1 (moodle-2.9-unbundle-tcpdf.patch):' 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 + 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.pT4zjl + 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.pZlyOc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386 + cd moodle + rm -rf /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386 + mkdir -p /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web + mkdir -p /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/data + cp -a CONTRIBUTING.txt COPYING.txt Gruntfile.js INSTALL.txt PULL_REQUEST_TEMPLATE.txt README-rpm README.txt TRADEMARK.txt admin auth availability backup badges behat.yml.dist blocks blog brokenfile.php cache calendar cohort comment competency completion composer.json composer.lock course dataformat 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 search tag tags.txt theme user userpix version.php webservice /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web + rm /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web/README-rpm /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web/README.txt + install -p -D -m 0644 /builddir/build/SOURCES/moodle.conf /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/etc/httpd/conf.d/moodle.conf + install -p -D -m 0644 /builddir/build/SOURCES/moodle-config.php /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web/config.php + install -p -D -m 0644 /builddir/build/SOURCES/moodle.cron /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/etc/cron.d/moodle + install -p -D -m 0755 /builddir/build/SOURCES/moodle-cron /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/usr/sbin/moodle-cron + install -p -D -m 0644 /builddir/build/SOURCES/moodle.service /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/usr/lib/systemd/system/moodle.service + find /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386 -name '*.mimetex-*' -exec rm '{}' ';' + rm -f /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/pix/.cvsignore + rm -rf /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web/lib/smarty + ln -s /usr/share/php/Smarty/ /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web/lib/smarty + rm -rf /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web/lib/adodb + ln -s /usr/share/php/adodb/ /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web/lib/adodb + rm -f /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web/lib/default.ttf + ln -s /usr/share/fonts/gnu-free/FreeSans.ttf /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web/lib/default.ttf + rm -rf /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web/lib/lessphp + ln -s /usr/share/php/lessphp/ /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web/lib/lessphp + rm -rf /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web/lib/google/src/Google + rm -f /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web/lib/google/autoload.php + ln -s /usr/share/php/Google/ /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web/lib/google/src/Google + rm -rf /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web/lib/jabber/XMPP /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web/lib/jabber/readme_moodle.txt + ln -s /usr/share/php/xmpphp/ /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web/lib/jabber/XMPP + rm -rf /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web/lib/password_compat/lib + ln -s /usr/share/php/password_compat/ /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web/lib/password_compat/lib + rm -rf /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web/auth/cas/CAS + ln -s /usr/share/pear/ /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web/auth/cas/CAS + rm -rf /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web/lib/markdown.php + ln -s /usr/share/php/markdown.php /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web/lib/markdown.php + rm -rf /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web/lib/pear/Auth/RADIUS.php + ln -s /usr/share/pear/Auth/RADIUS.php /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web/lib/pear/Auth/RADIUS.php + rm -rf /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web/lib/pear/Crypt/CHAP.php + ln -s /usr/share/pear/Crypt/CHAP.php /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web/lib/pear/Crypt/CHAP.php + rm -rf /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web/lib/pear/OLE + ln -s /usr/share/pear/OLE /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web/lib/pear/OLE + cp -p /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web/lib/simplepie/moodle_simplepie.php . + rm -rf /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web/lib/simplepie + mkdir -p /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/usr/share/php/php-simplepie + ln -s /usr/share/php/php-simplepie/ /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/var/www/moodle/web/simplepie + cp -p moodle_simplepie.php /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/usr/share/php/php-simplepie + rm -rf /builddir/build/BUILDROOT/moodle-3.1.13-2.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. BUILDSTDERR: 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.1.13-2.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.XzYL1d + umask 022 + cd /builddir/build/BUILD + cd moodle + DOCDIR=/builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/usr/share/doc/moodle-3.1.13 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/usr/share/doc/moodle-3.1.13 + cp -pr README-rpm README.txt /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/usr/share/doc/moodle-3.1.13 + cp -pr TRADEMARK.txt /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/usr/share/doc/moodle-3.1.13 + cp -pr local/readme.txt /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/usr/share/doc/moodle-3.1.13 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.u9rFhf + umask 022 + cd /builddir/build/BUILD + cd moodle + LICENSEDIR=/builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/usr/share/licenses/moodle-3.1.13 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/usr/share/licenses/moodle-3.1.13 + cp -pr COPYING.txt /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386/usr/share/licenses/moodle-3.1.13 + exit 0 BUILDSTDERR: warning: File listed twice: /var/www/moodle/web/config.php BUILDSTDERR: warning: File listed twice: /var/www/moodle/web/lib/adodb BUILDSTDERR: warning: File listed twice: /var/www/moodle/web/lib/smarty Provides: config(moodle) = 3.1.13-2.el7 moodle = 3.1.13-2.el7 perl(AlgParser) perl(AlgParserWithImplicitExpand) perl(Expr) perl(ExprWithImplicitExpand) Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(BuiltinLuaScripts) <= 4.2.2-1 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 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.1.13-2.el7.i386 Wrote: /builddir/build/RPMS/moodle-3.1.13-2.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.M2lxYd + umask 022 + cd /builddir/build/BUILD + cd moodle + /usr/bin/rm -rf /builddir/build/BUILDROOT/moodle-3.1.13-2.el7.i386 + exit 0 Child return code was: 0