AppImageLauncher icon indicating copy to clipboard operation
AppImageLauncher copied to clipboard

Fix #574 - Revert "Improve compatibility of binfmt-bypass with really old Docker images"

Open trinitronx opened this issue 1 year ago • 3 comments

This reverts commit c810e7070e70e735edbd4be3e8e932e4e3f1a666.

Notes:

trinitronx avatar Sep 15 '24 16:09 trinitronx

Looks okay to me. Is there an open issue which this PR solves?

TheAssassin avatar Sep 17 '24 19:09 TheAssassin

Regarding new builds, I'm still working on the CI bit, making some progress there. But I suppose since this fixes some Arch issue, AIL would be built by AUR anyway.

TheAssassin avatar Sep 17 '24 19:09 TheAssassin

Looks okay to me. Is there an open issue which this PR solves?

Yes, this should fix #574 which was a failed to build from source (FTBFS) issue on Arch Linux. (Downstream issue mentioned on AUR here)

It looks like the problem was caused by the patchelf script here and differing glibc symbol versions. I gave a bit more explanation here based on what I found.

The gist of it was that the problem was introduced in c810e70, which was to support some old CentOS 7 versions in docker (according to comments in the code & commit message). CentOS 7 is now EoL, so this hack can probably be removed, as it's causing these build issues on distros with newer GlibC.

The other thing that appears to have been fixed is #558 [^1]. After rebuilding the AUR package with this PR's changes, appimagelauncherd no longer segfaults and creates lots of coredumps with SystemD restarting it (and using lots of disk space for coredump files). Meanwhile, the current version of extra/appimagelauncher 2.2.0-10 does still segfault in this way, causing the coredump file buildup.

[^1]: I have been running my packaged version built from this PR since around September 15th, and haven't seen the segfault issue since then. I suspect that the patchelf hack had opened up the door to some undefined behavior due to potential for GlibC linkage / ABI issues.

trinitronx avatar Oct 11 '24 00:10 trinitronx

Since packaging is under rework (making progress, actually), I'd like to postpone this PR for now and reconsider it when the new build system has been merged.

TheAssassin avatar Oct 20 '24 16:10 TheAssassin

See #686 for the new build system.

TheAssassin avatar Feb 11 '25 00:02 TheAssassin

#686 has been merged.

TheAssassin avatar Feb 12 '25 15:02 TheAssassin

Hi, this patch no longer apply and is no longer needed

FabioLolix avatar Feb 15 '25 19:02 FabioLolix

@FabioLolix:

Hi, this patch no longer apply and is no longer needed

Ok, great! I'll close this due to the other changes fixing the build.

P.S.: Please see FabioLolix/PKGBUILD-AUR_fix#53 to fix one last issue with the AUR package.

trinitronx avatar Feb 19 '25 19:02 trinitronx