-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Created Packages are Broken #18
Comments
How did you create the package/where is it from? |
Well, the program is built by me from http://traceroute.sourceforge.net, but the manifest is as follows: {
"name": "traceroute",
"version": "2.1.0",
"description": "a modern implementation of the traceroute utility",
"homepage": "http://traceroute.sourceforge.net/",
"arch": "aarch64",
"maintainer": "JacobTDC",
"conflicts": ["tracepath"],
"files": {
"./source/traceroute/traceroute": "bin/traceroute",
"./manpages/traceroute.8.gz": "share/man/man8/traceroute.8.gz"
}
} The only change I made to the downloaded source is removing |
On which system did you build and package it? Termux? Mac? Windows? GNU/Linux? |
I built and packaged it in Termux.
|
However, I can install it like so:
|
I'm experiencing the same issue. As a quick workaround, I've been unpacking the faulty .deb and then repacking it with It looks like there's an issue with the way A cursory comparison of the faulty control.tar.xz and working repacked control.tat.xz is as follows:
It's a similar story with data.tar.xz. |
UpdateThis issue should be fixed now with pull #21. After a little bit digging, I found that the error produced is because of the tar format generated by the tool is incompatible with According to this similar issue from another repository (I've translated the reply, thanks to Google Translate 😄 ):
And also the Python docs says (tarfile.DEFAULT_FORMAT):
The default generated tarfile format was changed to PAX which is incompatible with So to fix that, you need to change the lines that creates the
Totally unrelated, but... regarding to my opened issue: #20. The default behavior of the tool will only target individual files. That is problematic for large number of files, i.e, you'll have to manually map each files to their destination path. So if you want to just include an entire directory and recursively add all its contents, you can change the line:
Example package structure:
Include the directory
When built and installed will result to this:
|
I observe this issue when I build packages on Arch Linux. |
There v0.10 already. https://github.com/termux/termux-create-package/releases/tag/v0.10 |
Dear @xeffyr,
But after installation, the version 0.7 is displayed, despite the fact that it is actually 0.10 |
Ah, ok I will fix setup.py. But about publishing on PyPI thats question probably to @fornwall as I do not manage its releases. |
Thank you again! |
Attempting to install the package using either
apt install
ordpkg --install
results in an error.The text was updated successfully, but these errors were encountered: