On Fri, Mar 09, 2007 at 10:38:18AM +0000, Nigel Metheringham wrote: > I use this for building stuff against Centos 4, using mach to do the > actual builds (to ensure they are built in a clean environment). OK, that's a thumbs-up for mach then. Mach version 0.9.1 doesn't work for me, out-of-the-box, under CentOS 4.4; there appear to be several problems which cause it to bomb out. I've reported them yesterday to the mach-devel mailing list, although sourceforge's archive doesn't seem to have caught up, and I've not had any replies. I may end up spending today debugging it (and picking up python in the process...) > My method is to produce a large pile of SRPMs and iteratively feed > them to mach for building (I have not as yet been persuaded that > doing real depsolving on these to order them will be faster than just > feeding them to mach until they build, so I just pass each one in > order to mach, if it fails to build its put back on the bottom of the > queue). I guess that where it will fall down is when it tries to install a dependency as a binary package via yum, and there isn't one. At that point, it could decide to build the package from source: - if a suitable spec file or .src.rpm file is on the mach build command line, it could bring it forward - if it could have access to a repository of .spec files, like rpmforge or a local pool of .spec or .src.rpm files, it could build one of those. I wouldn't have thought it was _too_ hard to do, but as you say, a couple of dummy runs probably isn't too bad. The other thing I'd like it to be able to do when building packages is to download source directly from CVS or SVN repositories, e.g. Source: svn://example/%{name}/tags/%{version}/ wibble-%{version}.tar.gz2 which avoids having to explicitly build and store source tarballs. Perhaps I should just put a 'svn co' command in the %prep section. I just need to make sure mach is happy not to pull down the source itself. Regards, Brian. _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list