Mock & yum.conf Don't Play Nicely...

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

 



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

I did a bit of googling, and it seems this was seen by Chitlesh GOORAH
about a month ago; but no workaround/fix was addressed in that thread
which he started. Nor could I find it in the list of bugs for the mock
component on Fedora's bugzilla either.

My mock configs are the default; and I'm using x86_64 Development
updated as of this morning (20070421 rawhide). Is there a patch I can
apply or something I can tweak in the mock config to make it stop doing
this?

Thanks for any help/advice.
-- 
Peter Gordon (codergeek42) / FSF & EFF Member
GnuPG Public Key ID: 0xFFC19479 / Fingerprint:
  DD68 A414 56BD 6368 D957 9666 4268 CB7A FFC1 9479
Blog: http://thecodergeek.com/blog/ 
About: http://fedoraproject.org/wiki/PeterGordon

Attachment: signature.asc
Description: This is a digitally signed message part

--
Fedora-maintainers mailing list
Fedora-maintainers@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers
--
Fedora-maintainers-readonly mailing list
Fedora-maintainers-readonly@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers-readonly

[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux