Hello there,
I was about to send this mail about all kinds of errors I had not seen before, until I somehow ended up screwing around in the code and fixed like 6 things that I did wrong. Still one minor thing though:
On a CentOS 5, up-to-date box, I am running mock-0.9.7-1.el5, and koji-1.1-2.el5. I could not update to koji-1.2.3-1.el5 because it has a missing dependency on createrepo >= 0.4.11.
When using the following command (or submitting the build through koji):
mock --configdir=/etc/mock/koji -v -r dist-el5-build-3-3 rebuild ~/rpmbuild/SRPMS/revisor-2.1.0-1rc5.src.rpm
The macros koji writes out in it's mock configuration file is a string, while mock expects a dict. I think this change made it in koji-1.2.3-1.el5, but for now...
I changed line 62 in mock/backend.py from:
self.macros = config['macros']
into:
self.macros = {}
if isinstance(config['macros'], str): _macros = config['macros'].split('\n') while len(_macros) > 0: (key, value) = _macros.pop(0).split(' ') self.macros[key] = value else: self.macros = config['macros']
I hope this helps others on el5 running into this problem.
Kind regards,
Jeroen van Meeuwen -kanarip
On Wed, 2008-04-16 at 18:17 +0200, Jeroen van Meeuwen wrote:
On a CentOS 5, up-to-date box, I am running mock-0.9.7-1.el5, and koji-1.1-2.el5. I could not update to koji-1.2.3-1.el5 because it has a missing dependency on createrepo >= 0.4.11.
The version of createrepo you need is available as a "fastrack" rhel 5 update. I'm not sure if CentOS does anything with those, but that version of createrepo will be in RHEL 5.2. You really really need to be running koji 1.2.3 on RHEL/CentOS5
Jesse Keating schrieb:
On Wed, 2008-04-16 at 18:17 +0200, Jeroen van Meeuwen wrote:
On a CentOS 5, up-to-date box, I am running mock-0.9.7-1.el5, and koji-1.1-2.el5. I could not update to koji-1.2.3-1.el5 because it has a missing dependency on createrepo >= 0.4.11.
The version of createrepo you need is available as a "fastrack" rhel 5 update. I'm not sure if CentOS does anything with those, but that version of createrepo will be in RHEL 5.2. You really really need to be running koji 1.2.3 on RHEL/CentOS5
Confirmed. Even if I do no longer run Koji on RHEL5, since I left the company, where I used to do so, I know this is true :-)
-of
Oliver Falk wrote:
Jesse Keating schrieb:
On Wed, 2008-04-16 at 18:17 +0200, Jeroen van Meeuwen wrote:
On a CentOS 5, up-to-date box, I am running mock-0.9.7-1.el5, and koji-1.1-2.el5. I could not update to koji-1.2.3-1.el5 because it has a missing dependency on createrepo >= 0.4.11.
The version of createrepo you need is available as a "fastrack" rhel 5 update. I'm not sure if CentOS does anything with those, but that version of createrepo will be in RHEL 5.2. You really really need to be running koji 1.2.3 on RHEL/CentOS5
Confirmed. Even if I do no longer run Koji on RHEL5, since I left the company, where I used to do so, I know this is true :-)
That's cool, although I did get it to work finally, I'll probably be experiencing some other problems when I start using it seriously; I'll be pulling in createrepo from "fasttrack" RHEL 5 or wait for the package to land in 5.2.
Kind regards,
Jeroen van Meeuwen -kanarip
On Wed, 2008-04-16 at 23:37 +0200, Jeroen van Meeuwen wrote:
"fasttrack"
For more fun and confusion, it's actually 'FasTrack' http://www.redhat.com/rhn/rhndetails/fastrack/
Jesse Keating wrote:
On Wed, 2008-04-16 at 23:37 +0200, Jeroen van Meeuwen wrote:
"fasttrack"
For more fun and confusion, it's actually 'FasTrack' http://www.redhat.com/rhn/rhndetails/fastrack/
Yeah, I got it ;-)
Kind regards,
Jeroen van Meeuwen -kanarip
buildsys@lists.fedoraproject.org