[MacPorts] #35894: Selfupdate isn't working
MacPorts
noreply at macports.org
Thu Aug 30 04:14:46 PDT 2012
#35894: Selfupdate isn't working
------------------------------------+---------------------------------------
Reporter: anonymi_90@… | Owner: cal@…
Type: update | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.1.1
Keywords: | Port:
------------------------------------+---------------------------------------
Comment(by anonymi_90@…):
Hello,
Thank you for your soon answer. I tried "port -d selfupdate" but this
didn't run very long so I tried "sudo port -d selfupdate" too and here is
the console-text:
{{{
Gabriels-MacBook-Pro:~ gh$ port -d selfupdate
DEBUG: MacPorts sources location:
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs
---> Updating MacPorts base sources using rsync
receiving file list ... done
rsync: mkstemp
"/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/.base.tar.CLd9yU"
failed: Permission denied (13)
sent 11368 bytes received 111 bytes 3279.71 bytes/sec
total size is 3543040 speedup is 308.65
rsync error: some files could not be transferred (code 23) at
/SourceCache/rsync/rsync-42/rsync/main.c(1400) [generator=2.6.9]
Command failed: /usr/bin/rsync -rtzv --delete-after
rsync://rsync.macports.org/release/tarballs/base.tar
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs
Exit code: 23
DEBUG: Error synchronizing MacPorts sources: command execution failed
while executing
"macports::selfupdate [array get global_options] base_updated"
Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing
MacPorts sources: command execution failed
Gabriels-MacBook-Pro:~ gh$ sudo port -d selfupdate
Password:
DEBUG: Copying /Users/gh/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
receiving file list ... done
base.tar
sent 11368 bytes received 111 bytes 4591.60 bytes/sec
total size is 3543040 speedup is 308.65
receiving file list ... done
base.tar.rmd160
sent 64 bytes received 116 bytes 72.00 bytes/sec
total size is 512 speedup is 2.84
DEBUG: successful verification with key /opt/local/share/macports
/macports-pubkey.pem
DEBUG: /usr/bin/tar -C
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/tmp
-xf
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base.tar
MacPorts base version 2.1.1 installed,
DEBUG: Rebuilding and reinstalling MacPorts if needed
MacPorts base version 2.1.2 downloaded.
---> Updating the ports tree
Synchronizing local ports tree from
rsync://rsync.macports.org/release/tarballs/ports.tar
DEBUG: /usr/bin/rsync -rtzv --delete-after
rsync://rsync.macports.org/release/tarballs/ports.tar
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs
receiving file list ... done
ports.tar
sent 51438 bytes received 21019 bytes 16101.56 bytes/sec
total size is 53852160 speedup is 743.23
DEBUG: /usr/bin/rsync -rtzv --delete-after
rsync://rsync.macports.org/release/tarballs/ports.tar.rmd160
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs
receiving file list ... done
ports.tar.rmd160
sent 64 bytes received 636 bytes 280.00 bytes/sec
total size is 512 speedup is 0.73
DEBUG: successful verification with key /opt/local/share/macports
/macports-pubkey.pem
DEBUG: /usr/bin/tar -C
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/tmp
-xf
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports.tar
DEBUG: /usr/bin/rsync -rtzv --delete-after
rsync://rsync.macports.org/release/tarballs/PortIndex_darwin_12_i386/PortIndex
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs
receiving file list ... done
PortIndex
sent 17842 bytes received 4938 bytes 9112.00 bytes/sec
total size is 8772843 speedup is 385.11
DEBUG: /usr/bin/rsync -rtzv --delete-after
rsync://rsync.macports.org/release/tarballs/PortIndex_darwin_12_i386/PortIndex.rmd160
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs
receiving file list ... done
PortIndex.rmd160
sent 64 bytes received 636 bytes 280.00 bytes/sec
total size is 512 speedup is 0.73
DEBUG: successful verification with key /opt/local/share/macports
/macports-pubkey.pem
---> MacPorts base is outdated, installing new version 2.1.2
DEBUG: Permissions OK
Installing new MacPorts release in /opt/local as root:admin; permissions
0755; Tcl-Package in /Library/Tcl
checking build system type... i386-apple-darwin12.1.0
checking host system type... i386-apple-darwin12.1.0
checking target system type... i386-apple-darwin12.1.0
checking MacPorts version... 2.1.2
checking for sw_vers... /usr/bin/sw_vers
checking for defaults... /usr/bin/defaults
checking for xcode-select... /usr/bin/xcode-select
checking Mac OS X version... 10.8.1
checking Xcode location... /Applications/Xcode.app/Contents/Developer
checking Xcode version... 4.4.1
checking for gcc... /usr/bin/cc
checking whether the C compiler works... no
configure: error: in
`/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base':
configure: error: C compiler cannot create executables
See `config.log' for more details
Command failed: cd
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base
&& CC=/usr/bin/cc ./configure --prefix=/opt/local --with-
tclpackage=/Library/Tcl --with-install-user=root --with-install-
group=admin --with-directory-mode=0755 --enable-readline && make && make
install SELFUPDATING=1
Exit code: 77
DEBUG: Error installing new MacPorts base: command execution failed
while executing
"macports::selfupdate [array get global_options] base_updated"
Error: /opt/local/bin/port: port selfupdate failed: Error installing new
MacPorts base: command execution failed
}}}
I hope this helps.
Thank you
--
Ticket URL: <https://trac.macports.org/ticket/35894#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list