Mock Version: 1.2.14 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ruby-augeas.spec'], uid=7225chrootPath='/scratch/mock/epel-5-x86_64-14952/root'env={'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'CCACHE_UMASK': '002', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'CCACHE_DIR': '/tmp/ccache', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8'}printOutput=Falseshell=Falsetimeout=0user='mockbuild'gid=135logger=) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ruby-augeas.spec'] with env {'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'CCACHE_UMASK': '002', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'CCACHE_DIR': '/tmp/ccache', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8'} and shell False sh: ruby: command not found sh: ruby: command not found sh: ruby: command not found sh: ruby: command not found sh: ruby: command not found sh: ruby: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ruby-augeas-0.4.1-1.el5.centos.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ruby-augeas.spec '], private_network=Trueuid=7225chrootPath='/scratch/mock/epel-5-x86_64-14952/root'env={'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'CCACHE_UMASK': '002', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'CCACHE_DIR': '/tmp/ccache', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8'}printOutput=Falseshell=Falsetimeout=0user='mockbuild'gid=135logger=) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ruby-augeas.spec '] with env {'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'CCACHE_UMASK': '002', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'CCACHE_DIR': '/tmp/ccache', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.55565 + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf ruby-augeas-0.4.1 + /bin/gzip -dc /builddir/build/SOURCES/ruby-augeas-0.4.1.tgz + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd ruby-augeas-0.4.1 ++ /usr/bin/id -u + '[' 7225 = 0 ']' ++ /usr/bin/id -u + '[' 7225 = 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.55565 + umask 022 + cd /builddir/build/BUILD + cd ruby-augeas-0.4.1 + LANG=C + export LANG + unset DISPLAY + export 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + rake build (in /builddir/build/BUILD/ruby-augeas-0.4.1) ruby extconf.rb *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/bin/ruby --with-augeas-config --without-augeas-config --with-pkg-config --without-pkg-config rake aborted! Command failed with status (1): [ruby extconf.rb...] /builddir/build/BUILD/ruby-augeas-0.4.1/Rakefile:38 (See full trace by running task with --trace) RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.55565 (%build) Bad exit status from /var/tmp/rpm-tmp.55565 (%build) Child return code was: 1 EXCEPTION: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ruby-augeas.spec Traceback (most recent call last): File "/usr/lib/python3.4/site-packages/mockbuild/trace_decorator.py", line 84, in trace result = func(*args, **kw) File "/usr/lib/python3.4/site-packages/mockbuild/util.py", line 526, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) mockbuild.exception.Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ruby-augeas.spec LEAVE do --> EXCEPTION RAISED