Opened 20 years ago

Closed 20 years ago

Last modified 9 years ago

#2534 closed defect (fixed)

curl connection aborted on install of readline

Reported by: kranki@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

I have been trying to install readline now for about 2 weeks and it consistantly fails as follows: ~/darwinports$ sudo port -dv install readline DEBUG: Found port in file:///Users/apple03/darwinports/dports/devel/readline DEBUG: Changing to port directory: /Users/apple03/darwinports/dports/devel/readline DEBUG: Requested variant powerpc is not provided by port readline. DEBUG: Requested variant darwin is not provided by port readline. DEBUG: Executing com.apple.main (readline) DEBUG: No TGZ archive: /opt/local/var/db/dports/packages/darwin/powerpc/readline -5.0.005_0.powerpc.tgz DEBUG: Skipping unarchive (readline) since no archive found DEBUG: Skipping completed com.apple.unarchive (readline) ---> Fetching readline DEBUG: Executing com.apple.fetch (readline) ---> readline50-001 doesn't seem to exist in /opt/local/var/db/dports/distfiles/readline ---> Attempting to fetch readline50-001 from ftp://ftp.cwru.edu/pub/bash/readline-5.0-patches/ DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/distfiles/readline" && /usr/bin/curl -f -L -o readline50-001.TMP ftp://ftp.cwru.edu/pub/bash/readline-5.0-patches/readline50-001' curl: (28) Connection aborted Error: Target com.apple.fetch returned: fetch failed Warning: the following items did not execute (for readline): com.apple.activate com.apple.fetch com.apple.extract com.apple.checksum com.apple.patch com.apple.configure com.apple.build com.apple.destroot com.apple.archive com.apple.install

I have tried doing this by hand and increasing the timeouts, but that does not seem to work. Sorry if this is a setup bug on my side, but other port installs work just fine. So, I am not sure what I am doing wrong.

BTW, I am doing a "sudo port -DV clean readline" before trying the install line. Also, I have done a "cvs update" several times to no avail.

Thanks for the help.

Change History (3)

comment:1 Changed 20 years ago by toby@…

severity: blockernormal

comment:2 Changed 20 years ago by toby@…

Resolution: fixed
Status: newclosed

Just committed a fix, since it should fallback on distfiles.opendarwin:

Index: portfetch.tcl
===================================================================
RCS file: /Volumes/src/cvs/od/proj/darwinports/base/src/port1.0/portfetch.tcl,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -r1.93 -r1.94
--- portfetch.tcl       9 Dec 2004 22:26:49 -0000       1.93
+++ portfetch.tcl       5 Jan 2005 03:46:13 -0000       1.94
@@ -195,6 +195,11 @@
        set master_sites [concat $env(MASTER_SITE_LOCAL) $master_sites]
     }
     
+    append patch_sites " ${fallback_mirror_site}"
+    if {[info exists env(PATCH_SITE_LOCAL)]} {
+       set patch_sites [concat $env(PATCH_SITE_LOCAL) $patch_sites]
+    }
+
     foreach list {master_sites patch_sites} {
         upvar #0 $list uplist
         if {![info exists uplist]} {
Last edited 9 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 Changed 19 years ago by snu@…

op_sys: All
Note: See TracTickets for help on using tickets.