Commit Graph

2246 Commits

Author SHA1 Message Date
espie
6a74e2e1de don't look at symlinks. if they point inside fake, then we get the file
anyways. if they point outside of it, they don't make sense until
installed, and we got the file anyways...
2010-03-20 17:05:44 +00:00
espie
40399089e7 actual timeouts 2010-03-05 09:05:46 +00:00
espie
198d43e5ad forgot the manpage 2010-03-05 09:05:30 +00:00
espie
a3ca1adf1f simpler fix: do the \n printing always for glitching terminals 2010-03-05 07:50:15 +00:00
espie
228149426e support for more stats in dpb, basically harmless 2010-03-05 07:49:29 +00:00
espie
a14f2a2255 fix newline handling. thanks naddy@ for the hint 2010-03-04 20:48:12 +00:00
espie
609847a7d3 slightly more evolved: run du twice,to get build size vs. fake size.
Yep, I should be able to use this information later on.
2010-03-04 14:23:01 +00:00
espie
6ccdda1670 log signature errors
move the logs/locks yet again: those are dpb logs, so they belong in
logs dir (note the s). Use one single option (-L) to move both.
remove old -t mode, use -t/-T for ssh/display timeouts
Change the "mem" option to "parse size file", dependent on show-size.
2010-03-04 13:56:09 +00:00
espie
ff14b4c7c3 pass host names around for comparison messages 2010-03-04 13:51:48 +00:00
espie
6fdf400298 add computation of workdir size on -s (assumes a patch to bsd.port.mk
that's not yet there)
2010-03-02 18:20:45 +00:00
espie
d2abbd61aa better control logic.
prepare to du port dir.
2010-03-02 02:33:15 +00:00
espie
9a2f0331f4 set random behavior after we parse the option, so this is actually more
random... problem noticed by naddy@
2010-03-01 18:11:11 +00:00
espie
a8e8acea0d fix for non-terminal 2010-03-01 18:01:11 +00:00
espie
61b975e3b2 tweak logic of run slightly, so that we actually check stuff in finalize,
as should be. This also simplifies infinite jobs slightly, since we build
the tasks we want directly
2010-03-01 17:59:49 +00:00
espie
a58639ad7a if make clean isn't enough, do it again with sudo, but log it.
(also, bug in notime, really don't take into account what we shouldn't)
2010-03-01 17:57:25 +00:00
espie
53d76dd037 less flickering: compute what to display, and do it at once 2010-02-28 11:49:45 +00:00
espie
f71d67db02 don't stop at the first error, report all 2010-02-27 10:05:42 +00:00
espie
0118b624ce let myprint work with -x 2010-02-27 09:53:44 +00:00
espie
d17585f86b activate library signature code. now we check that machines DO match 2010-02-27 09:53:09 +00:00
espie
c8942d3783 fix watch: if we use the offset too soon, it changes all the time, and we
never notice
2010-02-27 09:28:47 +00:00
espie
abbba7caf8 oops, fetch should not be accounted in the log either. 2010-02-27 08:30:44 +00:00
espie
81cdf2d3a4 do something sensible if run without any options 2010-02-27 08:30:01 +00:00
espie
a090480935 TRY_BROKEN, idea from FreeBSD (by popular demand, jasper + phessler) 2010-02-26 19:20:24 +00:00
espie
7a81866fd7 warn about FULLPKGNAME without FULLPKGPATH, as it is a bit difficult to spot
in complicated ports
2010-02-26 19:05:23 +00:00
espie
a435ac28e6 a few improvemennts:
- give more responsibility to tasks, so that they can time themselves without
any higher level support
- record errors the opposite way, so that more recent errors show up first
- better terminal display: use fullwidth, clamp to terminal height
- less logsize fuzz, always trim preparation stages
- dpb's pid - dependent ssh socket names, so that 2 dpb can talk to the same machine.
- pid display for dpb itself, and ssh masters.
2010-02-26 12:14:57 +00:00
espie
a0aa57c2e3 being clueless shouldn't fork-bomb.
featuring tedu@ as crash-test dummy ;-)
2010-02-26 12:11:55 +00:00
espie
61d822e8d5 work-in-progress: new distributed ports builder.
will replace old dpb once we're satisfied it works.
some features:
- no more waiting, starts building right away, the dependencies discovery
process is just another job,
- monitor display that makes it easy to know when jobs get stuck, or machines
get down.
- loads of logs,
- locks that stay around in case of error, and that you can remove when
the error has been fixed (dpb picks it up),
- smart choice of which package to build,
- can take into account previous build times,
- builds on machines of differing speed, offloading "lighter" jobs to slower
boxes.

(again, ports is still locked for most people)
2010-02-24 11:33:31 +00:00
espie
8461975175 band-aid for out-of-date, as noticed by various people
(there are probably nicer ways to do this now)
2010-02-16 20:50:32 +00:00
espie
9e0b3d6c97 don't iterate on IGNORE, this breaks java's jrl message 2010-02-13 21:11:35 +00:00
espie
f7f5b4ff0a some important improvements to bsd.port.mk
- simplify IGNORE handling, always define it, even when NO_IGNORE is set,
and only use it for the targets it's meant to influence.
- make it possible to multiply-IGNORE a port, so stuff that's BROKEN and
NOT_FOR_ARCH will show up as both.
- DESCRIBE_TARGETs can die, since we no longer need special IGNORE dance
for them.
- add an IGNORE_IS_FATAL tweak, so that ignored ports can actually error out.
- reorg dump-vars to choose what to show, including new IGNORE, and COMES_WITH.
- name an explicit prepare step, which does check build dependencies and
install them (useful for build timing purposes)
- move the do-fetch test out, so that we can add pre-extract and do-extract
there eventually.
2010-02-12 12:00:19 +00:00
jasper
7b605490f2 - add the plist i've used to build the first packages
ok naddy@
2010-02-08 12:57:02 +00:00
jasper
1777a47c53 - sync a with reality.
ok naddy@
2010-02-05 14:46:26 +00:00
jasper
923a684afc - mention mips64el where applicable
ok espie@ ajacoutot@
2010-02-05 13:06:03 +00:00
espie
2a6cec5724 duplicate RUN_DEPENDS, it should be indexed only. 2010-01-28 10:09:06 +00:00
espie
19d16675e1 fix check-lib-depends since SharedLibs changed slightly (quick fix
adaptation for now).

As noticed by kili@
2010-01-26 21:22:57 +00:00
sthen
95c1f274c1 Permit native-mincore, at least some GNU m4 programs and clisp hit this.
ok sturm@ ajacoutot@
2010-01-14 17:23:28 +00:00
sthen
513324e8fc Add databases/pkglocatedb to plists (located at the top of the lists,
as suggested by naddy@).
2010-01-09 02:48:04 +00:00
espie
87a403339e adapt to new api 2010-01-02 12:54:22 +00:00
ajacoutot
680c1968eb s/contains/may contain/
"if it pleases you ;)" espie@
2009-12-08 18:15:50 +00:00
ajacoutot
fbd6734ea6 Listing a mirror twice does not make it more reliable (ftp.no.gnome.org).
Also remove planetmirror as it does not fail on non existent file but
rather make you download an error file.
2009-11-24 16:50:43 +00:00
sthen
107514a066 remove a spurious \ 2009-11-24 09:28:14 +00:00
giovanni
51c279856e Add a user for mail/sqlgrey 2009-11-16 10:40:35 +00:00
steven
218487feca spacing 2009-11-15 22:05:36 +00:00
steven
d343c92dff look for .la file associated with -lfoo argument in the cwd too
seems to fix a handful of ports
2009-11-15 21:51:59 +00:00
sthen
499eb178c6 reserve ids for forthcoming munin port. 2009-11-13 10:59:05 +00:00
msf
4bfb5fd557 reserve an id for forthcoming rabbitmq port 2009-11-11 07:47:36 +00:00
pea
f8aa70271c Add _mon 2009-11-10 14:37:48 +00:00
espie
27a3d543cb a few tweaks I should have committed long ago.
- better at handling progress meter incomplete lines and sanitizing them
before output
- less greedy about maintaining a context, let post-error messages stuff
end up in the default.log, instead of seeing huge swaths of entering directory
after errors.
- -s silent option, for use when we see the output but don't need to duplicate
it.

After work with NicM, portslogger is useable with tmux. From within tmux,
just run something like:
tmux pipe-pane 'perl /usr/ports/infrastructure/build/portslogger -s /usr/ports/log'

to log all ports building activity...
2009-11-08 09:24:11 +00:00
jasper
8371b7611b sync with reality after hw upgrade 2009-11-01 19:11:03 +00:00
sthen
5e332fabdc add pure-ftpd. reminded by Brad, thanks. 2009-10-27 23:45:58 +00:00