Could not execute mockbuild for epel7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am running fedora 26 and having a problem with the mock builds for for epel7. Here is what I think is the relevant information:

cppad>git branch | grep epel7
* epel7

cppad>sudo fedpkg mockbuild
... snip ...
  File "/usr/lib64/python3.6/subprocess.py", line 1344, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/yum-builddep': '/usr/bin/yum-builddep'
Could not execute mockbuild: Command '['mock', '-r', u'epel-7-x86_64', '--resultdir', u'/home/bradbell/fedora/cppad/results_cppad/20180000.0/1.el7', '--rebuild', u'/home/bradbell/fedora/cppad/cppad-20180000.0-1.el7.src.rpm']' returned non-zero exit status 1

I have set
	/etc/mock/site-defaults.cfg
to not cleanup on success or failure.
It appears that the mock root directory for epel7 is
	/var/lib/mock/epel-7-x86_64/root

For example
	cppad>ls /var/lib/mock/epel-7-x86_64/root/usr/bin | grep gcc | wc -l
	5

It also appears there is no file or directory named yum-builddep in relative to the mock root
	cppad>ls /var/lib/mock/epel-7-x86_64/root/usr/bin | grep yum | wc -l
	0
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux