aboutsummaryrefslogtreecommitdiff
path: root/Tools/portbuild
Commit message (Collapse)AuthorAgeFilesLines
* - add check sysvipcDirk Meyer2006-12-031-0/+2
| | | | | | | happens when security.jail.sysvipc_allowed=0 Notes: svn path=/head/; revision=178708
* Work around the fact that 5-exp, these days, is really another 6-exp,Mark Linimon2006-11-251-0/+4
| | | | | | | except in disguise. Notes: svn path=/head/; revision=178025
* Since we already have the data from the grep, go ahead and make the 'latestMark Linimon2006-09-231-5/+4
| | | | | | | | log' cell a link to it. My weak awk/sh skills are evident here, but it does the job. Notes: svn path=/head/; revision=173634
* Add links to cvsdone and INDEX files. Add some whitespace.Mark Linimon2006-09-231-2/+17
| | | | Notes: svn path=/head/; revision=173632
* * Back up duds to duds.old before, not after we create the new oneKris Kennaway2006-09-141-59/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add more XXX comments for future work * Only record a cvsdone timestamp if we updated cvs * When building with -trybroken, it's safe (and desirable) to run the prunefailure script * Reorganise a few things for better parallelism * Instead of keeping a duplicate copy of the previous logs and errors under bak/, just store a symlink to the archival location * When doing an incremental build, also cycle out the old logs to avoid broken links on the website (the logs from the previous build are removed until the packages are rebuilt). Use cpio to create hardlinked copies of the previous logs. XXX when these are bzipped by cron to save space the links will be broken and it might actually take more space. * Don't bother bunzipping old logs, now that the processlogs scripts can handle it. This was a waste of time anyway since they'd all be rebzipped by the next nightly cron job. * When the build is complete, stash a copy of the restricted ports in bak/restricted/ before deleting them from packages/, and restore from here when doing an incremental build to avoid needlessly rebuilding them each time. Notes: svn path=/head/; revision=173005
* * When calculating the IP address to use for the jail, don't useKris Kennaway2006-09-141-4/+5
| | | | | | | | | | 127.0.0.0 or 127.0.0.1 * Don't use chroot to mount the linprocfs, or it won't be visible within the jail. Notes: svn path=/head/; revision=173004
* * Support bzipped logfilesKris Kennaway2006-09-141-122/+127
| | | | | | | | * More robust extraction of the header values (copes with the addition of the build uname to the header) Notes: svn path=/head/; revision=173003
* * If .force exists, rebuild index unconditionallyKris Kennaway2006-09-141-5/+6
| | | | | | | | | | * Support .log.bz2 files * Clarify that BROKEN ports are not frequently rebuilt so probably won't appear Notes: svn path=/head/; revision=173002
* Correct typo in previous commitKris Kennaway2006-09-141-2/+2
| | | | Notes: svn path=/head/; revision=173001
* * Drop alpha supportKris Kennaway2006-09-141-6/+7
| | | | | | | | | | | | | * 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: svn path=/head/; revision=173000
* * Retire 4-exp builds and add support for 6-exp.Kris Kennaway2006-09-141-11/+12
| | | | | | | | | | | | * Use a generation number for the bindist tarballs, with compatibility symlink. Eventually we'll use this to avoid building in a "stale" chroot (i.e. populated by old world). * Don't bother running ldconfig on i386, it is evidently not needed since the other arches work fine without it Notes: svn path=/head/; revision=172999
* * Silence gconf spam from the mtree checks (for now)Kris Kennaway2006-09-141-4/+5
| | | | | | | | | | | * Don't try and mount/umount procfs, it won't work when we build inside a jail. * Report the uname -mr of the build environment, to ease confusion of people reading the error logs by mail. Notes: svn path=/head/; revision=172998
* * Use SRCBASE for source locationKris Kennaway2006-09-141-6/+12
| | | | | | | | * The 5.x variant for populating /etc does not work on 6.x and above, and vice versa. Conditionalize old and new methods. Notes: svn path=/head/; revision=172997
* Go back to force unmounting because not doing so was too unreliable.Kris Kennaway2006-09-141-2/+2
| | | | Notes: svn path=/head/; revision=172996
* Silence the clean-chroot invocationKris Kennaway2006-09-141-1/+1
| | | | Notes: svn path=/head/; revision=172995
* Get rid of multiple false positives for "arch" due to compiler warning;Mark Linimon2006-08-201-3/+1
| | | | | | | fix true positive for "runaway_process". Notes: svn path=/head/; revision=171056
* Catch a few more new cases of linker error; reclassify most of the linkerMark Linimon2006-08-181-0/+4
| | | | | | | | errors seen on -CURRENT as "compat6x" e.g. "someone needs to create a compat6x port and then make it a dependency here." Notes: svn path=/head/; revision=170951
* Catch another case of 'disk full'.Mark Linimon2006-07-311-1/+1
| | | | Notes: svn path=/head/; revision=169242
* Change locking from per architecture to per architecture and branch.Erwin Lansing2006-07-301-1/+2
| | | | | | | | Especialy i386 has enough horsepower to run two branches simultaniously. This change has been on pointyhat for some time. Notes: svn path=/head/; revision=169136
* Add the cvs checkout date so people can see how long the runs take; addMark Linimon2006-07-131-3/+20
| | | | | | | a comment about openoffice.org*; generalize a bit. Notes: svn path=/head/; revision=167668
* Make it a little more robust.Mark Linimon2006-07-091-1/+1
| | | | Notes: svn path=/head/; revision=167298
* Convenience script to tersely display all currently running package builds.Mark Linimon2006-07-091-0/+11
| | | | Notes: svn path=/head/; revision=167296
* 'portcomment' appears to be obsolete.Mark Linimon2006-07-081-2/+0
| | | | Notes: svn path=/head/; revision=167216
* Fix the disk_full rule.Mark Linimon2006-07-081-1/+1
| | | | Notes: svn path=/head/; revision=167207
* Add the -exp builds down at the end. Probably only of interest to portmgr,Mark Linimon2006-07-081-11/+32
| | | | | | | | so do them separately in order not to break up the ease of browsing the most important stats, above. Notes: svn path=/head/; revision=167177
* White space adjustment after refactoring.Mark Linimon2006-07-081-21/+21
| | | | Notes: svn path=/head/; revision=167175
* Refactor. No code change (yet).Mark Linimon2006-07-081-11/+31
| | | | Notes: svn path=/head/; revision=167174
* Add some color to the display.Mark Linimon2006-07-061-17/+30
| | | | Notes: svn path=/head/; revision=167038
* Fix CVS tag.Mark Linimon2006-07-051-1/+1
| | | | Notes: svn path=/head/; revision=167023
* Refactor. No code changes yet.Mark Linimon2006-07-051-16/+16
| | | | Notes: svn path=/head/; revision=167022
* Add a column for last-date stamp and clean up the formatting a bit.Mark Linimon2006-07-051-7/+22
| | | | Notes: svn path=/head/; revision=167019
* Handle the case where the size of INDEX is zero (e.g. during new builds).Mark Linimon2006-06-281-1/+5
| | | | Notes: svn path=/head/; revision=166533
* Fix edit-o.Mark Linimon2006-06-281-1/+1
| | | | Notes: svn path=/head/; revision=166486
* Creates an HTML file with tables for each architecture which summarize theMark Linimon2006-06-271-0/+123
| | | | | | | | number of packages built vs. packages that failed, along with some other related information. Notes: svn path=/head/; revision=166427
* - Remove false positives for 'makefile' (and possibly a few others).Mark Linimon2006-06-241-57/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | - Remove obsolete explanations which are no longer seen, for speed: ELF, MOTIF, MOTIFLIB, X_manpage, awk, bison, ffs_conflict, forbidden, getopt, getopt.h, imake, lc_r, malloc.h, pod2man, sed, stl, soundcard.h, texinfo, union_wait, values.h - Add more cases to: arch, bad_c++, compiler_error, depend_object, install_error, linker_error, mtree, perl5 These changes reduce many dozens of false positives; add a few dozen true positives; and for certain directories, improve the speed about 10% (a few drop by 15%). It turns out that the performance issues are mainly due to the multiple greps. If performance is an issue we need to go back to the moderately- unreadable, everything-on-one-line paradigm. Before that happens, I would like to experiment with some refactoring, so that the patterns are built up in the shell line-by-line, so you could still be able to read it. Tested on: pointyhat Hat: portmgr Notes: svn path=/head/; revision=166225
* Explicitly mount the NFS images ro, instead of relying on the server toKris Kennaway2006-04-161-1/+1
| | | | | | | | export it ro. This saves thrashing the server if we accidentally try to rm -rf a NFS mount (e.g. because a chroot cleanup failed). Notes: svn path=/head/; revision=159674
* Don't bother archiving the ports tree, we don't use it for anything so itKris Kennaway2006-04-161-1/+1
| | | | | | | just takes up time. Notes: svn path=/head/; revision=159673
* Mount linprocfs on amd64 for the convenience of jdk builds.Kris Kennaway2006-04-031-1/+1
| | | | Notes: svn path=/head/; revision=158699
* The squid rc.d script no longer has the .sh suffixKris Kennaway2006-04-032-4/+4
| | | | Notes: svn path=/head/; revision=158698
* Do not preserve the previous package sets in bak/. This is taking upKris Kennaway2006-04-031-2/+2
| | | | | | | too much space on pointyhat, and it's also very slow. Notes: svn path=/head/; revision=158697
* Clean up linprocfs on amd64 as well.Kris Kennaway2006-04-031-1/+1
| | | | Notes: svn path=/head/; revision=158696
* jdk is buildable on amd64, so we need to also mount linprocfs there.Kris Kennaway2006-04-031-2/+2
| | | | Notes: svn path=/head/; revision=158695
* This script preserves packages that will be removed by the restricted.shKris Kennaway2006-04-031-0/+11
| | | | | | | | | | | script, i.e. so they can be moved back into place before start the next incremental build so they won't be needlessly rebuilt every time (jdk, I'm looking at you). It is a bit of a hack since it relies on assumptions about the structure of that shell script, but for now it's the best we can do. Notes: svn path=/head/; revision=158694
* Temporarily back out the pre.log change, it doesn't work properly.Kris Kennaway2006-03-131-6/+6
| | | | | | | Approved by: portmgr (implicit) Notes: svn path=/head/; revision=157077
* Mount the md image async here tooKris Kennaway2006-03-131-1/+1
| | | | | | | Approved by: portmgr (implicit) Notes: svn path=/head/; revision=157076
* Add some more directories temporarily until these ports can be made toKris Kennaway2006-03-131-4/+8
| | | | | | | | | clean themselves up properly. Approved by: portmgr (implicit) Notes: svn path=/head/; revision=157075
* Add a mechanism for reporting client machine error conditions back to theKris Kennaway2006-02-151-1/+14
| | | | | | | | | | | | | | server. Error conditions are flagged by other processes by creating a named dotfile in ${scratchdir}. If these files are found, report the error status instead of the number of running jobs. Currently report "ERR" for all error conditions; I will probably change this to a per-condition message. Currently only "squid not running" and "disk space low" conditions are reported. Notes: svn path=/head/; revision=156098
* Trim some unused cruftKris Kennaway2006-02-151-69/+12
| | | | | | | | | | If the package copy fails, bail out immediately instead of later on when we try to pkg_add it. Also trap signals and bail out. Both conditions will cause a retry of the package build. Notes: svn path=/head/; revision=156096
* Save the output of portbuild run on the client to a temporary log file.Kris Kennaway2006-02-151-1/+11
| | | | | | | | | | | | | If portbuild bailed out unexpectedly, mail the log to ${mailto}. Add some XXX comments about improving robustness of this script. Sleep for 2 minutes before retrying builds, to avoid spamming ${mailto} with a high rate of failure logs. In future we might be smarter about attempting to automatically correct common failure modes. Notes: svn path=/head/; revision=156095
* Add some sanity checking of the build environment:Kris Kennaway2006-02-151-1/+30
| | | | | | | | | | | | | | * Test whether squid is running. If not, try to kick off the rc script in the background in case it can be restarted cleanly. * Test for at least 100MB of free space on the scratch partition. If either condition fails, set an exception flag and bail out. This will be reported back to the server via reportload. Notes: svn path=/head/; revision=156092