Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
autopkg run -vv android_ndk.munki -k RELEASE='r12b'
Processing android_ndk.munki...
URLTextSearcher
{'Input': {'re_pattern': u'"(https:\\/\\/dl\\.google\\.com\\/android\\/repository\\/android-ndk-r12b-darwin-x86_64.zip)"',
'url': u'https://github.com/android-ndk/ndk/wiki'}}
URLTextSearcher: No value supplied for CURL_PATH, setting default value of: /usr/bin/curl
URLTextSearcher: No value supplied for result_output_var_name, setting default value of: match
URLTextSearcher: Found matching text (match): https://dl.google.com/android/repository/android-ndk-r12b-darwin-x86_64.zip
{'Output': {'match': 'https://dl.google.com/android/repository/android-ndk-r12b-darwin-x86_64.zip'}}
URLDownloader
{'Input': {'CURL_PATH': '/usr/bin/curl',
'url': u'https://dl.google.com/android/repository/android-ndk-r12b-darwin-x86_64.zip'}}
URLDownloader: No value supplied for CHECK_FILESIZE_ONLY, setting default value of: False
URLDownloader: Item at URL is unchanged.
URLDownloader: Using existing /Users/nmcspadden/Library/AutoPkg/Cache/local.munki.android_ndk/downloads/android-ndk-r12b-darwin-x86_64.zip
{'Output': {'pathname': u'/Users/nmcspadden/Library/AutoPkg/Cache/local.munki.android_ndk/downloads/android-ndk-r12b-darwin-x86_64.zip'}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
PkgRootCreator
{'Input': {'pkgdirs': {
opt = 0755;
"opt/android_ndk" = 0755;
},
'pkgroot': u'/Users/nmcspadden/Library/AutoPkg/Cache/local.munki.android_ndk/android_ndk'}}
PkgRootCreator: Created /Users/nmcspadden/Library/AutoPkg/Cache/local.munki.android_ndk/android_ndk
PkgRootCreator: Creating opt
PkgRootCreator: Created /Users/nmcspadden/Library/AutoPkg/Cache/local.munki.android_ndk/android_ndk/opt
PkgRootCreator: Creating opt/android_ndk
PkgRootCreator: Created /Users/nmcspadden/Library/AutoPkg/Cache/local.munki.android_ndk/android_ndk/opt/android_ndk
{'Output': {}}
Unarchiver
{'Input': {'destination_path': u'/Users/nmcspadden/Library/AutoPkg/Cache/local.munki.android_ndk/android_ndk/opt/android_ndk',
'purge_destination': True}}
Unarchiver: Guessed archive format 'zip' from filename android-ndk-r12b-darwin-x86_64.zip
Unarchiver: Unarchived /Users/nmcspadden/Library/AutoPkg/Cache/local.munki.android_ndk/downloads/android-ndk-r12b-darwin-x86_64.zip to /Users/nmcspadden/Library/AutoPkg/Cache/local.munki.android_ndk/android_ndk/opt/android_ndk
{'Output': {}}
FileFinder
{'Input': {'pattern': u'/Users/nmcspadden/Library/AutoPkg/Cache/local.munki.android_ndk/android_ndk/opt/android_ndk/android-ndk-*/source.properties'}}
FileFinder: No value supplied for find_method, setting default value of: glob
FileFinder: Found file match: /Users/nmcspadden/Library/AutoPkg/Cache/local.munki.android_ndk/android_ndk/opt/android_ndk/android-ndk-r12b/source.properties
{'Output': {'found_filename': u'/Users/nmcspadden/Library/AutoPkg/Cache/local.munki.android_ndk/android_ndk/opt/android_ndk/android-ndk-r12b/source.properties'}}
AndroidNDKVersioner
{'Input': {'properties_path': u'/Users/nmcspadden/Library/AutoPkg/Cache/local.munki.android_ndk/android_ndk/opt/android_ndk/android-ndk-r12b/source.properties'}}
{'Output': {'release_num': u'r12b', 'version': ['12.1.2977051']}}
DmgCreator
{'Input': {'dmg_path': u'/Users/nmcspadden/Library/AutoPkg/Cache/local.munki.android_ndk/android_ndk-r12b.dmg',
'dmg_root': u'/Users/nmcspadden/Library/AutoPkg/Cache/local.munki.android_ndk/android_ndk',
'dmg_zlib_level': u'9'}}
DmgCreator: Created dmg from /Users/nmcspadden/Library/AutoPkg/Cache/local.munki.android_ndk/android_ndk at /Users/nmcspadden/Library/AutoPkg/Cache/local.munki.android_ndk/android_ndk-r12b.dmg
{'Output': {}}
PathDeleter
{'Input': {'path_list': (
"/Users/nmcspadden/Library/AutoPkg/Cache/local.munki.android_ndk/android_ndk"
)}}
PathDeleter: Deleted /Users/nmcspadden/Library/AutoPkg/Cache/local.munki.android_ndk/android_ndk
{'Output': {}}
MunkiPkginfoMerger
Traceback (most recent call last):
File "/usr/local/bin/autopkg", line 1662, in <module>
sys.exit(main(sys.argv))
File "/usr/local/bin/autopkg", line 1656, in main
exit(subcommands[verb]['function'](argv))
File "/usr/local/bin/autopkg", line 1461, in run_recipes
autopackager.process(recipe)
File "/Library/AutoPkg/autopkglib/__init__.py", line 457, in process
processor.inject(step.get("Arguments", dict()))
File "/Library/AutoPkg/autopkglib/__init__.py", line 280, in inject
update_data(self.env, key, value)
File "/Library/AutoPkg/autopkglib/__init__.py", line 198, in update_data
a_dict[key] = do_variable_substitution(value)
File "/Library/AutoPkg/autopkglib/__init__.py", line 194, in do_variable_substitution
item_copy[key] = do_variable_substitution(value)
File "/Library/AutoPkg/autopkglib/__init__.py", line 178, in do_variable_substitution
item = RE_KEYREF.sub(getdata, item)
TypeError: sequence item 0: expected string or Unicode, list found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.