Opened 17 years ago

Closed 15 years ago

#12539 closed defect (worksforme)

Struts fails to fetch distfile, blocks tomcat5 compile

Reported by: robdockins@… Owned by: jberry@…
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: Cc: robdockins@…, Emil.Lundberg@…, jberry@…
Port:

Description

It looks like the struts portfile is tragically outdated. Apache doesn't appear to be hosting the 1.2.7 sources anymore. I wouldn't care except that struts is listed as a tomcat dependency (is it really a dependency?)

$ sudo port install tomcat5
--->  Fetching struts
--->  Attempting to fetch struts-1.2.7-src.tar.gz from http://www.apache.org/dist/struts/source/
--->  Attempting to fetch struts-1.2.7-src.tar.gz from http://apache.planetmirror.com.au/dist/struts/source/
--->  Attempting to fetch struts-1.2.7-src.tar.gz from ftp://ftp.planetmirror.com/pub/apache/dist/struts/source/
--->  Attempting to fetch struts-1.2.7-src.tar.gz from ftp://ftp.is.co.za/Apache/dist/struts/source/
--->  Attempting to fetch struts-1.2.7-src.tar.gz from ftp://ftp.infoscience.co.jp/pub/net/apache/dist/struts/source/
--->  Attempting to fetch struts-1.2.7-src.tar.gz from http://svn.macports.org/repository/macports/distfiles/struts
--->  Attempting to fetch struts-1.2.7-src.tar.gz from http://svn.macports.org/repository/macports/distfiles/general/
--->  Attempting to fetch struts-1.2.7-src.tar.gz from http://svn.macports.org/repository/macports/downloads/struts
Error: Target org.macports.fetch returned: fetch failed
Error: The following dependencies failed to build: struts
Error: Status 1 encountered during processing.

Change History (4)

comment:1 Changed 17 years ago by Emil.Lundberg@…

I can confirm this, using MacPorts 1.5.0 on 10.4.10 server/Intel. A quick look at the apache repository yields a) the oldest version available is 1.3.9 and b) files are available in .zip format only.

As a temporary fix, I removed the port:struts dependency and the -Dstruts.lib=${javaLibs}/struts/lib build argument using port edit tomcat5. This allows Tomcat to build cleanly, but I haven't had time to run it yet.

comment:2 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: robdockins@… Emil.Lundberg@… jberry@… added
Milestone: Port Bugs
Owner: changed from macports-dev@… to jberry@…

tomcat and struts are both jberry, so assigning to him.

comment:3 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:4 Changed 15 years ago by tobypeterson

Resolution: worksforme
Status: newclosed

Fetches fine here.

Note: See TracTickets for help on using tickets.