[MacPorts] #49647: Xcode build hangs in configure phase on Yosemite
MacPorts
noreply at macports.org
Sat Nov 14 05:53:38 PST 2015
#49647: Xcode build hangs in configure phase on Yosemite
---------------------+--------------------------------
Reporter: mk@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: |
---------------------+--------------------------------
Comment (by mk@…):
Oh, thanks for the hint. With that in mind I checked for access to that
directory when running a build and it returned this:
{{{
$ sudo dtrace -n 'syscall::open*:entry { printf("%s
%s",execname,copyinstr(arg0)); }' 2>/dev/null | grep folders
1 151 open:entry xcodebuild
/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/xcrun_db
1 151 open:entry clang
/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/xcrun_db
1 151 open:entry clang
/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/xcrun_db
0 151 open:entry clang
/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/xcrun_db
0 151 open:entry xcrun
/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/xcrun_db
1 151 open:entry clang
/var/folders/mp/ymsl09l9253b3vc4b2xl9pw00000gz/T/xcrun_db
1 151 open:entry xcodebuild
/var/folders/mp/ymsl09l9253b3vc4b2xl9pw00000gz/C/com.apple.DeveloperTools/7.1.1-7B1005/Xcode
/PlugInCache-xcodebuild-Debug.xcplugincache
0 937 open_nocancel:entry quicklookd
/var/folders/7w/wr4npq0x6q3ccdfn18090cgw0000gp/C/com.apple.QuickLook.thumbnailcache/dirty
0 151 open:entry findNames
/var/folders/7w/wr4npq0x6q3ccdfn18090cgw0000gp/T/.AddressBookLocks
0 151 open:entry findNames
/private/var/folders/7w/wr4npq0x6q3ccdfn18090cgw0000gp/T/.AddressBookLocks/database.lock
0 151 open:entry syncdefaultsd
/var/folders/8w/q0c184t573b3_hyvdx2b4vqm0000gr/C//mds/mds.lock
0 151 open:entry syncdefaultsd
/var/folders/8w/q0c184t573b3_hyvdx2b4vqm0000gr/C//mds/mdsObject.db_
0 151 open:entry syncdefaultsd
/var/folders/8w/q0c184t573b3_hyvdx2b4vqm0000gr/C//mds/mds.lock
0 151 open:entry syncdefaultsd
/var/folders/8w/q0c184t573b3_hyvdx2b4vqm0000gr/C//mds/mdsObject.db_
0 151 open:entry syncdefaultsd
/var/folders/8w/q0c184t573b3_hyvdx2b4vqm0000gr/C//mds/mds.lock
0 151 open:entry syncdefaultsd
/var/folders/8w/q0c184t573b3_hyvdx2b4vqm0000gr/C//mds/mdsObject.db_
0 151 open:entry syncdefaultsd
/var/folders/8w/q0c184t573b3_hyvdx2b4vqm0000gr/C//mds/mds.lock
0 151 open:entry syncdefaultsd
/var/folders/8w/q0c184t573b3_hyvdx2b4vqm0000gr/C//mds/mdsObject.db_
0 151 open:entry syncdefaultsd
/var/folders/7w/wr4npq0x6q3ccdfn18090cgw0000gp/C//mds/mds.lock
0 151 open:entry syncdefaultsd
/var/folders/7w/wr4npq0x6q3ccdfn18090cgw0000gp/C//mds/mdsObject.db_
1 151 open:entry syncdefaultsd
/var/folders/7w/wr4npq0x6q3ccdfn18090cgw0000gp/C//mds/mds.lock
1 151 open:entry syncdefaultsd
/var/folders/7w/wr4npq0x6q3ccdfn18090cgw0000gp/C//mds/mdsObject.db_
1 151 open:entry syncdefaultsd
/var/folders/7w/wr4npq0x6q3ccdfn18090cgw0000gp/C//mds/mds.lock
1 151 open:entry syncdefaultsd
/var/folders/7w/wr4npq0x6q3ccdfn18090cgw0000gp/C//mds/mdsObject.db_
0 151 open:entry syncdefaultsd
/var/folders/7w/wr4npq0x6q3ccdfn18090cgw0000gp/C//mds/mds.lock
0 151 open:entry syncdefaultsd
/var/folders/7w/wr4npq0x6q3ccdfn18090cgw0000gp/C//mds/mdsObject.db_
}}}
when restarting the build I see the first two folder being reused:
{{{
$ sudo dtrace -n 'syscall::open*:entry { printf("%s
%s",execname,copyinstr(arg0)); }' 2>/dev/null | grep folders
Password:
Password:
1 151 open:entry xcodebuild
/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/xcrun_db
1 151 open:entry clang
/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/xcrun_db
1 151 open:entry clang
/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/xcrun_db
0 151 open:entry clang
/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/xcrun_db
0 151 open:entry xcrun
/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/xcrun_db
1 151 open:entry clang
/var/folders/mp/ymsl09l9253b3vc4b2xl9pw00000gz/T/xcrun_db
1 151 open:entry xcodebuild
/var/folders/mp/ymsl09l9253b3vc4b2xl9pw00000gz/C/com.apple.DeveloperTools/7.1.1-7B1005/Xcode
/PlugInCache-xcodebuild-Debug.xcplugincache
}}}
I tried to delete both folders in question:
{{{
$ sudo rm -rf /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/
$ sudo rm -rf /var/folders/mp/ymsl09l9253b3vc4b2xl9pw00000gz
}}}
but this wouldn't change anything. Now trying to reboot the machine...
--
Ticket URL: <https://trac.macports.org/ticket/49647#comment:10>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list