termux-packages icon indicating copy to clipboard operation
termux-packages copied to clipboard

[Bug]: NSIS Error initalizing CEXEBuild: error setting default stub

Open rc-chuah opened this issue 3 years ago • 2 comments

Problem description

Error: reading stub "/data/data/com.termux/files/usr/opt/nsis/Stubs/zlib-x86-unicode"
Error initalizing CEXEBuild: error setting default stub

What steps will reproduce the bug?

makensis

What is the expected behavior?

It Should Run Properly.

System information

termux-info:

Termux Variables:
unsupported
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb http://mirror.mephi.ru/termux/termux-main stable main
# root-repo (sources.list.d/root.list)
deb http://mirror.mephi.ru/termux/termux-root root stable
# sources.list.d/termuxblack.list
deb [trusted=yes] https://hax4us.github.io/TermuxBlack/ termuxblack main
# sources.list.d/rendiix.list
deb https://rendiix.github.io android-tools termux
# x11-repo (sources.list.d/x11.list)
deb http://mirror.mephi.ru/termux/termux-x11 x11 main
# sources.list.d/pointless.list
deb https://its-pointless.github.io/files/24 termux extras
# sources.list.d/abhacker.repo.list
deb [arch=all,aarch64] https://abhackerofficial.github.io/abhacker.repo/ abhacker main
# sources.list.d/kuburan.list
deb [arch=all,aarch64] https://kuburan.github.io/files/ termux external
# sources.list.d/knight-repo.list
deb [arch=aarch64] https://cyberknight777.gitlab.io/knight-repo/ knight main
Updatable packages:
All packages up to date
termux-tools version:
1.31.0
Android version:
11
Kernel build information:
Linux localhost 4.14.190-22524370-abA715FXXU8BVA2 #1 SMP PREEMPT Thu Jan 6 17:30:49 KST 2022 aarch64 Android
Device manufacturer:
samsung
Device model:
SM-A715F

rc-chuah avatar Nov 13 '22 08:11 rc-chuah

This is because we do not build stubs when packaging nsis:

https://github.com/termux/termux-packages/blob/c4bfa3a91a9e1be2d2042a7bf37a3a289d858ae4/packages/nsis/build.sh#L20

A workaround is to obtain the stubs from somewhere in the wild. I suppose you can also build them yourself on device now that we have MinGW-w64 toolchain available in Termux.

xtkoba avatar Nov 13 '22 10:11 xtkoba