[MacPorts] #30784: commons-fileupload: Directory /Users/.../.maven/repository/javax.servlet/jars creation was not successful for an unknown reason (was: Cannot install tomcat6 due to failure to install commons-fileupload)

MacPorts noreply at macports.org
Mon Aug 15 02:18:42 PDT 2011


#30784: commons-fileupload: Directory
/Users/.../.maven/repository/javax.servlet/jars creation was not successful
for an unknown reason
--------------------------------------------+-------------------------------
  Reporter:  magnus.karlsson@…              |       Owner:  macports-tickets@…                   
      Type:  defect                         |      Status:  closed                               
  Priority:  Normal                         |   Milestone:                                       
 Component:  ports                          |     Version:  2.0.1                                
Resolution:  duplicate                      |    Keywords:                                       
      Port:  commons-fileupload             |  
--------------------------------------------+-------------------------------
Changes (by ryandesign@…):

  * status:  new => closed
  * resolution:  => duplicate
  * port:  => commons-fileupload


Old description:

> main.log
> -----------------------------------------------------
>
> version:1
> :debug:main epoch: in tree: 0 installed: 0
> :debug:main apache-ant 1.8.2_0 exists in the ports tree
> :debug:main apache-ant 1.8.2_0  is the latest installed
> :debug:main apache-ant 1.8.2_0  is active
> :debug:main Merging existing variants '' into variants
> :debug:main new fully merged portvariants:
> :debug:main Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel
> /apache-ant
> :debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386
> :debug:main org.macports.load registered provides 'load', a pre-existing
> procedure. Target override will not be provided
> :debug:main org.macports.unload registered provides 'unload', a pre-
> existing procedure. Target override will not be provided
> :debug:main org.macports.distfiles registered provides 'distfiles', a
> pre-existing procedure. Target override will not be provided
> :debug:main universal_variant is false, so not adding the default
> universal variant
> :debug:main No need to upgrade! apache-ant 1.8.2_0 >= apache-ant 1.8.2_0
> :debug:main Found Dependency: path: /usr/bin filename: java regex: ^java$
> :debug:main epoch: in tree: 0 installed: 0
> :debug:main junit 4.6_2 exists in the ports tree
> :debug:main junit 4.6_2  is the latest installed
> :debug:main junit 4.6_2  is active
> :debug:main Merging existing variants '' into variants
> :debug:main new fully merged portvariants:
> :debug:main Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/java/junit
> :debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386
> :debug:main org.macports.load registered provides 'load', a pre-existing
> procedure. Target override will not be provided
> :debug:main org.macports.unload registered provides 'unload', a pre-
> existing procedure. Target override will not be provided
> :debug:main org.macports.distfiles registered provides 'distfiles', a
> pre-existing procedure. Target override will not be provided
> :debug:main universal_variant is false, so not adding the default
> universal variant
> :debug:main No need to upgrade! junit 4.6_2 >= junit 4.6_2
> :debug:main epoch: in tree: 0 installed: 0
> :debug:main hamcrest-core 1.2_0 exists in the ports tree
> :debug:main hamcrest-core 1.2_0  is the latest installed
> :debug:main hamcrest-core 1.2_0  is active
> :debug:main Merging existing variants '' into variants
> :debug:main new fully merged portvariants:
> :debug:main Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/java
> /hamcrest-core
> :debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386
> :debug:main org.macports.load registered provides 'load', a pre-existing
> procedure. Target override will not be provided
> :debug:main org.macports.unload registered provides 'unload', a pre-
> existing procedure. Target override will not be provided
> :debug:main org.macports.distfiles registered provides 'distfiles', a
> pre-existing procedure. Target override will not be provided
> :debug:main universal_variant is false, so not adding the default
> universal variant
> :debug:main No need to upgrade! hamcrest-core 1.2_0 >= hamcrest-core
> 1.2_0
> :debug:main epoch: in tree: 20061005 installed: 20061005
> :debug:main servlet23-api 1_0 exists in the ports tree
> :debug:main servlet23-api 1_0  is the latest installed
> :debug:main servlet23-api 1_0  is active
> :debug:main Merging existing variants '' into variants
> :debug:main new fully merged portvariants:
> :debug:main Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/java/servlet23-api
> :debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386
> :debug:main org.macports.load registered provides 'load', a pre-existing
> procedure. Target override will not be provided
> :debug:main org.macports.unload registered provides 'unload', a pre-
> existing procedure. Target override will not be provided
> :debug:main org.macports.distfiles registered provides 'distfiles', a
> pre-existing procedure. Target override will not be provided
> :debug:main universal_variant is false, so not adding the default
> universal variant
> :debug:main No need to upgrade! servlet23-api 1_0 >= servlet23-api 1_0
> :debug:main Found Dependency: path: /usr/bin filename: java regex: ^java$
> :debug:main kaffe is *not* installed by MacPorts
> :debug:main Searching for dependency: kaffe
> :debug:main Didn't find receipt, going to depspec regex for: kaffe
> :debug:main Found Dependency: path: /usr/bin filename: java regex: ^java$
> :debug:main kaffe not installed, soft dependency satisfied
> :msg:main --->  Computing dependencies for commons-fileupload:info:main
> .:debug:main Searching for dependency: apache-ant
> :debug:main Found Dependency: receipt exists for apache-ant
> :debug:main Searching for dependency: kaffe
> :debug:main Didn't find receipt, going to depspec regex for: kaffe
> :debug:main Found Dependency: path: /usr/bin filename: java regex: ^java$
> :debug:main Found Dependency: path: /usr/bin filename: java regex: ^java$
> :debug:main Searching for dependency: junit
> :debug:main Found Dependency: receipt exists for junit
> :debug:main Searching for dependency: servlet23-api
> :debug:main Found Dependency: receipt exists for servlet23-api
> :msg:main
> :debug:main Executing org.macports.main (commons-fileupload)
> :debug:main changing euid/egid - current euid: 0 - current egid: 0
> :debug:main egid changed to: 501
> :debug:main euid changed to: 502
> :debug:main Skipping completed org.macports.archivefetch (commons-
> fileupload)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.fetch (commons-fileupload)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.checksum (commons-fileupload)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.extract (commons-fileupload)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.patch (commons-fileupload)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.configure (commons-
> fileupload)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:build build phase started at Mon Aug 15 09:29:28 CEST 2011
> :notice:build --->  Building commons-fileupload
> :debug:build Executing org.macports.build (commons-fileupload)
> :debug:build Environment: CPATH='/opt/local/include'
> CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_java_commons-fileupload/commons-
> fileupload/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib'
> CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7'
> CLASSPATH='/opt/local/share/java/servlet23-api.jar:/opt/local/share/java/junit.jar'
> :debug:build Assembled command: 'cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_java_commons-fileupload/commons-
> fileupload/work/commons-fileupload-1.2.1-src" && ant dist -Dfinal.name
> =commons-fileupload -Dnoget=true'
> :debug:build Executing command line:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_java_commons-fileupload/commons-
> fileupload/work/commons-fileupload-1.2.1-src" && ant dist -Dfinal.name
> =commons-fileupload -Dnoget=true
> :info:build Buildfile:
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_java_commons-fileupload/commons-
> fileupload/work/commons-fileupload-1.2.1-src/build.xml
> :info:build
> :info:build init:
> :info:build
> :info:build setProxy:
> :info:build
> :info:build noProxy:
> :info:build      [echo] Proxy not used.
> :info:build
> :info:build get-custom-dep-commons-io.jar:
> :info:build
> :info:build get-dep-commons-io.jar:
> :info:build       [get] Getting: http://repo1.maven.org/maven/commons-
> io/jars/commons-io-1.3.2.jar
> :info:build       [get] To: /Users/psmka/.maven/repository/commons-
> io/jars/commons-io-1.3.2.jar
> :info:build       [get] Error getting http://repo1.maven.org/maven
> /commons-io/jars/commons-io-1.3.2.jar to /Users/psmka/.maven/repository
> /commons-io/jars/commons-io-1.3.2.jar
> :info:build       [get] Getting: http://people.apache.org/repo/m1
> -snapshot-repository/commons-io/jars/commons-io-1.3.2.jar
> :info:build       [get] To: /Users/psmka/.maven/repository/commons-
> io/jars/commons-io-1.3.2.jar
> :info:build       [get] Error opening connection
> java.io.FileNotFoundException: http://people.apache.org/repo/m1-snapshot-
> repository/commons-io/jars/commons-io-1.3.2.jar
> :info:build       [get] Error opening connection
> java.io.FileNotFoundException: http://people.apache.org/repo/m1-snapshot-
> repository/commons-io/jars/commons-io-1.3.2.jar
> :info:build       [get] Error opening connection
> java.io.FileNotFoundException: http://people.apache.org/repo/m1-snapshot-
> repository/commons-io/jars/commons-io-1.3.2.jar
> :info:build       [get] Can't get http://people.apache.org/repo/m1
> -snapshot-repository/commons-io/jars/commons-io-1.3.2.jar to
> /Users/psmka/.maven/repository/commons-io/jars/commons-io-1.3.2.jar
> :info:build
> :info:build get-custom-dep-servlet-api.jar:
> :info:build
> :info:build get-dep-servlet-api.jar:
> :info:build
> :info:build BUILD FAILED
> :info:build
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_java_commons-fileupload/commons-
> fileupload/work/commons-fileupload-1.2.1-src/build.xml:208: Directory
> /Users/psmka/.maven/repository/javax.servlet/jars creation was not
> successful for an unknown reason
> :info:build
> :info:build Total time: 0 seconds
> :info:build shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_java_commons-fileupload/commons-
> fileupload/work/commons-fileupload-1.2.1-src" && ant dist -Dfinal.name
> =commons-fileupload -Dnoget=true " returned error 1
> :error:build Target org.macports.build returned: shell command failed
> (see log for details)
> :debug:build Backtrace: shell command failed (see log for details)
>     while executing
> "command_exec build"
>     (procedure "portbuild::build_main" line 8)
>     invoked from within
> "$procedure $targetname"
> :info:build Warning: the following items did not execute (for commons-
> fileupload): org.macports.activate org.macports.build
> org.macports.destroot org.macports.install
> :notice:build Log for commons-fileupload is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_java_commons-fileupload/commons-
> fileupload/main.log
> ------------------------------------------------------------------------

New description:

 main.log

 {{{
 version:1
 :debug:main epoch: in tree: 0 installed: 0
 :debug:main apache-ant 1.8.2_0 exists in the ports tree
 :debug:main apache-ant 1.8.2_0  is the latest installed
 :debug:main apache-ant 1.8.2_0  is active
 :debug:main Merging existing variants '' into variants
 :debug:main new fully merged portvariants:
 :debug:main Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel
 /apache-ant
 :debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386
 :debug:main org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 :debug:main org.macports.unload registered provides 'unload', a pre-
 existing procedure. Target override will not be provided
 :debug:main org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 :debug:main universal_variant is false, so not adding the default
 universal variant
 :debug:main No need to upgrade! apache-ant 1.8.2_0 >= apache-ant 1.8.2_0
 :debug:main Found Dependency: path: /usr/bin filename: java regex: ^java$
 :debug:main epoch: in tree: 0 installed: 0
 :debug:main junit 4.6_2 exists in the ports tree
 :debug:main junit 4.6_2  is the latest installed
 :debug:main junit 4.6_2  is active
 :debug:main Merging existing variants '' into variants
 :debug:main new fully merged portvariants:
 :debug:main Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/java/junit
 :debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386
 :debug:main org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 :debug:main org.macports.unload registered provides 'unload', a pre-
 existing procedure. Target override will not be provided
 :debug:main org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 :debug:main universal_variant is false, so not adding the default
 universal variant
 :debug:main No need to upgrade! junit 4.6_2 >= junit 4.6_2
 :debug:main epoch: in tree: 0 installed: 0
 :debug:main hamcrest-core 1.2_0 exists in the ports tree
 :debug:main hamcrest-core 1.2_0  is the latest installed
 :debug:main hamcrest-core 1.2_0  is active
 :debug:main Merging existing variants '' into variants
 :debug:main new fully merged portvariants:
 :debug:main Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/java
 /hamcrest-core
 :debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386
 :debug:main org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 :debug:main org.macports.unload registered provides 'unload', a pre-
 existing procedure. Target override will not be provided
 :debug:main org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 :debug:main universal_variant is false, so not adding the default
 universal variant
 :debug:main No need to upgrade! hamcrest-core 1.2_0 >= hamcrest-core 1.2_0
 :debug:main epoch: in tree: 20061005 installed: 20061005
 :debug:main servlet23-api 1_0 exists in the ports tree
 :debug:main servlet23-api 1_0  is the latest installed
 :debug:main servlet23-api 1_0  is active
 :debug:main Merging existing variants '' into variants
 :debug:main new fully merged portvariants:
 :debug:main Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/java/servlet23-api
 :debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386
 :debug:main org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 :debug:main org.macports.unload registered provides 'unload', a pre-
 existing procedure. Target override will not be provided
 :debug:main org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 :debug:main universal_variant is false, so not adding the default
 universal variant
 :debug:main No need to upgrade! servlet23-api 1_0 >= servlet23-api 1_0
 :debug:main Found Dependency: path: /usr/bin filename: java regex: ^java$
 :debug:main kaffe is *not* installed by MacPorts
 :debug:main Searching for dependency: kaffe
 :debug:main Didn't find receipt, going to depspec regex for: kaffe
 :debug:main Found Dependency: path: /usr/bin filename: java regex: ^java$
 :debug:main kaffe not installed, soft dependency satisfied
 :msg:main --->  Computing dependencies for commons-fileupload:info:main
 .:debug:main Searching for dependency: apache-ant
 :debug:main Found Dependency: receipt exists for apache-ant
 :debug:main Searching for dependency: kaffe
 :debug:main Didn't find receipt, going to depspec regex for: kaffe
 :debug:main Found Dependency: path: /usr/bin filename: java regex: ^java$
 :debug:main Found Dependency: path: /usr/bin filename: java regex: ^java$
 :debug:main Searching for dependency: junit
 :debug:main Found Dependency: receipt exists for junit
 :debug:main Searching for dependency: servlet23-api
 :debug:main Found Dependency: receipt exists for servlet23-api
 :msg:main
 :debug:main Executing org.macports.main (commons-fileupload)
 :debug:main changing euid/egid - current euid: 0 - current egid: 0
 :debug:main egid changed to: 501
 :debug:main euid changed to: 502
 :debug:main Skipping completed org.macports.archivefetch (commons-
 fileupload)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.fetch (commons-fileupload)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.checksum (commons-fileupload)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.extract (commons-fileupload)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.patch (commons-fileupload)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.configure (commons-fileupload)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:build build phase started at Mon Aug 15 09:29:28 CEST 2011
 :notice:build --->  Building commons-fileupload
 :debug:build Executing org.macports.build (commons-fileupload)
 :debug:build Environment: CPATH='/opt/local/include'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_java_commons-fileupload/commons-
 fileupload/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib'
 CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7'
 CLASSPATH='/opt/local/share/java/servlet23-api.jar:/opt/local/share/java/junit.jar'
 :debug:build Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_java_commons-fileupload/commons-
 fileupload/work/commons-fileupload-1.2.1-src" && ant dist -Dfinal.name
 =commons-fileupload -Dnoget=true'
 :debug:build Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_java_commons-fileupload/commons-
 fileupload/work/commons-fileupload-1.2.1-src" && ant dist -Dfinal.name
 =commons-fileupload -Dnoget=true
 :info:build Buildfile:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_java_commons-fileupload/commons-
 fileupload/work/commons-fileupload-1.2.1-src/build.xml
 :info:build
 :info:build init:
 :info:build
 :info:build setProxy:
 :info:build
 :info:build noProxy:
 :info:build      [echo] Proxy not used.
 :info:build
 :info:build get-custom-dep-commons-io.jar:
 :info:build
 :info:build get-dep-commons-io.jar:
 :info:build       [get] Getting: http://repo1.maven.org/maven/commons-
 io/jars/commons-io-1.3.2.jar
 :info:build       [get] To: /Users/psmka/.maven/repository/commons-io/jars
 /commons-io-1.3.2.jar
 :info:build       [get] Error getting http://repo1.maven.org/maven
 /commons-io/jars/commons-io-1.3.2.jar to /Users/psmka/.maven/repository
 /commons-io/jars/commons-io-1.3.2.jar
 :info:build       [get] Getting: http://people.apache.org/repo/m1
 -snapshot-repository/commons-io/jars/commons-io-1.3.2.jar
 :info:build       [get] To: /Users/psmka/.maven/repository/commons-io/jars
 /commons-io-1.3.2.jar
 :info:build       [get] Error opening connection
 java.io.FileNotFoundException: http://people.apache.org/repo/m1-snapshot-
 repository/commons-io/jars/commons-io-1.3.2.jar
 :info:build       [get] Error opening connection
 java.io.FileNotFoundException: http://people.apache.org/repo/m1-snapshot-
 repository/commons-io/jars/commons-io-1.3.2.jar
 :info:build       [get] Error opening connection
 java.io.FileNotFoundException: http://people.apache.org/repo/m1-snapshot-
 repository/commons-io/jars/commons-io-1.3.2.jar
 :info:build       [get] Can't get http://people.apache.org/repo/m1
 -snapshot-repository/commons-io/jars/commons-io-1.3.2.jar to
 /Users/psmka/.maven/repository/commons-io/jars/commons-io-1.3.2.jar
 :info:build
 :info:build get-custom-dep-servlet-api.jar:
 :info:build
 :info:build get-dep-servlet-api.jar:
 :info:build
 :info:build BUILD FAILED
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_java_commons-fileupload/commons-
 fileupload/work/commons-fileupload-1.2.1-src/build.xml:208: Directory
 /Users/psmka/.maven/repository/javax.servlet/jars creation was not
 successful for an unknown reason
 :info:build
 :info:build Total time: 0 seconds
 :info:build shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_java_commons-fileupload/commons-
 fileupload/work/commons-fileupload-1.2.1-src" && ant dist -Dfinal.name
 =commons-fileupload -Dnoget=true " returned error 1
 :error:build Target org.macports.build returned: shell command failed (see
 log for details)
 :debug:build Backtrace: shell command failed (see log for details)
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 :info:build Warning: the following items did not execute (for commons-
 fileupload): org.macports.activate org.macports.build
 org.macports.destroot org.macports.install
 :notice:build Log for commons-fileupload is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_java_commons-fileupload/commons-
 fileupload/main.log
 }}}

--

Comment:

 Please use WikiFormatting and preview before submitting.
 Voluminous output like logfiles are best attached, not pasted.
 Remember to fill in the Port field with the affected port name.
 Finally, please search for existing tickets before filing a new one. This
 is a duplicate of #30448.

-- 
Ticket URL: <https://trac.macports.org/ticket/30784#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list