[EXTERNAL] Re: 2.11.1 Installation Failed

Langer, Stephen A. (Fed) stephen.langer at nist.gov
Mon Jul 14 15:47:14 UTC 2025


I got the same error:

PN114685 500>> sudo port selfupdate
Password:
--->  Checking for newer releases of MacPorts
MacPorts base version 2.11.0 installed,
MacPorts base version 2.11.1 available.
--->  MacPorts base is outdated, installing new version 2.11.1
--->  Attempting to fetch MacPorts 2.11.1 source code from https://github.com/macports/macports-base/releases/download/v2.11.1/MacPorts-2.11.1.tar.bz2
--->  Extracting MacPorts 2.11.1
--->  Installing new MacPorts release in /opt/local as root:wheel; permissions 0755
Error: Error installing new MacPorts base: command execution failed
Please run `port -v selfupdate' for details.
Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: command execution failed
PN114685 501>> sudo port -v selfupdate
Password:
Killed: 9

But that was when I was logged in remotely via ssh.   The update worked when I logged in directly, and the port commands now work remotely as well.

-- Steve

From: macports-users <macports-users-bounces at lists.macports.org> on behalf of Chris Jones via macports-users <macports-users at lists.macports.org>
Date: Monday, July 14, 2025 at 8:36 AM
To: macports-users at lists.macports.org <macports-users at lists.macports.org>
Subject: [EXTERNAL] Re: 2.11.1 Installation Failed

See https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftrac.macports.org%2Fticket%2F72690&data=05%7C02%7Cstephen.langer%40nist.gov%7C9d5d007fd1b642f02e5908ddc2d2f7c1%7C2ab5d82fd8fa4797a93e054655c61dec%7C0%7C0%7C638880933656828818%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C60000%7C%7C%7C&sdata=hePvqyMzmJhSaGUxEHHgvjYpsY3kcnION8L3HVLOuU4%3D&reserved=0<https://trac.macports.org/ticket/72690>

On 14/07/2025 1:21 pm, Chris Jones via macports-users wrote:
> 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://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fguide.macports.org%2F%23project.tickets&data=05%7C02%7Cstephen.langer%40nist.gov%7C9d5d007fd1b642f02e5908ddc2d2f7c1%7C2ab5d82fd8fa4797a93e054655c61dec%7C0%7C0%7C638880933656849185%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C60000%7C%7C%7C&sdata=uFDk2KV%2BhIN%2Bcmu%2FKx%2BK1Nic70B0xNQV8dJ%2B2KaFHqw%3D&reserved=0<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.
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20250714/ce398425/attachment.htm>


More information about the macports-users mailing list