While trying binary-pkg for Sage 7.2 on OS X 10.7 (due to be upgraded to new computer within a week, so wanted to provide last binaries from that), apparently the tar and non-app dmg were created, but the app failed with the following. Any ideas? (Later today or tomorrow I can provide these for upload to mirrors, but not if I don't have the app version. I'll note I rarely had trouble creating bdist with the sage-bdist script...)
total size is 2610034433 speedup is 1.00
test -d sage-7.2-OSX_10.7.5_x86_64/
SageMath-7.2.app/Contents/Resources/sage && touch sage-7.2-OSX_10.7.5_x86_64/
SageMath-7.2.app/Contents/Resources/sagerm -f sage-7.2-OSX_10.7.5_x86_64/
SageMath-7.2.app/sageln -s Contents/Resources/sage/sage sage-7.2-OSX_10.7.5_x86_64/
SageMath-7.2.app/sagecp /Users/karl.crisman/Downloads/binary-pkg/staging/OSX_mac_app/SageMath/src/bin/sage-README-osx.txt sage-7.2-OSX_10.7.5_x86_64/README.txt
rm -f sage-7.2-OSX_10.7.5_x86_64/.DS_Store
tools/createDSStore/createDSStore.py sage-7.2-OSX_10.7.5_x86_64 sage-7.2-OSX_10.7.5_x86_64
SageMath-7.2.appTraceback (most recent call last):
File "tools/createDSStore/createDSStore.py", line 146, in <module>
app_name = sys.argv[3])
File "tools/createDSStore/createDSStore.py", line 123, in createDSStore
with ds_store.DSStore.open(filePath, 'w+') as d:
File "/Users/karl.crisman/Downloads/binary-pkg/staging/OSX_mac_app/SageMath/src/mac-app/tools/createDSStore/ds_store/store.py", line 269, in open
store = buddy.Allocator.open (file_or_name, mode)
File "/Users/karl.crisman/Downloads/binary-pkg/staging/OSX_mac_app/SageMath/src/mac-app/tools/createDSStore/ds_store/buddy.py", line 221, in open
return Allocator (f)
File "/Users/karl.crisman/Downloads/binary-pkg/staging/OSX_mac_app/SageMath/src/mac-app/tools/createDSStore/ds_store/buddy.py", line 136, in __init__
count, self._unknown2 = self._root.read('>II')
File "/Users/karl.crisman/Downloads/binary-pkg/staging/OSX_mac_app/SageMath/src/mac-app/tools/createDSStore/ds_store/buddy.py", line 76, in read
return struct.unpack (size_or_format, data)
struct.error: unpack requires a string argument of length 8
make[2]: *** [sage-7.2-OSX_10.7.5_x86_64/.DS_Store] Error 1
cp: SageMath/src/mac-app/sage-7.2-*.app.dmg: No such file or directory
ERROR:root:Script failed:
ERROR:root:DMG=/Users/karl.crisman/Downloads/binary-pkg/dist/sage-7.2-OSX_10.7.5-x86_64.app.dmg
rm -f $DMG
pwd
(cd SageMath/src/mac-app && make)
cp SageMath/src/mac-app/sage-7.2-*.app.dmg $DMG
Traceback (most recent call last):
File "/Users/karl.crisman/Downloads/binary-pkg/tools/binary-pkg/lib/python3.4/runpy.py", line 170, in _run_module_as_main
"__main__", mod_spec)
File "/Users/karl.crisman/Downloads/binary-pkg/tools/binary-pkg/lib/python3.4/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/Users/karl.crisman/Downloads/binary-pkg/binary_pkg/cmdline.py", line 78, in <module>
launch()
File "/Users/karl.crisman/Downloads/binary-pkg/binary_pkg/cmdline.py", line 74, in launch
package.dist_script.run()
File "/Users/karl.crisman/Downloads/binary-pkg/binary_pkg/bash_script.py", line 37, in run
['bash', self._filename], cwd=self._cwd, env=self.env())
File "/Users/karl.crisman/Downloads/binary-pkg/tools/binary-pkg/lib/python3.4/subprocess.py", line 561, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['bash', '/Users/karl.crisman/Downloads/binary-pkg/tmp/SageMath/tmp976sv49f.sh']' returned non-zero exit status 1
make[1]: *** [dist-sage] Error 1
make: *** [bdist-sage-osx] Error 2