Opened 9 years ago

Closed 9 years ago

#50172 closed defect (fixed)

py-htmldocs: checksum mismatch

Reported by: demis.ucsb@… Owned by: eborisch (Eric A. Borisch)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: mndavidoff (Monte Davidoff)
Port: py-htmldocs

Description

When installing py27-htmldocs, the build fails after downloading the package due to failed checksum.

I've tried cleaning & re-downloading, port sync & port selfupdate & retrying in various combinations.

Running the following commands:

>>> sudo port clean --all py27-htmldocs

>>> sudo port -v checksum py27-htmldocs

produces a logfile with the folowing lines of interest:

:error:checksum Checksum (sha256) mismatch for python-2.7.11-docs-html.tar.bz2
:error:checksum org.macports.checksum for port py27-htmldocs returned: Unable to verify file checksums
:debug:checksum Error code: NONE
:debug:checksum Backtrace: Unable to verify file checksums
    while executing

Is this a macports problem (ie. with the hosted file)?

Full logfile attached.

Attachments (1)

main.log (2.9 KB) - added by demis.ucsb@… 9 years ago.
Log File for sudo port -v checksum py27-htmldocs

Download all attachments as: .zip

Change History (15)

Changed 9 years ago by demis.ucsb@…

Attachment: main.log added

Log File for sudo port -v checksum py27-htmldocs

comment:1 Changed 9 years ago by demis.ucsb@…

CC maintainer: eborisch@…

comment:2 Changed 9 years ago by mf2k (Frank Schima)

Component: server/hostingports
Owner: changed from admin@… to eborisch@…
Port: py-htmldocs added; py27-htmldocs removed

comment:3 Changed 9 years ago by eborisch (Eric A. Borisch)

Fixed in r144006.

comment:4 Changed 9 years ago by eborisch (Eric A. Borisch)

Resolution: fixed
Status: newclosed

comment:5 in reply to:  4 Changed 9 years ago by demis.ucsb@…

Replying to eborisch@…: Thanks for the rapid response!

Took about 23min for the changes to propagate to the mirrors port ended up using.

Last edited 9 years ago by demis.ucsb@… (previous) (diff)

comment:6 Changed 9 years ago by demis.ucsb@…

@ eborisch@…,

It seems that the new checksums aren't correct for the py35-htmldocs portfile (if I'm reading this error correctly).

(I got the install working for py27-htmldocs about 20min after your update, so I assume the changes have propagated to the various mirrors.)

sudo port -v checksum py35-htmldocs returns the following:

--->  Verifying checksums for py35-htmldocs
--->  Checksumming python-3.5.1-docs-html.tar.bz2
Error: Checksum (rmd160) mismatch for python-3.5.1-docs-html.tar.bz2
Portfile checksum: python-3.5.1-docs-html.tar.bz2 rmd160 dc49af77633fbb4c4766cd313f1609295d5a0438
Distfile checksum: python-3.5.1-docs-html.tar.bz2 rmd160 708cb554c1b80bcf795f89936ca9bdac11abffb5
Error: Checksum (sha256) mismatch for python-3.5.1-docs-html.tar.bz2
Portfile checksum: python-3.5.1-docs-html.tar.bz2 sha256 1bf4aa73555eb1c38504ab4ef8368c15d6e026b0669d477f7e7d3db8edfae75b
Distfile checksum: python-3.5.1-docs-html.tar.bz2 sha256 ad75e90b950c6abfae550680576ad8ffa48d8ef579fcb98687037590c7576d98
The correct checksum line may be:
checksums           rmd160  708cb554c1b80bcf795f89936ca9bdac11abffb5 \
                    sha256  ad75e90b950c6abfae550680576ad8ffa48d8ef579fcb98687037590c7576d98
Error: org.macports.checksum for port py35-htmldocs returned: Unable to verify file checksums
Warning: targets not executed for py35-htmldocs: org.macports.checksum
Please see the log file for port py35-htmldocs for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_py-htmldocs/py35-htmldocs/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port py35-htmldocs failed

The Install command sudo port -v install py35-htmldocs showed the following servers were used:

