Opened 13 years ago

Closed 12 years ago

#31669 closed defect (duplicate)

commons-fileupload build failure

Reported by: pengyu.ut@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: blair (Blair Zajac)
Port: commons-fileupload

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Attachments (1)

main.log (10.3 KB) - added by pengyu.ut@… 13 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_commons-fileupload/commons-fileupload/main.log

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by pengyu.ut@…

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_commons-fileupload/commons-fileupload/main.log

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to blair@…
Port: tomcat6 added

Please remember to fill in the port field, to Cc the maintainer of that port, and to use WikiFormatting.

comment:2 Changed 12 years ago by jmroot (Joshua Root)

Cc: blair@… added
Owner: changed from blair@… to macports-tickets@…
Port: commons-fileupload added; tomcat6 removed
Summary: install tomcat6 failedcommons-fileupload build failure

That's not tomcat6 failing...

comment:3 Changed 12 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

Duplicate of #30448.

Note: See TracTickets for help on using tickets.