[MacPorts] #30734: Unable to install anything
MacPorts
noreply at macports.org
Fri Aug 12 22:20:19 PDT 2011
#30734: Unable to install anything
----------------------------+-----------------------------------------------
Reporter: wilburg@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.0.1
Keywords: | Port:
----------------------------+-----------------------------------------------
Comment(by wilburg@…):
I have already done a manual clean as well, with the same results, but
here is the same result with the results of your instructions shown:
First the terminal window output:
{{{
mini,:~ wilbur$ sudo port uninstall ncursesw
mini,:~ wilbur$ sudo port clean ncursesw
---> Cleaning ncursesw
mini,:~ wilbur$ sudo port uninstall ncurses
mini,:~ wilbur$ sudo port uninstall ncurses
mini,:~ wilbur$ sudo port clean ncurses
---> Cleaning ncurses
mini,:~ wilbur$ sudo port install ncftp
---> Computing dependencies for ncftp
---> Dependencies to be installed: ncurses ncursesw
---> Fetching archive for ncursesw
---> Attempting to fetch ncursesw-5.8_0.darwin_10.noarch.tbz2 from
http://packages.macports.org/ncursesw
---> Attempting to fetch ncursesw-5.8_0.darwin_10.noarch.tbz2.rmd160 from
http://packages.macports.org/ncursesw
---> Installing ncursesw @5.8_0
---> Activating ncursesw @5.8_0
Error: Target org.macports.activate returned: Image error: Source file
/tmp/mpextractfeLAdVkC/opt/local/share/doc/ncursesw/README.txt does not
appear to exist (cannot lstat it). Unable to activate port ncursesw.
Error: Failed to install ncursesw
Log for ncursesw is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ncursesw/ncursesw/main.log
Error: The following dependencies were not installed: ncurses ncursesw
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
}}}
Next, the log file output:
{{{
version:1
:debug:main Attempting ln -sf
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ncursesw/ncursesw/work
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/ncursesw/work
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 502
:debug:main euid changed to: 507
:debug:main Executing org.macports.main (ncursesw)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:archivefetch archivefetch phase started at Fri Aug 12 23:10:50 MDT
2011
:msg:archivefetch ---> Fetching archive for ncursesw
:debug:archivefetch Executing org.macports.archivefetch (ncursesw)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/software/ncursesw to
macports
:debug:archivefetch euid/egid changed to: 507/502
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 507/502
:info:archivefetch ---> ncursesw-5.8_0.darwin_10.noarch.tbz2 doesn't seem
to exist in /opt/local/var/macports/software/ncursesw
:msg:archivefetch ---> Attempting to fetch
ncursesw-5.8_0.darwin_10.noarch.tbz2 from
http://packages.macports.org/ncursesw
:msg:archivefetch ---> Attempting to fetch
ncursesw-5.8_0.darwin_10.noarch.tbz2.rmd160 from
http://packages.macports.org/ncursesw
:debug:archivefetch Privilege de-escalation not attempted as not running
as root.
:debug:archivefetch Skipping completed org.macports.fetch (ncursesw)
:debug:archivefetch Privilege de-escalation not attempted as not running
as root.
:debug:archivefetch Skipping completed org.macports.checksum (ncursesw)
:debug:archivefetch Privilege de-escalation not attempted as not running
as root.
:debug:archivefetch Skipping completed org.macports.extract (ncursesw)
:debug:archivefetch Privilege de-escalation not attempted as not running
as root.
:debug:archivefetch Skipping completed org.macports.patch (ncursesw)
:debug:archivefetch Privilege de-escalation not attempted as not running
as root.
:debug:archivefetch Skipping completed org.macports.configure (ncursesw)
:debug:archivefetch Privilege de-escalation not attempted as not running
as root.
:debug:archivefetch Skipping completed org.macports.build (ncursesw)
:debug:archivefetch Privilege de-escalation not attempted as not running
as root.
:debug:archivefetch Skipping completed org.macports.destroot (ncursesw)
:debug:archivefetch Privilege de-escalation not attempted as not running
as root.
:debug:install install phase started at Fri Aug 12 23:10:52 MDT 2011
:notice:install ---> Installing ncursesw @5.8_0
:debug:install Can't run install on this port without elevated privileges.
Escalating privileges back to root.
:debug:install euid changed to: 0. egid changed to: 0.
:debug:install Executing org.macports.install (ncursesw)
:debug:activate activate phase started at Fri Aug 12 23:10:53 MDT 2011
:debug:activate Executing org.macports.activate (ncursesw)
:msg:activate ---> Activating ncursesw @5.8_0
:debug:activate Using /usr/bin/tar
:debug:activate Using /usr/bin/bzip2
:error:activate Target org.macports.activate returned: Image error: Source
file /tmp/mpextractfeLAdVkC/opt/local/share/doc/ncursesw/README.txt does
not appear to exist (cannot lstat it). Unable to activate port ncursesw.
:debug:activate Backtrace: Image error: Source file
/tmp/mpextractfeLAdVkC/opt/local/share/doc/ncursesw/README.txt does not
appear to exist (cannot lstat it). Unable to activate port ncursesw.
invoked from within
"throw registry::image-error "Image error: Source file $srcfile does not
appear to exist (cannot lstat it). Unable to activate port [$port
name].""
("foreach" body line 8)
invoked from within
"foreach file $imagefiles {
set srcfile "${extracted_dir}${file}"
# To be able to install links, we test if we can lst..."
invoked from within
"registry::write {
foreach file $imagefiles {
set srcfile "${extracted_dir}${file}"
# To be able to instal..."
invoked from within
"try {
registry::write {
foreach file $imagefiles {
set srcfile "${extracted_dir}${file}"
# To be ..."
(procedure "_activate_contents" line 21)
invoked from within
"_activate_contents $requested"
(procedure "portimage::activate" line 57)
invoked from within
"registry_activate $subport $version $revision $portvariants [array get
user_options]"
(procedure "portactivate::activate_main" line 4)
invoked from within
"$procedure $targetname"
:info:activate Warning: the following items did not execute (for
ncursesw): org.macports.activate
:error:activate Failed to install ncursesw
:notice:activate Log for ncursesw is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ncursesw/ncursesw/main.log
}}}
--
Ticket URL: <https://trac.macports.org/ticket/30734#comment:9>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list