Opened 9 years ago

Closed 9 years ago

#47175 closed request (invalid)

failed to connect to rsync.macports.org during "sudo port -v selfupdate"

Reported by: garymamon@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: connection Cc:
Port: gtk3

Description

I had a problem with building a port:

sudo port install texlive-generic-recommended

Password:
Warning: port definitions are more than two weeks old, consider updating them by running 'port selfupdate'.
--->  Computing dependencies for texlive-generic-recommended
--->  Fetching archive for texlive-generic-recommended
--->  Attempting to fetch texlive-generic-recommended-30396_0+doc.darwin_13.noarch.tbz2 from http://lil.fr.packages.macports.org/texlive-generic-recommended
--->  Attempting to fetch texlive-generic-recommended-30396_0+doc.darwin_13.noarch.tbz2.rmd160 from http://lil.fr.packages.macports.org/texlive-generic-recommended
--->  Installing texlive-generic-recommended @30396_0+doc
--->  Activating texlive-generic-recommended @30396_0+doc
--->  Cleaning texlive-generic-recommended
--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 100.0%
--->  Found 21 broken file(s), matching files to ports
--->  Found 1 broken port(s), determining rebuild order
--->  Rebuilding in order
     gtk3 @3.12.0 +x11
--->  Computing dependencies for gtk3
--->  Cleaning gtk3
--->  Scanning binaries for linking errors: 100.0%
--->  Found 21 broken file(s), matching files to ports
--->  Found 1 broken port(s), determining rebuild order
--->  Rebuilding in order
     gtk3 @3.12.0 +x11
--->  Computing dependencies for gtk3
--->  Fetching distfiles for gtk3
--->  Verifying checksums for gtk3
--->  Extracting gtk3
--->  Configuring gtk3
--->  Building gtk3
Error: org.macports.build for port gtk3 returned: command execution failed
Please see the log file for port gtk3 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/main.log
Error: Unable to upgrade port: 1
Error rebuilding gtk3
    while executing
"error "Error rebuilding $portname""
    (procedure "revupgrade_scanandrebuild" line 382)
    invoked from within
"revupgrade_scanandrebuild broken_port_counts $opts"
    (procedure "macports::revupgrade" line 5)
    invoked from within
"macports::revupgrade $opts"
    (procedure "action_revupgrade" line 2)
    invoked from within
"action_revupgrade $action $portlist $opts"
    (procedure "action_target" line 96)
    invoked from within
"$action_proc $action $portlist [array get global_options]"
    (procedure "process_cmd" line 93)
    invoked from within
"process_cmd $remaining_args"
    invoked from within
"if { [llength $remaining_args] > 0 } {

    # If there are remaining arguments, process those as a command
    set exit_status [process_cmd $remaining..."
    (file "/opt/local/bin/port" line 4857)

So, I did a selfupdate, but this failed to connect to the port rsync server!

sudo port -v selfupdate

Password:
--->  Updating MacPorts base sources using rsync
rsync: failed to connect to rsync.macports.org: Operation timed out (60)
rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-42/rsync/clientserver.c(105) [receiver=2.6.9]
Command failed: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/tarballs/base.tar /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
Exit code: 10
Error: Error synchronizing MacPorts sources: command execution failed
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: command execution failed

Yet, I am properly connected to the web. I tested with a ping:

ping rsync.macports.org

PING rsync.macports.org (17.251.224.217): 56 data bytes
64 bytes from 17.251.224.217: icmp_seq=0 ttl=47 time=169.075 ms
64 bytes from 17.251.224.217: icmp_seq=1 ttl=47 time=168.767 ms
^C
--- rsync.macports.org ping statistics ---
3 packets transmitted, 2 packets received, 33.3% packet loss
round-trip min/avg/max/stddev = 168.767/168.921/169.075/0.154 ms

What should I do?

Change History (1)

comment:1 in reply to:  description Changed 9 years ago by larryv (Lawrence Velázquez)

Resolution: invalid
Status: newclosed

Replying to garymamon@…:

Yet, I am properly connected to the web. I tested with a ping:

ping rsync.macports.org

PING rsync.macports.org (17.251.224.217): 56 data bytes
64 bytes from 17.251.224.217: icmp_seq=0 ttl=47 time=169.075 ms
64 bytes from 17.251.224.217: icmp_seq=1 ttl=47 time=168.767 ms
^C
--- rsync.macports.org ping statistics ---
3 packets transmitted, 2 packets received, 33.3% packet loss
round-trip min/avg/max/stddev = 168.767/168.921/169.075/0.154 ms

That doesn’t prove that your network allows rsync connections. I’m closing this ticket because the server is fine:

% rsync rsync://rsync.macports.org
release        	MacPorts rsync release repository, providing the current MacPorts "released" sources and the ports tree.
trunk          	MacPorts rsync "trunk" repository, providing experimental MacPorts sources in svn's trunk/base.
mpdistfiles    	Distfile mirror for MacPorts (deprecated module name, use 'distfiles' instead)
distfiles      	Distfile mirror for MacPorts
packages       	Packages built by build.macports.org
%

What should I do?

You should post to macports-users to get help debugging your network setup. I suspect something might be blocking rsync.

Note: See TracTickets for help on using tickets.