-
Notifications
You must be signed in to change notification settings - Fork 293
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
AUR packaging issue #82
Comments
Could be easily solved by having the version be part of the file name. Having said this, I would actually prefer a real source package instead of the binary one. Is there a reason for this? Usually you see the packages build from binaries only for closed source software or in some cases for software that would require a lot of time to recompile. |
I don't maintain the AUR packages anymore, packaging issues should be addressed with the packager by leaving a comment against the package itself so I'm closing this issue based on that. As to the distribution of binaries, as I indicated to the AUR packager in issue #25, I generally prefer distributing binaries over building from source for the following reasons: a. From time to time, I may have to patch libraries which isn't something that is easily handled when building from source. For example, a few versions of terminix needed to be built against a patched version of GtkD to fix some memory issues. Since D is a relatively uncommon choice for GTK apps, I like to leave myself the flexibility to do this. b. As per A, the D toolchain isn't common like gcc so building from source means installing packages the user isn't likely to have. Not a huge deal, but I'm sure some users would start wondering why they have a .dub directory in home after doing the build. Additionally, some distros don't even have packages for all of the dependencies required, most notably dub, so binaries are the only option. I just did a quick check of my own package list and I don't have a single -bin package on my system so I'm not too sure how common this actually is. I have a lot of AUR packages that are built from binaries including chrome, wps-office and visual-studio-code. The last one, visual-studio-code, is built from a binary as far as I can tell but source is available yet the packager opts not to do this. |
Regarding the -bin naming: I have seen this frequently, but only for packages where there was a choice between a source and a binary based package. I think the current naming is fine for this case. |
The issue here is that you don't include the version in the provided filename (terminix.zip). |
The version is in the path to the file.
|
Yes, but the path to the file isn't downloaded to user system. |
I may have misunderstood something, but it seems the problem is pacaur caches files while building a different version (i.e. a different PKGBUILD). I think the correct fix should be for pacaur to check that the pkgver changed and not to mix files. |
I just pushed a modified PKGBUILD that should workaround this issue. It downloads the file with a different name including the version number. Please, add a comment to AUR if the problem persists. |
I disagree. The |
I agree with @carlwgeorge. Although there are many packages which contain binary, the preferred way (and the basic idea behind AUR) is to build packages from source. Exceptions can be compilation takes to much time, requires too much dependency, etc. It might be true in this case, but if there is a way to build it on user machines, then it should be the preferred way. That being said, you can still provide a |
I noticed today an issue when installing an update to Terminix just a few hours after initially installing Terminix both with Pacaur. Since the update happened is close temporal proximity to the initial install, the build files were still in pacaur-tmp, and Terminix reported that the validity check failed. I was forced to delete the previous terminix build files out of tmp before the update would install.
The pacaur dev said this:
rmarquis/pacaur#420 (comment)
The text was updated successfully, but these errors were encountered: