[MacPorts] #13931: libxml2 checksum breaks libxml2 install
#13931: libxml2 checksum breaks libxml2 install -----------------------------------+---------------------------------------- Reporter: keith.irwin@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 1.6.0 Keywords: libxml2 | -----------------------------------+---------------------------------------- In installing postgresql83, I encountered the following. Far as I can tell, there's a checksum problem for libxml2. I tried removing the binary, cleaning, downloaded the tarball explicitly, and so on. No go. I can reproduce it doing: sudo port -d install libxml2 Results: {{{ DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libxml2 DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libxml2 DEBUG: Requested variant darwin is not provided by port libxml2. DEBUG: Requested variant i386 is not provided by port libxml2. DEBUG: Requested variant macosx is not provided by port libxml2. 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: 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: Searching for dependency: libiconv DEBUG: Found Dependency: receipt exists for libiconv 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: Searching for dependency: zlib DEBUG: Found Dependency: receipt exists for zlib DEBUG: Skipping completed org.macports.main (libxml2) DEBUG: Skipping completed org.macports.fetch (libxml2) ---> Verifying checksum(s) for libxml2 DEBUG: Executing org.macports.checksum (libxml2) ---> Checksumming libxml2-2.6.30.tar.gz Error: Checksum (md5) mismatch for libxml2-2.6.30.tar.gz Portfile checksum: libxml2-2.6.30.tar.gz md5 460e6d853e824da700d698532e57316b Distfile checksum: libxml2-2.6.30.tar.gz md5 5a5bfd9a611d113e0b28e650a979ca4e Error: Checksum (sha1) mismatch for libxml2-2.6.30.tar.gz Portfile checksum: libxml2-2.6.30.tar.gz sha1 519701df3a10770980e993336fe19ef7d95b5bba Distfile checksum: libxml2-2.6.30.tar.gz sha1 f59910a08c292a93d1c3a677e10ab64792c4915c Error: Checksum (rmd160) mismatch for libxml2-2.6.30.tar.gz Portfile checksum: libxml2-2.6.30.tar.gz rmd160 8adcca2a60b4e90de898d9710a3a45069b73bbfe Distfile checksum: libxml2-2.6.30.tar.gz rmd160 4a7d23ee18c4df5269784cf64e68901c4a5428b1 Error: Target org.macports.checksum returned: Unable to verify file checksums Warning: the following items did not execute (for libxml2): 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. }}} -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13931> MacPorts </projects/macports> Ports system for Mac OS
#13931: libxml2 checksum breaks libxml2 install ------------------------------------+--------------------------------------- Reporter: keith.irwin@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 1.6.0 Resolution: | Keywords: libxml2 ------------------------------------+--------------------------------------- Comment (by tim.harding@gmail.com): +1 on this bug. tim@manhattan:~$ sudo port install rb-rmagick ---> Verifying checksum(s) for libxml2 Error: Checksum (md5) mismatch for libxml2-2.6.30.tar.gz Error: Checksum (sha1) mismatch for libxml2-2.6.30.tar.gz Error: Checksum (rmd160) mismatch for libxml2-2.6.30.tar.gz Error: Target org.macports.checksum returned: Unable to verify file checksums Error: The following dependencies failed to build: ImageMagick libxml2 pkgconfig tiff ruby ncurses ncursesw openssl readline Error: Status 1 encountered during processing. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13931#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#13931: libxml2 checksum breaks libxml2 install ------------------------------------+--------------------------------------- Reporter: keith.irwin@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 1.6.0 Resolution: | Keywords: libxml2 ------------------------------------+--------------------------------------- Comment (by tim.harding@gmail.com): tim@manhattan:~$ uname -a Darwin manhattan.config 9.1.0 Darwin Kernel Version 9.1.0: Wed Oct 31 17:46:22 PDT 2007; root:xnu-1228.0.2~1/RELEASE_I386 i386 Replying to [comment:1 tim.harding@gmail.com]:
+1 on this bug.
tim@manhattan:~$ sudo port install rb-rmagick ---> Verifying checksum(s) for libxml2 Error: Checksum (md5) mismatch for libxml2-2.6.30.tar.gz Error: Checksum (sha1) mismatch for libxml2-2.6.30.tar.gz Error: Checksum (rmd160) mismatch for libxml2-2.6.30.tar.gz Error: Target org.macports.checksum returned: Unable to verify file checksums Error: The following dependencies failed to build: ImageMagick libxml2 pkgconfig tiff ruby ncurses ncursesw openssl readline Error: Status 1 encountered during processing.
-- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13931#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#13931: libxml2 checksum breaks libxml2 install ------------------------------------+--------------------------------------- Reporter: keith.irwin@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 1.6.0 Resolution: | Keywords: libxml2 ------------------------------------+--------------------------------------- Comment (by sixhat@msn.com): I've encountered the same problem when installing libxml2 package: {{{ Sixhat:~ david$ sudo port install libxml2 ---> Verifying checksum(s) for libxml2 Error: Checksum (md5) mismatch for libxml2-2.6.30.tar.gz Error: Checksum (sha1) mismatch for libxml2-2.6.30.tar.gz Error: Checksum (rmd160) mismatch for libxml2-2.6.30.tar.gz Error: Target org.macports.checksum returned: Unable to verify file checksums Error: Status 1 encountered during processing. }}} I've got the same Checksum problem... -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13931#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#13931: libxml2 checksum breaks libxml2 install ------------------------------------+--------------------------------------- Reporter: keith.irwin@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 1.6.0 Resolution: | Keywords: libxml2 ------------------------------------+--------------------------------------- Comment (by renato.furter@switch.ch): Same Problem here with the Checksum on libxml2 package: {{{ macrf:~ furter$ sudo port install libxml2 ---> Verifying checksum(s) for libxml2 Error: Checksum (md5) mismatch for libxml2-2.6.30.tar.gz Error: Checksum (sha1) mismatch for libxml2-2.6.30.tar.gz Error: Checksum (rmd160) mismatch for libxml2-2.6.30.tar.gz Error: Target org.macports.checksum returned: Unable to verify file checksums Error: Status 1 encountered during processing. macrf:~ furter$ uname -a Darwin macrf.switch.ch 9.1.0 Darwin Kernel Version 9.1.0: Wed Oct 31 17:46:22 PDT 2007; root:xnu-1228.0.2~1/RELEASE_I386 i386 }}} -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13931#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#13931: libxml2 checksum breaks libxml2 install ------------------------------------+--------------------------------------- Reporter: keith.irwin@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 1.6.0 Resolution: | Keywords: libxml2 ------------------------------------+--------------------------------------- Comment (by tjeanneret@yahoo.com): ...and once more when trying to build GIMP : Error: Checksum (md5) mismatch for libxml2-2.6.30.tar.gz Portfile checksum: libxml2-2.6.30.tar.gz md5 460e6d853e824da700d698532e57316b Distfile checksum: libxml2-2.6.30.tar.gz md5 5a5bfd9a611d113e0b28e650a979ca4e Error: Checksum (sha1) mismatch for libxml2-2.6.30.tar.gz Portfile checksum: libxml2-2.6.30.tar.gz sha1 519701df3a10770980e993336fe19ef7d95b5bba Distfile checksum: libxml2-2.6.30.tar.gz sha1 f59910a08c292a93d1c3a677e10ab64792c4915c Error: Checksum (rmd160) mismatch for libxml2-2.6.30.tar.gz Portfile checksum: libxml2-2.6.30.tar.gz rmd160 8adcca2a60b4e90de898d9710a3a45069b73bbfe Distfile checksum: libxml2-2.6.30.tar.gz rmd160 4a7d23ee18c4df5269784cf64e68901c4a5428b1 Error: Target org.macports.checksum returned: Unable to verify file checksums and it is highly reproductible ! Best regards, happy new year -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13931#comment:5> MacPorts </projects/macports> Ports system for Mac OS
I am having this same problem when attempting to build gimp2. DEBUG: Executing org.macports.checksum (libxml2) ---> Checksumming libxml2-2.6.30.tar.gz Error: Checksum (md5) mismatch for libxml2-2.6.30.tar.gz Portfile checksum: libxml2-2.6.30.tar.gz md5 460e6d853e824da700d698532e57316b Distfile checksum: libxml2-2.6.30.tar.gz md5 5a5bfd9a611d113e0b28e650a979ca4e Error: Checksum (sha1) mismatch for libxml2-2.6.30.tar.gz ... Error: Target org.macports.checksum returned: Unable to verify file checksums -- View this message in context: http://www.nabble.com/-13931%3A-libxml2-checksum-breaks-libxml2-install-tp14... Sent from the MacPorts - Tickets mailing list archive at Nabble.com.
I found a mirror of the libxml2 tarball which downloads with correct checksum and seems to be OK to insert into the macports build process. I needed this to get php5 to build; haven't finished this and don't know how to check that the resulting libxml2 actually works right. Perhaps someone with libxml savvy can test that? Location: ftp://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/libxml2/libxml2-2.6.30.tar.gz Install steps: (I started after a failed sudo port install libxml2; don't think that generated anything you need to do this as you should already have the Portfile?) - download tarball - sudo cp ~/Downloads/libxml2-2.6.30.tar.gz /opt/local/var/macports/distfiles/libxml2 - md5 /opt/local/var/macports/distfiles/libxml2/libxml2-2.6.30.tar.gz - Compare output of md5 to what's in /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libxml2 and edit if necessary - sudo port install libxml2 /Maarten. -- View this message in context: http://www.nabble.com/-13931%3A-libxml2-checksum-breaks-libxml2-install-tp14... Sent from the MacPorts - Tickets mailing list archive at Nabble.com.
The link is actually: ftp://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/libxml2-2.6.30.tar.gz Thinkling wrote:
... Location: ftp://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/libxml2/libxml2-2.6.30.tar.gz ...
-- View this message in context: http://www.nabble.com/-13931%3A-libxml2-checksum-breaks-libxml2-install-tp14... Sent from the MacPorts - Tickets mailing list archive at Nabble.com.
The scary part is I didn't have to edit the check-sum so this copy from Gnome's FTP site is different from the one that is attempting to be installed by default. jthompsonic wrote:
The link is actually: ftp://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/libxml2-2.6.30.tar.gz
-- View this message in context: http://www.nabble.com/-13931%3A-libxml2-checksum-breaks-libxml2-install-tp14... Sent from the MacPorts - Tickets mailing list archive at Nabble.com.
#13931: libxml2 checksum breaks libxml2 install ------------------------------------+--------------------------------------- Reporter: keith.irwin@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 1.6.0 Resolution: | Keywords: libxml2 ------------------------------------+--------------------------------------- Comment (by afb@macports.org): the distfile from the GNOME mirror seems to be alright, even if the one from xmlsoft.org is bad ftp://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/libxml2-2.6.30.tar.gz -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13931#comment:6> MacPorts </projects/macports> Ports system for Mac OS
#13931: libxml2 checksum breaks libxml2 install ------------------------------------+--------------------------------------- Reporter: keith.irwin@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 1.6.0 Resolution: | Keywords: libxml2 ------------------------------------+--------------------------------------- Comment (by onyxraven@onyxraven.com): Replying to [comment:6 afb@macports.org]:
the distfile from the GNOME mirror seems to be alright, even if the one from xmlsoft.org is bad
ftp://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/libxml2-2.6.30.tar.gz
This worked, dropping the file into the distfiles location. The portfile should either be updated to point at gnome.org first or checksums updated, though. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13931#comment:7> MacPorts </projects/macports> Ports system for Mac OS
#13931: libxml2 checksum breaks libxml2 install ------------------------------------+--------------------------------------- Reporter: keith.irwin@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: libxml2 ------------------------------------+--------------------------------------- Changes (by jmpp@macports.org): * priority: High => Normal * milestone: => Port Bugs -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13931#comment:8> MacPorts </projects/macports> Ports system for Mac OS
#13931: libxml2 checksum breaks libxml2 install ------------------------------------+--------------------------------------- Reporter: keith.irwin@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: libxml2 ------------------------------------+--------------------------------------- Comment (by tjeanneret@yahoo.com): Replying to [comment:8 jmpp@macports.org]: Sorry, new comer, don't understand how you can get rid of this. I changed my portfile as : #master_sites ${homepage}sources/ \ # ftp://xmlsoft.org/${name}/ \ # ftp://fr.rpmfind.net/pub/libxml/ \ # ftp://gd.tuwien.ac.at/pub/libxml/ \ master_sites gnome:sources/${name}/[strsed ${version} {/\.[0-9]*$//}]/ checksums md5 460e6d853e824da700d698532e57316b \ sha1 519701df3a10770980e993336fe19ef7d95b5bba \ rmd160 8adcca2a60b4e90de898d9710a3a45069b73bbfe #checksums md5 5a5bfd9a611d113e0b28e650a979ca4e \ # sha1 f59910a08c292a93d1c3a677e10ab64792c4915c \ # rmd160 4a7d23ee18c4df5269784cf64e68901c4a5428b1 None of these modifs worked : For the checksums I got : Portfile changed since last build; discarding previous state. ---> Fetching libxml2 ---> Verifying checksum(s) for libxml2 ---> Checksumming libxml2-2.6.30.tar.gz ---> Extracting libxml2 ---> Extracting libxml2-2.6.30.tar.gz /usr/bin/gnutar: Skipping to next header /usr/bin/gnutar: Archive contains obsolescent base-64 headers gzip: /opt/local/var/macports/distfiles/libxml2/libxml2-2.6.30.tar.gz: invalid compressed data--crc error gzip: /opt/local/var/macports/distfiles/libxml2/libxml2-2.6.30.tar.gz: invalid compressed data--length error /usr/bin/gnutar: Error exit delayed from previous errors Error: Target org.macports.extract returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libxml2/work" && gzip -dc /opt/local/var/macports/distfiles/libxml2/libxml2-2.6.30.tar.gz | /usr/bin/gnutar --no-same-owner -xf - " returned error 2 Command output: /usr/bin/gnutar: Skipping to next header /usr/bin/gnutar: Archive contains obsolescent base-64 headers gzip: /opt/local/var/macports/distfiles/libxml2/libxml2-2.6.30.tar.gz: invalid compressed data--crc error gzip: /opt/local/var/macports/distfiles/libxml2/libxml2-2.6.30.tar.gz: invalid compressed data--length error /usr/bin/gnutar: Error exit delayed from previous errors Warning: the following items did not execute (for libxml2): org.macports.activate org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. For the source modification, I got : ---> Fetching libxml2 ---> Verifying checksum(s) for libxml2 Error: Checksum (md5) mismatch for libxml2-2.6.30.tar.gz Error: Checksum (sha1) mismatch for libxml2-2.6.30.tar.gz Error: Checksum (rmd160) mismatch for libxml2-2.6.30.tar.gz Error: Target org.macports.checksum returned: Unable to verify file checksums Error: Status 1 encountered during processing. Don't know what to do now. May be using a prepackaged Gimp ? -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13931#comment:9> MacPorts </projects/macports> Ports system for Mac OS
#13931: libxml2 checksum breaks libxml2 install ------------------------------------+--------------------------------------- Reporter: keith.irwin@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: libxml2 ------------------------------------+--------------------------------------- Comment (by renato.furter@switch.ch): what I did after i saw the comment from afb and onyxraven was to get the libxml2-2.6.30.tar.gz from gnome and just copied it into the distfile folder (/opt/local/var/macports/distfiles/ on my mac) and then installed libxml2 throug macports with {{{ ports install libxml2 }}} worked fine for me. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13931#comment:10> MacPorts </projects/macports> Ports system for Mac OS
#13931: libxml2 checksum breaks libxml2 install ------------------------------------+--------------------------------------- Reporter: keith.irwin@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: libxml2 ------------------------------------+--------------------------------------- Comment (by renato.furter@switch.ch): grrr... its of course '''port''' without 's'. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13931#comment:11> MacPorts </projects/macports> Ports system for Mac OS
#13931: libxml2 checksum breaks libxml2 install ------------------------------------+--------------------------------------- Reporter: keith.irwin@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: libxml2 ------------------------------------+--------------------------------------- Comment (by cedric.luthi@gmail.com): It seems there was a glitch on xmlsoft.org[[BR]] Just do {{{ port clean --work --dist libxml2 }}} and everything should work again. Someone with appropriate rights may close this ticket. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13931#comment:12> MacPorts </projects/macports> Ports system for Mac OS
#13931: libxml2 checksum breaks libxml2 install ------------------------------------+--------------------------------------- Reporter: keith.irwin@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: libxml2 ------------------------------------+--------------------------------------- Changes (by raimue@macports.org): * status: new => closed * resolution: => fixed Comment: Replying to [comment:12 cedric.luthi@gmail.com]: Okay, I am closing this. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13931#comment:13> MacPorts </projects/macports> Ports system for Mac OS
participants (3)
-
jthompsonic
-
MacPorts
-
Thinkling