On 10.04.2013 18:57, Andrew Rist wrote:

On 4/10/2013 1:33 AM, Herbert Dürr wrote:
On 2013/04/10 10:09 AM, Andre Fischer wrote:
tonight we had a build breaker in the windows build: a slot id that is
used in SW had been removed in SVX.  The reference in SW had also been
removed, so this change should not be a problem.
But the windows build is still not a full build.  Therefore the old SW
slot header files where used and the build broke.

There is an easy fix for situations like this: a clean build.

Incremental build are known to have problems thats why I suggested [1] to default to a clean build. That didn't receive consensus though and indeed there are good reasons against it:

The incremental build both tests the dependency system and it reduces the load when building significantly.

On the already strained buildbot this means a factor of almost five improvement as clean build takes about 4.5h whereas an incremental build takes only 0.5-1.0h.

Andrew even had to reschedule the snapshot build away from the weekly clean build because the buildbot load is a real problem.

[1] http://markmail.org/message/wmlhc5f5zaiiyu2o
[2] http://markmail.org/message/7q64ijlwygdqmwf3

Just to add here, that there are also issues with a clean build. The clean build fails with some frequency on hung jobs and requires manual attention.

That is one more reason to have more frequent clean builds so that we can find the cause of these problems. They are not restricted to the build bot. Others are affected, too. I would have tried to fix this, but I am not able to reproduce this problem on my local machine.

In reality, breaking changes that require a clean build are pretty rare. For me, the clean build on the weekend and incremental during the week seems to be a good compromise.

I am not sure about that. Besides, it is sometimes a bit difficult to judge 'how incompatible' a change really is. Change a slot definition in SVX and its use in SW. Do we need anything more? With a clean build we are on the safe side.

Besides, the clean-build-on-weekend policy would require us to hold all incompatible changes until Friday, or live with a broken build during the week. I really thing that we need a better solution. A switch for marking a change as incompatible and that would be interpreted by the build bot would be the absolute minimum. But even that would call for trouble. At Sun we have been there and it did not really work so well.


This may become important in the coming weeks when we have to fix some
bugs in the sidebar (which is about to be merged back into trunk).  The
sidebar is implemented in several modules.  Without a clean windows
build we will run into build breakers very regularly.

It is possible to force a clean build manually.
I'm cleaning it up now and kicking off a build.

Thanks for taking care of this one.

-Andre

Andrew



Herbert


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to