[MacPorts] #13748: zlib is broken
#13748: zlib is broken --------------------------------+------------------------------------------- Reporter: baldvin@cs.elte.hu | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: Keywords: | --------------------------------+------------------------------------------- Trying to install zlib failed with checksum error: {{{ kovacs-baldvins-macbook:macports root# port install zlib ---> Verifying checksum(s) for zlib Error: Checksum (md5) mismatch for zlib-1.2.3.tar.bz2 Error: Checksum (sha1) mismatch for zlib-1.2.3.tar.bz2 Error: Checksum (rmd160) mismatch for zlib-1.2.3.tar.bz2 Error: Target org.macports.checksum returned: Unable to verify file checksums Error: Status 1 encountered during processing. }}} Is it a problem with the package? Unfortunately many things depend on zlib, so I'm pretty much stuck here... -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13748> MacPorts </projects/macports> Ports system for Mac OS
#13748: zlib is broken ---------------------------------+------------------------------------------ Reporter: baldvin@cs.elte.hu | Owner: boeyms@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: Resolution: | Keywords: ---------------------------------+------------------------------------------ Changes (by boeyms@macports.org): * owner: macports-tickets@lists.macosforge.org => boeyms@macports.org Comment: It checksums fine for me, so it's most likely to be a proxy problem (many unfortunately don't report the correct HTTP error code, and so MacPorts saves what it receives when it ought to be discarded). Try cleaning the zlib port's distfiles (`sudo port clean --dist zlib`), running a selfupdate just to be safe, and then installing with the debug flag (`sudo port -d install zlib`); if it fails again, the output from the last command should help us diagnose the problem. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13748#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#13748: zlib is broken ---------------------------------+------------------------------------------ Reporter: baldvin@cs.elte.hu | Owner: boeyms@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by baldvin@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
#13748: zlib is broken ---------------------------------+------------------------------------------ Reporter: baldvin@cs.elte.hu | Owner: boeyms@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: Resolution: fixed | Keywords: ---------------------------------+------------------------------------------ Changes (by boeyms@macports.org): * status: new => closed * resolution: => fixed Comment: Replying to [comment:2 baldvin@cs.elte.hu]:
Thanks, the issue has been resolved.
Closing accordingly. The subsequent transient "cannot open file" problem reported in the remainder of comment:2 is curious, but I suspect it's more likely to be a bad sector on the disk or some software problem outside the control of MacPorts. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13748#comment:3> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts