skipping compilation in rpmbuild

Michael Schwendt mschwendt.tmp0701.nospam at arcor.de
Mon Sep 7 17:35:22 UTC 2009


On Mon, 07 Sep 2009 19:29:25 +0200, Dennis wrote:

> So I've just tried to rpm-build the current 5.2 alpha of mysql-workbench 
> and while the compilation went through I got this error during the 
> installation phase:
> 
> /usr/bin/install: will not overwrite just-created 
> `/home/dennis/rpmbuild/BUILDROOT/mysql-workbench-5.2.1-1.fc11.x86_64/usr/share/mysql-workbench/data/default_toolbar.xml' 
> with `default_toolbar.xml'
> 
> I got that fixed but calling rpmbuild with "--short-circuit -bi" only 
> re-runs the install phase but doesn't create the packages.
> 
> Given that the compilation takes nearly an hour how can I tell rpmbuild to 
> just go ahead and build the packages from the already compiled source?

You want to cheat? Not possible with --short-circuit builds. Better look
at fixing the install error.

You can use the "ccache" package, however, to speed up the compilation
a lot.




More information about the test mailing list