open2: exec of lzma -c1 failed at /Users/wushiguang/theos/bin/dm.pl line 116. make: *** [internal...

make package时报错
open2: exec of lzma -c1 failed at /Users/user/theos/bin/dm.pl line 116.
make: *** [internal-package] Error 2

MacBook-Pro:tingtweak user$ make package
> Making all for tweak tingtweak…
make[2]: Nothing to be done for `internal-library-compile'.
> Making stage for tweak tingtweak…
dm.pl: building package `com.wsg.ting:iphoneos-arm' in `./packages/com.wsg.ting_0.0.1-3+debug_iphoneos-arm.deb'
open2: exec of lzma -c1 failed at /Users/user/theos/bin/dm.pl line 116.
make: *** [internal-package] Error 2

解决方法

把 /Users/xxx/theos/makefiles/package/deb.mk
用文本编辑器打开将 _THEOS_PLATFORM_DPKG_DEB_COMPRESSION ?= lzma 改成 _THEOS_PLATFORM_DPKG_DEB_COMPRESSION ?= gzip

参考https://github.com/theos/theos/issues/354

open2: exec of lzma -c1 failed at /Users/wushiguang/theos/bin/dm.pl line 116. make: *** [internal..._第1张图片
image.png

你可能感兴趣的:(open2: exec of lzma -c1 failed at /Users/wushiguang/theos/bin/dm.pl line 116. make: *** [internal...)