[MacPorts] #31669: install tomcat6 failed
MacPorts
noreply at macports.org
Tue Oct 18 19:24:28 PDT 2011
#31669: install tomcat6 failed
---------------------------------+------------------------------------------
Reporter: pengyu.ut@… | Owner: blair@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port: tomcat6
---------------------------------+------------------------------------------
Changes (by ryandesign@…):
* owner: macports-tickets@… => blair@…
* port: => tomcat6
Old description:
> When I run "sudo port install tomcat6", I get the following error.
>
> ...
>
> ---> Building commons-fileupload
> Error: Target org.macports.build returned: shell command failed (see log
> for details)
> Error: Failed to install commons-fileupload
> Log for commons-fileupload is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_java_commons-fileupload/commons-fileupload/main.log
> Error: The following dependencies were not installed: commons-fileupload
> commons-httpclient commons-codec commons-io commons-launcher commons-
> modeler mx4j jakarta-bcel jakarta-regexp jakarta-taglibs-standard-11
> xalanj xercesj saxpath
> Error: Status 1 encountered during processing.
> To report a bug, see <http://guide.macports.org/#project.tickets>
>
> I checked the log. It essentially failed at the following step. Does
> anybody know how to fix it?
>
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_java_commons-fileupload/commons-fileupload/work
> /commons-fileupload-1.2.1-src$ ant dist -Dfinal.name=commons-fileupload
> -Dnoget=true
> Buildfile:
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_java_commons-fileupload/commons-fileupload/work
> /commons-fileupload-1.2.1-src/build.xml
>
> init:
> [mkdir] Created dir: /Users/pengy/.maven/repository
>
> setProxy:
>
> noProxy:
> [echo] Proxy not used.
>
> get-custom-dep-commons-io.jar:
>
> get-dep-commons-io.jar:
> [mkdir] Created dir: /Users/pengy/.maven/repository/commons-io/jars
> [get] Getting: http://repo1.maven.org/maven/commons-io/jars
> /commons-io-1.3.2.jar
> [get] To: /Users/pengy/.maven/repository/commons-io/jars/commons-
> io-1.3.2.jar
> [get] Getting: http://people.apache.org/repo/m1-snapshot-repository
> /commons-io/jars/commons-io-1.3.2.jar
> [get] To: /Users/pengy/.maven/repository/commons-io/jars/commons-
> io-1.3.2.jar
> [get] Error opening connection java.io.FileNotFoundException:
> http://people.apache.org/repo/m1-snapshot-repository/commons-io/jars
> /commons-io-1.3.2.jar
> [get] Error opening connection java.io.FileNotFoundException:
> http://people.apache.org/repo/m1-snapshot-repository/commons-io/jars
> /commons-io-1.3.2.jar
> [get] Error opening connection java.io.FileNotFoundException:
> http://people.apache.org/repo/m1-snapshot-repository/commons-io/jars
> /commons-io-1.3.2.jar
> [get] Can't get http://people.apache.org/repo/m1-snapshot-
> repository/commons-io/jars/commons-io-1.3.2.jar to
> /Users/pengy/.maven/repository/commons-io/jars/commons-io-1.3.2.jar
>
> get-custom-dep-servlet-api.jar:
>
> get-dep-servlet-api.jar:
> [mkdir] Created dir:
> /Users/pengy/.maven/repository/javax.servlet/jars
> [get] Getting: http://repo1.maven.org/maven/javax.servlet/jars
> /servlet-api-2.4.jar
> [get] To: /Users/pengy/.maven/repository/javax.servlet/jars
> /servlet-api-2.4.jar
> [get] Getting: http://people.apache.org/repo/m1-snapshot-
> repository/javax.servlet/jars/servlet-api-2.4.jar
> [get] To: /Users/pengy/.maven/repository/javax.servlet/jars
> /servlet-api-2.4.jar
> [get] Error opening connection java.io.FileNotFoundException:
> http://people.apache.org/repo/m1-snapshot-repository/javax.servlet/jars
> /servlet-api-2.4.jar
> [get] Error opening connection java.io.FileNotFoundException:
> http://people.apache.org/repo/m1-snapshot-repository/javax.servlet/jars
> /servlet-api-2.4.jar
> [get] Error opening connection java.io.FileNotFoundException:
> http://people.apache.org/repo/m1-snapshot-repository/javax.servlet/jars
> /servlet-api-2.4.jar
> [get] Can't get http://people.apache.org/repo/m1-snapshot-
> repository/javax.servlet/jars/servlet-api-2.4.jar to
> /Users/pengy/.maven/repository/javax.servlet/jars/servlet-api-2.4.jar
>
> get-custom-dep-portlet-api.jar:
>
> get-dep-portlet-api.jar:
> [mkdir] Created dir:
> /Users/pengy/.maven/repository/javax.portlet/jars
> [get] Getting: http://repo1.maven.org/maven/javax.portlet/jars
> /portlet-api-1.0.jar
> [get] To: /Users/pengy/.maven/repository/javax.portlet/jars
> /portlet-api-1.0.jar
> [get] Getting: http://people.apache.org/repo/m1-snapshot-
> repository/javax.portlet/jars/portlet-api-1.0.jar
> [get] To: /Users/pengy/.maven/repository/javax.portlet/jars
> /portlet-api-1.0.jar
> [get] Error opening connection java.io.FileNotFoundException:
> http://people.apache.org/repo/m1-snapshot-repository/javax.portlet/jars
> /portlet-api-1.0.jar
> [get] Error opening connection java.io.FileNotFoundException:
> http://people.apache.org/repo/m1-snapshot-repository/javax.portlet/jars
> /portlet-api-1.0.jar
> [get] Error opening connection java.io.FileNotFoundException:
> http://people.apache.org/repo/m1-snapshot-repository/javax.portlet/jars
> /portlet-api-1.0.jar
> [get] Can't get http://people.apache.org/repo/m1-snapshot-
> repository/javax.portlet/jars/portlet-api-1.0.jar to
> /Users/pengy/.maven/repository/javax.portlet/jars/portlet-api-1.0.jar
>
> get-custom-dep-junit.jar:
>
> get-dep-junit.jar:
> [mkdir] Created dir: /Users/pengy/.maven/repository/junit/jars
> [get] Getting:
> http://repo1.maven.org/maven/junit/jars/junit-3.8.1.jar
> [get] To: /Users/pengy/.maven/repository/junit/jars/junit-3.8.1.jar
> [get] Getting: http://people.apache.org/repo/m1-snapshot-
> repository/junit/jars/junit-3.8.1.jar
> [get] To: /Users/pengy/.maven/repository/junit/jars/junit-3.8.1.jar
> [get] Error opening connection java.io.FileNotFoundException:
> http://people.apache.org/repo/m1-snapshot-
> repository/junit/jars/junit-3.8.1.jar
> [get] Error opening connection java.io.FileNotFoundException:
> http://people.apache.org/repo/m1-snapshot-
> repository/junit/jars/junit-3.8.1.jar
> [get] Error opening connection java.io.FileNotFoundException:
> http://people.apache.org/repo/m1-snapshot-
> repository/junit/jars/junit-3.8.1.jar
> [get] Can't get http://people.apache.org/repo/m1-snapshot-
> repository/junit/jars/junit-3.8.1.jar to
> /Users/pengy/.maven/repository/junit/jars/junit-3.8.1.jar
>
> get-custom-dep-maven-xdoc-plugin.jar:
>
> get-dep-maven-xdoc-plugin.jar:
> [mkdir] Created dir: /Users/pengy/.maven/repository/maven/plugins
> [get] Getting: http://repo1.maven.org/maven/maven/plugins/maven-
> xdoc-plugin-1.9.2.jar
> [get] To: /Users/pengy/.maven/repository/maven/plugins/maven-xdoc-
> plugin-1.9.2.jar
> [get] Getting: http://people.apache.org/repo/m1-snapshot-
> repository/maven/plugins/maven-xdoc-plugin-1.9.2.jar
> [get] To: /Users/pengy/.maven/repository/maven/plugins/maven-xdoc-
> plugin-1.9.2.jar
> [get] Error opening connection java.io.FileNotFoundException:
> http://people.apache.org/repo/m1-snapshot-repository/maven/plugins/maven-
> xdoc-plugin-1.9.2.jar
> [get] Error opening connection java.io.FileNotFoundException:
> http://people.apache.org/repo/m1-snapshot-repository/maven/plugins/maven-
> xdoc-plugin-1.9.2.jar
> [get] Error opening connection java.io.FileNotFoundException:
> http://people.apache.org/repo/m1-snapshot-repository/maven/plugins/maven-
> xdoc-plugin-1.9.2.jar
> [get] Can't get http://people.apache.org/repo/m1-snapshot-
> repository/maven/plugins/maven-xdoc-plugin-1.9.2.jar to
> /Users/pengy/.maven/repository/maven/plugins/maven-xdoc-plugin-1.9.2.jar
>
> get-custom-dep-maven-changelog-plugin.jar:
>
> get-dep-maven-changelog-plugin.jar:
> [get] Getting: http://repo1.maven.org/maven/maven/plugins/maven-
> changelog-plugin-1.9.1.jar
> [get] To: /Users/pengy/.maven/repository/maven/plugins/maven-
> changelog-plugin-1.9.1.jar
> [get] Getting: http://people.apache.org/repo/m1-snapshot-
> repository/maven/plugins/maven-changelog-plugin-1.9.1.jar
> [get] To: /Users/pengy/.maven/repository/maven/plugins/maven-
> changelog-plugin-1.9.1.jar
> [get] Error opening connection java.io.FileNotFoundException:
> http://people.apache.org/repo/m1-snapshot-repository/maven/plugins/maven-
> changelog-plugin-1.9.1.jar
> [get] Error opening connection java.io.FileNotFoundException:
> http://people.apache.org/repo/m1-snapshot-repository/maven/plugins/maven-
> changelog-plugin-1.9.1.jar
> [get] Error opening connection java.io.FileNotFoundException:
> http://people.apache.org/repo/m1-snapshot-repository/maven/plugins/maven-
> changelog-plugin-1.9.1.jar
> [get] Can't get http://people.apache.org/repo/m1-snapshot-
> repository/maven/plugins/maven-changelog-plugin-1.9.1.jar to
> /Users/pengy/.maven/repository/maven/plugins/maven-changelog-
> plugin-1.9.1.jar
>
> get-deps:
>
> compile:
>
> BUILD FAILED
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_java_commons-fileupload/commons-fileupload/work
> /commons-fileupload-1.2.1-src/build.xml:78: Directory
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_java_commons-fileupload/commons-fileupload/work
> /commons-fileupload-1.2.1-src/target/classes creation was not successful
> for an unknown reason
>
> Total time: 3 seconds
New description:
When I run "sudo port install tomcat6", I get the following error.
{{{
...
---> Building commons-fileupload
Error: Target org.macports.build returned: shell command failed (see log
for details)
Error: Failed to install commons-fileupload
Log for commons-fileupload is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_java_commons-fileupload/commons-fileupload/main.log
Error: The following dependencies were not installed: commons-fileupload
commons-httpclient commons-codec commons-io commons-launcher commons-
modeler mx4j jakarta-bcel jakarta-regexp jakarta-taglibs-standard-11
xalanj xercesj saxpath
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
}}}
I checked the log. It essentially failed at the following step. Does
anybody know how to fix it?
{{{
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_java_commons-fileupload/commons-fileupload/work
/commons-fileupload-1.2.1-src$ ant dist -Dfinal.name=commons-fileupload
-Dnoget=true
Buildfile:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_java_commons-fileupload/commons-fileupload/work
/commons-fileupload-1.2.1-src/build.xml
init:
[mkdir] Created dir: /Users/pengy/.maven/repository
setProxy:
noProxy:
[echo] Proxy not used.
get-custom-dep-commons-io.jar:
get-dep-commons-io.jar:
[mkdir] Created dir: /Users/pengy/.maven/repository/commons-io/jars
[get] Getting: http://repo1.maven.org/maven/commons-io/jars/commons-
io-1.3.2.jar
[get] To: /Users/pengy/.maven/repository/commons-io/jars/commons-
io-1.3.2.jar
[get] Getting: http://people.apache.org/repo/m1-snapshot-repository
/commons-io/jars/commons-io-1.3.2.jar
[get] To: /Users/pengy/.maven/repository/commons-io/jars/commons-
io-1.3.2.jar
[get] Error opening connection java.io.FileNotFoundException:
http://people.apache.org/repo/m1-snapshot-repository/commons-io/jars
/commons-io-1.3.2.jar
[get] Error opening connection java.io.FileNotFoundException:
http://people.apache.org/repo/m1-snapshot-repository/commons-io/jars
/commons-io-1.3.2.jar
[get] Error opening connection java.io.FileNotFoundException:
http://people.apache.org/repo/m1-snapshot-repository/commons-io/jars
/commons-io-1.3.2.jar
[get] Can't get http://people.apache.org/repo/m1-snapshot-repository
/commons-io/jars/commons-io-1.3.2.jar to /Users/pengy/.maven/repository
/commons-io/jars/commons-io-1.3.2.jar
get-custom-dep-servlet-api.jar:
get-dep-servlet-api.jar:
[mkdir] Created dir: /Users/pengy/.maven/repository/javax.servlet/jars
[get] Getting: http://repo1.maven.org/maven/javax.servlet/jars
/servlet-api-2.4.jar
[get] To: /Users/pengy/.maven/repository/javax.servlet/jars/servlet-
api-2.4.jar
[get] Getting: http://people.apache.org/repo/m1-snapshot-
repository/javax.servlet/jars/servlet-api-2.4.jar
[get] To: /Users/pengy/.maven/repository/javax.servlet/jars/servlet-
api-2.4.jar
[get] Error opening connection java.io.FileNotFoundException:
http://people.apache.org/repo/m1-snapshot-repository/javax.servlet/jars
/servlet-api-2.4.jar
[get] Error opening connection java.io.FileNotFoundException:
http://people.apache.org/repo/m1-snapshot-repository/javax.servlet/jars
/servlet-api-2.4.jar
[get] Error opening connection java.io.FileNotFoundException:
http://people.apache.org/repo/m1-snapshot-repository/javax.servlet/jars
/servlet-api-2.4.jar
[get] Can't get http://people.apache.org/repo/m1-snapshot-
repository/javax.servlet/jars/servlet-api-2.4.jar to
/Users/pengy/.maven/repository/javax.servlet/jars/servlet-api-2.4.jar
get-custom-dep-portlet-api.jar:
get-dep-portlet-api.jar:
[mkdir] Created dir: /Users/pengy/.maven/repository/javax.portlet/jars
[get] Getting: http://repo1.maven.org/maven/javax.portlet/jars
/portlet-api-1.0.jar
[get] To: /Users/pengy/.maven/repository/javax.portlet/jars/portlet-
api-1.0.jar
[get] Getting: http://people.apache.org/repo/m1-snapshot-
repository/javax.portlet/jars/portlet-api-1.0.jar
[get] To: /Users/pengy/.maven/repository/javax.portlet/jars/portlet-
api-1.0.jar
[get] Error opening connection java.io.FileNotFoundException:
http://people.apache.org/repo/m1-snapshot-repository/javax.portlet/jars
/portlet-api-1.0.jar
[get] Error opening connection java.io.FileNotFoundException:
http://people.apache.org/repo/m1-snapshot-repository/javax.portlet/jars
/portlet-api-1.0.jar
[get] Error opening connection java.io.FileNotFoundException:
http://people.apache.org/repo/m1-snapshot-repository/javax.portlet/jars
/portlet-api-1.0.jar
[get] Can't get http://people.apache.org/repo/m1-snapshot-
repository/javax.portlet/jars/portlet-api-1.0.jar to
/Users/pengy/.maven/repository/javax.portlet/jars/portlet-api-1.0.jar
get-custom-dep-junit.jar:
get-dep-junit.jar:
[mkdir] Created dir: /Users/pengy/.maven/repository/junit/jars
[get] Getting:
http://repo1.maven.org/maven/junit/jars/junit-3.8.1.jar
[get] To: /Users/pengy/.maven/repository/junit/jars/junit-3.8.1.jar
[get] Getting: http://people.apache.org/repo/m1-snapshot-
repository/junit/jars/junit-3.8.1.jar
[get] To: /Users/pengy/.maven/repository/junit/jars/junit-3.8.1.jar
[get] Error opening connection java.io.FileNotFoundException:
http://people.apache.org/repo/m1-snapshot-
repository/junit/jars/junit-3.8.1.jar
[get] Error opening connection java.io.FileNotFoundException:
http://people.apache.org/repo/m1-snapshot-
repository/junit/jars/junit-3.8.1.jar
[get] Error opening connection java.io.FileNotFoundException:
http://people.apache.org/repo/m1-snapshot-
repository/junit/jars/junit-3.8.1.jar
[get] Can't get http://people.apache.org/repo/m1-snapshot-
repository/junit/jars/junit-3.8.1.jar to
/Users/pengy/.maven/repository/junit/jars/junit-3.8.1.jar
get-custom-dep-maven-xdoc-plugin.jar:
get-dep-maven-xdoc-plugin.jar:
[mkdir] Created dir: /Users/pengy/.maven/repository/maven/plugins
[get] Getting: http://repo1.maven.org/maven/maven/plugins/maven-
xdoc-plugin-1.9.2.jar
[get] To: /Users/pengy/.maven/repository/maven/plugins/maven-xdoc-
plugin-1.9.2.jar
[get] Getting: http://people.apache.org/repo/m1-snapshot-
repository/maven/plugins/maven-xdoc-plugin-1.9.2.jar
[get] To: /Users/pengy/.maven/repository/maven/plugins/maven-xdoc-
plugin-1.9.2.jar
[get] Error opening connection java.io.FileNotFoundException:
http://people.apache.org/repo/m1-snapshot-repository/maven/plugins/maven-
xdoc-plugin-1.9.2.jar
[get] Error opening connection java.io.FileNotFoundException:
http://people.apache.org/repo/m1-snapshot-repository/maven/plugins/maven-
xdoc-plugin-1.9.2.jar
[get] Error opening connection java.io.FileNotFoundException:
http://people.apache.org/repo/m1-snapshot-repository/maven/plugins/maven-
xdoc-plugin-1.9.2.jar
[get] Can't get http://people.apache.org/repo/m1-snapshot-
repository/maven/plugins/maven-xdoc-plugin-1.9.2.jar to
/Users/pengy/.maven/repository/maven/plugins/maven-xdoc-plugin-1.9.2.jar
get-custom-dep-maven-changelog-plugin.jar:
get-dep-maven-changelog-plugin.jar:
[get] Getting: http://repo1.maven.org/maven/maven/plugins/maven-
changelog-plugin-1.9.1.jar
[get] To: /Users/pengy/.maven/repository/maven/plugins/maven-
changelog-plugin-1.9.1.jar
[get] Getting: http://people.apache.org/repo/m1-snapshot-
repository/maven/plugins/maven-changelog-plugin-1.9.1.jar
[get] To: /Users/pengy/.maven/repository/maven/plugins/maven-
changelog-plugin-1.9.1.jar
[get] Error opening connection java.io.FileNotFoundException:
http://people.apache.org/repo/m1-snapshot-repository/maven/plugins/maven-
changelog-plugin-1.9.1.jar
[get] Error opening connection java.io.FileNotFoundException:
http://people.apache.org/repo/m1-snapshot-repository/maven/plugins/maven-
changelog-plugin-1.9.1.jar
[get] Error opening connection java.io.FileNotFoundException:
http://people.apache.org/repo/m1-snapshot-repository/maven/plugins/maven-
changelog-plugin-1.9.1.jar
[get] Can't get http://people.apache.org/repo/m1-snapshot-
repository/maven/plugins/maven-changelog-plugin-1.9.1.jar to
/Users/pengy/.maven/repository/maven/plugins/maven-changelog-
plugin-1.9.1.jar
get-deps:
compile:
BUILD FAILED
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_java_commons-fileupload/commons-fileupload/work
/commons-fileupload-1.2.1-src/build.xml:78: Directory
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_java_commons-fileupload/commons-fileupload/work
/commons-fileupload-1.2.1-src/target/classes creation was not successful
for an unknown reason
Total time: 3 seconds
}}}
--
Comment:
Please remember to fill in the port field, to Cc the maintainer of that
port, and to use WikiFormatting.
--
Ticket URL: <https://trac.macports.org/ticket/31669#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list