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

image.png
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容