Opened 11 years ago

Closed 10 years ago

#19827 closed defect (fixed)

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 mf2k (Frank Schima))

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 (5)

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

Description: modified (diff)

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

Owner: changed from macports-tickets@… to jberry@…
Port: servlet24-api added; tomcat6 removed
Summary: Tomcat6 Installation is brokenservlet24-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

comment:3 Changed 10 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.

comment:4 Changed 10 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.

comment:5 Changed 10 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed

I updated to version 5.5.27 in r53539.

Note: See TracTickets for help on using tickets.