On an attempt to build the lftp-4.9.2, the process fails with:
lftp_ssl.cc: In static member function ‘static int lftp_ssl_openssl::verify_crl(X509_STORE_CTX*)’:
lftp_ssl.cc:1164:10: error: ‘X509_STORE_CTX_get_by_subject’ was not declared in this scope; did you mean ‘X509_STORE_get_by_subject’?
1164 | rc = X509_STORE_CTX_get_by_subject(store_ctx, X509_LU_CRL, subject, obj);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| X509_STORE_get_by_subject
make[4]: *** [Makefile:2370: liblftp_network_la-lftp_ssl.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
ftpclass.cc: In member function ‘void Ftp::CheckResp(int)’:
ftpclass.cc:4377:16: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘union sockaddr_u’; use assignment or value-initialization instead [-Wclass-memaccess]
4377 | memset(&conn->data_sa,0,sizeof(conn->data_sa));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from Resolver.h:27,
from NetAccess.h:24,
from ftpclass.h:26,
from ftpclass.cc:31:
network.h:67:7: note: ‘union sockaddr_u’ declared here
67 | union sockaddr_u
| ^~~~~~~~~~
On an attempt to build the
lftp-4.9.2
, the process fails with:The only place on the net that I found with the same error was one of buildroot's autobuilds itself. The buildroot HEAD is package/uftrace: bump to version 0.10 (github) and here comes the configurations: