Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#19053 closed defect (worksforme)

Trouble when installing some apps using MacPorts

Reported by: clement.beaufils@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: libiconv

Description

I'm trying to install Cairo to my Mac OS X system using macport.

I have Python 2.5 installed on my system.

Here is what I get when I try to install Cairo :

user@host ~ $ sudo port install cairo
--->  Verifying checksum(s) for libiconv
Error: Checksum (md5) mismatch for libiconv-1.12.tar.gz
Error: Checksum (sha1) mismatch for libiconv-1.12.tar.gz
Error: Checksum (rmd160) mismatch for libiconv-1.12.tar.gz
Error: Target org.macports.checksum returned: Unable to verify file checksums
Error: The following dependencies failed to build: fontconfig libiconv libpixman libpng pkgconfig xrender xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-renderproto
Error: Status 1 encountered during processing.
user@host ~ $ 

or with py25-zlib

karzoff@Karzoff ~ $ sudo port install py25-zlib
--->  Verifying checksum(s) for libiconv
Error: Checksum (md5) mismatch for libiconv-1.12.tar.gz
Error: Checksum (sha1) mismatch for libiconv-1.12.tar.gz
Error: Checksum (rmd160) mismatch for libiconv-1.12.tar.gz
Error: Target org.macports.checksum returned: Unable to verify file checksums
Error: The following dependencies failed to build: python25 gettext libiconv
Error: Status 1 encountered during processing.
karzoff@Karzoff ~ $ 

I see there is something with libiconv. Don't know why MacPorts tries to get it.

Thanks

Change History (4)

comment:1 Changed 16 years ago by blb@…

Owner: changed from macports-tickets@… to ryandesign@…
Port: libiconv added
Priority: LowNormal

libiconv is a dependency of a number of ports, hence it wanting to install it.

There are a few possibilities for this; check the size of the file it downloaded

ls -l /opt/local/var/macports/distfiles/libiconv/libiconv-1.12.tar.gz

If it's quite a bit smaller than 4.4MB it's probably an HTML error page instead of the file expected. If it is around 4.4M then it may be a corrupt download.

Can you run the following?

sudo port clean --all libiconv
sudo port -d checksum libiconv

Post the results here if the checksum still fails, then we may be able to track it down to a server problem or something else. If it works, it was probably just a corrupted download and you should be able to continue on with your original installs.

comment:2 Changed 16 years ago by clement.beaufils@…

Thanks !

The size of the file was about 4.4MB, seems to be corrupted as you said.

I ran the checksum and clean command :

user@host ~ $ sudo port clean --all libiconv
Password:
--->  Cleaning libiconv
user@host ~ $ sudo port -d checksum libiconv
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port libiconv.
DEBUG: Requested variant i386 is not provided by port libiconv.
DEBUG: Requested variant macosx is not provided by port libiconv.
DEBUG: Executing org.macports.main (libiconv)
--->  Fetching libiconv
DEBUG: Executing org.macports.fetch (libiconv)
--->  libiconv-1.12.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/libiconv
DEBUG: Pinging mirrors.ibiblio.org...
DEBUG: Pinging mirrors.kernel.org...
DEBUG: Pinging www.mirrorservice.org...
DEBUG: Pinging ftp.funet.fi...
DEBUG: Pinging ftp.kddlabs.co.jp...
DEBUG: Pinging ftp.dti.ad.jp...
DEBUG: Pinging ftp.informatik.hu-berlin.de...
DEBUG: Pinging ftp.lip6.fr...
DEBUG: Pinging ftp.chg.ru...
DEBUG: Pinging mirror.internode.on.net...
DEBUG: Pinging mirror.pacific.net.au...
DEBUG: Pinging mirror.aarnet.edu.au...
DEBUG: Pinging ftp.unicamp.br...
DEBUG: Pinging ftp.gnu.org...
DEBUG: Pinging distfiles.macports.org...
DEBUG: Pinging trd.no.distfiles.macports.org...
DEBUG: Pinging arn.se.distfiles.macports.org...
DEBUG: mirrors.ibiblio.org ping time is 10000
DEBUG: mirrors.kernel.org ping time is 10000
DEBUG: www.mirrorservice.org ping time is 10000
DEBUG: ftp.funet.fi ping time is 10000
DEBUG: ftp.kddlabs.co.jp ping time is 10000
DEBUG: ftp.dti.ad.jp ping time is 10000
DEBUG: ftp.informatik.hu-berlin.de ping time is 10000
DEBUG: ftp.lip6.fr ping time is 10000
DEBUG: ftp.chg.ru ping time is 10000
DEBUG: mirror.internode.on.net ping time is 10000
DEBUG: mirror.pacific.net.au ping time is 10000
DEBUG: mirror.aarnet.edu.au ping time is 10000
DEBUG: ftp.unicamp.br ping time is 10000
DEBUG: ftp.gnu.org ping time is 10000
DEBUG: distfiles.macports.org ping time is 10000
DEBUG: trd.no.distfiles.macports.org ping time is 10000
DEBUG: arn.se.distfiles.macports.org ping time is 10000
--->  Attempting to fetch libiconv-1.12.tar.gz from http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/libiconv
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 4407k  100 4407k    0     0  32859      0  0:02:17  0:02:17 --:--:-- 24071
--->  Verifying checksum(s) for libiconv
DEBUG: Executing org.macports.checksum (libiconv)
--->  Checksumming libiconv-1.12.tar.gz
DEBUG: Correct (md5) checksum for libiconv-1.12.tar.gz
DEBUG: Correct (sha1) checksum for libiconv-1.12.tar.gz
DEBUG: Correct (rmd160) checksum for libiconv-1.12.tar.gz

It looks better now !

I ran a

sudo port install libicon

and it works !

I can install some other ports now !

Thanks a lot !

(solved)

comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.