Description of problem: Attempt to copy directory to chroot: mock -r fedora-rawhide-x86_64 --copyin tasks / Version-Release number of selected component: mock-1.1.41-3.fc20 Additional info: reporter: libreport-2.2.3 cmdline: /usr/bin/python -tt /usr/sbin/mock -r fedora-rawhide-x86_64 --copyin tasks / dso_list: python-libs-2.7.5-14.fc20.x86_64 executable: /usr/sbin/mock kernel: 3.16.6-200.fc20.x86_64 runlevel: N 5 type: Python uid: 0 Truncated backtrace: os.py:157:makedirs:OSError: [Errno 17] File exists: '/var/lib/mock/fedora-rawhide-x86_64/root/' Traceback (most recent call last): File "/usr/sbin/mock", line 306, in <module> def do_buildsrpm(config_opts, chroot, options, args): File "/usr/sbin/mock", line 651, in main shutil.copytree(src, dest) File "/usr/lib64/python2.7/shutil.py", line 177, in copytree os.makedirs(dst) File "/usr/lib64/python2.7/os.py", line 157, in makedirs mkdir(name, mode) OSError: [Errno 17] File exists: '/var/lib/mock/fedora-rawhide-x86_64/root/' Local variables in innermost frame: tail: 'root' head: '/var/lib/mock/fedora-rawhide-x86_64' name: '/var/lib/mock/fedora-rawhide-x86_64/root/' mode: 511
specify the destination directory, must not already exist: mock -r fedora-rawhide-x86_64 --copyin tasks /tasks
Fixed in commit aa02a0f
mock-1.2.3-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/mock-1.2.3-1.fc21
mock-1.2.3-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/mock-1.2.3-1.fc20
mock-1.2.3-1.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/mock-1.2.3-1.el7
mock-1.2.3-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/mock-1.2.3-1.el6
Package mock-1.2.3-1.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing mock-1.2.3-1.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-16285/mock-1.2.3-1.fc21 then log in and leave karma (feedback).
mock-1.2.3-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.2.3-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.2.3-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.2.3-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.