Buildroot being ignored

Panu Matilainen pmatilai at laiskiainen.org
Thu Dec 4 09:18:15 UTC 2008


On Mon, 1 Dec 2008, Xavier Toth wrote:

> My spec files which build on Fedora 9 rpm 4.4.2.3 don't build on
> Fedora 10 rpm 4.6.0. It appears that the Buildroot definition is being
> ignored. If I use --buildroot on the command line they build but this
> isn't a good solution. Is this a rpmbuild bug or feature? Is it
> specific to Fedora possibly?

Buildroot from spec is ignored on purpose in rpm 4.6.0. That specs should 
(have to) define their own buildroot is simply bad design and a leftover 
from ancient times.

There's one known bug wrt the new buildroot handling, namely that specs 
which have subpackages whose version differs from the main package 
version doesn't work right: http://rpm.org/ticket/10

 	- Panu -


More information about the Rpm-list mailing list