#63376 closed defect (invalid)
port selfupdate failed: Couldn't sync the ports tree: Synchronization of 1 source failed
| Reported by: | nalzok (Qingyao Sun) | Owned by: | admin@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | server/hosting | Version: | |
| Keywords: | Cc: | ||
| Port: |
Description
I encountered the following error when doing sudo port selfupdate. This issue has persisted for over 36 hours, so I'm opening a ticket.
I attempted accessing https://source.atlas.engineer/public/macports-port/ from my browser, but that domain name doesn't even seem to exist. Moreover, curl source.atlas.engineer gives curl: (6) Could not resolve host: source.atlas.engineer. Is it just me?
$ sudo port -d selfupdate
DEBUG: Copying /Users/nalzok/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences
DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs
---> Updating MacPorts base sources using rsync
DEBUG: system: /usr/bin/rsync -rtzvl --delete-after rsync://rsync.macports.org/macports/release/tarballs/base.tar /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs
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.
receiving file list ... done
sent 16 bytes received 55 bytes 20.29 bytes/sec
total size is 85857280 speedup is 1209257.46
DEBUG: system: /usr/bin/rsync -rtzvl --delete-after rsync://rsync.macports.org/macports/release/tarballs/base.tar.rmd160 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs
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.
receiving file list ... done
sent 16 bytes received 62 bytes 31.20 bytes/sec
total size is 512 speedup is 6.56
DEBUG: successful verification with key /opt/local/share/macports/macports-pubkey.pem
DEBUG: system: /usr/bin/tar -C /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/tmp -xf /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/base.tar
MacPorts base version 2.7.1 installed,
DEBUG: Rebuilding and reinstalling MacPorts if needed
MacPorts base version 2.7.1 downloaded.
---> Updating the ports tree
Synchronizing local ports tree from rsync://rsync.macports.org/macports/release/tarballs/ports.tar
DEBUG: system: /usr/bin/rsync -rtzvl --delete-after --include=/ports.tar --include=/ports.tar.rmd160 --exclude=* rsync://rsync.macports.org/macports/release/tarballs/ /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs
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.
receiving file list ... done
./
sent 68 bytes received 99 bytes 47.71 bytes/sec
total size is 85790208 speedup is 513713.82
DEBUG: successful verification with key /opt/local/share/macports/macports-pubkey.pem
DEBUG: system: /usr/bin/tar -C /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/tmp -xf /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports.tar
DEBUG: system: chmod -R a+r /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs
DEBUG: system: /opt/local/bin/portindex /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports
Creating port index in /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports
Total number of ports parsed: 0
Ports successfully parsed: 0
Ports failed: 0
Up-to-date ports skipped: 26662
Synchronizing local ports tree from file:///Users/nalzok/opt/ports/macports-port
DEBUG: euid/egid changed to: 501/20, env: HOME=/Users/nalzok SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.dMq8Eyta59/Listeners
DEBUG: /opt/local/bin/git pull --rebase --autostash
DEBUG: system -W /Users/nalzok/opt/ports/macports-port: /opt/local/bin/git pull --rebase --autostash
fatal: unable to access 'https://source.atlas.engineer/public/macports-port/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to source.atlas.engineer:443
Command failed: /opt/local/bin/git pull --rebase --autostash
Exit code: 1
DEBUG: euid/egid restored to: 0/0, env restored
DEBUG: command execution failed
while executing
"system -W $dir $cmd"
(procedure "macports::UpdateVCS" line 1)
invoked from within
"macports::UpdateVCS $cmd $dir"
("uplevel" body line 2)
invoked from within
"uplevel 1 $body"
Syncing local Git ports tree failed
DEBUG: Couldn't sync the ports tree: Synchronization of 1 source failed
while executing
"error "Couldn't sync the ports tree: $eMessage""
invoked from within
"try {
mportsync $optionslist
} catch {{*} eCode eMessage} {
error "Couldn't sync the ports tree: $eMessage"
}"
(procedure "selfupdate::main" line 113)
invoked from within
"selfupdate::main {options_global_order {} options_selfupdate_order {}} base_updated"
("uplevel" body line 1)
invoked from within
"uplevel [list selfupdate::main $optionslist $updatestatusvar]"
(procedure "macports::selfupdate" line 2)
invoked from within
"macports::selfupdate [array get options] base_updated"
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
Change History (2)
comment:1 Changed 5 years ago by jmroot (Joshua Root)
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
comment:2 Changed 5 years ago by nalzok (Qingyao Sun)
I see. It turns out that I have a local configuration from https://github.com/atlas-engineer/ports, so there isn't a problem with MacPorts' infrastructure. Thanks for your reply.
Note: See
TracTickets for help on using
tickets.

source.atlas.engineeris not a hostname we control, nor is it used in the default MacPorts configuration. You appear to have a local source configured in sources.conf that is a git repo configured to pull from that host. If you intended to do that, you need to talk to whoever runssource.atlas.engineerabout why it is down. If not, I guess you need to talk to whoever configured your MacPorts installation that way.