Closed valpogus closed 5 years ago
Thanks for the bug report! I opened https://github.com/termux/termux-create-package/pull/14 to fix it as you suggested. It does indeed fix the problem and make termux-create-package and termux-apt-repo work nice together.
Thanks to you for the fix! :)
@fornwall The version in setup.py is still 0.4 in the 0.5 and 0.6 release tarballs. Is that correct?
@valpogus Thanks, fixed now (in 0.7)! It will be available in Termux and pypi in a few minutes.
Perfect, thanks!
Packages created with the command termux-create-package cannot be added to a repo using termux-apt-repo.
Steps to repoduce:
In my opinion, the problem is in line 59:
info = tarfile.TarInfo(name="control")
should beinfo = tarfile.TarInfo(name="./control")
so that the control.tar file has the same structure as the packages compiled using build-package.sh.The problem occurs on Debian [GNU ar (GNU Binutils for Debian) 2.28] and Termux itself [GNU ar (GNU Binutils) 2.31.1].