From nobody Sun Oct 22 17:47:09 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SD5PB1kF7z4xc17 for ; Sun, 22 Oct 2023 17:47:10 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SD5PB08nPz4h36 for ; Sun, 22 Oct 2023 17:47:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697996830; a=rsa-sha256; cv=none; b=HoaNbn3K3Eec/z087P+q9wlYt57jT1fefrFzx7yjgV52Z6TIIfTFErneDTCKXxLCa6U5pF pFIuTvi0vSVaVrvXsrQyVwlH46pcPjnvEqw9r+nkv8BvJEWEAtsfJ/xNPm9pTtlpFb6MhO wtvj1MJNmcPM25MDw6g1tO8L1ru09TEB4XID5/p/xerUg9/HU1/0DYFcEvMtZkZeylsGPo zaBMx9gi2xXd3TzEabZJW1faKiScRCkxQH7S+lM343NaJXBtMqgW/vIzVz0XUrzIN9J80f +Sdn/lQs6dHSntGsPBk1rUT238G4lEV5VPMsLlvc1WyG6v5XWj2ngZS5Cc8V9g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697996830; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tFAyjtdraN5lIu938dUSZunZdCc7v3GU4/HmRGXnNuI=; b=jguiQ+Ed80VoUaQQNE64jSfrb4ldRdmjcg4kkQykKKJqb1Zs+jOOeyQI8ll5+kv+m/nb8j qotmpRYDpKN+G/Lkz5kaUHFtjoQNKfAlg5gRyRb4CCFYY7jx06Wx1cDLI3wwVhNHaf7XLU RR6REk0YiDShbjgiavkQxN5ET6ITSJZfFg4oS9amCWTI7K5FDJp+pzNvMRjPKxfrUc22O/ Ds5VBURpLxE6laf+h+ay7t0s88YccQ3R/M7/Pav5ZS2Ojy8af8SYtUUNScexTIR0ZbsC25 a/eaDoVHX2YOYNgyHiu/9A094TfymIU40a5PkLZGgymqu1S+AMWjz0G7teaaxQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SD5P9688nz163H for ; Sun, 22 Oct 2023 17:47:09 +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 39MHl9r3071255 for ; Sun, 22 Oct 2023 17:47:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39MHl94R071254 for bugs@FreeBSD.org; Sun, 22 Oct 2023 17:47:09 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 274654] Cannot rebuild Sendmail with OpenSSL 3.0.11 on FreeBSD 12.4 Date: Sun, 22 Oct 2023 17:47:09 +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: 12.4-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: busheval@gmail.com 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 List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274654 Bug ID: 274654 Summary: Cannot rebuild Sendmail with OpenSSL 3.0.11 on FreeBSD 12.4 Product: Base System Version: 12.4-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: busheval@gmail.com Hi, When I rebuilded ports after update perl5 from version 5.34 to 5.36 on my FreeBSD 12.4 server:=20 # portmaster -f `pkg shlib -qR libperl.so.5.34` Openssl-1.1.1w update to 3.0.11 too. After this I rebuilded ports: # portmaster -f `pkg shlib -qR libcrypto.so.11` All ports rebuilded fine, but sendmail not run now. If I try rebuild sendmail: # cd /usr/src/lib/libsm # make clean && make obj && make depend && make # cd /usr/src/lib/libsmutil # make clean && make obj && make depend && make # cd /usr/src/usr.sbin/sendmail # make clean && make obj && make depend && make && make install Error occured: /usr/src/contrib/sendmail/src/tls.c:99: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/types.h:134:16: note: forward declaration of 'st= ruct dh_st' typedef struct dh_st DH; ^ /usr/src/contrib/sendmail/src/tls.c:100:4: error: incomplete definition of = type 'struct dh_st' dh->g =3D BN_bin2bn(dh512_g, sizeof(dh512_g), NULL); ~~^ /usr/local/include/openssl/types.h:134:16: note: forward declaration of 'st= ruct dh_st' typedef struct dh_st DH; ^ /usr/src/contrib/sendmail/src/tls.c:101:9: error: incomplete definition of = type 'struct dh_st' if ((dh->p =3D=3D NULL) || (dh->g =3D=3D NULL)) ~~^ /usr/local/include/openssl/types.h:134:16: note: forward declaration of 'st= ruct dh_st' typedef struct dh_st DH; ^ /usr/src/contrib/sendmail/src/tls.c:101:28: error: incomplete definition of type 'struct dh_st' if ((dh->p =3D=3D NULL) || (dh->g =3D=3D NULL)) .... 27 warnings and 8 errors generated. *** Error code 1 Stop. make: stopped in /usr/src/usr.sbin/sendmail # uname -a FreeBSD mail 12.4-RELEASE-p6 FreeBSD 12.4-RELEASE-p6 GENERIC amd64 # grep -v "^#" /etc/make.conf DEFAULT_VERSIONS+=3D ssl=3Dopenssl bdb=3D18 OPTIONS_UNSET=3D X11 SENDMAIL_CFLAGS=3D-I/usr/local/include -DSASL=3D2 SENDMAIL_LDADD=3D/usr/local/lib/libsasl2.so OPTIONS_SET=3D BDB6_PERMITTED The problem is similar to the one described here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244937 But the solution didn't work for me. --=20 You are receiving this mail because: You are the assignee for the bug.=