[CentOS-devel] build-from-scratch: SRPM Build order now working

R P Herrold herrold at owlriver.com
Fri Aug 22 20:57:03 UTC 2008


On Fri, 22 Aug 2008, "Brian Schüler" wrote:

> Calculating the build order out of a set of source RPMs is now possible (even with BuildRequires
> from sources which are not included). The little trick  rpm -E "`cat foo.spec`"  did it. Special thanks
> to Jeff J.! But I have to shorten the output to the essentials because 'rpm' is crashing when the output
> of the spec file is too long.
>
> Here an example for alsa-lib package:
>
> [root at centosmirror alsa-lib-1.0.14-1.rc4.el5]# rpm -E "`cat alsa-lib.spec`"
> *** buffer overflow detected ***: rpm terminated
> ======= Backtrace: =========

thank you for this report -- as JBJ watches this mailing list 
I am sure he'll see it

> build-from-scratch only need a subdirectory called SRPMS 
> with source packages and ...

> Build-from-scratch can be downloaded from:
> http://c.dyndns.org/brian/pub/centos/5/tools/
> (it needs createrepo and httpd installed.)

so, I take it to some degree you are making a 'new project' 
release announcement?

> I hope the build order calculation function helps 
> accelerating the build process for the people who build 
> CentOS and packages for it.

thank you.

-- Russ herrold


More information about the CentOS-devel mailing list