AppImageLauncher icon indicating copy to clipboard operation
AppImageLauncher copied to clipboard

AppImageLauncher no longer builds on Arch Linux

Open FabioLolix opened this issue 2 years ago • 16 comments

Pre-submit checks

  • [X] 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.
  • [X] 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 avatar Jun 11 '23 22:06 FabioLolix

Feel free to use upstream CPR.

TheAssassin avatar Jun 11 '23 23:06 TheAssassin

+1

MaheshNat avatar Jun 15 '23 22:06 MaheshNat

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

legremz avatar Jun 19 '23 13:06 legremz

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 avatar Jul 10 '23 11:07 TheGamerCanine

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 avatar Jul 10 '23 11:07 TheGamerCanine

+1

err0x1a avatar Aug 24 '23 22:08 err0x1a

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().

FabioLolix avatar Oct 15 '23 14:10 FabioLolix

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

ThatOneCalculator avatar Dec 24 '23 02:12 ThatOneCalculator

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

Thanks. That version worked

4amMusic avatar Feb 05 '24 21:02 4amMusic

I was also getting same issue also tried changing versions

:: Processing package changes...
(1/4) removing squashfuse                                  [################################] 100%
(2/4) removing cmake                                       [################################] 100%
(3/4) removing rhash                                       [################################] 100%
(4/4) removing cppdap                                      [################################] 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:
appimage-git - exit status 4

vivekpal1 avatar Jul 19 '24 06:07 vivekpal1