[MacPorts] #74367: macport @2.12.6 fail to update ports
MacPorts
noreply at macports.org
Thu Aug 27 05:25:37 UTC 2026
#74367: macport @2.12.6 fail to update ports
----------------------+--------------------
Reporter: nortcele | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port:
----------------------+--------------------
After upgraded to 2.16.6 macports fails to update ports.
{{{
sudo port -v selfupdate
Password:
---> 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 241 0 --:--:-- --:--:-- --:--:--
241
MacPorts base version 2.12.6 installed,
MacPorts base version 2.12.6 available.
---> MacPorts base is already the latest version
---> Updating the ports tree
Synchronizing local ports tree from file:///Users/julesverne/nix/macports
Creating port index in /Users/julesverne/nix/macports
Total number of ports parsed: 0
Ports successfully parsed: 0
Ports failed: 0
Up-to-date ports skipped: 0
Synchronizing local ports tree from
rsync://rsync.macports.org/macports/release/tarballs/ports.tar
rsync(72045): error: connect: Bad file descriptor
rsync(72045): error: inet_connect
Command failed: /usr/bin/rsync -rtzvl --delete-after
--include=/ports.tar.gz --include=/ports.tar.gz.rmd160
--include=/ports.tar.gz.sig --exclude=*
rsync://rsync.macports.org/macports/release/tarballs/
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/remote
Exit code: 1
Error: Synchronization of the local ports tree failed doing rsync
Error: Couldn't sync the ports tree: Synchronization of 1 source failed
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the
ports tree: Synchronization of 1 source failed
julesverne at Muspellheim ~ % sudo port -dv selfupdate
DEBUG: Copying
/Users/julesverne/Library/Preferences/com.apple.dt.Xcode.plist to
/opt/local/var/macports/home/Library/Preferences
DEBUG: MacPorts sources location:
/opt/local/var/macports/sources/selfupdate
---> Checking for newer releases of MacPorts
DEBUG: Attempting to fetch version file
https://raw.githubusercontent.com/macports/macports-
base/master/config/RELEASE_URL
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 63 100 63 0 0 908 0 --:--:-- --:--:-- --:--:--
913
MacPorts base version 2.12.6 installed,
MacPorts base version 2.12.6 available.
DEBUG: Rebuilding and reinstalling MacPorts if needed
---> MacPorts base is already the latest version
---> Updating the ports tree
Synchronizing local ports tree from file:///Users/julesverne/nix/macports
DEBUG: euid/egid changed to: 502/20, env: HOME=/Users/julesverne
SSH_AUTH_SOCK=/var/run/com.apple.launchd.hhYIFSBtls/Listeners
DEBUG: euid/egid restored to: 0/0, env restored
DEBUG: system -W /opt/local/var/macports/home: /opt/local/bin/portindex
/Users/julesverne/nix/macports
Creating port index in /Users/julesverne/nix/macports
Total number of ports parsed: 0
Ports successfully parsed: 0
Ports failed: 0
Up-to-date ports skipped: 0
Synchronizing local ports tree from
rsync://rsync.macports.org/macports/release/tarballs/ports.tar
DEBUG: system -W /opt/local/var/macports/home: /usr/bin/rsync -rtzvl
--delete-after --include=/ports.tar.gz --include=/ports.tar.gz.rmd160
--include=/ports.tar.gz.sig --exclude=*
rsync://rsync.macports.org/macports/release/tarballs/
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/remote
rsync(72095): error: connect: Bad file descriptor
rsync(72095): error: inet_connect
Command failed: /usr/bin/rsync -rtzvl --delete-after
--include=/ports.tar.gz --include=/ports.tar.gz.rmd160
--include=/ports.tar.gz.sig --exclude=*
rsync://rsync.macports.org/macports/release/tarballs/
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/remote
Exit code: 1
Error: Synchronization of the local ports tree failed doing rsync
DEBUG: Couldn't sync the ports tree: Synchronization of 1 source failed
while executing
"error "Couldn't sync the ports tree: $eMessage""
(procedure "do_sync" line 15)
invoked from within
"do_sync $options 0"
(procedure "selfupdate::main" line 100)
invoked from within
"selfupdate::main {ports_no_migration_check 1 options_selfupdate_order {}
options_global_order {}} selfupdate_status"
("uplevel" body line 1)
invoked from within
"uplevel [list selfupdate::main $options $updatestatusvar]"
(procedure "macports::selfupdate" line 2)
invoked from within
"macports::selfupdate $options selfupdate_status"
Error: Couldn't sync the ports tree: Synchronization of 1 source failed
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the
ports tree: Synchronization of 1 source failed
}}}
--
Ticket URL: <https://trac.macports.org/ticket/74367>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list