port upgrade failed after mac upgrade
Shiyuan
gshy2014 at gmail.com
Mon May 12 13:20:53 PDT 2014
Hi,
Macports used to work well on Mac 10.8. After a upgrade to mac 10.9,
`sudo port upgrade -u outdated` gives errors complaining privilege (but I
do have the `sudo` privilege and it worked well before the mac upgrade) .
The port sync is done via svn. The screenshot and main.log are attached
below. Any help/suggestions are appreciated. Thank.
-----------Screen shot ------------------------------------
685b35881646:~ shiyuang$ sudo port upgrade -u outdated
Password:
---> Fetching archive for aquaterm
---> Attempting to fetch aquaterm-1.1.1_0.darwin_13.x86_64.tbz2 from
http://mse.uk.packages.macports.org/sites/packages.macports.org/aquaterm
---> Attempting to fetch aquaterm-1.1.1_0.darwin_13.x86_64.tbz2.rmd160
from
http://mse.uk.packages.macports.org/sites/packages.macports.org/aquaterm
---> Unable to uninstall aquaterm @1.1.1_0, the following ports depend on
it:
---> gnuplot @4.6.5_0+aquaterm+luaterm+pangocairo+wxwidgets+x11
Warning: Uninstall forced. Proceeding despite dependencies.
---> Deactivating aquaterm @1.1.1_0
---> Unable to deactivate aquaterm @1.1.1_0, the following ports depend on
it:
---> gnuplot @4.6.5_0+aquaterm+luaterm+pangocairo+wxwidgets+x11
Warning: Deactivate forced. Proceeding despite dependencies.
---> Cleaning aquaterm
---> Uninstalling aquaterm @1.1.1_0
---> Cleaning aquaterm
---> Installing aquaterm @1.1.1_0
---> Activating aquaterm @1.1.1_0
---> Cleaning aquaterm
---> Fetching distfiles for gmp
---> Attempting to fetch gmp-6.0.0a.tar.bz2 from
http://sea.us.distfiles.macports.org/macports/distfiles/gmp
---> Verifying checksums for gmp
---> Extracting gmp
Error: org.macports.extract for port gmp returned: command execution failed
Please see the log file for port gmp for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_devel_gmp/gmp/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
685b35881646:~ shiyuang$ Emacs
/opt/local/var/macports/logs/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_devel_gmp/gmp/main.log
685b35881646:~ shiyuang$ Emacs
/opt/local/var/macports/logs/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_devel_gmp/gmp/main.log
---------------- Below: main.log-------------------------------
version:1
:debug:clean gmp has no conflicts
:debug:main Executing org.macports.main (gmp)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:archivefetch archivefetch phase started at Mon May 12 11:40:59 PDT
2014
:debug:archivefetch Executing org.macports.archivefetch (gmp)
:debug:archivefetch Privilege de-escalation not attempted as not running as
root.
:debug:fetch fetch phase started at Mon May 12 11:40:59 PDT 2014
:notice:fetch ---> Fetching distfiles for gmp
: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: 501
:debug:fetch euid changed to: 502
:debug:fetch Executing org.macports.fetch (gmp)
:info:fetch ---> gmp-6.0.0a.tar.bz2 doesn't seem to exist in
/opt/local/var/macports/distfiles/gmp
:notice:fetch ---> Attempting to fetch gmp-6.0.0a.tar.bz2 from
http://sea.us.distfiles.macports.org/macports/distfiles/gmp
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Mon May 12 11:41:08 PDT 2014
:notice:checksum ---> Verifying checksums for gmp
:debug:checksum Executing org.macports.checksum (gmp)
:info:checksum ---> Checksumming gmp-6.0.0a.tar.bz2
:debug:checksum Correct (rmd160) checksum for gmp-6.0.0a.tar.bz2
:debug:checksum Correct (sha256) checksum for gmp-6.0.0a.tar.bz2
:debug:checksum Privilege de-escalation not attempted as not running as
root.
:debug:extract extract phase started at Mon May 12 11:41:08 PDT 2014
:notice:extract ---> Extracting gmp
:debug:extract setting option extract.cmd to /usr/bin/bzip2
:debug:extract Executing org.macports.extract (gmp)
:info:extract ---> Extracting gmp-6.0.0a.tar.bz2
:debug:extract setting option extract.args to
'/opt/local/var/macports/distfiles/gmp/gmp-6.0.0a.tar.bz2'
:debug:extract Environment: CPATH='/opt/local/include'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_devel_gmp/gmp/work/.CC_PRINT_OPTIONS'
LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
MACOSX_DEPLOYMENT_TARGET='10.9'
:debug:extract Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_devel_gmp/gmp/work"
&& /usr/bin/bzip2 -dc
'/opt/local/var/macports/distfiles/gmp/gmp-6.0.0a.tar.bz2' |
/usr/bin/gnutar --no-same-owner -xf -'
:debug:extract Executing command line: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_devel_gmp/gmp/work"
&& /usr/bin/bzip2 -dc
'/opt/local/var/macports/distfiles/gmp/gmp-6.0.0a.tar.bz2' |
/usr/bin/gnutar --no-same-owner -xf -
:info:extract sh: /usr/bin/gnutar: No such file or directory
:info:extract
:info:extract bzip2: I/O or other error, bailing out. Possible reason
follows.
:info:extract bzip2: Broken pipe
:info:extract Input file =
/opt/local/var/macports/distfiles/gmp/gmp-6.0.0a.tar.bz2, output file =
(stdout)
:info:extract Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_devel_gmp/gmp/work"
&& /usr/bin/bzip2 -dc
'/opt/local/var/macports/distfiles/gmp/gmp-6.0.0a.tar.bz2' |
/usr/bin/gnutar --no-same-owner -xf -
:info:extract Exit code: 127
:error:extract org.macports.extract for port gmp returned: command
execution failed
:debug:extract Error code: NONE
:debug:extract Backtrace: command execution failed
while executing
"$procedure $targetname"
:info:extract Warning: targets not executed for gmp: org.macports.install
org.macports.extract org.macports.patch org.macports.configure
org.macports.build org.macports.destroot
:notice:extract Please see the log file for port gmp for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_devel_gmp/gmp/main.log
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20140512/9b427d2a/attachment.html>
More information about the macports-users
mailing list