#17414 closed defect (worksforme)
"No checksum set" error in interactive mode only
Reported by: | bva@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 1.6.0 |
Keywords: | checksum python | Cc: | |
Port: | py25-hashlib |
Description
['ve tried to clean this build (it's a requirement for several ports I've tried to install) and rebuild, and I always get a variation on this error
Here's an example output
$ sudo port Password: [Users/ben] > clean --all py25-hashlib ---> Cleaning py25-hashlib [Users/ben] > checksum py25-hashlib ---> Fetching py25-hashlib ---> Attempting to fetch Python-2.5.2.tar.bz2 from http://www.python.org/ftp/python/2.5.2/ ---> Verifying checksum(s) for py25-hashlib Error: No checksum set for Python-2.5.2.tar.bz2 Error: No checksum set for Python-2.5.2.tar.bz2 Error: No checksum set for Python-2.5.2.tar.bz2 Error: No checksum set for Python-2.5.2.tar.bz2 Error: No checksum set for Python-2.5.2.tar.bz2 Error: No checksum set for Python-2.5.2.tar.bz2 Error: No checksum set for Python-2.5.2.tar.bz2 Error: No checksum set for Python-2.5.2.tar.bz2 Error: No checksum set for Python-2.5.2.tar.bz2 Error: No checksum set for Python-2.5.2.tar.bz2 Error: Target org.macports.checksum returned: Unable to verify file checksums Error: Status 1 encountered during processing. [Users/ben] >
I have run selfupdate, and I'm running on Mac OS 10.5.5 with Macports version 1.600
This affects the gimp +macos port and gnome port
Change History (6)
comment:1 Changed 16 years ago by jmroot (Joshua Root)
comment:2 Changed 16 years ago by bva@…
That can't make a difference! Sheesh:
$ sudo port -d clean --all py25-haslib && sudo port -d checksum py25-hashlib Password: Error: Port py25-haslib not found DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py25-hashlib DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py25-hashlib DEBUG: Requested variant darwin is not provided by port py25-hashlib. DEBUG: Requested variant i386 is not provided by port py25-hashlib. DEBUG: Requested variant macosx is not provided by port py25-hashlib. DEBUG: Skipping completed org.macports.main (py25-hashlib) DEBUG: Skipping completed org.macports.fetch (py25-hashlib) ---> Verifying checksum(s) for py25-hashlib DEBUG: Executing org.macports.checksum (py25-hashlib) ---> Checksumming Python-2.5.2.tar.bz2 DEBUG: Correct (sha1) checksum for Python-2.5.2.tar.bz2
Oh rats, I made a typo, so that didn't work. Hey wait a minute! The checksum passed!
$ sudo port install py25-hashlib ---> Extracting py25-hashlib ---> Configuring py25-hashlib ---> Building py25-hashlib with target build ---> Staging py25-hashlib into destroot ---> Installing py25-hashlib 2.5.2_0 ---> Activating py25-hashlib 2.5.2_0 ---> Cleaning py25-hashlib $
So even without cleaning, the file checksummed and installed ok from batch mode. I'm a little surprised!
Thanks for the suggestion
comment:3 Changed 16 years ago by jmroot (Joshua Root)
Component: | ports → base |
---|---|
Milestone: | Port Bugs → MacPorts base bugs |
Summary: | No checksum set for Python-2.5.2.tar.bz2 → "No checksum set" error in interactive mode only |
OK, good to know there was a workaround. But of course it really should have worked in interactive mode.
comment:4 Changed 16 years ago by tobypeterson
Resolution: | → worksforme |
---|---|
Status: | new → closed |
I cannot reproduce this.
comment:5 Changed 16 years ago by tobypeterson
Milestone: | MacPorts base bugs → MacPorts Future |
---|
Milestone MacPorts base bugs deleted
comment:6 Changed 15 years ago by jmroot (Joshua Root)
Milestone: | MacPorts Future |
---|
Note: See
TracTickets for help on using
tickets.
Seems to work OK here. What about if you don't use interactive mode? E.g.
sudo port -d clean --all py25-hashlib && sudo port -d checksum py25-hashlib