Re: building scutil
Re: building scutil
- Subject: Re: building scutil
- From: marty leisner <email@hidden>
- Date: Wed, 01 Apr 2015 12:50:16 -0400
Thanks a lot!!
I take it the python script runs as root?
I set
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
to world writable (I hate running things as root ;-))
I then executed the command:
python SDKBuilder.py --sdk /Users/martyleisner/src/git/PrivateSDK/PrivateSDK10.10/
and it crunched for a while then:
Updating "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/PrivateMacOSX10.10.sdk/System/Library/Frameworks/IOKit.framework/Versions/A/Headers/storage/IOCDPartitionScheme.h"
Updating "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/PrivateMacOSX10.10.sdk/System/Library/Frameworks/IOKit.framework/Versions/A/Headers/storage/IOCDTypes.h"
Traceback (most recent call last):
File "SDKBuilder.py", line 266, in <module>
main(sys.argv[1:]);
File "SDKBuilder.py", line 253, in main
copy_internal(sdk_item_dir, args.sdk, kPrivateSDK, kVerboseLogLevel);
File "SDKBuilder.py", line 117, in copy_internal
iterate_sdk(path, template_path, sdk_path, kVerboseLogLevel)
File "SDKBuilder.py", line 107, in iterate_sdk
shutil.copy2(original_path, os.path.dirname(private_sdk_item_path));
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 130, in copy2
copyfile(src, dst)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/Users/martyleisner/src/git/PrivateSDK/PrivateSDK10.10/System/Library/Frameworks/IOKit.framework/Versions/A/PrivateHeaders/scsi-commands'
I'm also not seeing this SDK in xcode under "base sdks" (I know very little about xcode -- I'm a command line guy).
marty
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden