Package Details: airdcpp-webclient-git r3043.6dd17de5-1

Git Clone URL: https://aur.archlinux.org/airdcpp-webclient-git.git (read-only, click to copy)
Package Base: airdcpp-webclient-git
Description: A peer-to-peer file sharing client with web user interface.
Upstream URL: https://airdcpp-web.github.io
Licenses: GPL
Submitter: qwertzdenek
Maintainer: pepsi
Last Packager: qwertzdenek
Votes: 0
Popularity: 0.000000
First Submitted: 2017-03-12 23:56 (UTC)
Last Updated: 2018-05-27 08:49 (UTC)

Latest Comments

void09 commented on 2020-01-21 03:40 (UTC)

Does not compile. According to the comment on the other PKGBUILD on aur: "I've switched the package back to websocketpp-git-dev again as it no longer builds with websocketpp 0.8.1."

Please fix or delete. thanks.

FreddieChopin commented on 2018-05-11 16:01 (UTC)

libmaxminddb has to be added to Dependencies, otherwise the build fails early during CMake configuration phase.

qwertzdenek commented on 2017-10-27 08:23 (UTC)

Switched back to OpenSSL 1.0 and works again.

Pauligrinder commented on 2017-05-09 07:17 (UTC) (edited on 2017-05-09 08:46 (UTC) by Pauligrinder)

Got it to build on my desktop machine! First I had to build websocketpp with this fix: https://github.com/LocutusOfBorg/websocketpp/commit/1dd07113f2a7489444a8990a95be42e035f8e9df and then in the PKGBUILD I changed source=('git+https://github.com/airdcpp-web/airdcpp-webclient.git' into source=('git+https://github.com/airdcpp-web/airdcpp-webclient.git#branch=develop' Then it worked. For the armv7h build (Raspberry Pi) I also had to comment out all the lib64-lines from package() to prevent it from failing when it's trying to move files from lib64-> lib. (lib64 doesn't get created in this case)

Pauligrinder commented on 2017-05-04 08:38 (UTC) (edited on 2017-05-05 09:53 (UTC) by Pauligrinder)

