Opened 15 years ago

Closed 14 years ago

#23536 closed defect (worksforme)

p5-xml-parser 2.36 install error 'Unable to verify file checksums'

Reported by: lukasz.geleta@… Owned by: mjg@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: p5-xml-parser

Description (last modified by jmroot (Joshua Root))

$ sudo port -d install p5-xml-parser
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5-xml-parser
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5-xml-parser
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/perl5-1.0.tcl
DEBUG: 'universal_variant no' specified, so not adding the default universal variant
DEBUG: Requested variant darwin is not provided by port p5-xml-parser.
DEBUG: Requested variant i386 is not provided by port p5-xml-parser.
DEBUG: Requested variant macosx is not provided by port p5-xml-parser.
DEBUG: Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-xml-parser/work /opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5-xml-parser/work
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: perl5 5.8.9_0 exists in the ports tree
DEBUG: perl5 5.8.9_0  is the latest installed
DEBUG: perl5 5.8.9_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: 'universal_variant no' specified, so not adding the default universal variant
DEBUG: Requested variant darwin is not provided by port perl5.
DEBUG: Requested variant i386 is not provided by port perl5.
DEBUG: Requested variant macosx is not provided by port perl5.
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.8
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: perl5.8 5.8.9_3 exists in the ports tree
DEBUG: perl5.8 5.8.9_3  is the latest installed
DEBUG: perl5.8 5.8.9_3  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.8
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant darwin is not provided by port perl5.8.
DEBUG: Requested variant i386 is not provided by port perl5.8.
DEBUG: Requested variant macosx is not provided by port perl5.8.
DEBUG: No need to upgrade! perl5.8 5.8.9_3 >= perl5.8 5.8.9_3
DEBUG: No need to upgrade! perl5 5.8.9_0 >= perl5 5.8.9_0
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/expat
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: expat 2.0.1_0 exists in the ports tree
DEBUG: expat 2.0.1_0  is the latest installed
DEBUG: expat 2.0.1_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/expat
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant darwin is not provided by port expat.
DEBUG: Requested variant i386 is not provided by port expat.
DEBUG: Requested variant macosx is not provided by port expat.
DEBUG: No need to upgrade! expat 2.0.1_0 >= expat 2.0.1_0
--->  Computing dependencies for p5-xml-parser
DEBUG: Searching for dependency: perl5
DEBUG: Found Dependency: receipt exists for perl5
DEBUG: Searching for dependency: expat
DEBUG: Found Dependency: receipt exists for expat
DEBUG: Executing org.macports.main (p5-xml-parser)
--->  Fetching p5-xml-parser
DEBUG: Executing org.macports.fetch (p5-xml-parser)
--->  Verifying checksum(s) for p5-xml-parser
DEBUG: Executing org.macports.checksum (p5-xml-parser)
--->  Checksumming XML-Parser-2.36.tar.gz
Error: Checksum (md5) mismatch for XML-Parser-2.36.tar.gz
Portfile checksum: XML-Parser-2.36.tar.gz md5 1b868962b658bd87e1563ecd56498ded
Distfile checksum: XML-Parser-2.36.tar.gz md5 178252a0ac86d0eeb593ef755ea5bef4
Error: Checksum (sha1) mismatch for XML-Parser-2.36.tar.gz
Portfile checksum: XML-Parser-2.36.tar.gz sha1 74acac4f939ebf788d8ef5163cbc9802b1b04bfa
Distfile checksum: XML-Parser-2.36.tar.gz sha1 29b86065c99b4fc6141305ec71cb1be51ac02e38
Error: Checksum (rmd160) mismatch for XML-Parser-2.36.tar.gz
Portfile checksum: XML-Parser-2.36.tar.gz rmd160 1c31a2398ada943efd5d2451389e163914168253
Distfile checksum: XML-Parser-2.36.tar.gz rmd160 306438cfaeacfda914cea577f0b57dabe1824c47
The correct checksum line may be:
checksums           md5     178252a0ac86d0eeb593ef755ea5bef4 \
                    sha1    29b86065c99b4fc6141305ec71cb1be51ac02e38 \
                    rmd160  306438cfaeacfda914cea577f0b57dabe1824c47
Error: Target org.macports.checksum returned: Unable to verify file checksums
DEBUG: Backtrace: Unable to verify file checksums
    while executing
"$procedure $targetname"
Warning: the following items did not execute (for p5-xml-parser): org.macports.activate org.macports.extract org.macports.checksum org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Change History (6)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: changed from macports-tickets@… to mjg@…

Please remember to preview and use WikiFormatting, and to cc the maintainer. As per the FAQ, you need to indicate which mirror your file was downloaded from.

comment:3 Changed 15 years ago by sonicth

Can somebody fix this? How can the file be copied?

many thanks mike

comment:4 Changed 15 years ago by sonicth

wget ftp://ftp.cpan.org/pub/CPAN/modules/by-module/XML/XML-Parser-2.36.tar.gz

...to get the file above and cannot log in as anonymous apparently

==> SYST ... fertig.    ==> PWD ... fertig.
==> TYPE I ... fertig.  ==> CWD (1) /pub/CPAN/modules/by-module/XML ... fertig.
==> SIZE XML-Parser-2.36.tar.gz ... 230002
==> PASV ... fertig.    ==> RETR XML-Parser-2.36.tar.gz ... fertig.
XML-Parser-2.36.tar.gz: Permission denied

comment:5 Changed 15 years ago by marcin.skoczylas@…

wget ftp://ftp.cpan.org/pub/CPAN/modules/by-module/XML/XML-Parser-2.36.tar.gz

checksum for that file is wrong, and:

gunzip XML-Parser-2.36.tar.gz 
gzip: XML-Parser-2.36.tar.gz: not in gzip format

but:

wget http://www.cpan.org/modules/by-module/XML/XML-Parser-2.36.tar.gz

checksum is ok...

apparently it seems that file is broken on the server. is there a possibility to force the downloading URL in MacPorts?

comment:6 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed

Unable to reproduce; works for me.

Note: See TracTickets for help on using tickets.