From owner-freebsd-bugs@freebsd.org Tue Jan 14 23:41:55 2020 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 546491F87A7 for ; Tue, 14 Jan 2020 23:41:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47y6S31fmCz3HZT for ; Tue, 14 Jan 2020 23:41:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 38D8B1F87A6; Tue, 14 Jan 2020 23:41:55 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 378C81F87A5 for ; Tue, 14 Jan 2020 23:41:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47y6S30ksGz3HZS for ; Tue, 14 Jan 2020 23:41:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1404025836 for ; Tue, 14 Jan 2020 23:41:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 00ENfss2081541 for ; Tue, 14 Jan 2020 23:41:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00ENfsEI081540 for bugs@FreeBSD.org; Tue, 14 Jan 2020 23:41:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 243357] base sendmail fails to compile with openssl1.1.1 Date: Tue, 14 Jan 2020 23:41:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jnaughto@ee.ryerson.ca X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jan 2020 23:41:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243357 Bug ID: 243357 Summary: base sendmail fails to compile with openssl1.1.1 Product: Base System Version: 11.3-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: jnaughto@ee.ryerson.ca Updating from openssl 1.0.2t to openssl 1.1.1, re-compiling sendmail to sup= port sasl and sendmail fails to compile with tls errors: cc -O2 -pipe -march=3Dnocona -I/usr/src/contrib/sendmail/src -I/usr/src/contrib/sendmail/include -I. -DNEWDB -DNIS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS -D_FFR_TLS_1 -DTCPWRAPPERS -I/usr/local/include -DSAS= L=3D2 -D_FFR_SMTP_SSL -g -MD -MF.depend.tls.o -MTtls.o -std=3Dgnu99 -fstack-protector-strong -Wno-pointer-sign -Wno-empty-body -Wno-string-plus= -int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses=20 -Qunused-arguments -c /usr/src/contrib/sendmail/src/tls.c -o tls.o /usr/src/contrib/sendmail/src/tls.c:70:4: error: incomplete definition of t= ype 'struct dh_st' dh->p =3D BN_bin2bn(dh512_p, sizeof(dh512_p), NULL); ~~^ /usr/local/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^ /usr/src/contrib/sendmail/src/tls.c:71:4: error: incomplete definition of t= ype 'struct dh_st' dh->g =3D BN_bin2bn(dh512_g, sizeof(dh512_g), NULL); ~~^ /usr/local/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^ /usr/src/contrib/sendmail/src/tls.c:72:9: error: incomplete definition of t= ype 'struct dh_st' if ((dh->p =3D=3D NULL) || (dh->g =3D=3D NULL)) ~~^ /usr/local/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^ /usr/src/contrib/sendmail/src/tls.c:72:28: error: incomplete definition of = type 'struct dh_st' if ((dh->p =3D=3D NULL) || (dh->g =3D=3D NULL)) ~~^ /usr/local/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^ /usr/src/contrib/sendmail/src/tls.c:123:4: error: incomplete definition of = type 'struct dh_st' dh->p=3DBN_bin2bn(dh2048_p,sizeof(dh2048_p),NULL); ~~^ /usr/local/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^ /usr/src/contrib/sendmail/src/tls.c:124:4: error: incomplete definition of = type 'struct dh_st' dh->g=3DBN_bin2bn(dh2048_g,sizeof(dh2048_g),NULL); ~~^ /usr/local/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^ /usr/src/contrib/sendmail/src/tls.c:125:9: error: incomplete definition of = type 'struct dh_st' if ((dh->p =3D=3D NULL) || (dh->g =3D=3D NULL)) ~~^ /usr/local/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^ /usr/src/contrib/sendmail/src/tls.c:125:28: error: incomplete definition of type 'struct dh_st' if ((dh->p =3D=3D NULL) || (dh->g =3D=3D NULL)) ~~^ /usr/local/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^ /usr/src/contrib/sendmail/src/tls.c:929:22: warning: implicit declaration of function 'BIO_s_file_internal' is invalid in C99 [-Wimplicit-function-declaration] crl_file =3D BIO_new(BIO_s_file_internal()); ^ /usr/src/contrib/sendmail/src/tls.c:929:22: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const BIO_METHOD *' (aka 'const struct bio_method_st *') [-Wint-conversion] crl_file =3D BIO_new(BIO_s_file_internal()); ^~~~~~~~~~~~~~~~~~~~~ /usr/local/include/openssl/bio.h:548:32: note: passing argument to parameter 'type' here BIO *BIO_new(const BIO_METHOD *type); ^ /usr/src/contrib/sendmail/src/tls.c:1006:17: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] (rsa_tmp =3D RSA_generate_key(RSA_KEYLENGTH, RSA_F4, NULL, ^ /usr/local/include/openssl/rsa.h:234:1: note: 'RSA_generate_key' has been explicitly marked deprecated here DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^ /usr/local/include/openssl/opensslconf.h:170:34: note: expanded from macro 'DEPRECATEDIN_0_9_8' # define DEPRECATEDIN_0_9_8(f) DECLARE_DEPRECATED(f) ^ /usr/local/include/openssl/opensslconf.h:121:55: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /usr/src/contrib/sendmail/src/tls.c:1213:10: warning: 'DSA_generate_paramet= ers' is deprecated [-Wdeprecated-declarations] dsa =3D DSA_generate_parameters(bits, NULL, 0, NULL, ^ /usr/local/include/openssl/dsa.h:117:1: note: 'DSA_generate_parameters' has been explicitly marked deprecated here DEPRECATEDIN_0_9_8(DSA *DSA_generate_parameters(int bits, ^ /usr/local/include/openssl/opensslconf.h:170:34: note: expanded from macro 'DEPRECATEDIN_0_9_8' # define DEPRECATEDIN_0_9_8(f) DECLARE_DEPRECATED(f) ^ /usr/local/include/openssl/opensslconf.h:121:55: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /usr/src/contrib/sendmail/src/tls.c:1747:12: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] rsa_tmp =3D RSA_generate_key(RSA_KEYLENGTH, RSA_F4, NULL, NULL); ^ /usr/local/include/openssl/rsa.h:234:1: note: 'RSA_generate_key' has been explicitly marked deprecated here DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^ /usr/local/include/openssl/opensslconf.h:170:34: note: expanded from macro 'DEPRECATEDIN_0_9_8' # define DEPRECATEDIN_0_9_8(f) DECLARE_DEPRECATED(f) ^ /usr/local/include/openssl/opensslconf.h:121:55: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /usr/src/contrib/sendmail/src/tls.c:1974:10: error: incomplete definition of type 'struct x509_store_ctx_st' if (ctx->error =3D=3D X509_V_ERR_UNABLE_TO_GET_CRL) ~~~^ /usr/local/include/openssl/ossl_typ.h:128:16: note: forward declaration of 'struct x509_store_ctx_st' typedef struct x509_store_ctx_st X509_STORE_CTX; ^ /usr/src/contrib/sendmail/src/tls.c:1976:7: error: incomplete definition of type 'struct x509_store_ctx_st' ctx->error =3D 0; ~~~^ /usr/local/include/openssl/ossl_typ.h:128:16: note: forward declaration of 'struct x509_store_ctx_st' typedef struct x509_store_ctx_st X509_STORE_CTX; ^ 5 warnings and 10 errors generated. *** Error code 1 Stop. make: stopped in /usr/src/usr.sbin/sendmail --=20 You are receiving this mail because: You are the assignee for the bug.=