Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Oct 2023 09:43:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 274654] Cannot rebuild Sendmail with OpenSSL 3.0.11 on FreeBSD 12.4
Message-ID:  <bug-274654-227-QUgeX6wihb@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-274654-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-274654-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274654

--- Comment #1 from Andrey Bushev <busheval@gmail.com> ---
After update to openssl-3.0.12, rust-1.73 and py39-cryptography-41.0.4 same
problem.

# service sendmail start
Starting sendmail.
ld-elf.so.1: Shared object "libssl.so.11" not found, required by "sendmail"
/etc/rc.d/sendmail: WARNING: failed to start sendmail
Starting sendmail_msp_queue.
ld-elf.so.1: Shared object "libssl.so.11" not found, required by "sendmail"
/etc/rc.d/sendmail: WARNING: failed to start sendmail_msp_queue


# 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

...

/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))
                                ~~^
/usr/local/include/openssl/types.h:134:16: note: forward declaration of 'st=
ruct
dh_st'
typedef struct dh_st DH;
               ^

...

27 warnings and 8 errors generated.
*** Error code 1

Stop.
make: stopped in /usr/src/usr.sbin/sendmail


# 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

--=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-274654-227-QUgeX6wihb>