miod
8465c8fd02
m68k arches now use gcc 3
2013-02-10 20:27:42 +00:00
sthen
15a8fd3c72
change NO_ARCH default to ${MACHINE_ARCH}/no-arch, discussed with espie & naddy
2013-02-10 13:42:38 +00:00
pascal
ede4c83350
Change default gcc version to 4.6 now that 4.2 is unhooked.
...
ok brad@ tobiasu@ espie@
2013-02-07 17:57:45 +00:00
zhuk
c8684986e8
Unf**k back after RCS keyword expansion, sorry.
2013-02-07 08:19:54 +00:00
zhuk
221c08e0bf
Respect envvar $TMPDIR in check-lib-depends, allows to run the latter when
...
/tmp is not big enough.
okay espie@
2013-02-07 08:00:10 +00:00
espie
3dd25e07ce
make junk.log use the same pid@time header as the rest
2013-02-07 06:46:58 +00:00
espie
8261d92982
restore read-only behavior: only clean stuff that exists.
2013-02-05 11:22:50 +00:00
espie
b4439b4047
surprisingly some targets still have problems with pseudo-flavors
...
problem noticed by naddy@, turns out the *-dir-depends targets should use
build stuff preferentially...
2013-02-04 20:44:41 +00:00
espie
2dff7598bc
state the obvious
2013-02-04 11:35:27 +00:00
espie
eef793741e
some of args seen in trace might be undef'd. avoid triggering the WARN
...
handler while handling SIG{INFO}.
Also, have parse_size_info be verbose about what's going on.
2013-02-04 09:43:57 +00:00
espie
28f4e1a1c1
document that dpb will be smart about calling show-size
2013-02-03 22:27:28 +00:00
espie
96c787bef7
be a bit more verbose about what's going on for junk
...
specifically:
- log the paths that may run junk
- explicitly log nojunk behavior
2013-02-03 21:45:52 +00:00
espie
f4f75f92fc
oops
2013-02-03 21:17:21 +00:00
espie
60668deeb2
document mfs location
2013-02-03 13:38:13 +00:00
espie
44ac9e61b7
move control of the "building in mfs" part under PortsBuilder/Heuristics.
...
Store previous pkgname.
do show-size only sporadically if fullpkgname didn't change
2013-02-02 13:35:17 +00:00
espie
c575fb5906
zap duplicate line spotted by naddy@
2013-02-02 13:23:24 +00:00
espie
cba881a653
print pkgname along with pkgpath, zap show-fake-size
2013-02-02 12:31:06 +00:00
espie
0664d5777f
switch to USE_MFS=Yes
...
requires -current bsd.port.mk
2013-02-02 12:30:32 +00:00
espie
76db5a9843
add proper support for mfs builds, namely WRKOBJDIR_MFS and friends
2013-02-02 12:29:20 +00:00
espie
6483580757
fix ALL_FAKE_FLAGS to not contain -jN twice
2013-02-02 12:28:50 +00:00
espie
eaa7b64919
document -S
2013-02-02 10:38:26 +00:00
espie
12f4db34e8
allow for size log to contain pkgpath(pkgname) instead of just pkgpath.
...
make -S useful again: allow it to "prime" the log from an existing source,
but don't write back to it.
2013-02-02 10:36:31 +00:00
espie
5034abef68
gc old method
2013-02-02 09:02:11 +00:00
brad
67539e1f17
Enable m88k for shared libs.
...
ok miod@
2013-02-01 05:18:48 +00:00
espie
6eaec24d2d
wild guess at the loop
2013-01-31 10:29:58 +00:00
brad
9123ea4af1
missed this when removing old gcc.
2013-01-30 07:57:50 +00:00
espie
5eb35f9f1e
adjust documentation a bit.
2013-01-29 16:19:41 +00:00
espie
427ff0a96e
document m parameter for -F
...
noticed by jasper@
2013-01-29 16:14:44 +00:00
espie
98aec6d004
don't let check_signature be silent, say that the package is absent, make
...
things more obvious with a new REVISION/version.
2013-01-29 15:11:41 +00:00
espie
5c9dbf69b7
adjust to reality: the current algorithm cleans up packages one subpackage
...
at a time.
2013-01-29 15:11:02 +00:00
espie
6fdb04dc14
handle memory and mem as synonyms
2013-01-29 11:16:58 +00:00
nigel
1071d1b260
Change <hostname>-stop to stop-<hostname>
...
Ok to fix espie@
2013-01-28 23:07:36 +00:00
sthen
b4dbef5c18
Only use PFRAG.shared for plugins, not standard libraries; pkg_create has
...
had magic to deal with these since PkgCreate.pm 1.68. ok espie@ (rewrite of
this code is pending, but this helps for now).
2013-01-28 21:27:59 +00:00
espie
a3886a4ab8
reversed test result somehow
2013-01-28 17:36:11 +00:00
espie
f11250b9ac
okay, less smart, just do the whole series, don't special case the
...
main package. should work.
2013-01-28 15:52:04 +00:00
espie
8ced3b60c4
rebuild.log is gone, that info went back to separate paths.
...
Reasoning as follows: we were starting a job, and dumping the path
info in there. Just stopping right there makes little sense, so put
the rebuild info there anyways.
2013-01-28 13:48:31 +00:00
espie
5c9638a323
tweak, remove rebuild.log, as we log stuff directly into paths/ now.
...
do register_package in a slightly more efficient way (less -f tests)
2013-01-28 13:31:40 +00:00
espie
a2a420d6a5
fix -R for real... what check_signatures does is nice, but needs to be
...
partly redone in the main dpb process. Obviously, children's changes to
uptodate don't affect the main process.
thanks to fgs@ for being the crash-test bunny.
2013-01-28 13:25:59 +00:00
espie
f9d05fde34
document FETCH_TIMEOUT
2013-01-28 12:24:51 +00:00
espie
573c499cf5
add a FETCH_TIMEOUT, similar to STUCK_TIMEOUT, but slightly simpler,
...
as there is no speed factor there...
2013-01-28 12:23:45 +00:00
espie
11cd4c0c77
don't bother dumping distfiles, history is quite enough
2013-01-28 10:50:46 +00:00
espie
e06e006a3a
document new logs, new -J, new -M.
...
removes description of fetch/distfiles.log as that one no longer serves
any purpose (bye bye!)
2013-01-28 10:24:24 +00:00
espie
c259d653cc
tweak memory handling to make it less special: treat -M as an override_prop
...
as we should.
Use core methods to access the memory threshold.
UI simplification: -M can take a suffix, default is K, but you can just say
-M 520M or -M 2G now.
2013-01-28 10:14:17 +00:00
espie
cd3023d079
add debugging message that does not depend on Devel::StackTrace, may be
...
useful to find out where dpb gets stuck
2013-01-28 09:56:00 +00:00
espie
a2781ea1ff
remove debug scaffolding
2013-01-27 23:17:00 +00:00
espie
2f7c8bf00b
bump default junk back up to 150, makes more sense with new accounting
2013-01-27 23:15:57 +00:00
espie
560aa0bc8c
ditch register_built, no longer serves any purpose.
...
switch junk to counting depends and count depends correctly
2013-01-27 23:15:12 +00:00
espie
58da2425a1
no longer a bug in mfs, at least on modern arches.
2013-01-27 18:43:11 +00:00
espie
9bbd046cae
gc stuff that should have gone along with the old mirroring ports
...
infrastructure.
dpb does all that internally these days
2013-01-27 18:21:55 +00:00
espie
f37356a9d9
tweak the way the STARTUP script is run
2013-01-27 17:54:45 +00:00
espie
a08b2eed1f
typo. obviously no-one reads this but me...
2013-01-21 21:33:32 +00:00
espie
dd5cd8ba77
grr
2013-01-21 15:08:25 +00:00
espie
74d5c11fa6
document new -S
2013-01-21 14:59:45 +00:00
espie
3ec5148eaa
rollinglog must be reopened each time, comment why
...
(commented snippet that shows how to prime -s heuristics based on time
dangerous but useful)
2013-01-21 14:56:29 +00:00
espie
0a438fe138
prompted by jasper: reintroduce -S, but as a rw option, to override
...
the rolling journal location for size log.
make it possible to share dpb -s output from a given architecture with
similar architectures
2013-01-21 14:50:30 +00:00
espie
29eb09c90e
small takes speed factor into account
2013-01-21 12:32:51 +00:00
espie
408fcdb5b6
PortBuilder already opens logfiles, so pass them around, instead of closing/reopening
2013-01-21 12:29:52 +00:00
espie
cc22a0ca26
document simpler -s handling
2013-01-21 12:07:01 +00:00
espie
9ad81d2390
simplify wrkdir size handling, turn that into a rolling log.
2013-01-21 12:03:32 +00:00
espie
d0e1642686
fix -R for multi-packages situation: once we ascertain a given port is
...
out-of-date, also check every relevant subpackage, and remove the files
accordingly.
tricky loop to avoid recomputing things
2013-01-21 11:27:24 +00:00
espie
d5fc675d4f
change the way we junk: count ports which install depends instead of all
...
ports.
let has_depends return the number of depends, this may come in handy
2013-01-21 11:06:59 +00:00
espie
dbfc0f1d4a
saner and more consistent handling of small
2013-01-21 10:46:42 +00:00
espie
4b2a548e1f
document small, drop ANVILS as to why STARTUP is a good thing.
...
explicitly say that memory threshold is a total KB value.
2013-01-21 10:42:49 +00:00
espie
dea7bce7f6
tweak log, awaiting-locks is a better name, and put in timestamps
2013-01-21 02:06:12 +00:00
espie
05c713cab5
move the dependency solver to PortInfo, so it can be reused if necessary
2013-01-21 02:01:08 +00:00
espie
0898cedfc3
capitalization
2013-01-20 21:29:55 +00:00
espie
32e43e0139
zap :L for clean like we did for flavors. Same argument applies.
2013-01-19 11:34:11 +00:00
espie
681c718ee7
kill checksum-and-list
...
optimize away some depend stages: since the main dpb process maintains
a synchronous list of live_depends, and only releases host locks synchronously,
it can check depends lists against already known live_depends (and avoid
some depend stages entirely).
naddy@ says it gains 40 mn on his box...
2013-01-18 21:11:55 +00:00
espie
06112d2478
log the time spent waiting for locks.
...
remove most of the "list distfiles" ad-hoc code, this stuff belongs in
bsd.port.mk.
2013-01-16 10:38:56 +00:00
sthen
f187e9fe4e
reserve userid for xl2tpd
2013-01-15 23:01:40 +00:00
ajacoutot
a0ec318e4f
ftp.acc.umu.se is always the most up-to-date gnome mirror.
2013-01-15 13:09:15 +00:00
rpe
5344ad0b60
add missing backslash in find command
...
ok espie@
2013-01-13 15:28:51 +00:00
espie
3db511776e
ChecksumAndList: unused yet. make it possible to save archive-file-lists
...
for later perusal (e.g., locatedb for distfiles)
2013-01-13 14:04:00 +00:00
espie
14e4155cd7
zap SUPDISTFILES earlier if not needed.
...
framework to save listings of archives
2013-01-13 14:03:20 +00:00
nigel
d0b579ed20
_nikto user for security/nikto
...
Ok benoit@
2013-01-12 17:21:59 +00:00
espie
e6106723a7
work-around for special need users
2013-01-12 14:44:41 +00:00
espie
dca439d6cc
fix problem noticed by nigel@
2013-01-12 13:51:43 +00:00
ajacoutot
e2866878ad
Put belnet first in MASTER_SITE_GNOME and remove some duplicates.
2013-01-12 07:54:04 +00:00
rpe
1c97e0bb13
- sync usage text with manpage
...
- show usage and exit if no pkgnames are listed on cmdline and none
are found in current directory
ok espie@
2013-01-11 21:21:32 +00:00
rpe
87a375054f
- fix typo in SYNOPSIS
...
- document options -m -x
- describe what happens, if no pkgnames are listed on cmdline
ok espie@
2013-01-11 21:18:17 +00:00
espie
e6c4598eeb
inheritance works better when you don't forget to call superclass
2013-01-11 21:16:08 +00:00
rpe
abc551c9ff
sync manpage with code
...
more X for mktemp
ok espie@
2013-01-11 21:08:44 +00:00
espie
5b842818db
belt and suspenders... don't know why, but sometimes, the stuff is not
...
where I think it should be
2013-01-11 20:11:54 +00:00
espie
a7fad66add
show how many locks we waited for, that's easy to do and always fun
2013-01-11 17:39:03 +00:00
espie
0cd153f7f8
... and tweak to waiting-for-nfs so that things are clearer
2013-01-11 17:35:43 +00:00
espie
a6c88d2fad
explicitly wait for junk_lock... doesn't happen that often, a lot
...
of try_lock will succeed, so the extra processes are cheap
2013-01-11 17:23:51 +00:00
espie
d8b015e058
oopsie, broke junk
2013-01-11 16:59:07 +00:00
espie
4bf0c613db
task->name misused, go grab directly phase/name so that it works like
...
I want it to
2013-01-11 16:35:47 +00:00
espie
d5af18631f
logic goof
2013-01-11 16:24:26 +00:00
espie
36852b448d
ouch
2013-01-11 16:11:21 +00:00
espie
2269ffdd0e
run handle_job earlier, so we can see which junk_locks occurred in setup.
2013-01-11 15:48:51 +00:00
espie
ee29f76d8a
revamp tasks a bit more: have Job::Port let each task do its own setup.
...
as a result, try locking directly before the fork, so we can distinguish
tasks that did enter the lock directly from those that have to wait.
(stuff like depend! means it has to wait/had to wait).
Also, allows tasks to just "vanish" after setup: used for checksum (the
whole code is now in there), and for junk (if several ports try to junk
simultaneously).
keep better track of the junk lock thru a job, so that it's released when
we get out of a serialized sequence of tasks (thus, no longer
release/reobtain at end of show-prepare-results/junk).
checksum prints its own distsize now, something that was awkward before.
2013-01-11 15:35:53 +00:00
espie
49361d348f
force when redraw
2013-01-11 13:22:25 +00:00
espie
3b07fda58c
make this a little bit shorter and faster.
...
(considering how often it's called, yes, it's worth it)
2013-01-10 22:42:21 +00:00
espie
2ca4447e66
get rid of show-prepare-results temp file, add glue to synchronize to
...
normal log.
2013-01-10 21:41:55 +00:00
espie
643f85b498
create pkgpaths objects is rather costly, so first do a string comparison
...
instead of creating the same object again and again.
removes *most* of the calls to PkgPath->create/compose !
2013-01-10 16:20:10 +00:00
espie
647327b6ba
don't go thru patch/configure/build for very small ports.
2013-01-10 12:27:21 +00:00
espie
aa851e66b1
keep a trace of "small" ports: we won't log every detail concerning
...
these
2013-01-10 12:05:55 +00:00
espie
1d0a9bd7bb
say goodbye to prepare/show-prepare-results,
...
there's no need for a separate step: show-prepare-results should be
practically instantaneous, and if there's noise, prepare will exit(1)
anyways.
just need to explicitly log the output of prepare.
2013-01-10 12:04:23 +00:00
espie
2abd089617
there's no need to fork a process if the checksums are all cached
2013-01-10 12:00:38 +00:00