4642 Commits

Author SHA1 Message Date
espie
adf97138bc tweak pre-fake and post-install modules, so that they're run in the
exact same way (e.g., with FAKE_SETUP done and with changed
identity already).

Adjust user modules accordingly.
2017-12-03 11:10:10 +00:00
espie
20e4b3344d add a "status fullpkgpath" that displays what it currently knows about a given path, to be augmented eventually. 2017-11-30 14:54:00 +00:00
espie
63f09e1325 a bit of glue to prevent adding the same host twice 2017-11-30 11:17:53 +00:00
espie
2b052aa2ad oops, I forgot to give the core back after scanning. 2017-11-29 11:21:49 +00:00
jca
d99f43a337 Remove gettext remnants, no longer relevant
ok sthen@
2017-11-28 18:30:16 +00:00
espie
48800a9e33 more love after feedback from danj@ 2017-11-28 15:38:07 +00:00
espie
a3192231f6 document the initial set of CONTROL commands 2017-11-28 14:40:58 +00:00
espie
87c6635cac new command: add paths. Allow adding new pkgpaths after starting dpb 2017-11-28 14:30:05 +00:00
espie
cdf75fae08 do check_command early so I can steal cores when needed 2017-11-28 14:29:30 +00:00
espie
7ad3b2301c add stats 2017-11-28 13:17:49 +00:00
espie
e0c842248a fix "unknown command"
add help
2017-11-28 13:13:22 +00:00
espie
b1edb2f674 much simpler logic with this set up like that 2017-11-28 10:52:28 +00:00
espie
cabaed4d12 use expand_path on CONTROl. After all it's a path, so it can have
variable parts
2017-11-28 10:45:44 +00:00
espie
d6a02d4af9 scrape beginning of interactive mode, the socket controler works much
better.
2017-11-28 10:31:50 +00:00
espie
88170a8ca8 be more stupid, always tag _build/runtime_params and .ninja_log
as files that may change.  there's really no need for logic, who else
would use those files ?
2017-11-28 10:26:00 +00:00
espie
e5a437f052 first implementation of a controlling socket (-DCONTROL=path)
that can receive commands (nc -U path)

put all the logic inside External so that the rest is less disturbed for
now.
2017-11-28 10:16:18 +00:00
espie
9749e297b1 account for late additions to dontclean, don't run clean if stuff has
been added.
2017-11-28 10:15:10 +00:00
espie
9fd1175539 feedback will require "unknown command" 2017-11-27 17:00:50 +00:00
espie
67e83b757f future framework to accept commands on unix socket 2017-11-27 15:41:55 +00:00
espie
0a7eafa733 bleh, wrong test around 2017-11-26 16:28:28 +00:00
espie
7536a9e0ac reduce noise in check-wrkdir output, ninja builds update their log during
fake, and that's okay
2017-11-25 12:19:07 +00:00
espie
fd096fa2e2 glue that invokes check-wrkdir optionally 2017-11-24 14:48:33 +00:00
espie
0d3c66c241 a new very optional script to check various things during build
(mostly permissions for _pbuild and files changed during fake)
2017-11-24 14:47:26 +00:00
espie
08ecf94982 finish killing PORTS_BUILD_XENOCARA remnants 2017-11-24 14:26:20 +00:00
espie
43a36a1093 save the full path used, eventually for better restart, but not yet 2017-11-24 14:24:04 +00:00
espie
10c8e68ebc - add FIX_EXTRACT_PERMISSIONS, for ports that have paranoid archives
so that building with _pbuild does not make unreadable.
- zap MTREE_FILE, no longer useful
- rectify fake tree permissions under "normal user" fake stage.
okay jca@, naddy@
2017-11-23 18:11:05 +00:00
jca
4593b2842d Remove powerpc from LLVM_ARCHS, it never built there.
This should unlock the ~235 ports that try to use ports-clang before
ports-gcc.

ok bcallah@ landry@
2017-11-23 14:33:21 +00:00
espie
22b9cc686e kill PORTS_BUILD_XENOCARA in dpb as well. 2017-11-23 12:36:25 +00:00
espie
d0be71e5d3 kill the experimental xenocara build
I still haven't managed to make it fast enough to be worth it,
and I'm unlikely to do so, so bye bye.

