3531 Commits

Author SHA1 Message Date
naddy
f1d7acc394 vax now uses gcc3.
Retain GCC2_ARCHS until all references to it have been removed.
2013-08-07 11:11:52 +00:00
espie
2fee4e8d8d show values when mismatch 2013-08-07 09:21:09 +00:00
espie
55f0a0e59b turn on TRUST_PACKAGES by default, zap knob 2013-08-07 07:20:24 +00:00
espie
ad7e6062f1 make sure the new nfs watch stuff works (unconfuse engine/subengine
relationship) now that landry@ can trigger this reproducibly.
2013-08-07 06:56:42 +00:00
sthen
8b4192bd90 update MASTER_SITE_NETBSD, from Juan Francisco Cantero Hurtado 2013-08-06 20:10:50 +00:00
espie
fac62d2d88 the major change from a few days ago completely broke dpb -R (reported
by fgs@, kili@, nigel@)
repair it.
- introduce end_check to cope with package files updated
(not quite satisfied with the source code, but this works, and will do for
5.4).
- adjust report to build.log to conform to the new semantics: namely, if it
didn't fail, then it's okay, don't even look at possibly missing packages
because of nfs (noticed by nigel@).
2013-07-21 16:24:32 +00:00
espie
e2af3134a1 document new way nfs "works". 2013-07-18 05:40:31 +00:00
espie
dd5a4d32bf change the way errors are handled, fixed version:
- pass error condition from Job/Port.pm all the way to the engine
- use that to know whether we fail, instead of the existence of packages
(but still keep track of what we're doing correctly, THAT'S the fix)
- refactor error handling into OO version
- keep track of locks/errors/packages we're waiting for thx to nfs

all of these keep the lock around, and react to the lock being removed.

use case for nfs: if there was a revision bump after dpb scanned the port,
it will never find the package. Removing the lock will allow dpb to rescan
and find the correct packages.

with this, dpb no longer waits after nfs. More importantly, it does not
report nfs hangs as E:, rather as H:... (and it can "wait" for much longer
periods, since it keeps running and only checks on new jobs).
2013-07-18 05:36:54 +00:00
william
c603c2d3d1 reserve 721 for _dkimproxy 2013-07-17 03:01:13 +00:00
sthen
baf50c268b reserve 720 for lldpd 2013-07-12 10:26:08 +00:00
espie
e263c20431 note paths we cleaned in the locks, so that we're not stuck with their
depends or nonjunk properties.
2013-07-12 08:07:19 +00:00
jca
49d9c2c78e Introduce MASTER_SITES_GNUPG and reuse it for various GnuPG
(sub)projects.  http:// urls first, then the primary ftp
site for ''make peek-ftp'', as suggested by sthen@.
ok sthen@
2013-07-12 00:49:23 +00:00
bcallah
940af60d28 Remove the MASTER_SITES=${HOMEPAGE} construct; as per an email from naddy@
back in April: "There are times where you don't want to duplicate data...
and there are times where you are just being silly."
"Hmm. Then sure why not." aja@
2013-07-10 15:22:23 +00:00
espie
d802e111af vax does not have all libm functions (yet), don't waste time building
stuff that will not link anyways.
2013-07-09 19:48:56 +00:00
landry
f3ef2ad0fb Doh, fix typo. 2013-07-08 18:37:18 +00:00
landry
19b9184761 Restore previous behaviour wrt PKG_CREATE_NO_CHECKS. Keep it to 'no' by
default (for production/bulks), setting it to 'yes' disables the check
as it was before (for slow archs), and setting it to 'warn' will now
show the differences between wantlib lists, but as a warning and not an
error (which was the behaviour introduced in previous commit for 'yes'
case)
ok espie@
2013-07-08 18:27:30 +00:00
espie
2f15f8848d tweak PKG_CREATE_NO_CHECKS: the check is always useful and
inexpensive, so do it anyway. PKG_CREATE_NO_CHECKS=Yes turns
it into a warning.

Test bunny landry@
2013-07-08 12:45:56 +00:00
espie
9c4273a9f1 no longer depend upon base's elf toolchain 2013-07-05 21:48:01 +00:00
pirofti
bca96cd921 Synchronize the synopsis with the usage.
Comments and okay espie@.
2013-07-05 13:49:50 +00:00
pirofti
aadab1861e Change emacs22 to emacs in sh's plist. 2013-07-05 09:28:23 +00:00
jasper
8e89fb0681 allow dpb to install packages with a non-standard localbase
ok espie@
2013-07-04 17:45:34 +00:00
jasper
25b64d04b4 if LOCALBASE isn't the default /usr/local, pass -L to pkg_add so we can still
install packages with 'make install'

