macports


Mac Ports Update Failing


hansarijanto$ port -v
MacPorts 2.0.3
hansarijanto$ xcodebuild -version
Xcode 4.3.2
Build version 4E2002
I am running the above xcode and macport version. on max os x
when I try to self update my mac port I get the following error.
hansarijanto$ sudo port selfupdate
Password:
---> Updating MacPorts base sources using rsync
MacPorts base version 2.0.3 installed,
MacPorts base version 2.0.4 downloaded.
---> Updating the ports tree
---> MacPorts base is outdated, installing new version 2.0.4
Installing new MacPorts release in /opt/local as root:admin; permissions 0755; Tcl-Package in /Library/Tcl
Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: shell command failed (see log for details)
I am trying to update mac port to install qt.
sudo port install qt4-mac-devel(error no SDK found)
which I need to install webkit-capybara
sudo gem install capybara-webkit -v '0.7.2'(error in setting up native environment)
You need to use the -d option to get enough information to diagnose this; but take a look at https://trac.macports.org/wiki/FAQ#selfupdatefails for common problems and solutions.
Seems Apple no longer installs Xcode's command line tools. See here: http://ericwilson.erics.ws/ericsblog/2012/8/26/macports-port-selfupdate-fail for solution.
Just wanted to add that on Mac OS 10.12 Sierra i was getting the WARNING: GNUSTEP_SYSTEM_ROOT is not defined error on selfupdate and i did already have the Xcode command line tools installed, licensed and working. But my copy of Xcode had become out of date, even though that was not showing up on the automatic software updates.
I had version 7 and for Sierra (and macports) you need version 8.
So I manually downloaded Xcode 8 via the App Store and it solved the problem for me.

Related Links

How to recompile macport with additional ./configure flag?
Macport self update failed
Is it possible to use MacPorts to distribute custom software?
How do I make libgc work in Mac OS X?
500 OOPS: vsftpd: not configured for standalone, must be started from inetd
Mac Ports Update Failing
Macports ncurses error when trying to upgrade [closed]
macports: list out my own ports
why does macports “--set ipython ipython32” fail?
Prevent MacPorts from installing pre-built package?
Wine is extremely slow, how do I find out why?
Problems with macports
Where can I view tools or packages availble in Homebrew
See what has been installed via MacPorts
Installing a php extension with Macports
Lost ability to run as sudo following MacPorts upgrade

Categories

HOME
cocoapods
memory
bots
scroll
ios-simulator
elisp
lvm
flurry
supercollider
mithril.js
firebase-dynamic-links
u-boot
pyresttest
eddystone
spring-security-oauth2
max-msp-jitter
texas-instruments
fosuserbundle
string-formatting
altium-designer
conda
fstar
code-climate
ninject
locks
nppexec
spinner
djcelery
rdp
dagger
spooler
moinmoin
common-table-expression
spongycastle
deployd
watir-webdriver
mura
http-basic-authentication
predicates
ltrace
bigdecimal
xcode6.4
jpda
nvda
tsqlt
jeditable
textblock
verisign
preferenceactivity
flush
flask-security
google-maps-api-2
decidable
fanotify
pythonxy
wlanapi
fantom
darwin
com0com
erlog
physicsjs
fuseesb
camus
thoughtworks-go
adhoc-polymorphism
encryption-symmetric
device-admin
visual-studio-6
accessory
screwturn
code-complexity
zend-search-lucene
xulrunner
nodeload
jack
spring-social-linkedin
acitree
coalesce
virtual-channel
indesign-server
blobstorage
unicoins
session-0-isolation
linkbutton
cakeyframeanimation
dropshadow
will-paginate
database-deadlocks
kernel32
bass
solandra
ninject-interception
multiple-users
tabbarcontroller
oracle-pro-c
eventaggregator
wmd-editor
.net-client-profile
watchpoint
error-detection

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App