summaryrefslogtreecommitdiff
path: root/Tools/portbuild (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix up the ordering and remove some duplicates so the resulting summary isJoe Marcus Clarke2004-02-041-22/+26
| | | | | | | | | | | | | | | | | more accurate: * The tests for "Cannot stat", "can't cd", and "tar command failed" are moved to the bottom. This will sacrifice a little bit of performance for a gain in accuracy * The tests for "configuration errors" needed to be combined and tweaked to better identify errors that are architecture-specific (usuallly the "all pointers are ints" assumption) * The detection of chown was buggy * There were some duplicate test cases * As an experiment, another test for dependency problems is added PR: 61914 Submitted by: linimon
* Comment out the munmap reason since it is quite unlikely this will beJoe Marcus Clarke2004-01-211-4/+4
| | | | | | | | | encountered again, nad having it in there slows performance. However, I'm leaving it in the file in case a bad bindist slips back in, and it becomes convenient to uncomment this for purposes of seeing what build failures are cluster-related. Requested by: kris
* * Refactor processlogs so that new error types can be added easily to a newJoe Marcus Clarke2004-01-193-312/+441
| | | | | | | | | | | | | | | processonelog script, that contains all the per-errorlog logic [1] * Add new error checks, one for detecting CPU problems, and the other for checking for broken libgnugetopt support [2] * Add a new "munmap" error type to check for broken bindists * Add imake and pthread detection to processonelog [3] * Add errortype column to the bento "New Build Failures" report [4] PR: 50258 56859 [1] 54406 [2] 57067 [3] 59272 [4] Submitted by: linimon [1] [2] [3] [4]
* * Add support for linprocfs (needed for JDK ports) [1]Joe Marcus Clarke2004-01-191-2/+23
| | | | | | | * Be smarter about adding directories to ldconfig * Add code to test package integrity [1] Submitted by: kris [1]
* Use editors/openoffice-1.1 instead of editors/openoffice since the latter isJoe Marcus Clarke2004-01-151-1/+1
| | | | now gone.
* Condense the table a bitKris Kennaway2003-10-131-3/+3
|
* The newfailure file is no longer updated by buildsKris Kennaway2003-10-131-3/+0
|
* Script for migrating from old-style to new-style failure log file.Kris Kennaway2003-10-131-0/+74
|
* * newfailure is no longer updated, no need to prune itKris Kennaway2003-10-131-42/+6
| | | | * Update failure file format with both original and latest failure date
* * Generate newfailure file (sorted list by original failure date) from failureKris Kennaway2003-10-131-10/+13
| | | | | * Enhance HTML output to include both original and latest failure date, and number of times the build has failed.
* * Try to be more careful when writing the failure file in case the diskKris Kennaway2003-10-131-13/+16
| | | | | | | | is full * The newfailure file is no longer maintained, but generated as-needed by the processfail script * Update format of failure file (records both initial failure date and most recent failure date)
* Add a script that prunes the contents of the failure and newfailure filesKris Kennaway2003-10-131-0/+114
| | | | | | | | of stale entries (removed ports, ports listed in duds that were mistakenly built, malformed entries) and refreshes the version of entries to the latest in INDEX. This must be run under lockf (see the comments in the script) to avoid racing with portbuild which also tries to write to these files.
* Teach this script about different architectures.Kris Kennaway2003-09-122-61/+54
|
* Add amd64 to the list of architectures to poll.Kris Kennaway2003-09-121-1/+1
|
* Add a couple of amd64 failure messages.Kris Kennaway2003-09-121-0/+6
|
* Remove some ldconfig -R's that were apparently confusing things, coalesceKris Kennaway2003-09-121-6/+3
| | | | | some ldconfig -m's into one command, and run buildscript niced in the chroot build case, not just the (currently unused) jailed case.
* Set PACKAGE_BUILDING before making the duds file to prevent listing ofKris Kennaway2003-09-121-0/+1
| | | | ports that are buildable conditionally on this variable.
* Export MASTER_SITE_OVERRIDE with DIST_SUBDIR correctly escapedKris Kennaway2003-09-121-2/+1
|
* Catch up to makefile changes: build in etc/ before trying to installKris Kennaway2003-09-121-0/+2
| | | | | | from it. Submitted by: ru
* Add a -fetch-original switch to dopackages that fetches the distfiles fromKris Kennaway2003-05-183-1/+16
| | | | | | the listed MASTER_SITES instead of ftp-master. Pass the FETCH_ORIGINAL environment variable to pdispatch and as a command-line switch to portbuild.
* Only transfer the build distfiles to bento if requested.Kris Kennaway2003-05-171-7/+14
| | | | | Switch back to chroot builds until I can debug the remaining problems with jail builds.
* Pass down the request to keep distfiles if appropriate.Kris Kennaway2003-05-171-0/+3
|
* Add a -distfiles flag to specify that we should retain distfiles for laterKris Kennaway2003-05-171-4/+12
| | | | | | | | processing (e.g. transfer to ftp site). It was taking up too much disk space to collect distfiles for 14 architecture/version combinations (including the backup set from the previous run). Put the cvsdone files in the arch/branch subdirectory, not arch/.
* Switch to polling the clients with netcat to collect load stats, insteadKris Kennaway2003-05-171-13/+10
| | | | | | of having the clients scp their loads to bento every 10 seconds. Fix some indentation and add some sleeps to make sure the startup script doesn't run too early in the boot process.
* Update sed pattern used to process logsKris Kennaway2003-04-061-1/+1
|
* Zap some old/non-useful codeKris Kennaway2003-04-061-108/+106
| | | | | | | | | Add some new command-line options: * -continue : restart the build without rebuilding ports that have already failed * -nofinish : don't run the post-processing steps when the build finishes * -finish : run the post-processing steps only Reorder some code sections appropriately
* - Define __MAKE_CONF to allow per-arch make.conf files in buildworldKris Kennaway2003-03-231-5/+19
| | | | | | | - Set the UNAME_* variables to make use of the override support in uname(1) This allows us to get rid of the uname shell script in the build chroots - Collect some variables that are probably old and mouldy, for later GCing - If FETCH_ORIGINAL is set in the environment, don't fetch from ftp-master
* Instead of pushing the load data to the master with scp every 10 seconds,Kris Kennaway2003-02-221-13/+3
| | | | just report it via an inetd service.
* * Allow port builds to be started with a certain niceness ('nice' parameterKris Kennaway2003-02-221-1/+15
| | | | | | | | | | | | | in portbuild.conf). [1] * Build stage 2 builds in a jail instead of a chroot. This allows us to detect ports that attempt IP communication during the build, as well as allowing clean termination of the port build (packages built in a chroot can leave processes hanging around after the build finishes). There are some caveats with this approach which will be worked around in a future commit. Requested by: peter [1]
* If ${buildworld}=1 in mkbindist.conf, then use the makeworld script toKris Kennaway2003-02-221-48/+44
| | | | | build world and populate the chroot. Otherwise, if ${ftp}=1 then fetch it from the ftp site as before.
* Simplify the collection of load statistics for the cluster. LoadsKris Kennaway2003-02-221-33/+35
| | | | | | are now collected by polling a small server on the client (using netcat) instead of having the client scp the load files to the master every 10 seconds (!!!)
* Store dates in +%s formatKris Kennaway2003-02-221-3/+3
|
* Search for a lot of new failure strings to reduce the number of buildKris Kennaway2003-02-141-4/+177
| | | | | | | failures listed as '???'. Submitted by: Mark Linimon <linimon@lonesome.com> PR: www/44919
* Work around broken rand() in -current by changing the way we pick aKris Kennaway2003-02-141-3/+3
| | | | random build host.
* - If ${ftp} = 0 in mkbindist.conf, then use the makeworld script to buildKris Kennaway2003-02-141-77/+56
| | | | a world instead.
* - Correct usage messageKris Kennaway2003-02-141-7/+2
| | | | | - Don't try and use buildenv, it's useless - Set TARGET_ARCH instead
* If the port directory contains a file called .keep, then tar up theKris Kennaway2003-01-242-0/+10
| | | | | ${WRKDIR} after the port build completes and copy it to ${arch}/${branch}/wrkdirs/${pkgname}.tbz.
* These scripts have been replaced by .c versions that do not require perl.Kris Kennaway2003-01-242-111/+0
|
* - Use ${arch} and rename html files accordinglyKris Kennaway2003-01-241-9/+11
| | | | | | - Call processfail to produce 'new port failures' page - Comment out the 'comparelogs' calls for now until I make them aware of architectures that don't have 4.x support
* First cut at a script to process the logfile maintained by 'buildsuccess'Kris Kennaway2003-01-241-0/+68
| | | | | | | and 'buildfailure' and produce a HTML output listing ports with the date they became broken. The output can surely be made more useful (e.g. it always links to the ${branch}-latest logs, which may not exist when the build-in-progress has not yet attempted the build of that port).
* These scripts are run when a build completes (successfully or not). TheyKris Kennaway2003-01-242-0/+80
| | | | | | | keep track of the number of times a port has failed to build, resetting the counter when it builds successfully. There are still some bugs to be worked out, but this will be used as the basis for maintainer notification of port failures.
* Simple script to check the number of packages built on the variousKris Kennaway2003-01-241-0/+17
| | | | architectures, for a given branch.
* Script to automate the process of cvs updating the build tree, performingKris Kennaway2003-01-241-0/+91
| | | | | the buildworld, installworld and 'make distribute' necessary for preparing a bindist.
* - Use ${arch}Kris Kennaway2003-01-241-5/+6
|
* Determine client architecture using /etc/archKris Kennaway2003-01-241-4/+2
|
* - Use ${arch}Kris Kennaway2003-01-241-2/+3
| | | | - Support builds as non-privileged user
* Check status of multiple architecture client machinesKris Kennaway2003-01-241-35/+40
|
* - Use ${arch}Kris Kennaway2003-01-241-20/+27
| | | | | | | | - Increase timeout to 2 hours (needs to be arch-specific) - Mount nfs filesystems with nfsv3,intr (the latter so that clients do not hang if bento panics) - Run pnohang.${arch} on clients instead of pnohang - Support builds as non-privileged user
* - Use ${arch}Kris Kennaway2003-01-241-11/+11
| | | | | | - Increase timeout to 8 hours (this needs to be made per-arch so it doesn't overly pessimize fast client machines) - Support building as a non-privileged user
* - Use ${arch}Kris Kennaway2003-01-241-6/+7
| | | | - Mount on ${master} instead of localhost