Hi,
I am also getting a failure of selfupdate when going from 2.11.0 to 2.11.1
Self update starts OK, and goes through most of the build but fails at
the end with
/usr/bin/install -c -d -o "root" -g "admin" -m "0755"
"/opt/local/share/macports/keys/ports"
/usr/bin/install -c -d -o "root" -g "admin" -m "0755"
"/opt/local/share/macports/keys/archives"
/usr/bin/install -c -o "root" -g "admin" -m 444 ./keys/base/*.pub
"/opt/local/share/macports/keys/base/"
/usr/bin/install -c -o "root" -g "admin" -m 444 ./keys/ports/*.pub
"/opt/local/share/macports/keys/ports/"
/usr/bin/install -c -o "root" -g "admin" -m 444 ./keys/archives/*.pub
"/opt/local/share/macports/keys/archives/"
/opt/local/libexec/macports/bin/tclsh8.6
./src/upgrade_sources_conf_default.tcl "/opt/local"
/opt/local/libexec/macports/bin/tclsh8.6 ./src/images_to_archives.tcl
make: *** [install] Killed: 9
Command failed: CC=/usr/bin/cc
SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk
./configure --prefix=/opt/local --with-install-user=root
--with-install-group=admin --with-directory-mode=0755 --enable-readline
&& SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk make
-j8 SELFUPDATING=1 && make install SELFUPDATING=1
Exit code: 2
Error: Error installing new MacPorts base: command execution failed
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
Error: /opt/local/bin/port: port selfupdate failed: Error installing new
MacPorts base: command execution failed
Does anyone else get the same issue on selfupdate ?
Chris
On 14/07/2025 12:31 pm, Curtis Matz wrote:
I normally don’t have any issues with Macports but with the new release I’m
receiving this error after Macports told me to run port -v selfupdate. Is the
“permission denied” error an issue?
---> Checking for newer releases of MacPorts
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 63 100 63 0 0 694 0 --:--:-- --:--:-- --:--:-- 700
MacPorts base version 2.11.1 installed,
MacPorts base version 2.11.1 available.
---> MacPorts base is already the latest version
---> Updating the ports tree
Synchronizing local ports tree from
rsync://rsync.macports.org/macports/release/tarballs/ports.tar
Willkommen auf dem RSYNC-server auf ftp.fau.de.
Nicht all unsere Mirror sind per rsync verfuegbar.
Welcome to the RSYNC daemon on ftp.fau.de.
Not all of our mirrors are available through rsync.
Transfer starting: 3 files
./
ports.tar.gz
ports.tar.gz.rmd160
sent 35907 bytes received 394618 bytes 4305250000 bytes/sec
total size is 35522384 speedup is 82.51
Willkommen auf dem RSYNC-server auf ftp.fau.de.
Nicht all unsere Mirror sind per rsync verfuegbar.
Welcome to the RSYNC daemon on ftp.fau.de.
Not all of our mirrors are available through rsync.
Transfer starting: 3 files
rsync(15040): error: PortIndex: utimensat (2): Permission denied
./
PortIndex
PortIndex.rmd160
sent 138 bytes received 3134347 bytes 31344850000 bytes/sec
total size is 24679350 speedup is 7.87
The ports tree has been updated.
All installed ports are up to date.