Opened 19 years ago

Closed 19 years ago

#4882 closed defect (fixed)

Fetching of packages behaves strange while upgrading

Reported by: uellue.unterwegs@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.0
Keywords: Cc: jmpp@…
Port:

Description

$ sudo port -da upgrade (...) ---> Fetching libtool DEBUG: Executing com.apple.fetch (libtool) ---> libtool-1.5.20.tar.gz doesn't seem to exist in /opt/local/var/db/dports/distfiles/libtool ---> Attempting to fetch libtool-1.5.20.tar.gz from ftp://ftp.gnu.org/gnu/libtool

% Total % Received % Xferd Average Speed Time Curr.

Dload Upload Total Current Left Speed

100 2723k 100 2723k 0 0 110k 0 0:00:24 0:00:24 0:00:00 121k ---> Attempting to fetch libtool-1.5.20.tar.gz from ftp://gatekeeper.dec.com/pub/GNU/libtool ---> Attempting to fetch libtool-1.5.20.tar.gz from ftp://ftp.uu.net/archive/systems/gnu/libtool ---> Attempting to fetch libtool-1.5.20.tar.gz from ftp://ftp.de.uu.net/pub/gnu/libtool ---> Attempting to fetch libtool-1.5.20.tar.gz from ftp://ftp.funet.fi/pub/gnu/prep/libtool

% Total % Received % Xferd Average Speed Time Curr.

Dload Upload Total Current Left Speed

100 2723k 100 2723k 0 0 101k 0 0:00:26 0:00:26 0:00:00 122k ---> Attempting to fetch libtool-1.5.20.tar.gz from ftp://ftp.leo.org/pub/comp/os/unix/gnu/libtool ---> Attempting to fetch libtool-1.5.20.tar.gz from ftp://ftp.digex.net/pub/gnu/libtool ---> Attempting to fetch libtool-1.5.20.tar.gz from ftp://ftp.wustl.edu/mirrors/gnu/libtool ---> Attempting to fetch libtool-1.5.20.tar.gz from ftp://ftp.kddlabs.co.jp/pub/gnu/libtool ---> Attempting to fetch libtool-1.5.20.tar.gz from ftp://ftp.dti.ad.jp/pub/GNU/libtool

% Total % Received % Xferd Average Speed Time Curr.

Dload Upload Total Current Left Speed

100 2723k 100 2723k 0 0 68309 0 0:00:40 0:00:40 0:00:00 86742 ---> Attempting to fetch libtool-1.5.20.tar.gz from ftp://ftp.mirror.ac.uk/sites/ftp.gnu.org/gnu/libtool ---> Attempting to fetch libtool-1.5.20.tar.gz from ftp://sunsite.org.uk/Mirrors/ftp.gnu.org/pub/gnu/libtool ---> Attempting to fetch libtool-1.5.20.tar.gz from ftp://ftp.informatik.hu-berlin.de/pub/gnu/libtool

% Total % Received % Xferd Average Speed Time Curr.

Dload Upload Total Current Left Speed

100 2723k 100 2723k 0 0 115k 0 0:00:23 0:00:23 0:00:00 121k ---> Attempting to fetch libtool-1.5.20.tar.gz from ftp://ftp.rediris.es/mirror/gnu/libtool ---> Attempting to fetch libtool-1.5.20.tar.gz from ftp://ftp.lip6.fr/pub/gnu/libtool ---> Attempting to fetch libtool-1.5.20.tar.gz from ftp://ftp.chg.ru/pub/gnu/libtool

% Total % Received % Xferd Average Speed Time Curr.

Dload Upload Total Current Left Speed

100 2723k 100 2723k 0 0 99k 0 0:00:27 0:00:27 0:00:00 102k ---> Attempting to fetch libtool-1.5.20.tar.gz from http://distfiles-od.opendarwin.org/

% Total % Received % Xferd Average Speed Time Curr.

Dload Upload Total Current Left Speed

100 2723k 100 2723k 0 0 113k 0 0:00:23 0:00:23 0:00:00 121k ---> Verifying checksum(s) for libtool DEBUG: Executing com.apple.checksum (libtool) ---> Checksumming libtool-1.5.20.tar.gz (...)

The funny thing is that fetching from an ftp server fails even if the file is retrieved, but fetching from a http server succeeds.

I guess there's an error in the portfetch.tcl file (/opt/local/share/darwinports/Tcl/port1.0/portfetch.tcl on my system) around line 377: The requested file is fetched without errors, but the "if" statement seems to jump into the "else" branch. This way the script loops through all available mirrors and fetches the requested file several times.

Thanks for your help! Dieter

Change History (2)

comment:1 Changed 19 years ago by uellue.unterwegs@…

Sorry, I forgot the port version: 1.012

comment:2 Changed 19 years ago by pguyot (Paul Guyot)

Cc: jmpp@… added
Resolution: fixed
Status: newclosed

This bug was fixed, but dp_version wasn't bumped since.

Note: See TracTickets for help on using tickets.