Opened 19 years ago
Closed 19 years ago
#5552 closed defect (fixed)
tiff and gawk install hangs on/after package download: problem with curl?
Reported by: | dmartin@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 1.0 |
Keywords: | Cc: | dmartin@… | |
Port: |
Description
"port install tiff" fails; it appears to hang on the tiff package download. See below for my system configuation and port verbose/debug output. As you can see, port succeeds in downloading the file, but hangs at the end of the download. Rerunning the command has no effect.
ftp to the server shows that the file is a hair larger than the file left in /opt/local/var/db/dports/ distfiles/tiff.
5:22pm jibe:~% port version Version: 1.102
5:22pm jibe:~% uname -a Darwin jibe.local 8.2.2 Darwin Kernel Version 8.2.2: Mon Aug 22 18:43:11 PDT 2005; root:xnu-792.5.11.obj~1/RELEASE_PPC Power Macintosh powerpc
5:23pm jibe:~% port installed The following ports are currently installed:
jpeg 6b_1 (active) libpng 1.2.8_2+darwin_8 (active) zlib 1.2.3_0 (active)
5:16pm jibe:~% sudo port install tiff ---> Fetching tiff ---> Attempting to fetch tiff-3.7.4.tar.gz from ftp://ftp.remotesensing.org/pub/libtiff/ C 5:18pm jibe:~% sudo port -d install tiff DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/graphics/tiff DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/graphics/tiff DEBUG: Requested variant powerpc is not provided by port tiff. DEBUG: Requested variant darwin is not provided by port tiff. DEBUG: Requested variant macosx is not provided by port tiff. DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/graphics/jpeg DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/graphics/jpeg DEBUG: Searching for dependency: jpeg DEBUG: Found Dependency: receipt exists for jpeg DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/archivers/zlib DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/archivers/zlib DEBUG: Searching for dependency: zlib DEBUG: Found Dependency: receipt exists for zlib DEBUG: Skipping completed com.apple.main (tiff) DEBUG: Skipping completed com.apple.unarchive (tiff) ---> Fetching tiff DEBUG: Executing com.apple.fetch (tiff) ---> tiff-3.7.4.tar.gz doesn't seem to exist in /opt/local/var/db/dports/distfiles/tiff ---> Attempting to fetch tiff-3.7.4.tar.gz from ftp://ftp.remotesensing.org/pub/libtiff/
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1252k 100 1252k 0 0 34475 0 0:00:37 0:00:37 --:--:-- 0 100 1252k 100 1252k 0 0 33572 0 0:00:38 0:00:38 --:--:-- 0 100 1252k 100 1252k 0 0 32716 0 0:00:39 0:00:39 --:--:-- 0 C
5:27pm jibe:~% \ls -l /opt/local/var/db/dports/distfiles/tiff total 2504 -rw-r--r-- 1 root admin 1282048 Oct 29 17:27 tiff-3.7.4.tar.gz.TMP
5:27pm jibe:~% ftp ftp.remotesensing.org Connected to ftp.remotesensing.org. ftp> cd pub/libtiff 250 Directory successfully changed. ftp> dir
|33727|) |
150 Here comes the directory listing. drwxrwsr-x 2 513 517 4096 Jul 26 12:05 doc drwxrwsr-x 2 512 517 4096 Sep 12 15:00 old -rw-rwSr-- 1 512 517 2962157 Mar 16 2005 pics-3.7.2.tar.gz -rw-r--r-- 1 513 517 1282627 Sep 12 16:59 tiff-3.7.4.tar.gz -rw-r--r-- 1 513 517 1649151 Sep 12 17:14 tiff-3.7.4.zip 226 Directory send OK.
Change History (4)
comment:1 Changed 19 years ago by dmartin@…
Cc: | dmartin@… added |
---|
comment:2 Changed 19 years ago by dmartin@…
severity: | normal → major |
---|---|
Summary: | tiff install hangs on/after package download → tiff and gawk install hangs on/after package download |
comment:3 Changed 19 years ago by dmartin@…
Summary: | tiff and gawk install hangs on/after package download → tiff and gawk install hangs on/after package download: problem with curl? |
---|
The culprit seems to be curl. It hangs on some ftp downloads, e.g.
12:06pm jibe:~% curl -V curl 7.13.1 (powerpc-apple-darwin8.0) libcurl/7.13.1 OpenSSL/0.9.7g zlib/1.2.3 Protocols: ftp gopher telnet dict ldap http file https ftps Features: IPv6 Largefile NTLM SSL libz
12:14pm jibe:~% curl -O ftp://ftp.remotesensing.org/pub/libtiff/tiff-3.7.4.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1252k 100 1252k 0 0 191k 0 0:00:06 0:00:06 --:--:-- 247k 100 1252k 100 1252k 0 0 131k 0 0:00:09 0:00:09 --:--:-- 0 100 1252k 100 1252k 0 0 118k 0 0:00:10 0:00:10 --:--:-- 0C
comment:4 Changed 19 years ago by dmartin@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Upgrading from curl 7.13.1 to 7.15.0 seems to have fixed this problem:
12:29pm jibe:~% curl -V curl 7.15.0 (powerpc-apple-darwin8.2.2) libcurl/7.15.0 OpenSSL/0.9.7g zlib/1.2.3 Protocols: tftp ftp gopher telnet dict ldap http file https ftps Features: IPv6 Largefile NTLM SSL libz
This happens for the gawk package too (in addition to tiff).
This problem blocks the intallation of dependent packages such as teTeX, ImageMagick, and xv.