Hi, I had a problem installing sqlite3: $ sudo port install sqlite3 Password: ---> Verifying checksum(s) for sqlite3 Error: Target org.macports.checksum returned: Could not open file: /opt/local/var/macports/distfiles/sqlite3/sqlite-3.5.3.tar.gz Error: Status 1 encountered during processing. I tried to clean, but the problem persists. $ sudo port clean --all sqlite3 ---> Cleaning sqlite3 $ sudo port install sqlite3 ---> Fetching sqlite3 ---> Attempting to fetch sqlite-3.5.3.tar.gz from http://www.sqlite.org/ ---> Verifying checksum(s) for sqlite3 Error: Checksum (sha1) mismatch for sqlite-3.5.3.tar.gz Error: Target org.macports.checksum returned: Unable to verify file checksums Error: Status 1 encountered during processing. How can I fix it? Thanks
Seems to be a portfile bug. Try this patch. Index: Portfile =================================================================== --- Portfile (revision 31571) +++ Portfile (working copy) @@ -19,7 +19,7 @@ homepage http://www.sqlite.org/ master_sites ${homepage} distname sqlite-${version} -checksums sha1 6653a37913a4cae8fb59036b4450b8ab6d81655c +checksums sha1 f0ff257f2f20bd756d62ec1470821fbc933ffd6c patchfiles patch-Makefile.in depends_build port:gawk On Nov 29, 2007 12:06 AM, Noel <noelmf@gmail.com> wrote:
Hi,
I had a problem installing sqlite3:
$ sudo port install sqlite3 Password: ---> Verifying checksum(s) for sqlite3 Error: Target org.macports.checksum returned: Could not open file: /opt/local/var/macports/distfiles/sqlite3/sqlite- 3.5.3.tar.gz Error: Status 1 encountered during processing.
I tried to clean, but the problem persists.
$ sudo port clean --all sqlite3 ---> Cleaning sqlite3 $ sudo port install sqlite3 ---> Fetching sqlite3 ---> Attempting to fetch sqlite-3.5.3.tar.gz from http://www.sqlite.org/ ---> Verifying checksum(s) for sqlite3 Error: Checksum (sha1) mismatch for sqlite-3.5.3.tar.gz Error: Target org.macports.checksum returned: Unable to verify file checksums Error: Status 1 encountered during processing.
How can I fix it?
Thanks
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
This wasn't a bug in the Portfile but a "re-release" of version 3.5.3; someone has changed the distfile on the sqlite.org server. The changes [1] between the two sqlite-3.5.3.tar.gz distfiles are of cosmetic value to us only, so this most probably was not a hack of the sqlite.org server.. Thanks for bringing this one up! Regards, -Markus [1] Changes between the two 3.5.3 releases with 3.5.3-1 being the current on the sqlite.org server =================================================================== Only in sqlite-3.5.3: autom4te.cache diff -u -r sqlite-3.5.3/mkdll.sh sqlite-3.5.3-1/mkdll.sh --- sqlite-3.5.3/mkdll.sh 2007-11-27 18:27:32.000000000 +0100 +++ sqlite-3.5.3-1/mkdll.sh 2007-11-27 22:41:17.000000000 +0100 @@ -9,6 +9,7 @@ make sqlite3.c make fts3amal.c cat fts3amal.c >>sqlite3.c +cat fts3amal.c >>tclsqlite3.c PATH=$PATH:/opt/mingw/bin TCLDIR=/home/drh/tcltk/846/win/846win TCLSTUBLIB=$TCLDIR/libtcl84stub.a diff -u -r sqlite-3.5.3/publish.sh sqlite-3.5.3-1/publish.sh --- sqlite-3.5.3/publish.sh 2007-11-27 18:34:55.000000000 +0100 +++ sqlite-3.5.3-1/publish.sh 2007-11-27 19:44:15.000000000 +0100 @@ -28,7 +28,7 @@ cat fts3amal.c >>sqlite3.c CFLAGS="-Os -DSQLITE_ENABLE_FTS3=1 -DSQLITE_THREADSAFE=0" echo '***** '"COMPILING sqlite3-$VERS.bin..." -gcc $CFLAGS -Itsrc sqlite3.c tsrc/shell.c -o sqlite3 -ldl -lpthread +gcc $CFLAGS -Itsrc sqlite3.c tsrc/shell.c -o sqlite3 -ldl strip sqlite3 mv sqlite3 sqlite3-$VERS.bin gzip sqlite3-$VERS.bin Only in sqlite-3.5.3-1: publish_osx.sh Only in sqlite-3.5.3/src: .#os_unix.c.1.167 Only in sqlite-3.5.3/src: .#sqlite.h.in.1.261 Only in sqlite-3.5.3/src: .#sqlite.h.in.1.269 Only in sqlite-3.5.3/src: .#sqliteInt.h.1.618 Only in sqlite-3.5.3/src: dump.txt =================================================================== On 28.11.2007, at 16:24, js wrote:
Seems to be a portfile bug. Try this patch.
Index: Portfile =================================================================== --- Portfile (revision 31571) +++ Portfile (working copy) @@ -19,7 +19,7 @@ homepage http://www.sqlite.org/ master_sites ${homepage} distname sqlite-${version} -checksums sha1 6653a37913a4cae8fb59036b4450b8ab6d81655c +checksums sha1 f0ff257f2f20bd756d62ec1470821fbc933ffd6c patchfiles patch-Makefile.in
depends_build port:gawk
On Nov 29, 2007 12:06 AM, Noel <noelmf@gmail.com> wrote:
Hi,
I had a problem installing sqlite3:
$ sudo port install sqlite3 Password: ---> Verifying checksum(s) for sqlite3 Error: Target org.macports.checksum returned: Could not open file: /opt/local/var/macports/distfiles/sqlite3/sqlite- 3.5.3.tar.gz Error: Status 1 encountered during processing.
I tried to clean, but the problem persists.
$ sudo port clean --all sqlite3 ---> Cleaning sqlite3 $ sudo port install sqlite3 ---> Fetching sqlite3 ---> Attempting to fetch sqlite-3.5.3.tar.gz from http:// www.sqlite.org/ ---> Verifying checksum(s) for sqlite3 Error: Checksum (sha1) mismatch for sqlite-3.5.3.tar.gz Error: Target org.macports.checksum returned: Unable to verify file checksums Error: Status 1 encountered during processing.
How can I fix it?
Thanks
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
--- Dipl. Inf. (FH) Markus W. Weissmann http://www.mweissmann.de/
participants (3)
-
js
-
Noel
-
Weissmann Markus