Port Selfupdate failed - Mountain Lion OS X
vignesh babu
jvigneshbabu at gmail.com
Fri Aug 29 01:03:56 PDT 2014
Hi,
I managed to run the rsync on the terminal and extracted the base & ports
tar file. Upon the command, sudo port -v install arm-linux-gnueabi-gcc
@4.6.2_1 , the following message was thrown:
The highlighted text seems to be similar error like the self update error.
Do you think its related to permissions ?
Apples-MacBook-Pro:ports apple$ sudo port -v install arm-linux-gnueabi-gcc
@4.6.2_1
---> Computing dependencies for arm-linux-gnueabi-gcc..................
---> Dependencies to be installed: arm-linux-gnueabi-binutils zlib
arm-linux-gnueabi-runtime dpkg bzip2 coreutils gettext expat libiconv
ncurses gmp perl5 perl5.16 gdbm xz libmpc mpfr
---> Activating zlib @1.2.8_0
*sh: error: /usr/bin/bzip2 -d -c
/opt/local/var/macports/software/zlib/zlib-1.2.8_0.darwin_12.x86_64.tbz2 |
( /usr/bin/tar -xvpf - ): No such file or directory*
*sh: fatal error: no input files*
compilation terminated.
Command failed: /usr/bin/bzip2 -d -c
/opt/local/var/macports/software/zlib/zlib-1.2.8_0.darwin_12.x86_64.tbz2 |
( /usr/bin/tar -xvpf - )
Exit code: 1
Error: org.macports.activate for port zlib returned: command execution
failed
Error: Failed to install zlib
Please see the log file for port zlib for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_zlib/zlib/main.log
Error: The following dependencies were not installed:
arm-linux-gnueabi-binutils zlib arm-linux-gnueabi-runtime dpkg bzip2
coreutils gettext expat libiconv ncurses gmp perl5 perl5.16 gdbm xz libmpc
mpfr
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port arm-linux-gnueabi-gcc failed
Regards
Vignesh
On Fri, Aug 29, 2014 at 11:35 AM, vignesh babu <jvigneshbabu at gmail.com>
wrote:
> Hi,
>
> I ran the ls -ld and here's the output
>
> Apples-MacBook-Pro:/ apple$ ls -ld /opt/local/var/macports/sources/
> rsync.macports.org/release/tarballs
> drwxr-xr-x 2 root admin 68 Aug 29 11:21 /opt/local/var/macports/sources/
> rsync.macports.org/release/tarballs
>
> I checked the permissions of all directories under /opt. All directories
> has the same permission drwxr-xr-x.
>
> Please let me know your suggestions.
>
> Regards
> Vignesh
>
>
> On Wed, Aug 27, 2014 at 10:21 AM, Ryan Schmidt <ryandesign at macports.org>
> wrote:
>
>>
>> On Aug 26, 2014, at 2:03 PM, vignesh babu wrote:
>> >
>> > I installed macports and ran it on my Mountain Lion OS X. But the self
>> update threw the below error. I thought it could be rsync blocked by
>> firewall and ran the rsync on the terminal. Rsync worked fine but still
>> self update wouldn't. Could you please look into the debug & let me know
>> what I could be doing wrong. I'm running macports 2.3.1. All the
>> directories mentioned in the debug exist and the base.tar & ports.tar was
>> downloaded properly when I ran the rsync directly on the terminal.
>> >
>> > DEBUG: Copying
>> /Users/apple/Library/Preferences/com.apple.dt.Xcode.plist to
>> /opt/local/var/macports/home/Library/Preferences
>> > DEBUG: MacPorts sources location: /opt/local/var/macports/sources/
>> rsync.macports.org/release/tarballs
>> > ---> Updating MacPorts base sources using rsync
>> > sh: error: /usr/bin/rsync -rtzv --delete-after rsync://
>> rsync.macports.org/release/tarballs/base.tar
>> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs: No
>> such file or directory
>>
>> You are certain that the directory /opt/local/var/macports/sources/
>> rsync.macports.org/release/tarballs exists? What do you get if you run:
>>
>> ls -ld /opt/local/var/macports/sources/
>> rsync.macports.org/release/tarballs
>>
>> Have you checked the permissions of every directory leading up to that
>> directory?
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20140829/b5dfd774/attachment.html>
More information about the macports-users
mailing list