Description of problem: /usr/bin/mock contains this: .. config_opts['chroot_setup_cmd'] = 'install buildsys-build' .. i.e. a hard-coded reference to buildsys-build*.rpm The same can be found in /etc/mock/defaults.cfg: .. config_opts['chroot_setup_cmd'] = 'install buildsys-build' .. As of today, http://fedoraproject.org/buildgroups however only provides buildsys-build rpms for FC >= 3, while FE-mock ships configurations (/etc/mock/*.cfg) to support distros < FC3. => This can't work. AFAIS, as a minimal requirement to get mock working for older distros, either * buildsys-build rpms will have to be added to fedoraproject.org/buildgroups, or * config_opts['chroot_setup_cmd'] in /etc/mock/*.cfg will have to be setup differently. Version-Release number of selected component (if applicable): mock-0.6-4.fc5
buildsys-build RPMs have been generated for all supported distros. Has this resolved your issue?
(In reply to comment #1) > buildsys-build RPMs have been generated for all supported distros. Has this > resolved your issue? Well, you've fixed the symptoms ("supported distros"), but you've not fixed the cause (An incorrect default in "default.cfg").
I don't see what you mean. We've generated buildsys-build rpms for all supported distros (rhl[79] for legacy, FC[1-5] and development), so that any target config that does an install wil find a buildsys-build, download it and install it for dependencies. Are you saying that the symlink that is default.cfg is pointing to an incorrect file, or that the contents of the .cfg file referenced by default.cfg is incorrect? If the latter, then what precisely do you find incorrect?
(In reply to comment #3) > I don't see what you mean. Sorry, my last comment wasn't entirely correct. I was referring to the default config_opts in /usr/bin/mock, not default.cfg: config_opts['chroot_setup_cmd'] = 'install buildsys-build' This causes mock to fail for all distros you don't have under your control. I.e. the bug is mock using this line above as default.
As I was writing another, "but I don't understand!" reply, I realized what the problem is. You don't have a way to build a buildsys-build package for say Bob's Linux (or Ralf's Linux, in this case). That is being corrected in the next release, since the buildsys-build.spec file will be included in /usr/share/doc/mock. With this you should be able to tailor the contents of a buildsys-build package for your distro.