w/ and ok espie@
2013-07-04 08:04:04 +00:00
espie
97120f6aa1 normal ports task can accurately mark that they have failed.
(so that the builder can look at them, and stop trusting the apparition
of pkgfiles to indicate the build succeeded/failed)
2013-07-01 12:35:35 +00:00
espie
b05b10e572 nope, vax doesn't have ieeefp.h 2013-06-30 20:37:46 +00:00
espie
d6309756b9 if core is running in "always_clean" mode, always remove the affinity marker
if we find out we got cleansed...
2013-06-30 16:45:16 +00:00
espie
b0f8404077 temporary patch: when always clean, remove the tasks we wanted to run.
(need to address the recording of errors from some tasks in a more proper
way and deal with nfs better)
2013-06-30 16:35:43 +00:00
jasper
063350b836 book a seat for _puppetdb 2013-06-27 12:29:24 +00:00
espie
615c3ee52a belt AND suspenders. In case this triggers because BUILD_PACKAGES !=
MULTI_PACKAGES and IGNORE doesn't get set.
2013-06-25 20:21:52 +00:00
espie
6aa72ffb2b okay, remove dumb optimization 2013-06-25 20:21:03 +00:00
espie
505f43d1d6 sorry sebastia, that's a typo 2013-06-25 19:48:14 +00:00
espie
d11813d1c2 document the reason why fetch should see everything 2013-06-25 19:47:49 +00:00
espie
c6fa1b42ff tricky (problem found by sebastia@ on vax...): BUILD_PACKAGES makes
subpackages vanish too entirely, so later, when other ports want them
as dependencies, we're in trouble!

Instead, record both MULTI and BUILD, and compare them when merging depend.
Don't stub out the new paths directly, but "pre-stub them out" with an
IGNOREd message, so the engine picks them, stubs them out for real, and
logs the reason.
2013-06-25 09:05:19 +00:00
espie
265cd0dff3 dpb still needs MULTI_PACKAGES 2013-06-25 08:46:55 +00:00
espie
c997331619 should fix some of sebastia's warnings... these are actually old 2013-06-25 07:49:52 +00:00
espie
5cc8131aa3 document that it's now possible to put a lot of things inside the config
file instead of passing extra options on the command line.
2013-06-24 20:30:56 +00:00
espie
3fdaec60c5 fix permanent log 2013-06-23 13:19:33 +00:00
espie
18ac15de39 stub_out only removes build_path_list.
equivalent paths will end up with no depends, as they actually share
info, but still on queues.

So do a sanity check when stuff has no depends: if it's stubbed out, just
drop it, as it's been ignored under another name.

Problem noticed and info provided by landry@

(it's all vax's fault anyways, as stub_out is only needed to let dpb fit
within 32M while gobbling thousands of ports info)
2013-06-23 09:04:39 +00:00
espie
b2dece358f typo, broke sthen@'s run 2013-06-22 09:16:36 +00:00
espie
7be6b7b117 reorganize option and config file parsing slightly so that variable
values can be in config files.
command line should still override config files.
to be documented shortly, but stuff like
FETCH_JOBS=n
WANTSIZE=1
MIRROR=0

should now work within a hosts file.
2013-06-21 23:13:37 +00:00
espie
c97ca817ec introduce a VARBASE, so that all 3 directories where package install stuff
(/etc, /usr/local, /var) can be overridden eventually
2013-06-21 12:28:54 +00:00
espie
657ee62669 expose FAKE_SETUP so that modules that want to do their own
"do-install" can do so in a proper way.
2013-06-21 12:27:32 +00:00
espie
4ab9c5bdaf somehow, I forgot to dump-vars PREFIX 2013-06-21 10:45:12 +00:00
espie
c62257bdfe document -DMIRROR 2013-06-21 10:10:58 +00:00
espie
b50533eff0 disentangle the config/init code from the rest.
- move the meat of handle_options from dpb into config->parse_command_line
(this means a backcall to still inherit from OpenBSD::State).
- move parse_config_files from core into config.
- move the prop handling into proper HostProperties (part of config
obviously)
- create a Core::Init file that contains all the former DPB::Host::Factory
and associated jobs.

there's still a wee little bit of cleanup to do, but this should be
easier to maintain, as all option handling is now in one place, and
startup and host confi is now easier to figure out.

- add a -DMIRROR=0/1  setup that controls whether SUPDISTFILES will be
fetched (defaults to 1 for -F and 0 for -f).

- actually allow for several host files to be parsed, as the name implies
2013-06-21 09:05:18 +00:00
sthen
b8e199e3b3 reserve 718 for _stuntman 2013-06-18 11:33:27 +00:00
espie
686b88c130 no use writing code if you don't use it, right ? 2013-06-17 10:47:44 +00:00
rfreeman
6854815a38 add entry for uptimed, which will be imported shortly
OK sthen@
2013-06-17 00:10:08 +00:00
espie
b1e5fe1116 don't recheck the same file again and again. we can cache it properly here 2013-06-16 13:17:59 +00:00
espie
c8f035166f use redirect_fh.
add an extra unconfusing message, to say we renamed the file after it
checksummed okay.
2013-06-16 13:17:35 +00:00
espie
3ae7f059c8 zap complicated bogus logic,
fetch+immediate build should work much better now.
2013-06-15 20:06:50 +00:00