Skip to content
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

AppImageLauncher no longer builds on Arch Linux #574

Open
2 tasks done
FabioLolix opened this issue Jun 11, 2023 · 9 comments
Open
2 tasks done

AppImageLauncher no longer builds on Arch Linux #574

FabioLolix opened this issue Jun 11, 2023 · 9 comments
Labels
bug Something isn't working needs verification Description of the issue needs to be verified by the team

Comments

@FabioLolix
Copy link

Pre-submit checks

  • I checked for similar issues beforehand, but could not find any, not even closed ones. I could not add my bug report to any existing issue.
  • I am going to take the time to to fill in all the required details. I know that the bug report will be dismissed otherwise.

Describe the bug

Hello, AUR appimagelauncher-git pkgbuild maintainer here, the program no longer build from the latest commit
This is using system's libappimage at v1.0.4.5, I've started to work on a pkgbuild that bundle libappimage but it have other issues

btw the cpr fork as submodule used is 4+ years and 902 commits behind upstream https://github.com/AppImageCommunity/cpr

[ 34%] Automatic MOC and UIC for target translationmanager
patching ELF file 'libbinfmt-bypass-preload.so'
clearing symbol version for dlsym
writing libbinfmt-bypass-preload.so
patching ELF file 'libbinfmt-bypass-preload_32bit.so'
clearing symbol version for dlsym
writing libbinfmt-bypass-preload_32bit.so
[ 34%] Built target translationmanager_autogen
Error: found symbol version markers newer than 2.4:
                 w _ITM_deregisterTMCloneTable
                 w _ITM_registerTMCloneTable
                 w __cxa_finalize@GLIBC_2.2.5
                 U __errno_location@GLIBC_2.2.5
                 w __gmon_start__
                 U __stack_chk_fail@GLIBC_2.4
                 U __vfprintf_chk@GLIBC_2.3.4
                 U calloc@GLIBC_2.2.5
                 U dlsym
                 U exit@GLIBC_2.2.5
                 U free@GLIBC_2.2.5
                 U getenv@GLIBC_2.2.5
                 U malloc@GLIBC_2.2.5
                 U memcpy@GLIBC_2.14
                 U stderr@GLIBC_2.2.5
                 U strdup@GLIBC_2.2.5
                 U strerror@GLIBC_2.2.5
                 U strlen@GLIBC_2.2.5
                 U strncmp@GLIBC_2.2.5
                 U strncpy@GLIBC_2.2.5
                 U unsetenv@GLIBC_2.2.5
make[2]: *** [src/binfmt-bypass/CMakeFiles/binfmt-bypass-preload.dir/build.make:114: src/binfmt-bypass/libbinfmt-bypass-preload.so] Error 1
make[2]: *** Deleting file 'src/binfmt-bypass/libbinfmt-bypass-preload.so'
make[1]: *** [CMakeFiles/Makefile2:1850: src/binfmt-bypass/CMakeFiles/binfmt-bypass-preload.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 36%] Linking C static library libzsync.a
[ 36%] Built target binfmt-bypass-preload_32bit
[ 37%] Linking CXX static library hashlib.a

and

[ 37%] Linking CXX static library ../../../../../../libcpr.a
[ 37%] Built target cpr
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().

build() function log appimagelauncher-git-r1251.71e8e32-1-x86_64-build.log

Expected behavior

Package build fine

Steps to reproduce the issue

sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/appimagelauncher-git.git
cd appimagelauncher-git
makepkg -s

Screenshots

No response

Distribution and desktop environment

Arch Linux
Cinnamon 5.8.1
Kernel 6.1.33
GCC 13.1.1
Glibc 2.37
Qt5 5.15.9+kde+r155

Installed AppImageLauncher version

N/A

List of AppImages you tried

No response

Additional context

No response

@FabioLolix FabioLolix added bug Something isn't working needs verification Description of the issue needs to be verified by the team labels Jun 11, 2023
@TheAssassin
Copy link
Owner

Feel free to use upstream CPR.

@MaheshNat
Copy link

+1

@legremz
Copy link

legremz commented Jun 19, 2023

Hi, i have a similar problem. I'm on Arch too using AUR.

[ 76%] Linking CXX shared library libbinfmt-bypass-preload.so
patching ELF file 'libbinfmt-bypass-preload.so'
clearing symbol version for dlsym
writing libbinfmt-bypass-preload.so
Error: found symbol version markers newer than 2.4:
                 U calloc@GLIBC_2.2.5
                 w __cxa_finalize@GLIBC_2.2.5
                 U dlsym
                 U __errno_location@GLIBC_2.2.5
                 U exit@GLIBC_2.2.5
                 U free@GLIBC_2.2.5
                 U getenv@GLIBC_2.2.5
                 w __gmon_start__
                 w _ITM_deregisterTMCloneTable
                 w _ITM_registerTMCloneTable
                 U malloc@GLIBC_2.2.5
                 U memcpy@GLIBC_2.14
                 U __stack_chk_fail@GLIBC_2.4
                 U stderr@GLIBC_2.2.5
                 U strdup@GLIBC_2.2.5
                 U strerror@GLIBC_2.2.5
                 U strlen@GLIBC_2.2.5
                 U strncmp@GLIBC_2.2.5
                 U strncpy@GLIBC_2.2.5
                 U unsetenv@GLIBC_2.2.5
                 U __vfprintf_chk@GLIBC_2.3.4
