Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/php-bartlett-PHP-Reflect.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-4f9886b1096c4c589e13c3c905fe6c6583d5cde8/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=996) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/php-bartlett-PHP-Reflect.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: noarch Building for target noarch Wrote: /builddir/build/SRPMS/php-bartlett-PHP-Reflect-4.0.0-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/php-bartlett-PHP-Reflect.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-4f9886b1096c4c589e13c3c905fe6c6583d5cde8/root'shell=Falseuid=996env={'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=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/php-bartlett-PHP-Reflect.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: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zkyQ2e + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php-reflect-e8da05ee5d7469f8a48d6d28ed0bcd8eaf8ef79e + /usr/bin/gzip -dc /builddir/build/SOURCES/php-reflect-4.0.0-e8da05e.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd php-reflect-e8da05ee5d7469f8a48d6d28ed0bcd8eaf8ef79e + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (php-bartlett-PHP-Reflect-4.0.0-rpm.patch): + echo 'Patch #0 (php-bartlett-PHP-Reflect-4.0.0-rpm.patch):' + /usr/bin/cat /builddir/build/SOURCES/php-bartlett-PHP-Reflect-4.0.0-rpm.patch + /usr/bin/patch -p1 -b --suffix .rpm --fuzz=0 patching file bin/phpreflect.json.dist patching file bin/phpreflect patching file src/Bartlett/Reflect/Console/Application.php patching file tests/bootstrap.php patching file tests/Environment/YourLogger.php + cp /builddir/build/SOURCES/php-bartlett-PHP-Reflect-autoload.php src/Bartlett/Reflect/autoload.php ++ find src -name '*.php' + sed -e s/@package_version@/4.0.0/ -i src/Bartlett/Reflect/Api/Plugin.php src/Bartlett/Reflect/Api/V3/Plugin.php src/Bartlett/Reflect/Api/V3/Diagram.php src/Bartlett/Reflect/Api/V3/Diagnose.php src/Bartlett/Reflect/Api/V3/Reflection.php src/Bartlett/Reflect/Api/V3/Config.php src/Bartlett/Reflect/Api/V3/Common.php src/Bartlett/Reflect/Api/V3/Cache.php src/Bartlett/Reflect/Api/V3/Analyser.php src/Bartlett/Reflect/Api/Diagram.php src/Bartlett/Reflect/Api/Diagnose.php src/Bartlett/Reflect/Api/Reflection.php src/Bartlett/Reflect/Api/Config.php src/Bartlett/Reflect/Api/BaseApi.php src/Bartlett/Reflect/Api/Cache.php src/Bartlett/Reflect/Api/Analyser.php src/Bartlett/Reflect/Util/Timer.php src/Bartlett/Reflect/Events.php src/Bartlett/Reflect/PhpParser/NodeProcessor.php src/Bartlett/Reflect/PhpParser/NodeProcessorAbstract.php src/Bartlett/Reflect/autoload.php src/Bartlett/Reflect/Environment.php src/Bartlett/Reflect/Visitor/VisitorInterface.php src/Bartlett/Reflect/Collection/ReflectionCollection.php src/Bartlett/Reflect/Sniffer/SniffAbstract.php src/Bartlett/Reflect/Sniffer/SniffInterface.php src/Bartlett/Reflect/Model/ConstantModel.php src/Bartlett/Reflect/Model/ParameterModel.php src/Bartlett/Reflect/Model/AbstractModel.php src/Bartlett/Reflect/Model/AbstractFunctionModel.php src/Bartlett/Reflect/Model/ClassModel.php src/Bartlett/Reflect/Model/FunctionModel.php src/Bartlett/Reflect/Model/MethodModel.php src/Bartlett/Reflect/Model/PropertyModel.php src/Bartlett/Reflect/Analyser/AbstractAnalyser.php src/Bartlett/Reflect/Analyser/LocAnalyser.php src/Bartlett/Reflect/Analyser/ReflectionAnalyser.php src/Bartlett/Reflect/Analyser/AnalyserInterface.php src/Bartlett/Reflect/Analyser/AbstractSniffAnalyser.php src/Bartlett/Reflect/Analyser/StructureAnalyser.php src/Bartlett/Reflect/Analyser/AnalyserManager.php src/Bartlett/Reflect/Exception/ModelException.php src/Bartlett/Reflect/Exception/Exception.php src/Bartlett/Reflect/Plugin/LogPlugin.php src/Bartlett/Reflect/Plugin/PluginInterface.php src/Bartlett/Reflect/Plugin/PluginManager.php src/Bartlett/Reflect/Plugin/NotifierPlugin.php src/Bartlett/Reflect/Plugin/CachePlugin.php src/Bartlett/Reflect/Plugin/Log/DefaultLogger.php src/Bartlett/Reflect/Plugin/ProfilerPlugin.php src/Bartlett/Reflect/Plugin/Cache/CacheAdapterInterface.php src/Bartlett/Reflect/Plugin/Cache/DoctrineCacheAdapter.php src/Bartlett/Reflect/Plugin/Cache/CacheStorageInterface.php src/Bartlett/Reflect/Plugin/Cache/DefaultCacheStorage.php src/Bartlett/Reflect/Plugin/Notifier/NotifierInterface.php src/Bartlett/Reflect/Plugin/Notifier/GrowlNotifier.php src/Bartlett/Reflect/Event/DispatcherInterface.php src/Bartlett/Reflect/Event/CacheAwareEventDispatcher.php src/Bartlett/Reflect/Event/AbstractDispatcher.php src/Bartlett/Reflect/Output/Plugin.php src/Bartlett/Reflect/Output/Diagram.php src/Bartlett/Reflect/Output/Diagnose.php src/Bartlett/Reflect/Output/Reflection.php src/Bartlett/Reflect/Output/Config.php src/Bartlett/Reflect/Output/Cache.php src/Bartlett/Reflect/Output/Analyser.php src/Bartlett/Reflect/Console/Application.php src/Bartlett/Reflect/Console/CommandFactory.php src/Bartlett/Reflect/Console/Formatter/LocOutputFormatter.php src/Bartlett/Reflect/Console/Formatter/StructureOutputFormatter.php src/Bartlett/Reflect/Console/Formatter/OutputFormatter.php src/Bartlett/Reflect/Console/Command.php src/Bartlett/Reflect/Client/LocalClient.php src/Bartlett/Reflect/Client/ClientInterface.php src/Bartlett/Reflect/Client.php src/Bartlett/Reflect/Tokenizer/DefaultTokenizer.php src/Bartlett/Reflect/MonologConsoleLogger.php src/Bartlett/Reflect.php bin/phpreflect + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.P6PehO + umask 022 + cd /builddir/build/BUILD + cd php-reflect-e8da05ee5d7469f8a48d6d28ed0bcd8eaf8ef79e Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.DK0l1q + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/php-bartlett-PHP-Reflect-4.0.0-1.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/php-bartlett-PHP-Reflect-4.0.0-1.el7.noarch ++ dirname /builddir/build/BUILDROOT/php-bartlett-PHP-Reflect-4.0.0-1.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/php-bartlett-PHP-Reflect-4.0.0-1.el7.noarch + cd php-reflect-e8da05ee5d7469f8a48d6d28ed0bcd8eaf8ef79e + mkdir -p /builddir/build/BUILDROOT/php-bartlett-PHP-Reflect-4.0.0-1.el7.noarch/usr/share/php + cp -pr src/Bartlett /builddir/build/BUILDROOT/php-bartlett-PHP-Reflect-4.0.0-1.el7.noarch/usr/share/php/Bartlett + install -D -p -m 755 bin/phpreflect /builddir/build/BUILDROOT/php-bartlett-PHP-Reflect-4.0.0-1.el7.noarch/usr/bin/phpreflect + install -D -p -m 644 bin/phpreflect.json.dist /builddir/build/BUILDROOT/php-bartlett-PHP-Reflect-4.0.0-1.el7.noarch/etc/phpreflect.json + install -D -p -m 644 bin/phpreflect.1 /builddir/build/BUILDROOT/php-bartlett-PHP-Reflect-4.0.0-1.el7.noarch/usr/share/man/man1/phpreflect.1 + /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/php-reflect-e8da05ee5d7469f8a48d6d28ed0bcd8eaf8ef79e /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.KuFMgM + umask 022 + cd /builddir/build/BUILD + cd php-reflect-e8da05ee5d7469f8a48d6d28ed0bcd8eaf8ef79e + /usr/bin/phpunit --include-path=/builddir/build/BUILDROOT/php-bartlett-PHP-Reflect-4.0.0-1.el7.noarch/usr/share/php --verbose PHP Warning: require_once(/usr/share/php/PhpParser/Autoloader.php): failed to open stream: No such file or directory in /builddir/build/BUILDROOT/php-bartlett-PHP-Reflect-4.0.0-1.el7.noarch/usr/share/php/Bartlett/Reflect/autoload.php on line 25 PHP Fatal error: require_once(): Failed opening required '/usr/share/php/PhpParser/Autoloader.php' (include_path='/builddir/build/BUILDROOT/php-bartlett-PHP-Reflect-4.0.0-1.el7.noarch/usr/share/php:.:/usr/share/pear:/usr/share/php') in /builddir/build/BUILDROOT/php-bartlett-PHP-Reflect-4.0.0-1.el7.noarch/usr/share/php/Bartlett/Reflect/autoload.php on line 25 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.KuFMgM (%check) Bad exit status from /var/tmp/rpm-tmp.KuFMgM (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/php-bartlett-PHP-Reflect.spec