[MacPorts] #28568: Checksum fails on a distfile with spaces in its name

MacPorts noreply at macports.org
Sun Feb 27 22:52:29 PST 2011


#28568: Checksum fails on a distfile with spaces in its name
------------------------------+---------------------------------------------
 Reporter:  l2g@…             |       Owner:  macports-tickets@…                   
     Type:  defect            |      Status:  new                                  
 Priority:  Normal            |   Milestone:                                       
Component:  base              |     Version:  1.9.2                                
 Keywords:                    |        Port:                                       
------------------------------+---------------------------------------------

Comment(by l2g@…):

 Okay, the attached portfile-in-progress will demonstrate the bug. Put it
 in security/truecrypt.

 Excerpt from output of `port -d checksum truecrypt`:

 {{{
 --->  Fetching truecrypt
 DEBUG: fetch phase started at Sun Feb 27 22:46:48 PST 2011
 DEBUG: Executing org.macports.fetch (truecrypt)
 --->  TrueCrypt 7.0a Source.tar.gz doesn't seem to exist in
 /Users/larry/.macports/opt/local/var/macports/distfiles/truecrypt
 DEBUG: Pinging truecrypt-mirror.l2g.to...
 DEBUG: Pinging distfiles.macports.org...
 DEBUG: Pinging aarnet.au.distfiles.macports.org...
 DEBUG: Pinging cjj.kr.distfiles.macports.org...
 DEBUG: Pinging lil.fr.distfiles.macports.org...
 DEBUG: Pinging sea.us.distfiles.macports.org...
 DEBUG: Pinging ykf.ca.distfiles.macports.org...
 DEBUG: truecrypt-mirror.l2g.to ping time is 25.822
 DEBUG: distfiles.macports.org ping time is 31.949
 DEBUG: aarnet.au.distfiles.macports.org ping time is 199.301
 DEBUG: cjj.kr.distfiles.macports.org ping time is 10000
 DEBUG: lil.fr.distfiles.macports.org ping time is 160.422
 DEBUG: sea.us.distfiles.macports.org ping time is 10000
 DEBUG: ykf.ca.distfiles.macports.org ping time is 109.477
 --->  Attempting to fetch TrueCrypt 7.0a Source.tar.gz from http
 ://truecrypt-mirror.l2g.to/
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
 100 1949k  100 1949k    0     0   390k      0  0:00:04  0:00:04 --:--:--
 419k
 DEBUG: Privilege de-escalation not attempted as not running as root.
 --->  Verifying checksum(s) for truecrypt
 DEBUG: checksum phase started at Sun Feb 27 22:46:56 PST 2011
 DEBUG: Executing org.macports.checksum (truecrypt)
 --->  Checksumming TrueCrypt 7.0a Source.tar.gz
 Error: No checksum set for TrueCrypt 7.0a Source.tar.gz
 Distfile checksum: TrueCrypt 7.0a Source.tar.gz md5
 0a61616bc5c5ad90e876b4014c004ac9
 Distfile checksum: TrueCrypt 7.0a Source.tar.gz sha1
 42be0f333e6791e7a122b3e1183e014cd3860198
 Distfile checksum: TrueCrypt 7.0a Source.tar.gz rmd160
 92b01f87c725feb43aded666ba44fcbd3e3ac740
 The correct checksum line may be:
 checksums           md5     0a61616bc5c5ad90e876b4014c004ac9 \
                     sha1    42be0f333e6791e7a122b3e1183e014cd3860198 \
                     rmd160  92b01f87c725feb43aded666ba44fcbd3e3ac740
 Error: Target org.macports.checksum returned: Unable to verify file
 checksums
 DEBUG: Backtrace: Unable to verify file checksums
     while executing
 "$procedure $targetname"
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/28568#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list