Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#51502 closed defect (fixed)

py27-bpython @0.15 Fetch of bpython-0.15.tar.gz fails

Reported by: DanHam (Dan) Owned by: lpsinger (Leo Singer)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: py-bpython

Description (last modified by mf2k (Frank Schima))

Attempting to install py27-bpython fails attempting to fetch the distfiles.

--->  Attempting to fetch bpython-0.15.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/py-bpython
...
Error: org.macports.fetch for port py27-bpython returned: fetch failed

Manually browsing to each of the sites that MacPorts attempts to fetch from shows that the file does not exist. For example browsing to http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/py-bpython shows that the only files present are bpython-0.13.1.tar.gz and bpython-0.14.2.tar.gz - bpython-0.15.tar.gz is missing.

This is not a network issue as each of the ports dependencies install perfectly.

Change History (6)

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to aronnax@…
Port: py-bpython added; py27-bpython removed

In the future, please use WikiFormatting and Cc the port maintainers (port info --maintainers py27-bpython), if any.

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

Description: modified (diff)

comment:3 Changed 8 years ago by lpsinger (Leo Singer)

Resolution: fixed
Status: newclosed

Fixed in r149061.

comment:4 Changed 8 years ago by DanHam (Dan)

Many thanks for the quick response! Unfortunately I am still getting some errors. Firstly, a number of the download locations still seem to be failing with 404 errors. Secondly, when the file is eventually found there is a checksum error and the port fails to build/install. Hopefully I've included the relevant bits of the log file below:

:info:archivefetch --->  py27-bpython-0.15_0.darwin_14.noarch.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch py27-bpython-0.15_0.darwin_14.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/py27-bpython
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch py27-bpython-0.15_0.darwin_14.noarch.tbz2 from http://lil.fr.packages.macports.org/py27-bpython
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch py27-bpython-0.15_0.darwin_14.noarch.tbz2 from https://packages.macports.org/py27-bpython
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Fri May 27 22:08:56 BST 2016
:notice:fetch --->  Fetching distfiles for py27-bpython
:debug:fetch Executing org.macports.fetch (py27-bpython)
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Fri May 27 22:08:56 BST 2016
:notice:checksum --->  Verifying checksums for py27-bpython
:debug:checksum Executing org.macports.checksum (py27-bpython)
:info:checksum --->  Checksumming bpython-0.15.tar.gz
:debug:checksum Calculated (rmd160) is 969679b0c0fbe7e7d51611bbe55c873f90773300
:error:checksum Checksum (rmd160) mismatch for bpython-0.15.tar.gz
:info:checksum Portfile checksum: bpython-0.15.tar.gz rmd160 4cc29cb68a994a663fae0f04d58512ce80370c97
:info:checksum Distfile checksum: bpython-0.15.tar.gz rmd160 969679b0c0fbe7e7d51611bbe55c873f90773300
:debug:checksum Calculated (sha256) is 28160d6eadbdc09c49b098bf6dc1bd1af4cbc2741093c3c41466bc3ea5e29308
:error:checksum Checksum (sha256) mismatch for bpython-0.15.tar.gz
:info:checksum Portfile checksum: bpython-0.15.tar.gz sha256 83f1f5dda59a800b3db7b604e018ee35006e97c82797b7030cf9361f28f50bb7
:info:checksum Distfile checksum: bpython-0.15.tar.gz sha256 28160d6eadbdc09c49b098bf6dc1bd1af4cbc2741093c3c41466bc3ea5e29308
:info:checksum The correct checksum line may be:
:info:checksum checksums           rmd160  969679b0c0fbe7e7d51611bbe55c873f90773300 \
                    sha256  28160d6eadbdc09c49b098bf6dc1bd1af4cbc2741093c3c41466bc3ea5e29308
:error:checksum org.macports.checksum for port py27-bpython returned: Unable to verify file checksums
:debug:checksum Error code: NONE
:debug:checksum Backtrace: Unable to verify file checksums
    while executing
"portchecksum::checksum_main org.macports.checksum"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"

I ran the following commands:

sudo port selfupdate
sudo port install py27-bpython

Again, many thanks for your help with this. If you need further info please let me know.

comment:5 Changed 8 years ago by lpsinger (Leo Singer)

The first few times it tries to download, it is trying to fetch a prebuilt MacPorts tarball. Since the checksum was broken, the builedbot hasn't created a prebuilt tarball yet. Should be fixed now, r149064.

Last edited 8 years ago by lpsinger (Leo Singer) (previous) (diff)

comment:6 in reply to:  5 Changed 8 years ago by DanHam (Dan)

Replying to aronnax@…:

The first few times it tries to download, it is trying to fetch a prebuilt MacPorts tarball. Since the checksum was broken, the builedbot hasn't created a prebuilt tarball yet. Should be fixed now, r149064.

OK - Success! Thanks for the fix - Much appreciated.

Note: See TracTickets for help on using tickets.