Build fails at CryptoManager.cpp, I think it is a result of openssl updating from 1.0 to 1.1. Maybe using the legacy package openssl-1.0 instead of openssl as dependency would solve this? (it would require some header changes, include <openssl/*> -> include <openssl-1.0/openssl/*>, too ...) UPDATE: I tried to build this using the legacy openssl-1.0, and the building of airdcpp.so finished succesfully... But then it started building the webapi which caused a million boost-related errors. So I'm giving up for now. UPDATE 2: Another thing that partially worked was changing the git url to use the develop-branch of airdcpp-webclient. But the build still failed for the webapi because of some websocketpp stuff. Here's the initial error: /home/alarm/airdcpp-webclient-git/src/airdcpp-webclient/airdcpp-core/airdcpp/CryptoManager.cpp: In destructor 'virtual dcpp::CryptoManager::~CryptoManager()': /home/alarm/airdcpp-webclient-git/src/airdcpp-webclient/airdcpp-core/airdcpp/CryptoManager.cpp:149:2: warning: 'void ERR_remove_thread_state(void*)' is deprecated [-Wdeprecated-declarations] ERR_remove_thread_state(NULL); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/ct.h:13:0, from /usr/include/openssl/ssl.h:61, from /home/alarm/airdcpp-webclient-git/src/airdcpp-webclient/airdcpp-core/airdcpp/SSL.h:25, from /home/alarm/airdcpp-webclient-git/src/airdcpp-webclient/airdcpp-core/airdcpp/CryptoManager.h:25, from /home/alarm/airdcpp-webclient-git/src/airdcpp-webclient/airdcpp-core/airdcpp/CryptoManager.cpp:20: /usr/include/openssl/err.h:246:1: note: declared here DEPRECATEDIN_1_1_0(void ERR_remove_thread_state(void *)) ^ /home/alarm/airdcpp-webclient-git/src/airdcpp-webclient/airdcpp-core/airdcpp/CryptoManager.cpp:149:30: warning: 'void ERR_remove_thread_state(void*)' is deprecated [-Wdeprecated-declarations] ERR_remove_thread_state(NULL); ^ In file included from /usr/include/openssl/ct.h:13:0, from /usr/include/openssl/ssl.h:61, from /home/alarm/airdcpp-webclient-git/src/airdcpp-webclient/airdcpp-core/airdcpp/SSL.h:25, from /home/alarm/airdcpp-webclient-git/src/airdcpp-webclient/airdcpp-core/airdcpp/CryptoManager.h:25, from /home/alarm/airdcpp-webclient-git/src/airdcpp-webclient/airdcpp-core/airdcpp/CryptoManager.cpp:20: /usr/include/openssl/err.h:246:1: note: declared here DEPRECATEDIN_1_1_0(void ERR_remove_thread_state(void *)) ^ /home/alarm/airdcpp-webclient-git/src/airdcpp-webclient/airdcpp-core/airdcpp/CryptoManager.cpp: In member function 'DH* dcpp::CryptoManager::getTmpDH(int)': /home/alarm/airdcpp-webclient-git/src/airdcpp-webclient/airdcpp-core/airdcpp/CryptoManager.cpp:312:8: error: invalid use of incomplete type 'DH {aka struct dh_st}' tmpDH->p = BN_bin2bn(dh2048_p, sizeof(dh2048_p), 0); ^~ In file included from /usr/include/openssl/crypto.h:31:0, from /usr/include/openssl/comp.h:16, from /usr/include/openssl/ssl.h:47, from /home/alarm/airdcpp-webclient-git/src/airdcpp-webclient/airdcpp-core/airdcpp/SSL.h:25, from /home/alarm/airdcpp-webclient-git/src/airdcpp-webclient/airdcpp-core/airdcpp/CryptoManager.h:25, from /home/alarm/airdcpp-webclient-git/src/airdcpp-webclient/airdcpp-core/airdcpp/CryptoManager.cpp:20: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}' typedef struct dh_st DH; ^~~~~ /home/alarm/airdcpp-webclient-git/src/airdcpp-webclient/airdcpp-core/airdcpp/CryptoManager.cpp:362:8: error: invalid use of incomplete type 'DH {aka struct dh_st}' tmpDH->p = BN_bin2bn(dh4096_p, sizeof(dh4096_p), 0); ^~ In file included from /usr/include/openssl/crypto.h:31:0, from /usr/include/openssl/comp.h:16, from /usr/include/openssl/ssl.h:47, from /home/alarm/airdcpp-webclient-git/src/airdcpp-webclient/airdcpp-core/airdcpp/SSL.h:25, from /home/alarm/airdcpp-webclient-git/src/airdcpp-webclient/airdcpp-core/airdcpp/CryptoManager.h:25, from /home/alarm/airdcpp-webclient-git/src/airdcpp-webclient/airdcpp-core/airdcpp/CryptoManager.cpp:20: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}' typedef struct dh_st DH; ^~~~~ /home/alarm/airdcpp-webclient-git/src/airdcpp-webclient/airdcpp-core/airdcpp/CryptoManager.cpp:371:7: error: invalid use of incomplete type 'DH {aka struct dh_st}' tmpDH->g = BN_bin2bn(dh_g, sizeof(dh_g), 0); ^~ In file included from /usr/include/openssl/crypto.h:31:0, from /usr/include/openssl/comp.h:16, from /usr/include/openssl/ssl.h:47, from /home/alarm/airdcpp-webclient-git/src/airdcpp-webclient/airdcpp-core/airdcpp/SSL.h:25, from /home/alarm/airdcpp-webclient-git/src/airdcpp-webclient/airdcpp-core/airdcpp/CryptoManager.h:25, from /home/alarm/airdcpp-webclient-git/src/airdcpp-webclient/airdcpp-core/airdcpp/CryptoManager.cpp:20: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}' typedef struct dh_st DH; ^~~~~ /home/alarm/airdcpp-webclient-git/src/airdcpp-webclient/airdcpp-core/airdcpp/CryptoManager.cpp:373:11: error: invalid use of incomplete type 'DH {aka struct dh_st}' if(!tmpDH->p || !tmpDH->g) { ^~ In file included from /usr/include/openssl/crypto.h:31:0, from /usr/include/openssl/comp.h:16, from /usr/include/openssl/ssl.h:47, from /home/alarm/airdcpp-webclient-git/src/airdcpp-webclient/airdcpp-core/airdcpp/SSL.h:25, from /home/alarm/airdcpp-webclient-git/src/airdcpp-webclient/airdcpp-core/airdcpp/CryptoManager.h:25, from /home/alarm/airdcpp-webclient-git/src/airdcpp-webclient/airdcpp-core/airdcpp/CryptoManager.cpp:20: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}' typedef struct dh_st DH; ^~~~~ /home/alarm/airdcpp-webclient-git/src/airdcpp-webclient/airdcpp-core/airdcpp/CryptoManager.cpp:373:24: error: invalid use of incomplete type 'DH {aka struct dh_st}' if(!tmpDH->p || !tmpDH->g) { ^~ In file included from /usr/include/openssl/crypto.h:31:0, from /usr/include/openssl/comp.h:16, from /usr/include/openssl/ssl.h:47, from /home/alarm/airdcpp-webclient-git/src/airdcpp-webclient/airdcpp-core/airdcpp/SSL.h:25, from /home/alarm/airdcpp-webclient-git/src/airdcpp-webclient/airdcpp-core/airdcpp/CryptoManager.h:25, from /home/alarm/airdcpp-webclient-git/src/airdcpp-webclient/airdcpp-core/airdcpp/CryptoManager.cpp:20: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'DH {aka struct dh_st}' typedef struct dh_st DH; ^~~~~ make[2]: *** [airdcpp-core/CMakeFiles/airdcpp.dir/build.make:423: airdcpp-core/CMakeFiles/airdcpp.dir/airdcpp/CryptoManager.cpp.o] Error 1