[MacPorts] #39906: get checksum error on update mysql5
#39906: get checksum error on update mysql5 ----------------------+-------------------------------- Reporter: wallyg@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: ----------------------+-------------------------------- Keep getting checksum error. Trying to update from mysql5 @5.1.68_0 to mysql5 @5.1.70_0. Here's top of my main.log file: :debug:checksum checksum phase started at Tue Jul 30 10:20:29 EDT 2013 :notice:checksum ---> Verifying checksums for mysql5 :debug:checksum Executing org.macports.checksum (mysql5) :info:checksum ---> Checksumming mysql-5.1.70.tar.gz :error:checksum Checksum (rmd160) mismatch for mysql-5.1.70.tar.gz :info:checksum Portfile checksum: mysql-5.1.70.tar.gz rmd160 9a7978aa9370c56ed5c3a0a9f3ca135255f19cd8 :info:checksum Distfile checksum: mysql-5.1.70.tar.gz rmd160 3992485cf86171c9838585e1e073ff999966a11d :error:checksum Checksum (sha256) mismatch for mysql-5.1.70.tar.gz :info:checksum Portfile checksum: mysql-5.1.70.tar.gz sha256 9e03a343cf1b72b07f9c9bf7be24ffc808aa5c1a9daa590aaf2bc6a7a31f60ed :info:checksum Distfile checksum: mysql-5.1.70.tar.gz sha256 05ffdce6b94d8ea6bb69a1585685c40e8f3e5ce903231fc62d475a56ebec040c :info:checksum The correct checksum line may be: :info:checksum checksums rmd160 3992485cf86171c9838585e1e073ff999966a11d \ sha256 05ffdce6b94d8ea6bb69a1585685c40e8f3e5ce903231fc62d475a56ebec040c :error:checksum org.macports.checksum for port mysql5 returned: Unable to verify file checksums :debug:checksum Error code: NONE other updates (at least all those up to mysql5 ran fine. -- Ticket URL: <https://trac.macports.org/ticket/39906> MacPorts <http://www.macports.org/> Ports system for OS X
#39906: mysql5 @5.1.70_0: checksum mismatch -----------------------+----------------------- Reporter: wallyg@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mysql5 | -----------------------+----------------------- Changes (by larryv@…): * cc: ryandesign@… (added) * owner: macports-tickets@… => pixilla@… * port: => mysql5 Old description:
Keep getting checksum error. Trying to update from mysql5 @5.1.68_0 to mysql5 @5.1.70_0. Here's top of my main.log file:
:debug:checksum checksum phase started at Tue Jul 30 10:20:29 EDT 2013 :notice:checksum ---> Verifying checksums for mysql5 :debug:checksum Executing org.macports.checksum (mysql5) :info:checksum ---> Checksumming mysql-5.1.70.tar.gz :error:checksum Checksum (rmd160) mismatch for mysql-5.1.70.tar.gz :info:checksum Portfile checksum: mysql-5.1.70.tar.gz rmd160 9a7978aa9370c56ed5c3a0a9f3ca135255f19cd8 :info:checksum Distfile checksum: mysql-5.1.70.tar.gz rmd160 3992485cf86171c9838585e1e073ff999966a11d :error:checksum Checksum (sha256) mismatch for mysql-5.1.70.tar.gz :info:checksum Portfile checksum: mysql-5.1.70.tar.gz sha256 9e03a343cf1b72b07f9c9bf7be24ffc808aa5c1a9daa590aaf2bc6a7a31f60ed :info:checksum Distfile checksum: mysql-5.1.70.tar.gz sha256 05ffdce6b94d8ea6bb69a1585685c40e8f3e5ce903231fc62d475a56ebec040c :info:checksum The correct checksum line may be: :info:checksum checksums rmd160 3992485cf86171c9838585e1e073ff999966a11d \ sha256 05ffdce6b94d8ea6bb69a1585685c40e8f3e5ce903231fc62d475a56ebec040c :error:checksum org.macports.checksum for port mysql5 returned: Unable to verify file checksums :debug:checksum Error code: NONE
other updates (at least all those up to mysql5 ran fine.
New description: Keep getting checksum error. Trying to update from mysql5 @5.1.68_0 to mysql5 @5.1.70_0. Here's top of my main.log file: {{{ :debug:checksum checksum phase started at Tue Jul 30 10:20:29 EDT 2013 :notice:checksum ---> Verifying checksums for mysql5 :debug:checksum Executing org.macports.checksum (mysql5) :info:checksum ---> Checksumming mysql-5.1.70.tar.gz :error:checksum Checksum (rmd160) mismatch for mysql-5.1.70.tar.gz :info:checksum Portfile checksum: mysql-5.1.70.tar.gz rmd160 9a7978aa9370c56ed5c3a0a9f3ca135255f19cd8 :info:checksum Distfile checksum: mysql-5.1.70.tar.gz rmd160 3992485cf86171c9838585e1e073ff999966a11d :error:checksum Checksum (sha256) mismatch for mysql-5.1.70.tar.gz :info:checksum Portfile checksum: mysql-5.1.70.tar.gz sha256 9e03a343cf1b72b07f9c9bf7be24ffc808aa5c1a9daa590aaf2bc6a7a31f60ed :info:checksum Distfile checksum: mysql-5.1.70.tar.gz sha256 05ffdce6b94d8ea6bb69a1585685c40e8f3e5ce903231fc62d475a56ebec040c :info:checksum The correct checksum line may be: :info:checksum checksums rmd160 3992485cf86171c9838585e1e073ff999966a11d \ sha256 05ffdce6b94d8ea6bb69a1585685c40e8f3e5ce903231fc62d475a56ebec040c :error:checksum org.macports.checksum for port mysql5 returned: Unable to verify file checksums :debug:checksum Error code: NONE }}} other updates (at least all those up to mysql5 ran fine. -- Comment: Thanks for the ticket. In the future, please Cc relevant port maintainers (`port info --maintainers`). -- Ticket URL: <https://trac.macports.org/ticket/39906#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#39906: mysql5 @5.1.70_0: checksum mismatch -----------------------+----------------------- Reporter: wallyg@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mysql5 | -----------------------+----------------------- Comment (by ryandesign@…): Thank you for the ticket. We should fix this problem, but note that the mysql5 port is deprecated. Please switch to the mysql51, mysql55, mysql56, percona or mariadb port. -- Ticket URL: <https://trac.macports.org/ticket/39906#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
Looks like some are trying to upgrade to mysql51 port but can't. I was able to install mysql51 but the kdenlive port doesn't recognize it. How do I tell a port to use a different dependency? ---> Computing dependencies for mysql5 ---> Verifying checksums for mysql5 Error: Checksum (rmd160) mismatch for mysql-5.1.70.tar.gz Error: Checksum (sha256) mismatch for mysql-5.1.70.tar.gz Error: org.macports.checksum for port mysql5 returned: Unable to verify file checksums Please see the log file for port mysql5 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port mysql5 failed vpn-user-18:~ mimiller$ sudo port install mysql51 ---> Computing dependencies for mysql51 ---> Dependencies to be installed: mysql_select ---> Fetching archive for mysql_select ---> Attempting to fetch mysql_select-0.1.2_0.darwin_12.noarch.tbz2 from http://packages.macports.org/mysql_select ---> Attempting to fetch mysql_select-0.1.2_0.darwin_12.noarch.tbz2.rmd160 from http://packages.macports.org/mysql_select ---> Installing mysql_select @0.1.2_0 ---> Activating mysql_select @0.1.2_0 ---> Cleaning mysql_select ---> Fetching archive for mysql51 ---> Attempting to fetch mysql51-5.1.70_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/mysql51 ---> Attempting to fetch mysql51-5.1.70_0.darwin_12.x86_64.tbz2.rmd160 from http://packages.macports.org/mysql51 ---> Installing mysql51 @5.1.70_0 The mysql51 client has been installed. To install the mysql51 server, install the mysql51-server port. ---> Activating mysql51 @5.1.70_0 ---> Cleaning mysql51 ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> No broken files found. vpn-user-18:~ mimiller$ sudo port install kdenlive ---> Computing dependencies for kdenlive ---> Dependencies to be installed: kde4-runtime kdepimlibs4 akonadi qt4-mac-mysql5-plugin mysql5 gpgme gnupg libusb-compat libusb libassuan libgpg-error pth libical nepomuk-core prison libdmtx qrencode libssh openslp oxygen-icons qimageblitz mlt doxygen frei0r-plugins gavl git-core p5.12-error p5.12-term-readkey rsync popt libdv sox file libmagic libid3tag libmad opencore-amr twolame wavpack ---> Verifying checksums for mysql5 Error: Checksum (rmd160) mismatch for mysql-5.1.70.tar.gz Error: Checksum (sha256) mismatch for mysql-5.1.70.tar.gz Error: org.macports.checksum for port mysql5 returned: Unable to verify file checksums Error: Failed to install mysql5 Please see the log file for port mysql5 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/main.log Error: The following dependencies were not installed: kde4-runtime kdepimlibs4 akonadi qt4-mac-mysql5-plugin mysql5 gpgme gnupg libusb-compat libusb libassuan libgpg-error pth libical nepomuk-core prison libdmtx qrencode libssh openslp oxygen-icons qimageblitz mlt doxygen frei0r-plugins gavl git-core p5.12-error p5.12-term-readkey rsync popt libdv sox file libmagic libid3tag libmad opencore-amr twolame wavpack To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port kdenlive failed -- View this message in context: http://mac-os-forge.2317878.n4.nabble.com/MacPorts-39906-get-checksum-error-... Sent from the MacPorts - Tickets mailing list archive at Nabble.com.
ok, I figured out that using +<portname> will tell the port to install a different dependency. sudo port install kdenlive +mysql51 solved my problem. -- View this message in context: http://mac-os-forge.2317878.n4.nabble.com/MacPorts-39906-get-checksum-error-... Sent from the MacPorts - Tickets mailing list archive at Nabble.com.
#39906: mysql5 @5.1.70_0: checksum mismatch -----------------------+----------------------- Reporter: wallyg@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mysql5 | -----------------------+----------------------- Comment (by mp@…): The switch from mysql5 to mysql51 or the other ones mentioned is not practicable at the moment, see #39961 -- Ticket URL: <https://trac.macports.org/ticket/39906#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#39906: mysql5 @5.1.70_0: checksum mismatch -----------------------+----------------------- Reporter: wallyg@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mysql5 | -----------------------+----------------------- Comment (by mp@…): I may be missing something here, but to me it seems the file http://ftp.plusline.de/mysql/Downloads/MySQL-5.1/mysql-5.1.70.tar.gz (which is the first distfile my install happens to pick) does *not* match the current Portfile's checksums, whereas http://distfiles.macports.org/mysql51/mysql-5.1.70.tar.gz does... Ideas? -- Ticket URL: <https://trac.macports.org/ticket/39906#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#39906: mysql5 @5.1.70_0: checksum mismatch -----------------------+----------------------- Reporter: wallyg@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mysql5 | -----------------------+----------------------- Comment (by mp@…): Having checked a few more sources, I think the file on the distfiles.macports.org archive is not (different version?) and so are the checksums. -- Ticket URL: <https://trac.macports.org/ticket/39906#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#39906: mysql5 @5.1.70_0: checksum mismatch -----------------------+----------------------- Reporter: wallyg@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mysql5 | -----------------------+----------------------- Comment (by ryandesign@…): Replying to [comment:6 mp@…]:
I may be missing something here, but to me it seems the file
http://ftp.plusline.de/mysql/Downloads/MySQL-5.1/mysql-5.1.70.tar.gz
(which is the first distfile my install happens to pick) does *not* match the current Portfile's checksums, whereas
http://distfiles.macports.org/mysql51/mysql-5.1.70.tar.gz
does... Ideas?
That's exactly what "checksum mismatch" means. Now someone has to go read wiki:FAQ#checksums and follow it to determine what the difference is, and what we should do about it. -- Ticket URL: <https://trac.macports.org/ticket/39906#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#39906: mysql5 @5.1.70_0: checksum mismatch -----------------------+----------------------- Reporter: wallyg@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mysql5 | -----------------------+----------------------- Comment (by mp@…): I checked three official mirrors (including the CDN as linked from the MySQL website) and they provide sources with the checksums as per the patch above. The differences between the distfiles.macports.org one (with the current checksums) and the other ones are subtle. Most notably, the "Changelog" file in the "distfiles" version has a lot of entries all with "branch nick: mysql-5.1.70-release". The "official" one has only one entry (!) with "tags: mysql-5.1.70". This single revision is also the last one in the "distfiles" version, albeit branch- and not tag-based. Re-packaged sources/Stealth update? -- Ticket URL: <https://trac.macports.org/ticket/39906#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#39906: mysql5 @5.1.70_0: checksum mismatch -----------------------+----------------------- Reporter: wallyg@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mysql5 | -----------------------+----------------------- Comment (by ryandesign@…): Replying to [comment:9 mp@…]:
So re-packaged sources/stealth update?
I suspect so, since the same thing happened for mysql55; see #39513. The patch is insufficient because it does not follow the [wiki:PortfileRecipes#stealth-updates stealth update recipe]. The mysql51 port lists the same checksums as the mysql5 port so I assume it is equally affected. -- Ticket URL: <https://trac.macports.org/ticket/39906#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#39906: mysql5 @5.1.70_0: checksum mismatch -----------------------+----------------------- Reporter: wallyg@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mysql5 | -----------------------+----------------------- Comment (by mp@…): Here's part of a diff of one particular file: {{{ --- mysql-5.1.70-macports/scripts/fill_help_tables.sql 2013-05-13 15:35:51.000000000 +0200 +++ mysql-5.1.70-plusline/scripts/fill_help_tables.sql 2013-07-15 06:12:52.000000000 +0200 @@ -15,9 +15,9 @@ -- DO NOT EDIT THIS FILE. It is generated automatically. --- File generation date: 2013-05-06 +-- File generation date: 2013-07-02 -- MySQL series: 5.1 --- Document repository revision: 35091 +-- Document repository revision: 35518 }}} As the official release was on 2013-06-03, that looks as if they indeed made a stealth upgrade on July 2nd or later. -- Ticket URL: <https://trac.macports.org/ticket/39906#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#39906: mysql5 @5.1.70_0: checksum mismatch -----------------------+----------------------- Reporter: wallyg@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mysql5 | -----------------------+----------------------- Comment (by mp@…): Who takes care of changing the files on the MacPorts distfile mirrors? -- Ticket URL: <https://trac.macports.org/ticket/39906#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#39906: mysql5 @5.1.70_0: checksum mismatch -----------------------+----------------------- Reporter: wallyg@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mysql5 | -----------------------+----------------------- Comment (by ryandesign@…): The MacPorts distfiles mirrors automatically mirror files when portfiles are committed. -- Ticket URL: <https://trac.macports.org/ticket/39906#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#39906: mysql5 @5.1.70_0: checksum mismatch -----------------------+----------------------- Reporter: wallyg@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mysql5 | -----------------------+----------------------- Comment (by ryandesign@…): Thanks for the patch. There is no need to increase revision_server since mysql5-server does not use the distfile. -- Ticket URL: <https://trac.macports.org/ticket/39906#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
#39906: mysql5 @5.1.70_0: checksum mismatch -----------------------+----------------------- Reporter: wallyg@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mysql5 | -----------------------+----------------------- Comment (by mp@…): #39976 is the ticket for mysql51 -- Ticket URL: <https://trac.macports.org/ticket/39906#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X
#39906: mysql5 @5.1.70_0: checksum mismatch -----------------------+-------------------------- Reporter: wallyg@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mysql5 | -----------------------+-------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (removed) * cc: pixilla@… (added) * owner: pixilla@… => ryandesign@… * status: new => assigned -- Ticket URL: <https://trac.macports.org/ticket/39906#comment:16> MacPorts <http://www.macports.org/> Ports system for OS X
#39906: mysql5 @5.1.70_0: checksum mismatch -----------------------+-------------------------- Reporter: wallyg@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: fixed | Keywords: Port: mysql5 | -----------------------+-------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: r108851 -- Ticket URL: <https://trac.macports.org/ticket/39906#comment:17> MacPorts <http://www.macports.org/> Ports system for OS X
participants (2)
-
MacPorts
-
myk