--->  Fetching archive for py35-htmldocs
--->  py35-htmldocs-3.5.1_1.darwin_15.noarch.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
--->  Attempting to fetch py35-htmldocs-3.5.1_1.darwin_15.noarch.tbz2 from http://packages.macports.org/py35-htmldocs
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
--->  Attempting to fetch py35-htmldocs-3.5.1_1.darwin_15.noarch.tbz2 from http://jog.id.packages.macports.org/macports/packages/py35-htmldocs
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:29 --:--:--     0
--->  Attempting to fetch py35-htmldocs-3.5.1_1.darwin_15.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/py35-htmldocs
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   298  100   298    0     0    346      0 --:--:-- --:--:-- --:--:--   346
--->  Fetching distfiles for py35-htmldocs
--->  python-3.5.1-docs-html.tar.bz2 doesn't seem to exist in /opt/local/var/macports/distfiles/py-htmldocs
--->  Attempting to fetch python-3.5.1-docs-html.tar.bz2 from http://docs.python.org/3.5/archives
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 5555k  100 5555k    0     0  2931k      0  0:00:01  0:00:01 --:--:-- 3507k
--->  Verifying checksums for py35-htmldocs
--->  Checksumming python-3.5.1-docs-html.tar.bz2
Error: Checksum (rmd160) mismatch for python-3.5.1-docs-html.tar.bz2
Portfile checksum: python-3.5.1-docs-html.tar.bz2 rmd160 dc49af77633fbb4c4766cd313f1609295d5a0438
Distfile checksum: python-3.5.1-docs-html.tar.bz2 rmd160 708cb554c1b80bcf795f89936ca9bdac11abffb5
Error: Checksum (sha256) mismatch for python-3.5.1-docs-html.tar.bz2
Portfile checksum: python-3.5.1-docs-html.tar.bz2 sha256 1bf4aa73555eb1c38504ab4ef8368c15d6e026b0669d477f7e7d3db8edfae75b
Distfile checksum: python-3.5.1-docs-html.tar.bz2 sha256 ad75e90b950c6abfae550680576ad8ffa48d8ef579fcb98687037590c7576d98
The correct checksum line may be:
checksums           rmd160  708cb554c1b80bcf795f89936ca9bdac11abffb5 \
                    sha256  ad75e90b950c6abfae550680576ad8ffa48d8ef579fcb98687037590c7576d98
Error: org.macports.checksum for port py35-htmldocs returned: Unable to verify file checksums
Warning: targets not executed for py35-htmldocs: org.macports.activate org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
Please see the log file for port py35-htmldocs for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_py-htmldocs/py35-htmldocs/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port py35-htmldocs failed

In contrast, py27-htmldocs completes successfully, with:

sudo port -v checksum py27-htmldocs
--->  Fetching distfiles for py27-htmldocs
--->  python-2.7.11-docs-html.tar.bz2 doesn't seem to exist in /opt/local/var/macports/distfiles/py-htmldocs
--->  Attempting to fetch python-2.7.11-docs-html.tar.bz2 from http://docs.python.org/2.7/archives
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 4453k  100 4453k    0     0  2073k      0  0:00:02  0:00:02 --:--:-- 4964k
--->  Verifying checksums for py27-htmldocs
--->  Checksumming python-2.7.11-docs-html.tar.bz2
>_
Last edited 9 years ago by demis.ucsb@… (previous) (diff)

comment:7 Changed 9 years ago by demis.ucsb@…

I think you have the wrong checksum in r144006 for py35.

comment:8 Changed 9 years ago by demis.ucsb@…

