Mock & yum.conf Don't Play Nicely...
Mamoru Tasaka
mtasaka at ioa.s.u-tokyo.ac.jp
Sun Apr 22 00:01:36 UTC 2007
Peter Gordon wrote, at 04/22/2007 08:23 AM +9:00:
> Hi, all. I'm going through the vegastrike reviews and I can't seem to
> build anything in mock. Whether or not I use the autocache feature, it
> still bails out with the following error:
>
> $ mock --debug --autocache -r fedora-devel-x86_64-core SRPMS/vegastrike*
> DEBUG: ensuring
> dir /var/lib/mock/fedora-development-x86_64-core/root/etc/yum
> Traceback (most recent call last):
> File "/usr/bin/mock", line 1046, in <module>
> main()
> File "/usr/bin/mock", line 1043, in main
> do_rebuild(config_opts, srpms)
> File "/usr/bin/mock", line 910, in do_rebuild
> my.prep()
> File "/usr/bin/mock", line 254, in prep
> self._prep_install()
> File "/usr/bin/mock", line 659, in _prep_install
> os.symlink('../yum.conf', os.path.join(yumdir, 'yum.conf'))
> OSError: [Errno 17] File exists
This message is very similar with the bug I reported:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=230824
Current workarround is to downgrade mock to 0.6.11.
Mamoru
More information about the Fedora-maintainers
mailing list