Created attachment 216657 [details] poudriere build log failure Build failure on FreeBSD 11.4 with Poudriere crypto.cpp:158:13: error: member access into incomplete type 'RSA' (aka 'rsa_st') if( (prv->p==0 || prv->q==0) ) { ^ /usr/local/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'rsa_st' typedef struct rsa_st RSA; ^ crypto.cpp:168:10: warning: 'auto_ptr<key>' is deprecated [-Wdeprecated-declarations] std::auto_ptr<key> ret(key::read_key( decrypted.get() )); ^ /usr/include/c++/v1/memory:2130:28: note: 'auto_ptr<key>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:972:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:961:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ crypto.cpp:247:10: warning: 'auto_ptr<key>' is deprecated [-Wdeprecated-declarations] std::auto_ptr<key> new_header; ^ /usr/include/c++/v1/memory:2130:28: note: 'auto_ptr<key>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:972:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:961:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ crypto.cpp:250:25: warning: 'auto_ptr<key>' is deprecated [-Wdeprecated-declarations] new_header=std::auto_ptr<key>(decrypt_header( fromfd, prv )); ^ /usr/include/c++/v1/memory:2130:28: note: 'auto_ptr<key>' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:972:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:961:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ 4 warnings and 1 error generated. gmake[2]: *** [Makefile:293: crypto.o] Error 1 gmake[2]: Leaving directory '/wrkdirs/usr/ports/sysutils/rsyncrypto/work/rsyncrypto-1.12' gmake[1]: *** [Makefile:184: all] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/sysutils/rsyncrypto/work/rsyncrypto-1.12' *** Error code 1
A commit references this bug: Author: danfe Date: Mon Jul 27 12:04:45 UTC 2020 New revision: 543518 URL: https://svnweb.freebsd.org/changeset/ports/543518 Log: - Update to version 1.14 which works against modern OpenSSL versions - Correctly register dependency on `devel/argtable' as LIB_DEPENDS - While here: adjust LICENSE, switch to USES+=localbase, install the standard set of documentation files PR: 248168 Changes: head/sysutils/rsyncrypto/Makefile head/sysutils/rsyncrypto/distinfo
A commit references this bug: Author: danfe Date: Tue Jul 28 06:29:13 UTC 2020 New revision: 543578 URL: https://svnweb.freebsd.org/changeset/ports/543578 Log: Allow to build against pre-1.1.0 versions of OpenSSL which are still used in FreeBSD 11.x and would be supported until September 30, 2021. PR: 248168 Changes: head/sysutils/rsyncrypto/Makefile head/sysutils/rsyncrypto/files/ head/sysutils/rsyncrypto/files/patch-crypto.cpp
Prior to ports r543518, the port offered very old version which did not support modern versions of OpenSSL. Should be fixed on 11.4 as well with ports r543578.