[MacPorts] #30060: maven-ant-tasks: Could not create local repository
MacPorts
noreply at macports.org
Mon Nov 11 12:59:21 PST 2013
#30060: maven-ant-tasks: Could not create local repository
------------------------------+------------------------
Reporter: conradwt@… | Owner: ian.eure@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.9.99
Resolution: fixed | Keywords: lion
Port: maven-ant-tasks |
------------------------------+------------------------
Comment (by dc@…):
I'm running into a similar issue on OS X 10.9 (MacPorts 2.2.1):
{{{
$ sudo port -d install maven-ant-tasks
DEBUG: Copying /Users/dc/Library/Preferences/com.apple.dt.Xcode.plist to
/opt/local/var/macports/home/Library/Preferences
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel
/maven-ant-tasks
DEBUG: OS darwin/13.0.0 (Mac OS X 10.9) arch i386
DEBUG: universal_variant is false, so not adding the default universal
variant
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback
portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback
portbuild::add_automatic_buildsystem_dependencies
DEBUG: changing euid/egid - current euid: 0 - current egid: 0
DEBUG: egid changed to: 501
DEBUG: euid changed to: 502
DEBUG: Starting logging for maven-ant-tasks
DEBUG: Found Dependency: path: /usr/bin filename: unzip regex: ^unzip$
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/tarballs/ports/java/maven2
DEBUG: OS darwin/13.0.0 (Mac OS X 10.9) arch i386
DEBUG: universal_variant is false, so not adding the default universal
variant
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback
portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback
portbuild::add_automatic_buildsystem_dependencies
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/tarballs/ports/sysutils/maven_select
DEBUG: OS darwin/13.0.0 (Mac OS X 10.9) arch i386
DEBUG: universal_variant is false, so not adding the default universal
variant
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback
portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback
portbuild::add_automatic_buildsystem_dependencies
DEBUG: No need to upgrade! maven_select 0.3_1 >= maven_select 0.3_1
---> Computing dependencies for maven-ant-tasks
DEBUG: maven-ant-tasks has no conflicts
DEBUG: Found Dependency: path: /usr/bin filename: unzip regex: ^unzip$
DEBUG: Searching for dependency: unzip
DEBUG: Didn't find receipt, going to depspec regex for: unzip
DEBUG: Found Dependency: path: /usr/bin filename: unzip regex: ^unzip$
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: 501
DEBUG: euid changed to: 502
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 Mon Nov 11 12:51:16 PST 2013
---> 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_tarballs_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.9'
HOME='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_devel_maven-ant-tasks/maven-ant-
tasks/work/home'
DEBUG: Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_devel_maven-ant-tasks/maven-ant-tasks/work
/maven-ant-tasks-2.1.3" && mvn package'
DEBUG: Executing command line: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_devel_maven-ant-tasks/maven-ant-tasks/work
/maven-ant-tasks-2.1.3" && mvn package
[ERROR] Could not create local repository at
/opt/local/var/macports/home/.m2/repository -> [Help 1]
[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/LocalRepositoryNotAccessibleException
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_devel_maven-ant-tasks/maven-ant-tasks/work
/maven-ant-tasks-2.1.3" && mvn package
Exit code: 1
Error: org.macports.build for port maven-ant-tasks returned: command
execution failed
DEBUG: Error code: CHILDSTATUS 27249 1
DEBUG: Backtrace: command execution failed
while executing
"system -nice 0 $fullcmdstring"
("eval" body line 1)
invoked from within
"eval system $notty $nice \$fullcmdstring"
invoked from within
"command_exec build"
(procedure "portbuild::build_main" line 8)
invoked from within
"$procedure $targetname"
Warning: targets not executed for maven-ant-tasks: org.macports.activate
org.macports.build org.macports.destroot org.macports.install
Please see the log file for port maven-ant-tasks for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_devel_maven-ant-tasks/maven-ant-tasks/main.log
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port maven-ant-tasks failed
}}}
--
Ticket URL: <https://trac.macports.org/ticket/30060#comment:14>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list