already discussed a bit during p2k17, where I said "I'll think about it".
Well...
2017-11-23 12:29:15 +00:00
espie
7879b88914 as we do the install-wrapper twice, don't copy it the second time if it's
identical
2017-11-23 12:10:36 +00:00
espie
b0ac698a0b group more stuff after post-patch
okay sthen@, aja@ and a full bulk build
2017-11-19 17:31:04 +00:00
naddy
9ec48599e0 remove the backward-compatible COMPILER values as they are no longer used 2017-11-17 00:24:01 +00:00
espie
03bb654c59 allow better integration of ports tree with dpb.
if PORTS_PRIVSEP=Yes, use FETCH_USER and BUILD_USER (defaults to
_pbuild/_pfetch) for common directories. Includes
- fetching stuff into DISTDIR
- building packages under PACKAGE_REPOSITORY
- also caching packages
- running register-plist

the extra complication is reasonably small, the largest part being the
gap between pkg_create to tmp file as regular user and moving into
_pbuild.

(regular pkg_create has to be the same user as make build, because of
ports like boost where the archive has no read rights for anyone but
the user active during extraction)

The full build is not privsep'd (yet, I have to see how complicated this
gets), but with this, using the same machine for regular ports build and
for dpb usage becomes easier.

(note that dpb proper sets PORTS_PRIVSEP=No since it's doing all the privsep
on its own)

as discussed with pirofti@, sthen@ during p2k17

okay pirofti@
2017-11-13 14:01:44 +00:00
espie
cfd0c2446d prepare dpb for better ports tree integration: if we got started as root,
we're already privsep'd so don't do it again
2017-11-13 13:51:21 +00:00
espie
05f9d086bf if we user a non-standard builduser/fetchuser, mark that in mk.conf
also deal with "fun" devno (I've had this in my tree for ages)
2017-11-11 13:57:04 +00:00
ajacoutot
cf74427e0d Enable fp_cv_const_EBADMSG and fp_cv_const_EPROTO now that we have proper
definitions.

bulk tested
ok naddy@ sthen@
2017-11-10 07:10:02 +00:00
naddy
570e9d2a8f MODGETTEXT_LIB_DEPENDS, MODGETTEXT_RUN_DEPENDS, MODGETTEXT_WANTLIB are no
longer used
2017-11-06 20:43:22 +00:00
espie
e721a43980 define COMPILER_LINKS early so that modules can test it easily 2017-11-05 09:10:13 +00:00
landry
a2c4435970 reserve uid/gid 794 for _burp user/group 2017-11-03 11:49:58 +00:00
naddy
73f098c47c <net/slip.h> has been removed 2017-10-31 14:39:10 +00:00
naddy
fcc553acf5 Add missing ARCH and MACHINE_ARCH values to ALL_ARCHS.
Only use MACHINE_ARCH values for GCC[34]_ARCHS.  This seems to be consistent
with the other entries.
2017-10-26 19:40:32 +00:00
espie
96de49bdff use pkg_create -S so that port sigs and package sigs are handled
identically.

Along with removing the XXX in out-of-date, this also fixes dpb update
modes.
2017-10-11 14:27:20 +00:00
espie
d38cac9c54 don't die if we can't print this error message.
Seems that some people are heavy handed on the build cluster, as
experienced by phessler@
2017-10-05 22:41:32 +00:00
espie
bd1fb6f1ca oops, ports without depends have @version at the end. 2017-09-28 19:10:09 +00:00
espie
9a82bf35d3 have out-of-date ignore the @version part for now.
properly handling that is more complicated and can wait until after 6.2.

problem pointed out by naddy@
2017-09-28 10:30:35 +00:00
tb
08a014ca9c Display a clear error message indicating that WRKOBJDIR must be on a
wxallowed filesystem for USE_WXNEEDED ports instead of erroring out
unhelpfully.  Prompted by numerous questions about Python builds failing
with "configure: error: cannot run C compiled programs." on ports@

Input, tested in bulks and ok sthen; ok danj; no veto from espie.
2017-09-18 16:32:06 +00:00
espie
f0a5685b2c activate @version 2017-09-18 15:20:54 +00:00
espie
fbc2afa76d scaffolding for -V option, the only missing part is activating it in
bsd.port.mk
2017-09-18 13:02:34 +00:00
espie
86839ea99b don't count @version as relevant when registering plists. 2017-09-18 13:01:43 +00:00
robert
f00a70a056 no more _zarafa user 2017-09-13 10:45:20 +00:00