macports hangs while installing port

Viktor Remennik vik at etogo.net
Sat Aug 25 03:15:33 PDT 2012


Hi there!

After os upgrade ports hangs when I'm trying to install almost anything.
inspecting processes with ps I've found that it stucks on xcodebuild 
-license check
of course I previously accepted license with  xcodebuild -license
Please help.

Here's the details:
OS X 10.8.1
root at vik-air:~ # xcodebuild -version
Xcode 4.4.1
Build version 4F1003
root at vik-air:~ # port version
Version: 2.1.2
root at vik-air:~ # port clean freecell
---> Cleaning Freecell
root at vik-air:~ # port -d -v install freecell
DEBUG: Changing to port directory: 
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/aqua/Freecell
DEBUG: OS darwin/12.1.0 (Mac OS X 10.8) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing 
procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing 
procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a 
pre-existing procedure. Target override will not be provided
DEBUG: Using group file 
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/xcode-1.0.tcl
DEBUG: Re-registering default for use_configure
DEBUG: Re-registering default for universal_variant
DEBUG: Re-registering default for build.type
DEBUG: Re-registering default for build.pre_args
DEBUG: Re-registering default for build.target
DEBUG: Re-registering default for destroot.pre_args
DEBUG: Re-registering default for destroot.target
DEBUG: Re-registering default for destroot.destdir
DEBUG: Reading variant descriptions from 
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Attempting ln -sf 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_Freecell/Freecell/work 
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/aqua/Freecell/work
DEBUG: changing euid/egid - current euid: 0 - current egid: 0
DEBUG: egid changed to: 501
DEBUG: euid changed to: 502
DEBUG: Starting logging for Freecell
DEBUG: Freecell has no conflicts
DEBUG: Executing org.macports.main (Freecell)
DEBUG: changing euid/egid - current euid: 0 - current egid: 0
DEBUG: egid changed to: 501
DEBUG: euid changed to: 502
DEBUG: archivefetch phase started at Sat Aug 25 12:18:50 EEST 2012
---> Fetching archive for Freecell
DEBUG: Executing org.macports.archivefetch (Freecell)
DEBUG: euid/egid changed to: 0/0
DEBUG: chowned /opt/local/var/macports/incoming to macports
DEBUG: euid/egid changed to: 502/501
---> Freecell-2.1_0.darwin_12.x86_64.tbz2 doesn't seem to exist in 
/opt/local/var/macports/incoming/verified
---> Attempting to fetch Freecell-2.1_0.darwin_12.x86_64.tbz2 from 
http://lil.fr.packages.macports.org/Freecell
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
DEBUG: Fetching archive failed:: The requested URL returned error: 404
---> Attempting to fetch Freecell-2.1_0.darwin_12.x86_64.tbz2 from 
http://packages.macports.org/Freecell
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
DEBUG: Fetching archive failed:: The requested URL returned error: 404
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: fetch phase started at Sat Aug 25 12:18:51 EEST 2012
---> Fetching distfiles for Freecell
DEBUG: Executing org.macports.fetch (Freecell)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: checksum phase started at Sat Aug 25 12:18:51 EEST 2012
---> Verifying checksum(s) for Freecell
DEBUG: Executing org.macports.checksum (Freecell)
---> Checksumming Freecell-2.1.tar.bz2
DEBUG: Correct (md5) checksum for Freecell-2.1.tar.bz2
DEBUG: Correct (sha1) checksum for Freecell-2.1.tar.bz2
DEBUG: Correct (rmd160) checksum for Freecell-2.1.tar.bz2
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: extract phase started at Sat Aug 25 12:18:51 EEST 2012
---> Extracting Freecell
DEBUG: setting option extract.cmd to /usr/bin/bzip2
DEBUG: Executing org.macports.extract (Freecell)
---> Extracting Freecell-2.1.tar.bz2
DEBUG: setting option extract.args to 
'/opt/local/var/macports/distfiles/Freecell/Freecell-2.1.tar.bz2'
DEBUG: Environment: CPATH='/opt/local/include' 
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_Freecell/Freecell/work/.CC_PRINT_OPTIONS' 
LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' 
MACOSX_DEPLOYMENT_TARGET='10.8'
DEBUG: Assembled command: 'cd 
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_Freecell/Freecell/work" 
&& /usr/bin/bzip2 -dc 
'/opt/local/var/macports/distfiles/Freecell/Freecell-2.1.tar.bz2' | 
/usr/bin/gnutar --no-same-owner -xf -'
DEBUG: Executing command line: cd 
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_Freecell/Freecell/work" 
&& /usr/bin/bzip2 -dc 
'/opt/local/var/macports/distfiles/Freecell/Freecell-2.1.tar.bz2' | 
/usr/bin/gnutar --no-same-owner -xf -
DEBUG: euid/egid changed to: 0/0
DEBUG: chowned 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_Freecell/Freecell/work 
to macports
DEBUG: euid/egid changed to: 502/501
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: patch phase started at Sat Aug 25 12:18:51 EEST 2012
DEBUG: Executing org.macports.patch (Freecell)
DEBUG: Executing proc-post-org.macports.patch-patch-0
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: configure phase started at Sat Aug 25 12:18:51 EEST 2012
---> Configuring Freecell
DEBUG: Using compiler 'Mac OS X clang'
DEBUG: Executing org.macports.configure (Freecell)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: build phase started at Sat Aug 25 12:18:51 EEST 2012
---> Building Freecell
DEBUG: Executing org.macports.build (Freecell)
DEBUG: Assembled command: 'cd 
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_Freecell/Freecell/work/Freecell-2.1" 
&& /usr/bin/xcodebuild -alltargets -configuration Deployment build 
OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.8 ARCHS=x86_64 
SDKROOT="" GCC_VERSION=com.apple.compilers.llvm.clang.1_0 '



And here it waits forever. Here's the ps list related to this:


502 50199 40101 0 12:18PM ttys000 0:00.23 /usr/bin/tclsh 
/opt/local/bin/port -d -v install freecell
502 50206 50199 0 12:18PM ttys000 0:00.00 sh -c cd 
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_Freecell/Freecell/work/Freecell-2.1" 
&& /usr/bin/xcodebuild -alltargets -configuration Deployment build 
OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.8 ARCHS=x86_64 
SDKROOT="" GCC_VERSION=com.apple.compilers.llvm.clang.1_0
502 50207 50206 0 12:18PM ttys000 0:00.00 
/Applications/Xcode.app/Contents/Developer/usr/bin/xcrun xcodebuild 
-alltargets -configuration Deployment build OBJROOT=build/ 
SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.8 ARCHS=x86_64 SDKROOT= 
GCC_VERSION=com.apple.compilers.llvm.clang.1_0
502 50208 50207 0 12:18PM ttys000 0:00.04 
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -license check



Please help

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120825/7e74c92c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2012-08-25 at 12.40.13.png
Type: image/png
Size: 105572 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120825/7e74c92c/attachment.png>


More information about the macports-users mailing list