-
-
Notifications
You must be signed in to change notification settings - Fork 568
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
Add a compilation fix for mksquashfs #952
Conversation
Are you absolutely sure there's no compiler flag or anything so we really need a patch? JFYI, building AppImages on Arch Linux is a bad idea, see https://docs.appimage.org/introduction/concepts.html#build-on-old-systems-run-on-newer-systems. |
@jpcima are there specific reasons you want to build AppImageKit yourself rather than using the tested binaries that we provide? |
I know for a fact that Arch Linux patches the package squashfs-tools with the indicated header. This is from my terminal some minutes ago, not in english, sorry about this detail.
I try to get acquainted with the toolset for the first time.
None, I had not noticied that such existed. |
Please use our binaries if possible. They get built on CentOS 6 specifically to be compatible with a wide range of distributions. There is usually no need to compile AppImageKit unless you want to develop it. Also, if you want to make an AppImage, then please use the oldest still-supported LTS distribution (e.g., Ubuntu xenial) so that the resulting AppImage will be able to run on more than just the latest bleeding-edge systems. |
We can still merge this PR to allow for building the software on newer distros, mainly for development purposes. |
I am hesitant with such patches that change something which I don't understand. Currently it is working for us but merging this now adds a chance of breaking something. Hence it's a possible pain with no gain. The situation may change if we ever want to build on anything else than CentOS 6, which I don't foresee anytime soon. Let's reconsider then. |
As you want, in this case I'll close here, and I take over Arch package maintainership to include this fix. |
There is no "AppImage" for AppImageKit (14.04 compiled version). Maybe my google-fu is low to find AppImageKit and bypass compilation. |
The src/mksquashfs-build-fix.patch not presented in master branch!!!! |
https://github.com/AppImage/AppImageKit/releases/tag/continuous |
Error after PR:
|
Hi. I add a patch to permit build on a distribution where
mksquashfs
fails. (Arch Linux)Without a particular header included, the macros
major
andminor
are not present.