[MacPorts] #30060: maven-ant-tasks: Could not create local repository

MacPorts noreply at macports.org
Wed Aug 17 11:52:11 PDT 2011


#30060: maven-ant-tasks: Could not create local repository
--------------------------------+-------------------------------------------
 Reporter:  conradwt@…          |       Owner:  ian.eure@…        
     Type:  defect              |      Status:  new               
 Priority:  Normal              |   Milestone:                    
Component:  ports               |     Version:  1.9.99            
 Keywords:  lion                |        Port:  maven-ant-tasks   
--------------------------------+-------------------------------------------

Comment(by alexis@…):

 I'm seeing the same issue on Snow Leopard.

 In Macports v 2.0.1, on OSX 10.6.8, I am getting a consistent install
 failure. My macports is a standard install, upgraded from an original
 install a few months ago.

 I attach the debug log of the failed install, which I captured with "sudo
 port -d install maven-ant-tasks &> log"

 {{{
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel
 /maven-ant-tasks
 DEBUG: OS darwin/10.8.0 (Mac OS X 10.6) arch i386
 DEBUG: org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.unload registered provides 'unload', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: universal_variant is false, so not adding the default universal
 variant
 DEBUG: changing euid/egid - current euid: 0 - current egid: 0
 DEBUG: egid changed to: 502
 DEBUG: euid changed to: 504
 DEBUG: Starting logging for maven-ant-tasks
 DEBUG: epoch: in tree: 0 installed: 0
 DEBUG: maven2 2.2.1_3 exists in the ports tree
 DEBUG: maven2 2.2.1_3  is the latest installed
 DEBUG: maven2 2.2.1_3  is active
 DEBUG: Merging existing variants '' into variants
 DEBUG: new fully merged portvariants:
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/java/maven2
 DEBUG: OS darwin/10.8.0 (Mac OS X 10.6) arch i386
 DEBUG: org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.unload registered provides 'unload', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: Using group file
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/select-1.0.tcl
 DEBUG: universal_variant is false, so not adding the default universal
 variant
 DEBUG: No need to upgrade! maven2 2.2.1_3 >= maven2 2.2.1_3
 DEBUG: epoch: in tree: 0 installed: 0
 DEBUG: maven_select 0.3_1 exists in the ports tree
 DEBUG: maven_select 0.3_1  is the latest installed
 DEBUG: maven_select 0.3_1  is active
 DEBUG: Merging existing variants '' into variants
 DEBUG: new fully merged portvariants:
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/sysutils/maven_select
 DEBUG: OS darwin/10.8.0 (Mac OS X 10.6) arch i386
 DEBUG: org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.unload registered provides 'unload', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: Using group file
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/select-1.0.tcl
 DEBUG: universal_variant is false, so not adding the default universal
 variant
 DEBUG: No need to upgrade! maven_select 0.3_1 >= maven_select 0.3_1
 --->  Computing dependencies for maven-ant-tasks
 DEBUG: Searching for dependency: maven2
 DEBUG: Found Dependency: receipt exists for maven2
 DEBUG: Executing org.macports.main (maven-ant-tasks)
 DEBUG: changing euid/egid - current euid: 0 - current egid: 0
 DEBUG: egid changed to: 502
 DEBUG: euid changed to: 504
 DEBUG: Skipping completed org.macports.archivefetch (maven-ant-tasks)
 DEBUG: Privilege de-escalation not attempted as not running as root.
 DEBUG: Skipping completed org.macports.fetch (maven-ant-tasks)
 DEBUG: Privilege de-escalation not attempted as not running as root.
 DEBUG: Skipping completed org.macports.checksum (maven-ant-tasks)
 DEBUG: Privilege de-escalation not attempted as not running as root.
 DEBUG: Skipping completed org.macports.extract (maven-ant-tasks)
 DEBUG: Privilege de-escalation not attempted as not running as root.
 DEBUG: Skipping completed org.macports.patch (maven-ant-tasks)
 DEBUG: Privilege de-escalation not attempted as not running as root.
 DEBUG: Skipping completed org.macports.configure (maven-ant-tasks)
 DEBUG: Privilege de-escalation not attempted as not running as root.
 DEBUG: build phase started at Wed Aug 17 12:14:50 BST 2011
 --->  Building maven-ant-tasks
 DEBUG: Executing org.macports.build (maven-ant-tasks)
 DEBUG: Environment: CPATH='/opt/local/include'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_devel_maven-ant-tasks/maven-ant-
 tasks/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib'
 CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_devel_maven-ant-tasks/maven-ant-tasks/work/maven-ant-
 tasks-2.0.10" && mvn package'
 DEBUG: Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_devel_maven-ant-tasks/maven-ant-tasks/work/maven-ant-
 tasks-2.0.10" && mvn package
 [INFO] Scanning for projects...
 Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-
 parent/12/maven-parent-12.pom

 [WARNING] Failed to create parent directories for resolution tracking file
 /Users/alexis/.m2/repository/org/apache/maven/maven-parent/12/maven-
 parent-12.pom.lastUpdated
 [ERROR] The build could not read 1 project -> [Help 1]
 [ERROR]
 [ERROR]   The project org.apache.maven:maven-ant-tasks:2.0.10
 (/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_devel_maven-ant-tasks/maven-ant-tasks/work/maven-ant-
 tasks-2.0.10/pom.xml) has 1 error
 [ERROR]     Non-resolvable parent POM: Could not transfer artifact
 org.apache.maven:maven-parent:pom:12 from/to central
 (http://repo1.maven.org/maven2): Specified destination directory cannot be
 created: /Users/alexis/.m2/repository/org/apache/maven/maven-parent/12 and
 'parent.relativePath' points at wrong local POM @ line 25, column 11 ->
 [Help 2]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
 [ERROR] [Help 2]
 http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
 shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_devel_maven-ant-tasks/maven-ant-tasks/work/maven-ant-
 tasks-2.0.10" && mvn package " returned error 1
 Error: Target org.macports.build returned: shell command failed (see log
 for details)
 DEBUG: Backtrace: shell command failed (see log for details)
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 Warning: the following items did not execute (for maven-ant-tasks):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Log for maven-ant-tasks is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_devel_maven-ant-tasks/maven-ant-tasks/main.log
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>

 }}}

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


More information about the macports-tickets mailing list