9047 Commits

Author SHA1 Message Date
Joshua Root 4d2fae7aab mportsync: ensure verboseflag is always set
Closes: https://github.com/macports/macports-base/pull/417
2026-07-11 06:35:47 +10:00
Joshua Root 98be4f81a3 get_path_commit: use safe.directory 2026-07-11 06:35:47 +10:00
Clemens Lang bea36d7aea sip_copy_proc: Don't choke on EINTR
Since this code runs in darwintrace.dylib, which is preloaded into
various processes at runtime, we cannot assume that SA_RESTART is set,
and we also can't modify the processes' state to enable that. As
a consequence, we must expect system calls to fail with EINTR and
restart them. Notably, this happened for me during installation of
texlive-common with the waitpid() system call for the re-signing
operation.

Address this by doing the waitpid in a loop and restarting it on EINTR.
2026-07-10 11:23:23 +02:00
Joshua Root 1ad9fd370c Expose portstartupitem::loaded without portstartupitem_run
Closes: https://trac.macports.org/ticket/74185
2026-07-04 21:24:37 +10:00
Joshua Root 756606eb77 tcl: upstream fixes for Thread build failure 2026-07-01 17:18:36 +10:00
Joshua Root 49767c8e7a Update Tcl to 9.0.4 2026-07-01 16:33:16 +10:00
Joshua Root cc211b28c7 Split package1.0 targets
See 06ff92e
2026-06-30 16:59:18 +10:00
Joshua Root 113d9b4236 Split remaining port1.0 targets
See 06ff92e
2026-06-29 14:33:40 +10:00
Joshua Root 05cc462c97 Split port1.0 targets a-d
See 0b375d0669
2026-06-26 10:27:31 +10:00
Joshua Root 06ff92efad Allow deferred loading of code for running targets
A Portfile interpreter created by mportopen will only end up actually
executing a subset of all targets, and may not execute any. Therefore,
splitting the code for running targets from that which is needed just
to parse the Portfile improves the speed of mportopen and reduces the
memory used by each open mport (which can really add up when installing
ports with large dependency graphs).

Initially only the portfetch code has been split, creating the new
portfetch_run package.
2026-06-26 10:27:31 +10:00
Fred Wright 928dc476a4 Fix possible PortIndex rsync update failure.
When attempting to update the local PortIndex from the precomputed
version for the current OS/arch, there is sometimes a preexisting
version with the correct mtime and size, but not the correct content.
With the default options, rsync fails to update it.  This change
suppresses skipping based on size and time (for the index-related
files, not the tarball).

This bug has no obvious user-visible effect, since the bad PortIndex
fails the signature check and is then regenerated, costing extra
time but not malfunctioning.  It's visible in the debug output.

TESTED:
Now correctly uses the downloaded index in a formerly failing case.
2026-06-26 09:52:30 +10:00
Joshua Root 705a14db2b portfile.7: attempt to fix syntax error
See: https://trac.macports.org/ticket/74123
2026-06-21 02:03:03 +10:00
Joshua Root dc32ae80b9 macports.tcl: add missing msgcat package
Closes: https://trac.macports.org/ticket/74119
2026-06-20 07:04:01 +10:00
Joshua Root e545ebe8c5 Defer loading of some packages 2026-06-18 05:39:46 +10:00
Joshua Root 63e51116d7 fetch_common: remove unused variable 2026-06-18 04:46:27 +10:00
Joshua Root ea7f26f176 mportsync: call getuid once outside loop
Closes: https://trac.macports.org/ticket/74113
2026-06-16 18:37:58 +10:00
Paul Guyot 4665f63232 Parse ar files for Mach-O code
Signed-off-by: Paul Guyot <pguyot@kallisys.net>
2026-06-15 21:49:26 +02:00
Clemens Lang 1db3e7ff4a darwintrace: Retry for EBADF when socket is closed
This currently triggers during the gtk3 build, suggesting there's a way
to close the file descriptors that isn't being caught by trace mode.
Work around this by re-establishing the connection when this happens.
2026-06-11 22:23:12 +02:00
Joshua Root 2229835b16 restore::main: add missing variable declaration 2026-06-11 07:34:38 +10:00
Joshua Root 445c7954c6 Document extract.methods
Also correct extract.suffix values
2026-06-04 16:49:17 +10:00
Joshua Root 52a975c0e7 Update ChangeLog 2026-06-04 16:14:49 +10:00
Joshua Root 6a6ec8067b Show phase durations at info level if using -T 2026-06-04 15:46:15 +10:00
Joshua Root 17defca435 Update ChangeLog 2026-05-25 03:51:36 +10:00
Joshua Root 22e1abd866 Add --purge option for port clean 2026-05-25 03:49:53 +10:00
Joshua Root 76d81e59d8 mportsync: clean up daily tarball's sig too 2026-05-21 21:07:58 +10:00