New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #19827 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

servlet24-api checksum issue while installing tomcat6

Reported by: fbdiom@… Owned by: jberry@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: tomcat6, tomcat, build,error Cc:
Port: servlet24-api

Description (last modified by macsforever2000@…) (diff)

When trying to install Tomcat6, encounter this error:

...
--->  Attempting to fetch apache-tomcat-5.5.25-src.tar.gz from http://www.ibiblio.org/pub/mirrors/apache/tomcat/tomcat-5/v5.5.25/src/
--->  Attempting to fetch apache-tomcat-5.5.25-src.tar.gz from http://apache.adcserver.com.ar/tomcat/tomcat-5/v5.5.25/src/
--->  Verifying checksum(s) for servlet24-api
Error: Checksum (md5) mismatch for apache-tomcat-5.5.25-src.tar.gz
Error: Target org.macports.checksum returned: Unable to verify file checksums
Error: The following dependencies failed to build: commons-el servlet24-api commons-fileupload commons-httpclient commons-codec commons-io commons-launcher commons-modeler mx4j jakarta-bcel jakarta-regexp jakarta-taglibs-standard-11 xalanj xercesj jaxen dom4j jdom xom saxpath
Error: Status 1 encountered during processing.

I've tried cleaning the installation, reinstalling MacPorts, to no avail.

Change History

Changed 3 years ago by macsforever2000@…

  • description modified (diff)

Changed 3 years ago by macsforever2000@…

  • owner changed from macports-tickets@… to jberry@…
  • port changed from tomcat6 to servlet24-api
  • summary changed from Tomcat6 Installation is broken to servlet24-api checksum issue while installing tomcat6

This appears to be a servlet24-api issue. Try the following:

sudo port clean --all servlet24-api
sudo port install tomcat6

Changed 3 years ago by com-macosforge@…

This is still happening. It looks like most mirrors no longer have 5.5.25 since 5.5.27 is current. Is it possible the file on apache.adcserver.com.ar actually is corrupt?

--->  Fetching servlet24-api
--->  Attempting to fetch apache-tomcat-5.5.25-src.tar.gz from http://apache.mirror.rafal.ca/tomcat/tomcat-5/v5.5.25/src/
--->  Attempting to fetch apache-tomcat-5.5.25-src.tar.gz from http://www.ibiblio.org/pub/mirrors/apache/tomcat/tomcat-5/v5.5.25/src/
--->  Attempting to fetch apache-tomcat-5.5.25-src.tar.gz from http://apache.adcserver.com.ar/tomcat/tomcat-5/v5.5.25/src/
--->  Verifying checksum(s) for servlet24-api
Error: Checksum (md5) mismatch for apache-tomcat-5.5.25-src.tar.gz
Error: Target org.macports.checksum returned: Unable to verify file checksums
Error: The following dependencies failed to build: commons-el servlet24-api commons-fileupload commons-httpclient commons-codec commons-io commons-launcher commons-modeler mx4j jakarta-bcel jakarta-regexp jakarta-taglibs-standard-11 xalanj xercesj jaxen dom4j jdom xom saxpath
Error: Status 1 encountered during processing.

Changed 3 years ago by com-macosforge@…

In fact it is—it's an HTML file; the mirror is broken. I was able to download a correct version from  here.

Changed 3 years ago by macsforever2000@…

  • status changed from new to closed
  • resolution set to fixed

I updated to version 5.5.27 in r53539.

Note: See TracTickets for help on using tickets.