Date: Fri, 08 Feb 2019 13:59:33 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 235600] net/rdesktop: fails to build with OpenSSL 1.1.x Message-ID: <bug-235600-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235600 Bug ID: 235600 Summary: net/rdesktop: fails to build with OpenSSL 1.1.x Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: emz@norma.perm.ru CC: gregf@hugops.pw Flags: maintainer-feedback?(gregf@hugops.pw) CC: gregf@hugops.pw rdesktop 1.8.3 is too old to support new openssl 1.1.x in base, so it crash= es while building agains it: =3D=3D=3DCut=3D=3D=3D [...] cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -Wall -I/usr/lib/include -I/usr/local/include -D_THREAD_SAFE -pthread=20 -I/usr/local/include -I/usr/local/include -DPACKAGE_NAME=3D\"rdesktop\" -DPACKAGE_TARNAME=3D\"rdesktop\" -DPACKAGE_VERSION=3D\"1.8.3\" -DPACKAGE_STRING=3D\"rdesktop\ 1.8.3\" -DPACKAGE_BUGREPORT=3D\"\" -DPACKAGE_URL=3D\"\" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_S= TAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_= H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1 -DL_ENDIAN=3D1 -DHAVE_SYS_SELECT_H=3D1 -DHAVE_SYS_FILIO_H=3D1 -DHAVE_LOCALE_H=3D1 -DHAVE_LANGINFO_H=3D1 -DHAVE_SYSEXITS_H=3D1 -Dssldir=3D\"/usr/lib\" -DHAVE_= XRANDR=3D1 -DEGD_SOCKET=3D\"/var/run/egd-pool\" -DHAVE_LIBSAMPLERATE=3D1 -DWITH_RDPSND= =3D1 -DRDPSND_OSS=3D1 -DHAVE_DIRENT_H=3D1 -DHAVE_DIRFD=3D1 -DHAVE_DECL_DIRFD=3D1 -DHAVE_ICONV_H=3D1 -DHAVE_ICONV=3D1 -DICONV_CONST=3D -DHAVE_SYS_STATVFS_H= =3D1 -DHAVE_SYS_PARAM_H=3D1 -DHAVE_SYS_MOUNT_H=3D1 -DSTAT_STATVFS=3D1 -DHAVE_STRUCT_STATVFS_F_NAMEMAX=3D1 -DIPv6=3D1 -DKEYMAP_PATH=3D\"/usr/local/share/rdesktop/keymaps/\" -o ssl.o -c ssl.c cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -Wall -I/usr/lib/include -I/usr/local/include -D_THREAD_SAFE -pthread=20 -I/usr/local/include -I/usr/local/include -DPACKAGE_NAME=3D\"rdesktop\" -DPACKAGE_TARNAME=3D\"rdesktop\" -DPACKAGE_VERSION=3D\"1.8.3\" -DPACKAGE_STRING=3D\"rdesktop\ 1.8.3\" -DPACKAGE_BUGREPORT=3D\"\" -DPACKAGE_URL=3D\"\" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_S= TAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_= H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1 -DL_ENDIAN=3D1 -DHAVE_SYS_SELECT_H=3D1 -DHAVE_SYS_FILIO_H=3D1 -DHAVE_LOCALE_H=3D1 -DHAVE_LANGINFO_H=3D1 -DHAVE_SYSEXITS_H=3D1 -Dssldir=3D\"/usr/lib\" -DHAVE_= XRANDR=3D1 -DEGD_SOCKET=3D\"/var/run/egd-pool\" -DHAVE_LIBSAMPLERATE=3D1 -DWITH_RDPSND= =3D1 -DRDPSND_OSS=3D1 -DHAVE_DIRENT_H=3D1 -DHAVE_DIRFD=3D1 -DHAVE_DECL_DIRFD=3D1 -DHAVE_ICONV_H=3D1 -DHAVE_ICONV=3D1 -DICONV_CONST=3D -DHAVE_SYS_STATVFS_H= =3D1 -DHAVE_SYS_PARAM_H=3D1 -DHAVE_SYS_MOUNT_H=3D1 -DSTAT_STATVFS=3D1 -DHAVE_STRUCT_STATVFS_F_NAMEMAX=3D1 -DIPv6=3D1 -DKEYMAP_PATH=3D\"/usr/local/share/rdesktop/keymaps/\" -o utils.o -c utils.c ssl.c:91:9: error: variable has incomplete type 'BIGNUM' (aka 'struct bignum_st') BIGNUM mod, exp, x, y; ^ /usr/lib/include/openssl/ossl_typ.h:80:16: note: forward declaration of 'st= ruct bignum_st' typedef struct bignum_st BIGNUM; ^ ssl.c:91:14: error: variable has incomplete type 'BIGNUM' (aka 'struct bignum_st') BIGNUM mod, exp, x, y; ^ /usr/lib/include/openssl/ossl_typ.h:80:16: note: forward declaration of 'st= ruct bignum_st' typedef struct bignum_st BIGNUM; ^ ssl.c:91:19: error: variable has incomplete type 'BIGNUM' (aka 'struct bignum_st') BIGNUM mod, exp, x, y; ^ /usr/lib/include/openssl/ossl_typ.h:80:16: note: forward declaration of 'st= ruct bignum_st' typedef struct bignum_st BIGNUM; ^ ssl.c:91:22: error: variable has incomplete type 'BIGNUM' (aka 'struct bignum_st') BIGNUM mod, exp, x, y; ^ /usr/lib/include/openssl/ossl_typ.h:80:16: note: forward declaration of 'st= ruct bignum_st' typedef struct bignum_st BIGNUM; ^ ssl.c:101:2: warning: implicit declaration of function 'BN_init' is invalid= in C99 [-Wimplicit-function-declaration] BN_init(&mod); ^ ssl.c:149:24: error: incomplete definition of type 'struct x509_st' nid =3D OBJ_obj2nid(cert->cert_info->key->algor->algorithm); ~~~~^ /usr/lib/include/openssl/ossl_typ.h:120:16: note: forward declaration of 'struct x509_st' typedef struct x509_st X509; ^ ssl.c:153:24: error: incomplete definition of type 'struct x509_st' ASN1_OBJECT_free(cert->cert_info->key->algor->algorithm); ~~~~^ /usr/lib/include/openssl/ossl_typ.h:120:16: note: forward declaration of 'struct x509_st' typedef struct x509_st X509; ^ ssl.c:154:7: error: incomplete definition of type 'struct x509_st' cert->cert_info->key->algor->algorithm =3D OBJ_nid2obj(NID_rsaEncryption); ~~~~^ /usr/lib/include/openssl/ossl_typ.h:120:16: note: forward declaration of 'struct x509_st' typedef struct x509_st X509; ^ ssl.c:204:24: error: incomplete definition of type 'struct rsa_st' if ((BN_num_bytes(rkey->e) > (int) max_exp_len) || ~~~~^ /usr/lib/include/openssl/bn.h:181:40: note: expanded from macro 'BN_num_byt= es' # define BN_num_bytes(a) ((BN_num_bits(a)+7)/8) ^ /usr/lib/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ ssl.c:205:24: error: incomplete definition of type 'struct rsa_st' (BN_num_bytes(rkey->n) > (int) max_mod_len)) ~~~~^ /usr/lib/include/openssl/bn.h:181:40: note: expanded from macro 'BN_num_byt= es' # define BN_num_bytes(a) ((BN_num_bits(a)+7)/8) ^ /usr/lib/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ ssl.c:209:22: error: incomplete definition of type 'struct rsa_st' len =3D BN_bn2bin(rkey->e, exponent); ~~~~^ /usr/lib/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ ssl.c:211:22: error: incomplete definition of type 'struct rsa_st' len =3D BN_bn2bin(rkey->n, modulus); ~~~~^ /usr/lib/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ ssl.c:232:11: error: variable has incomplete type 'HMAC_CTX' (aka 'struct hmac_ctx_st') HMAC_CTX ctx; ^ /usr/lib/include/openssl/ossl_typ.h:102:16: note: forward declaration of 'struct hmac_ctx_st' typedef struct hmac_ctx_st HMAC_CTX; ^ ssl.c:233:2: warning: implicit declaration of function 'HMAC_CTX_init' is invalid in C99 [-Wimplicit-function-declaration] HMAC_CTX_init(&ctx); ^ ssl.c:235:2: warning: implicit declaration of function 'HMAC_CTX_cleanup' is invalid in C99 [-Wimplicit-function-declaration] HMAC_CTX_cleanup(&ctx); ^ 3 warnings and 12 errors generated. gmake[2]: *** [Makefile:161: ssl.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Leaving directory '/usr/ports/net/rdesktop/work/rdesktop-1.8.3' =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/net/rdesktop *** Error code 1 Stop. make: stopped in /usr/ports/net/rdesktop =3D=3D=3D>>> make build failed for net/rdesktop =3D=3D=3D>>> Aborting update =3D=3D=3D>>> You can restart from the point of failure with this command li= ne: portmaster <flags> net/rdesktop=20 This command has been saved to /tmp/portmasterfail.txt =3D=3D=3DCut=3D=3D=3D rdesktop 1.8.4, according to the upstream has all the fixes needed, please update. see the Changes at https://github.com/rdesktop/rdesktop/commit/34b8a18fe5d4de795851defe34b3ad3= e1f43532b --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-235600-7788>