[MacPorts] #30060: Could not create local repository
MacPorts
noreply at macports.org
Wed Jul 6 13:41:10 PDT 2011
#30060: Could not create local repository
--------------------------------+-------------------------------------------
Reporter: conradwt@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: lion | Port: maven-ant-tasks
--------------------------------+-------------------------------------------
Hi, the installation failed for port, maven-ant-tasks, when I invoked the
following command:
sudo port install leiningen
{{{
$ cat
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_devel_maven-ant-tasks/maven-ant-tasks/main.log
---> Building maven-ant-tasks
Error: Target org.macports.build returned: shell command failed (see log
for details)
Error: Failed to install maven-ant-tasks
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: The following dependencies were not installed: maven-ant-tasks
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
13:31 ~/clojure.dir/projects/clojure
1.9.2@/Users/conradwt/.rvm/gems/ruby-1.9.2-head [master*] $ cat
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_devel_maven-ant-tasks/maven-ant-tasks/main.log
version:1
:debug:clean Attempting ln -sf
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_devel_maven-ant-tasks/maven-ant-tasks/work
/opt/local/var/macports/sources/rsync.macports.org/release/ports/devel
/maven-ant-tasks/work
:debug:clean changing euid/egid - current euid: 0 - current egid: 0
:debug:clean egid changed to: 503
:debug:clean euid changed to: 504
:debug:main Executing org.macports.main (maven-ant-tasks)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:archivefetch archivefetch phase started at Wed Jul 6 13:31:00 PDT
2011
:msg:archivefetch ---> Fetching archive for maven-ant-tasks
:debug:archivefetch Executing org.macports.archivefetch (maven-ant-tasks)
:debug:archivefetch Can't run archivefetch on this port without elevated
privileges. Escalating privileges back to root.
:debug:archivefetch euid changed to: 0. egid changed to: 0.
:debug:archivefetch changing euid/egid - current euid: 0 - current egid: 0
:debug:archivefetch egid changed to: 503
:debug:archivefetch euid changed to: 504
:info:archivefetch ---> maven-ant-tasks-2.0.10_0.darwin_11.x86_64.tbz2
doesn't seem to exist in /opt/local/var/macports/software/maven-ant-tasks
:debug:archivefetch Privilege de-escalation not attempted as not running
as root.
:debug:fetch fetch phase started at Wed Jul 6 13:31:00 PDT 2011
:notice:fetch ---> Fetching maven-ant-tasks
:debug:fetch Can't run fetch on this port without elevated privileges.
Escalating privileges back to root.
:debug:fetch euid changed to: 0. egid changed to: 0.
:debug:fetch changing euid/egid - current euid: 0 - current egid: 0
:debug:fetch egid changed to: 503
:debug:fetch euid changed to: 504
:debug:fetch Executing org.macports.fetch (maven-ant-tasks)
:info:fetch ---> maven-ant-tasks-2.0.10-src.tar.gz doesn't seem to exist
in /opt/local/var/macports/distfiles/maven-ant-tasks
:debug:fetch Pinging www.apache.org...
:debug:fetch Pinging distfiles.macports.org...
:debug:fetch Pinging aarnet.au.distfiles.macports.org...
:debug:fetch Pinging lil.fr.distfiles.macports.org...
:debug:fetch Pinging sea.us.distfiles.macports.org...
:debug:fetch Pinging ykf.ca.distfiles.macports.org...
:debug:fetch www.apache.org ping time is 59.659
:debug:fetch distfiles.macports.org ping time is 35.461
:debug:fetch aarnet.au.distfiles.macports.org ping time is 190.449
:debug:fetch lil.fr.distfiles.macports.org ping time is 160.043
:debug:fetch sea.us.distfiles.macports.org ping time is 10000
:debug:fetch ykf.ca.distfiles.macports.org ping time is 111.354
:notice:fetch ---> Attempting to fetch maven-ant-tasks-2.0.10-src.tar.gz
from http://distfiles.macports.org/maven-ant-tasks
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Wed Jul 6 13:31:04 PDT 2011
:notice:checksum ---> Verifying checksum(s) for maven-ant-tasks
:debug:checksum Executing org.macports.checksum (maven-ant-tasks)
:info:checksum ---> Checksumming maven-ant-tasks-2.0.10-src.tar.gz
:debug:checksum Correct (md5) checksum for maven-ant-
tasks-2.0.10-src.tar.gz
:debug:checksum Privilege de-escalation not attempted as not running as
root.
:debug:extract extract phase started at Wed Jul 6 13:31:04 PDT 2011
:notice:extract ---> Extracting maven-ant-tasks
:debug:extract Executing org.macports.extract (maven-ant-tasks)
:info:extract ---> Extracting maven-ant-tasks-2.0.10-src.tar.gz
:debug:extract setting option extract.args to
'/opt/local/var/macports/distfiles/maven-ant-tasks/maven-ant-
tasks-2.0.10-src.tar.gz'
:debug:extract 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.7'
:debug:extract 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" &&
/usr/bin/gzip -dc '/opt/local/var/macports/distfiles/maven-ant-tasks
/maven-ant-tasks-2.0.10-src.tar.gz' | /usr/bin/gnutar --no-same-owner -xf
-'
:debug:extract 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" &&
/usr/bin/gzip -dc '/opt/local/var/macports/distfiles/maven-ant-tasks
/maven-ant-tasks-2.0.10-src.tar.gz' | /usr/bin/gnutar --no-same-owner -xf
-
:debug:extract euid/egid changed to: 0/0
:debug:extract chowned
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_devel_maven-ant-tasks/maven-ant-tasks/work to macports
:debug:extract euid/egid changed to: 504/503
:debug:extract Privilege de-escalation not attempted as not running as
root.
:debug:patch patch phase started at Wed Jul 6 13:31:04 PDT 2011
:debug:patch Executing org.macports.patch (maven-ant-tasks)
:debug:patch Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Wed Jul 6 13:31:04 PDT 2011
:notice:configure ---> Configuring maven-ant-tasks
:debug:configure Using compiler 'Mac OS X llvm-gcc 4.2'
:debug:configure Executing org.macports.configure (maven-ant-tasks)
:debug:configure Privilege de-escalation not attempted as not running as
root.
:debug:build build phase started at Wed Jul 6 13:31:04 PDT 2011
:notice:build ---> Building maven-ant-tasks
:debug:build Executing org.macports.build (maven-ant-tasks)
: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_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.7'
:debug:build 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:build 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:build [ERROR] Could not create local repository at
/var/root/.m2/repository -> [Help 1]
:info:build [ERROR]
:info:build [ERROR] To see the full stack trace of the errors, re-run
Maven with the -e switch.
:info:build [ERROR] Re-run Maven using the -X switch to enable full debug
logging.
:info:build [ERROR]
:info:build [ERROR] For more information about the errors and possible
solutions, please read the following articles:
:info:build [ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/LocalRepositoryNotAccessibleException
:info:build 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: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 maven-ant-
tasks): org.macports.activate org.macports.build org.macports.destroot
org.macports.install
:error:build Failed to install maven-ant-tasks
:notice:build 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
}}}
--
Ticket URL: <https://trac.macports.org/ticket/30060>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list