Package Details: airdcpp-webclient-git r2993.b58859d0-3

Git Clone URL: https://aur.archlinux.org/airdcpp-webclient-git.git (read-only)
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: qwertzdenek
Last Packager: qwertzdenek
Votes: 0
Popularity: 0.000000
First Submitted: 2017-03-12 23:56
Last Updated: 2017-10-27 11:36

Latest Comments

qwertzdenek commented on 2017-10-27 08:23

Switched back to OpenSSL 1.0 and works again.

Pauligrinder commented on 2017-05-09 07:17

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

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