make[2]: *** [src/binfmt-bypass/CMakeFiles/binfmt-bypass-preload.dir/build.make:114: src/binfmt-bypass/libbinfmt-bypass-preload.so] Error 1
make[2]: *** Deleting file 'src/binfmt-bypass/libbinfmt-bypass-preload.so'
make[1]: *** [CMakeFiles/Makefile2:1850: src/binfmt-bypass/CMakeFiles/binfmt-bypass-preload.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
:: Unable to build appimagelauncher-git - makepkg exited with code: 4

Arch Linux x86_64
Kernel 6.3.8-arch1-1
GNOME 44.2
gcc version 13.1.1 20230429

@TheGamerCanine
Copy link

TheGamerCanine commented Jul 10, 2023

I can vouch that I'm running into the same issue with a nearly identical error.

[ 76%] Linking CXX shared library libbinfmt-bypass-preload.so
/home/gamerdog/.cache/yay/appimagelauncher-git/src/AppImageLauncher/src/binfmt-bypass/fix-preload-library.sh: line 26: patchelf: command not found
make[2]: *** [src/binfmt-bypass/CMakeFiles/binfmt-bypass-preload.dir/build.make:114: src/binfmt-bypass/libbinfmt-bypass-preload.so] Error 127
make[2]: *** Deleting file 'src/binfmt-bypass/libbinfmt-bypass-preload.so'
make[1]: *** [CMakeFiles/Makefile2:1850: src/binfmt-bypass/CMakeFiles/binfmt-bypass-preload.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: appimagelauncher-git-exit status 4
checking dependencies...

Packages (8) jsoncpp-1.9.5-2  rhash-1.4.3-1  vim-runtime-9.0.1676-1
             boost-1.81.0-7  chrpath-0.16-4  cmake-3.26.4-1  gvim-9.0.1676-1
             qt5-tools-5.15.10+kde+r3-1

Total Removed Size:  298.10 MiB

:: Do you want to remove these packages? [Y/n] 
:: Processing package changes...
(1/8) removing cmake                               [######################] 100%
(2/8) removing rhash                               [######################] 100%
(3/8) removing jsoncpp                             [######################] 100%
(4/8) removing gvim                                [######################] 100%
(5/8) removing vim-runtime                         [######################] 100%
(6/8) removing chrpath                             [######################] 100%
(7/8) removing qt5-tools                           [######################] 100%
(8/8) removing boost                               [######################] 100%
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Updating the MIME type database...
(3/4) Updating icon theme caches...
(4/4) Updating the desktop file MIME type cache...
 -> Failed to install the following packages. Manual intervention is required:
appimagelauncher-git - exit status 4
Arch Linux x86_64
Kernel 6.4.2-arch1-1
GNOME 44.3

@TheGamerCanine
Copy link

I should mention that this problem went away by downloading appimagelauncher by itself from the AUR instead of the appimagelauncher-git package, seems to fix the problem entirely.

@lvisb
Copy link

lvisb commented Aug 24, 2023

+1

@FabioLolix
Copy link
Author

I should mention that this problem went away by downloading appimagelauncher by itself from the AUR instead of the appimagelauncher-git package, seems to fix the problem entirely.

@TheGamerCanine that is an older version, I try VCS build to catch this kind of problems before the next release come out


Feel free to use upstream CPR.

Trying v1.10.5 fail with

-- CXX standard of parent project: 11
CMake Error at lib/AppImageUpdate/lib/zsync2/lib/cpr/CMakeLists.txt:27 (message):
  cpr 1.10.5 does not support 11.  Please use cpr <= 1.9.x

-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().

Trying v1.9.7 fail with

-- Configuring done (30.9s)
CMake Error: The inter-target dependency graph contains the following strongly connected component (cycle):
  "translationmanager" of type SHARED_LIBRARY
    depends on "shared" (weak)
    depends on "trashbin" (weak)
    depends on "translationmanager_autogen" (strong)
  "translationmanager_autogen" of type UTILITY
    depends on "shared" (strong)
  "trashbin" of type STATIC_LIBRARY
    depends on "shared" (weak)
    depends on "translationmanager" (weak)
  "shared" of type STATIC_LIBRARY
    depends on "translationmanager" (weak)
    depends on "trashbin" (weak)
    depends on "shared_autogen" (strong)
  "shared_autogen" of type UTILITY
    depends on "translationmanager" (strong)
At least one of these targets is not a STATIC_LIBRARY.  Cyclic dependencies are allowed only among static libraries.
CMake Generate step failed.  Build files cannot be regenerated correctly.
==> ERROR: A failure occurred in build().

@ThatOneCalculator
Copy link

Interestingly, I was able to get it to work with the appimagelauncher AUR package v2.2.0-6

@4amMusic
Copy link

4amMusic commented Feb 5, 2024

Interestingly, I was able to get it to work with the appimagelauncher AUR package v2.2.0-6

Thanks. That version worked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs verification Description of the issue needs to be verified by the team
Projects
None yet
Development

No branches or pull requests

8 participants