As a quick workaround, I copied the PortFile & lang/py-htmldocs directory etc. from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/py-htmldocs/ into a local repo (https://guide.macports.org/chunked/development.local-repositories.html), edited the PortFile to reflect the "correct checksums" reported by sudo port -v checksum py35-htmldocs for python.version == 35, and then finally got it to install (and could finally finish the spyder27/35 installations!).

comment:9 Changed 9 years ago by eborisch (Eric A. Borisch)

Hrmm. I wonder if they are daily/frequently updating that tarball; I had a checksum that verified earlier today after a clean --all /fetch cycle here....

Oh well; fixed (again) in r144027. If this keeps rolling I'll have to look to see if there is another (less dynamic) location to pull from.

comment:10 Changed 9 years ago by mndavidoff (Monte Davidoff)

Resolution: fixed
Status: closedreopened

It looks like the checksums changed again.

$ sudo port -vs install py27-htmldocs
--->  Fetching distfiles for py27-htmldocs
--->  python-2.7.11-docs-html.tar.bz2 doesn't seem to exist in /opt/local/var/macports/distfiles/py-htmldocs
--->  Attempting to fetch python-2.7.11-docs-html.tar.bz2 from http://distfiles.macports.org/py-htmldocs
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 4453k  100 4453k    0     0  3330k      0  0:00:01  0:00:01 --:--:-- 3331k
--->  Verifying checksums for py27-htmldocs
--->  Checksumming python-2.7.11-docs-html.tar.bz2
Error: Checksum (rmd160) mismatch for python-2.7.11-docs-html.tar.bz2
Portfile checksum: python-2.7.11-docs-html.tar.bz2 rmd160 5962cd9d48d5678a832cfef7a693ffcadb66d55e
Distfile checksum: python-2.7.11-docs-html.tar.bz2 rmd160 95434961a1497ac299413170d7497b4bade9daed
Error: Checksum (sha256) mismatch for python-2.7.11-docs-html.tar.bz2
Portfile checksum: python-2.7.11-docs-html.tar.bz2 sha256 a6b61188de5e26295533a619f0e89dd180c6b4385d27e3239581de8aa1d4ceaf
Distfile checksum: python-2.7.11-docs-html.tar.bz2 sha256 5d23768c9b06a2df01479b625a5b0b3aaf6e863b7d2b959c9033ef2d858999ec
The correct checksum line may be:
checksums           rmd160  95434961a1497ac299413170d7497b4bade9daed \
                    sha256  5d23768c9b06a2df01479b625a5b0b3aaf6e863b7d2b959c9033ef2d858999ec
Error: org.macports.checksum for port py27-htmldocs returned: Unable to verify file checksums
Warning: targets not executed for py27-htmldocs: org.macports.activate org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
Please see the log file for port py27-htmldocs for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_py-htmldocs/py27-htmldocs/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port py27-htmldocs failed
$ sudo port -vs install py35-htmldocs
--->  Fetching distfiles for py35-htmldocs
--->  python-3.5.1-docs-html.tar.bz2 doesn't seem to exist in /opt/local/var/macports/distfiles/py-htmldocs
--->  Attempting to fetch python-3.5.1-docs-html.tar.bz2 from http://distfiles.macports.org/py-htmldocs
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 5546k  100 5546k    0     0  5627k      0 --:--:-- --:--:-- --:--:-- 5625k
--->  Verifying checksums for py35-htmldocs
--->  Checksumming python-3.5.1-docs-html.tar.bz2
Error: Checksum (rmd160) mismatch for python-3.5.1-docs-html.tar.bz2
Portfile checksum: python-3.5.1-docs-html.tar.bz2 rmd160 708cb554c1b80bcf795f89936ca9bdac11abffb5
Distfile checksum: python-3.5.1-docs-html.tar.bz2 rmd160 49486d6fc7612d3633b463ccada35c9db8d6f856
Error: Checksum (sha256) mismatch for python-3.5.1-docs-html.tar.bz2
Portfile checksum: python-3.5.1-docs-html.tar.bz2 sha256 ad75e90b950c6abfae550680576ad8ffa48d8ef579fcb98687037590c7576d98
Distfile checksum: python-3.5.1-docs-html.tar.bz2 sha256 88987a65776e5f8449509125b246a6146a0566434a2492bfb1adf57232b5a371
The correct checksum line may be:
checksums           rmd160  49486d6fc7612d3633b463ccada35c9db8d6f856 \
                    sha256  88987a65776e5f8449509125b246a6146a0566434a2492bfb1adf57232b5a371
Error: org.macports.checksum for port py35-htmldocs returned: Unable to verify file checksums
Warning: targets not executed for py35-htmldocs: org.macports.activate org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
Please see the log file for port py35-htmldocs for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_py-htmldocs/py35-htmldocs/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port py35-htmldocs failed
$ TZ= date
Wed Dec 30 07:59:39 UTC 2015

comment:11 Changed 9 years ago by mndavidoff (Monte Davidoff)

Cc: md14-macports@… added

Cc Me!

comment:12 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: Unable to verify checksumpy-htmldocs: checksum mismatch

comment:13 Changed 9 years ago by eborisch (Eric A. Borisch)

What happened here is it grabbed the cached copy from http://distfiles.macports.org/py-htmldocs; I need to update the Portfile to deal with stealth updates -- I realized that last night after logging off and haven't gotten back to it yet. You can see that in the third output in the log:

--->  Attempting to fetch python-2.7.11-docs-html.tar.bz2 from http://distfiles.macports.org/py-htmldocs

Will address shortly.

comment:14 Changed 9 years ago by eborisch (Eric A. Borisch)

Resolution: fixed
Status: reopenedclosed

Added dist_subdir for -27 and -35 versions in r144033. *Should* be resolved until the next stealth update.

Files inside are different (I checked) beyond just timestamps. I didn't dig beyond that.

Note: See TracTickets for help on using tickets.