[MacPorts] #13748: zlib is broken
MacPorts
trac at macosforge.org
Sun Dec 30 06:37:24 PST 2007
#13748: zlib is broken
---------------------------------+------------------------------------------
Reporter: baldvin at cs.elte.hu | Owner: boeyms at macports.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version:
Resolution: | Keywords:
---------------------------------+------------------------------------------
Comment (by baldvin at cs.elte.hu):
Thanks, the issue has been resolved. Below I describe some curiosities
about it,
for anybody interested:
Interestingly enough, after ``sudo port clean --dist zlib`` things got a
bit worse:
{{{
kovacs-baldvins-macbook:~ root# port -d install zlib
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
DEBUG: Requested variant darwin is not provided by port zlib.
DEBUG: Requested variant i386 is not provided by port zlib.
DEBUG: Requested variant macosx is not provided by port zlib.
DEBUG: Skipping completed org.macports.main (zlib)
DEBUG: Skipping completed org.macports.fetch (zlib)
---> Verifying checksum(s) for zlib
DEBUG: Executing org.macports.checksum (zlib)
---> Checksumming zlib-1.2.3.tar.bz2
Error: Target org.macports.checksum returned: Could not open file:
/opt/local/var/macports/distfiles/zlib/zlib-1.2.3.tar.bz2
Warning: the following items did not execute (for zlib):
org.macports.activate org.macports.extract org.macports.checksum
org.macports.patch org.macports.configure org.macports.build
org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.
}}}
Neither selfupdate, nor sync made a difference. However, after trying to
install with ``+universal``, then cleaning without the ``--dist`` option,
the installation worked.
{{{
kovacs-baldvins-macbook:~ root# port -d install zlib +universal
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
DEBUG: Requested variant darwin is not provided by port zlib.
DEBUG: Requested variant i386 is not provided by port zlib.
DEBUG: Requested variant macosx is not provided by port zlib.
DEBUG: Executing variant universal provides universal
DEBUG: Skipping completed org.macports.main (zlib)
DEBUG: Skipping completed org.macports.fetch (zlib)
---> Verifying checksum(s) for zlib
DEBUG: Executing org.macports.checksum (zlib)
---> Checksumming zlib-1.2.3.tar.bz2
Error: Target org.macports.checksum returned: Could not open file:
/opt/local/var/macports/distfiles/zlib/zlib-1.2.3.tar.bz2
Warning: the following items did not execute (for zlib):
org.macports.activate org.macports.extract org.macports.checksum
org.macports.patch org.macports.configure org.macports.build
org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.
kovacs-baldvins-macbook:~ root# ls /opt/local/var/macports/distfiles/zlib
ls: /opt/local/var/macports/distfiles/zlib: No such file or directory
kovacs-baldvins-macbook:~ root# port clean --dist zlib
---> Cleaning zlib
kovacs-baldvins-macbook:~ root# port -d install zlib
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
DEBUG: Requested variant darwin is not provided by port zlib.
DEBUG: Requested variant i386 is not provided by port zlib.
DEBUG: Requested variant macosx is not provided by port zlib.
Error: Requested variants do not match original selection.
Please perform 'port clean zlib' or specify the force option.
Error: Status 1 encountered during processing.
kovacs-baldvins-macbook:~ root# port clean zlib
---> Cleaning zlib
kovacs-baldvins-macbook:~ root# port -d install zlib
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
DEBUG: Requested variant darwin is not provided by port zlib.
DEBUG: Requested variant i386 is not provided by port zlib.
DEBUG: Requested variant macosx is not provided by port zlib.
DEBUG: Executing org.macports.main (zlib)
---> Fetching zlib
DEBUG: Executing org.macports.fetch (zlib)
---> zlib-1.2.3.tar.bz2 doesn't seem to exist in
/opt/local/var/macports/distfiles/zlib
---> Attempting to fetch zlib-1.2.3.tar.bz2 from http://www.zlib.net/
DEBUG: Fetching failed:: couldn't connect to server
---> Attempting to fetch zlib-1.2.3.tar.bz2 from
http://www.gzip.org/zlib/
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 415k 100 415k 0 0 59545 0 0:00:07 0:00:07 --:--:--
170k
---> Verifying checksum(s) for zlib
DEBUG: Executing org.macports.checksum (zlib)
---> Checksumming zlib-1.2.3.tar.bz2
DEBUG: Correct (md5) checksum for zlib-1.2.3.tar.bz2
DEBUG: Correct (sha1) checksum for zlib-1.2.3.tar.bz2
DEBUG: Correct (rmd160) checksum for zlib-1.2.3.tar.bz2
}}}
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13748#comment:2>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list