Appimage Launcher Build Issue - AUR

So I have App Image Launcher installed without issue on my EOS KDE install on my 2014 MacMini. Tried on my 2021 Samsung laptop and the install fails. Pertinent info…

[ 50%] Building C object lib/AppImageUpdate/lib/zsync2/lib/libzsync/CMakeFiles/libzsync.dir/zsync.c.o
/home/wombat/.cache/yay/appimagelauncher/src/AppImageLauncher/lib/AppImageUpdate/lib/zsync2/lib/libzsync/zsync.c: In function ‘parse_822’:
/home/wombat/.cache/yay/appimagelauncher/src/AppImageLauncher/lib/AppImageUpdate/lib/zsync2/lib/libzsync/zsync.c:382:9: error: implicit declaration of function ‘strptime’; did you mean ‘strftime’? [-Wimplicit-function-declaration]
  382 |     if (strptime(ts, "%a, %d %b %Y %H:%M:%S %z", &t) == NULL
      |         ^~~~~~~~
      |         strftime
/home/wombat/.cache/yay/appimagelauncher/src/AppImageLauncher/lib/AppImageUpdate/lib/zsync2/lib/libzsync/zsync.c:382:54: warning: comparison between pointer and integer
  382 |     if (strptime(ts, "%a, %d %b %Y %H:%M:%S %z", &t) == NULL
      |                                                      ^~
/home/wombat/.cache/yay/appimagelauncher/src/AppImageLauncher/lib/AppImageUpdate/lib/zsync2/lib/libzsync/zsync.c:383:53: warning: comparison between pointer and integer
  383 |         && strptime(ts, "%d %b %Y %H:%M:%S %z", &t) == NULL) {
      |                                                     ^~
/home/wombat/.cache/yay/appimagelauncher/src/AppImageLauncher/lib/AppImageUpdate/lib/zsync2/lib/libzsync/zsync.c: In function ‘zsync_get_urls’:
/home/wombat/.cache/yay/appimagelauncher/src/AppImageLauncher/lib/AppImageUpdate/lib/zsync2/lib/libzsync/zsync.c:460:18: error: returning ‘char **’ from a function with incompatible return type ‘const char * const*’ [-Wincompatible-pointer-types]
  460 |         return zs->zurl;
      |                ~~^~~~~~
/home/wombat/.cache/yay/appimagelauncher/src/AppImageLauncher/lib/AppImageUpdate/lib/zsync2/lib/libzsync/zsync.c:465:18: error: returning ‘char **’ from a function with incompatible return type ‘const char * const*’ [-Wincompatible-pointer-types]
  465 |         return zs->url;
      |                ~~^~~~~
/home/wombat/.cache/yay/appimagelauncher/src/AppImageLauncher/lib/AppImageUpdate/lib/zsync2/lib/libzsync/zsync.c: In function ‘zsync_receive_data_compressed’:
/home/wombat/.cache/yay/appimagelauncher/src/AppImageLauncher/lib/AppImageUpdate/lib/zsync2/lib/libzsync/zsync.c:945:22: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  945 |     zr->strm.next_in = buf;
      |                      ^
/home/wombat/.cache/yay/appimagelauncher/src/AppImageLauncher/lib/AppImageUpdate/lib/zsync2/lib/libzsync/zsync.c:950:43: error: passing argument 4 of ‘zsync_configure_zstream_for_zdata’ from incompatible pointer type [-Wincompatible-pointer-types]
  950 |                                           &(zr->outoffset));
      |                                           ^~~~~~~~~~~~~~~~
      |                                           |
      |                                           off_t * {aka long int *}
/home/wombat/.cache/yay/appimagelauncher/src/AppImageLauncher/lib/AppImageUpdate/lib/zsync2/lib/libzsync/zsync.c:791:65: note: expected ‘long long int *’ but argument is of type ‘off_t *’ {aka ‘long int *’}
  791 |                                        long zoffset, long long *poutoffset) {
      |                                                      ~~~~~~~~~~~^~~~~~~~~~
/home/wombat/.cache/yay/appimagelauncher/src/AppImageLauncher/lib/AppImageUpdate/lib/zsync2/lib/libzsync/zsync.c:962:26: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  962 |         zr->strm.next_in = buf;
      |                          ^
make[3]: *** [lib/AppImageUpdate/lib/zsync2/lib/libzsync/CMakeFiles/libzsync.dir/build.make:76: lib/AppImageUpdate/lib/zsync2/lib/libzsync/CMakeFiles/libzsync.dir/zsync.c.o] Error 1
make[2]: *** [CMakeFiles/Makefile2:769: lib/AppImageUpdate/lib/zsync2/lib/libzsync/CMakeFiles/libzsync.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:1132: lib/AppImageUpdate/src/CMakeFiles/libappimageupdate.dir/rule] Error 2
make: *** [Makefile:397: libappimageupdate] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: appimagelauncher-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
appimagelauncher - exit status 4
[wombat@eoscinnamon ~]$ 

What Manual intervention am I missing. And why is there no issue installing on another PC?

The thing about building packages is that, sometimes, mistakes are made by the maintainer. So, you may have it running in one place, but can’t build it in another.

Sometimes it’s literally just the wrong character in the wrong place.

One second, let me see what I can find doing a web search.

And there you go.

So, in this case, it’s not the AUR maintainer, but the creator of the package (upstream) who’s causing trouble.

There are more comments on the AUR page: https://aur.archlinux.org/packages/appimagelauncher

Possible solution: Manually build an older version of the package for now

https://aur.archlinux.org/cgit/aur.git/log/?h=appimagelauncher

3 Likes

Awesome. Much appreciated. Thanks for digging into this!

1 Like

You should be able to build it now and have the latest version:

Just updated and my Appimages still work just fine.