Version-Release number of selected component: mock-1.1.33-1.fc19 Additional info: reporter: libreport-2.1.6 cmdline: /usr/bin/python -tt /sbin/mock -r fedora-19-x86_64 --shell 'yum install -y /tmp/openssl*rpm' dso_list: python-libs-2.7.5-4.fc19.x86_64 executable: /sbin/mock kernel: 3.10.10-200.fc19.x86_64 runlevel: N 5 type: Python uid: 0 Truncated backtrace: subprocess.py:1308:_execute_child:OSError: [Errno 2] No such file or directory Traceback (most recent call last): File "/sbin/mock", line 305, in <module> def do_buildsrpm(config_opts, chroot, options, args): File "/sbin/mock", line 571, in main sys.exit(chroot.shell(options, cmd)) File "/usr/lib/python2.7/site-packages/mockbuild/backend.py", line 764, in shell cmd=cmd) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 411, in doshell return subprocess.call(cmdstr, preexec_fn=preexec, env=environ, shell=True) File "/usr/lib64/python2.7/subprocess.py", line 524, in call return Popen(*popenargs, **kwargs).wait() File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__ errread, errwrite) File "/usr/lib64/python2.7/subprocess.py", line 1308, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory Local variables in innermost frame: errread: None c2pread: None gc_was_enabled: True errwrite: None shell: True errpipe_write: 6 executable: '/bin/sh' close_fds: False self: <subprocess.Popen object at 0x2086510> env: {'LANG': 'es_ES.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} cwd: None child_exception: OSError(2, 'No such file or directory') args: ['/bin/sh', '-c', '/bin/bash -c "yum install -y /tmp/openssl*rpm"'] c2pwrite: None data: 'cexceptions\nOSError\np0\n(I2\nS\'No such file or directory\'\np1\ntp2\nRp3\n(dp4\nS\'child_traceback\'\np5\nS\'Traceback (most recent call last):\\n File "/usr/lib64/python2.7/subprocess.py", line 1265, in _execute_child\\n os.execvpe(executable, args, env)\\n File "/usr/lib64/python2.7/os.py", line 353, in execvpe\\n _execvpe(file, args, env)\\n File "/usr/lib64/python2.7/os.py", line 368, in _execvpe\\n func(file, *argrest)\\nOSError: [Errno 2] No such file or directory\\n\'\np6\nsb.' creationflags: 0 errpipe_read: 5 preexec_fn: <mockbuild.util.ChildPreExec object at 0x2086390> p2cread: None startupinfo: None p2cwrite: None universal_newlines: False Potential duplicate: bug 957992
Created attachment 797038 [details] File: backtrace
Created attachment 797039 [details] File: environ
Is it possible that you did not have bash installed on that system?
(In reply to Miroslav Suchý from comment #3) > Is it possible that you did not have bash installed on that system? I might not have installed bash in the chroot. It was part of a script I did to compile some software, and now it works alright. For me, you can close this bug.
OK. Bash should be always installed and should not be specified in requirements. Closing.