-
Notifications
You must be signed in to change notification settings - Fork 27
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
fix AppImageKit compilation by restoring appimage_get_elf_size() #160
Conversation
@hchunhui thanks for the contribution, but I think that this fix should go in the AppImageKit repo instead. As we moved that function in a legacy header so it may be deorecated at some point. @probonopd @TheAssassin may have some comments on this. |
|
Yes, we want Once we had: |
What's the state of this? Without this fixed it looks like AppImageKit can not use any libappimage after 4f22f90 from Jan 2019 |
The submodule is replaced with CMake FetchContent commands, which fetch the source at configure time (We need to include scripts.cmake from libappimage. ExternalProject_Add only downloads at build time). Also update libappimage version to latest (otherwise the build fails on g++11) and patch in AppImageCommunity/libappimage#160 (to allow using latest libappimage in AppImageKit. Also update squashfs-tools version to latest release (otherwise the build fails on g++11) Also related to AppImage#1165
The submodule is replaced with CMake FetchContent commands, which fetch the source at configure time (We need to include scripts.cmake from libappimage. ExternalProject_Add only downloads at build time). Also update libappimage version to latest (otherwise the build fails on g++11) and patch in AppImageCommunity/libappimage#160 (to allow using latest libappimage in AppImageKit. Also update squashfs-tools version to latest release (otherwise the build fails on g++11) Also related to AppImage#1165
The submodule is replaced with CMake FetchContent commands, which fetch the source at configure time (We need to include scripts.cmake from libappimage. ExternalProject_Add only downloads at build time). Also update libappimage version to latest (otherwise the build fails on g++11) and patch in AppImageCommunity/libappimage#160 (to allow using latest libappimage in AppImageKit. Also update squashfs-tools version to latest release (otherwise the build fails on g++11) Also related to AppImage#1165
I think we should not duplicate code within here, but instead really just move this code to AppImageKit's repository for now. Thanks anyway! |
Currently AppImageKit can not be compiled with the master branch of libappimage, the build script reports "undefined reference to
appimage_get_elf_size()
".the
runtime
of AppImageKit can only be linked withlibappimage_shared
, butappimage_get_elf_size()
is moved intolibappimage
since 4f22f90 . Restoring the function will fix the issue.