[MacPorts] #31458: Incorrect checksums for ocaml-doc
#31458: Incorrect checksums for ocaml-doc ----------------------------------+----------------------------------------- Reporter: macosx12345@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: ocaml-doc ----------------------------------+----------------------------------------- It seems the checksums in the Portfile of ocaml-doc are outdated: {{{ $ sudo port -vu upgrade ocaml-doc ---> Fetching archive for ocaml-doc ---> ocaml-doc-3.12_1.darwin_9.noarch.tbz2 doesn't seem to exist in /opt/local/var/macports/software/ocaml-doc ---> Attempting to fetch ocaml-doc-3.12_1.darwin_9.noarch.tbz2 from http://packages.macports.org/ocaml-doc % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 ---> Fetching ocaml-doc ---> Verifying checksum(s) for ocaml-doc ---> Checksumming ocaml-3.12-refman.html.tar.gz Error: Checksum (md5) mismatch for ocaml-3.12-refman.html.tar.gz Portfile checksum: ocaml-3.12-refman.html.tar.gz md5 93cd91f525441eb7e94cc49b9b64bab0 Distfile checksum: ocaml-3.12-refman.html.tar.gz md5 f62a8bb181c1ca7b3233dba8ff51dd46 Error: Checksum (sha1) mismatch for ocaml-3.12-refman.html.tar.gz Portfile checksum: ocaml-3.12-refman.html.tar.gz sha1 3a332ab965f6a917953f30e8ee069d9ecfb342a1 Distfile checksum: ocaml-3.12-refman.html.tar.gz sha1 07991b8e9a5636900c4126056da69331a30f8b8b Error: Checksum (rmd160) mismatch for ocaml-3.12-refman.html.tar.gz Portfile checksum: ocaml-3.12-refman.html.tar.gz rmd160 39a0964d0d3f9ba70d312525fe919d6bb4bff18e Distfile checksum: ocaml-3.12-refman.html.tar.gz rmd160 67ff4954aff18ba2991e41df90454aa36f89b8ef The correct checksum line may be: checksums md5 f62a8bb181c1ca7b3233dba8ff51dd46 \ sha1 07991b8e9a5636900c4126056da69331a30f8b8b \ rmd160 67ff4954aff18ba2991e41df90454aa36f89b8ef Error: Target org.macports.checksum returned: Unable to verify file checksums Warning: the following items did not execute (for ocaml-doc): org.macports.install org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot Log for ocaml-doc is at: /opt/local/var/macports/logs /_opt_local_var_macports_sources_localhost_release_ports_lang_ocaml-doc /ocaml-doc/main.log Error: Unable to upgrade port: 1 To report a bug, see <http://guide.macports.org/#project.tickets> $ }}} Attached is a patch to the Portfile. -- Ticket URL: <https://trac.macports.org/ticket/31458> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31458: Incorrect checksums for ocaml-doc ----------------------------------+----------------------------------------- Reporter: macosx12345@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: haspatch | Port: ocaml-doc ----------------------------------+----------------------------------------- Changes (by macsforever2000@…): * keywords: => haspatch * owner: macports-tickets@… => mww@… -- Ticket URL: <https://trac.macports.org/ticket/31458#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31458: Incorrect checksums for ocaml-doc ----------------------------------+----------------------------------------- Reporter: macosx12345@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: haspatch | Port: ocaml-doc ----------------------------------+----------------------------------------- Comment(by ryandesign@…): You cannot just change the checksums; you must follow the [wiki:PortfileRecipes#stealth-updates stealth-update] procedure (that is: also change dist_subdir, and perhaps increase revision). -- Ticket URL: <https://trac.macports.org/ticket/31458#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31458: Incorrect checksums for ocaml-doc ----------------------------------+----------------------------------------- Reporter: macosx12345@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: haspatch | Port: ocaml-doc ----------------------------------+----------------------------------------- Comment(by macosx12345@…): Thanks. I checked that the two versions are indeed different (not just the tar of zip files, but also the content), then I changed the dist_subdir (new patch attached). I don't think it would be a good idea to change the revision, since ocaml has a revision number, which is currently up-to-date. Adding a revision number to {{{ocaml-doc}}} might make things more confuse. -- Ticket URL: <https://trac.macports.org/ticket/31458#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31458: Incorrect checksums for ocaml-doc -----------------------------------+---------------------------------------- Reporter: macosx12345@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: haspatch Port: ocaml-doc | -----------------------------------+---------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: r93779 -- Ticket URL: <https://trac.macports.org/ticket/31458#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts