summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2006-09-14 05:24:09 +0000
committerKris Kennaway <kris@FreeBSD.org>2006-09-14 05:24:09 +0000
commit57407fb76923b3a86ee04c39cafa90a8d90f2537 (patch)
treec919f95d04eb8e577c6c112cea2a408a8634bc58 /Tools
parent* Retire 4-exp builds and add support for 6-exp. (diff)
* Drop alpha support
* Increase sparc64 build timeout to 24 hours (we have so few build machines that we cannot afford to tie them up for longer) * Increase other arch build timeout to 100 hours (hello openoffice!) * If we successfully build a formerly broken package, touch errors/.force which will kick off a rebuild of the html files
Notes
Notes: svn path=/head/; revision=173000
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/pdispatch13
1 files changed, 7 insertions, 6 deletions
diff --git a/Tools/portbuild/scripts/pdispatch b/Tools/portbuild/scripts/pdispatch
index 1eaed51f07a9..34920ef2994a 100755
--- a/Tools/portbuild/scripts/pdispatch
+++ b/Tools/portbuild/scripts/pdispatch
@@ -12,12 +12,12 @@ shift
. ${pb}/scripts/buildenv
# Increase timeout on slow build machines
-if [ "$arch" = "alpha" -o "$arch" = "sparc64" ]; then
- # wait 16 hours maximum
- timeout=57600
+if [ "$arch" = "sparc64" ]; then
+ # wait 24 hours maximum
+ timeout=86400
else
- # wait 80 hours maximum
- timeout=288000
+ # wait 100 hours maximum
+ timeout=360000
fi
branch=$1
@@ -117,7 +117,8 @@ while `true`; do
tar --unlink -C ${pb}/${arch}/${branch} -xvf -
test -f ${pb}/${arch}/${branch}/packages/All/${pkgname}${PKGSUFFIX} && \
touch ${pb}/${arch}/${branch}/packages/All/${pkgname}${PKGSUFFIX}
- rm -f ${pb}/${arch}/${branch}/errors/${pkgname}.log
+ rm -f ${pb}/${arch}/${branch}/errors/${pkgname}.log && \
+ touch ${pb}/${arch}/${branch}/errors/.force
lockf -k ${pb}/${arch}/${branch}/failure.lock ${pb}/scripts/buildsuccess ${arch} ${branch} ${pkgname}
log=${pb}/${arch}/${branch}/logs/$pkgname.log
if grep -q "even though it is marked BROKEN" ${log}; then