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

Error when installing from source on Arch Linux #110

Closed
makew0rld opened this issue Dec 30, 2018 · 4 comments
Closed

Error when installing from source on Arch Linux #110

makew0rld opened this issue Dec 30, 2018 · 4 comments

Comments

@makew0rld
Copy link

Here's the compiling error I get when installing on Arch Linux. makeworld is the username on my system, and yay is the AUR installer I used, so you can ignore that part in the log below.

/home/makeworld/.cache/yay/appimagelauncher-git/src/AppImageLauncher/lib/AppImageUpdate/lib/zsync2/lib/cpr/cpr/error.cpp: In static member function ‘static cpr::ErrorCode cpr::Error::getErrorCodeForCurlError(int32_t)’:
/home/makeworld/.cache/yay/appimagelauncher-git/src/AppImageLauncher/lib/AppImageUpdate/lib/zsync2/lib/cpr/cpr/error.cpp:41:9: error: duplicate case value
         case CURLE_SSL_CACERT:
         ^~~~
/home/makeworld/.cache/yay/appimagelauncher-git/src/AppImageLauncher/lib/AppImageUpdate/lib/zsync2/lib/cpr/cpr/error.cpp:25:9: note: previously used here
         case CURLE_PEER_FAILED_VERIFICATION:
         ^~~~
make[2]: *** [lib/AppImageUpdate/lib/zsync2/lib/cpr/cpr/CMakeFiles/cpr.dir/build.make:115: lib/AppImageUpdate/lib/zsync2/lib/cpr/cpr/CMakeFiles/cpr.dir/error.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2459: lib/AppImageUpdate/lib/zsync2/lib/cpr/cpr/CMakeFiles/cpr.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
Error making: appimagelauncher-git

You can view the AUR package here. The PKGBUILD (file used to install it) is here. The offending section of that PKGBUILD that led to the error is repeated below:

cmake . -DCMAKE_INSTALL_PREFIX:PATH=/usr/ -DCMAKE_INSTALL_LIBDIR=/usr/lib
make

The log seems to suggest the error lies with zsync2.

@TheAssassin
Copy link
Owner

It seems curl broke backwards compatibility in some way, and our C++ wrapper hasn't been updated in over a year and starts to make problems on more recent operating systems, including Arch etc.

As you correctly found out, the problem lies within zsync2, and there's an open issue for which you might want to subscribe: AppImageCommunity/zsync2#30

@makew0rld
Copy link
Author

That's too bad, because it leaves Arch with no AppImage integration. I'm glad you're aware of it, though. I'll subscribe.

@TheAssassin
Copy link
Owner

@makeworld-the-better-one the goal is to soon replace the HTTP backend of zsync2 and fix the issues that way.

@TheAssassin
Copy link
Owner

This specific issue should be fixed. We still plan to replace the HTTP backend eventually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants