Summary: | 11.3-RELEASE base sendmail fails to compile with openssl1.1.1 | ||
---|---|---|---|
Product: | Base System | Reporter: | jnaughto |
Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Closed DUPLICATE | ||
Severity: | Affects Many People | CC: | eugen, gebhart |
Priority: | --- | Keywords: | needs-qa |
Version: | 11.3-RELEASE | Flags: | koobs:
mfc-stable11?
|
Hardware: | amd64 | ||
OS: | Any | ||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231931 |
Description
jnaughto
2020-01-14 23:41:54 UTC
Could you clarify "Updating from openssl 1.0.2t to openssl 1.1.1" Do you mean security/openssl port? Can you please provide more information including: - Exact FreeBSD version (uname -a) - make.conf / src.conf / kernel configuration (as attachments) - If using the openssl port, details on how you are setting/invoking the base build to use it Well just upgraded from 11.2-RELEASE to 11.3-RELEASE, using GENERIC kernel: uname -a: FreeBSD host.ee.ryerson.ca 11.3-RELEASE-p5 FreeBSD 11.3-RELEASE-p5 #0: Tue Nov 12 08:59:04 UTC 2019 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 did portsnap fetch update cd /usr/ports/security/openssl make deinstall clean install pkg info |grep openssl # pkg info |grep openssl openssl-1.1.1d,1 TLSv1.3 capable SSL and crypto library # grep -v "^#" /etc/make.conf CPUTYPE?=nocona SENDMAIL_MC=/etc/mail/mailhost.mc SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2 SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl2 SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL SVN_UPDATE=YES DEFAULT_VERSIONS+= ssl=openssl Using default src.conf ie: # ls -l /etc/src.conf ls: /etc/src.conf: No such file or directory With regards to the steps to reproduce, simply followed handbook: https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/SMTP-Auth.html # cd /usr/src/lib/libsmutil # make cleandir && make obj && make # cd /usr/src/lib/libsm # make cleandir && make obj && make # cd /usr/src/usr.sbin/sendmail # make cleandir && make obj && make && make install On the last make (prior to make install) sendmail fails to compile on the file tls.c as listed in first posting. I ran into the same problem while upgrading from 11.3 to 11.4. The problem seems to be related to also compiling SASL in. As soon as I removed all Sendmail SASL related defines from /etc/make.conf, it compiled fine. The problem is that Handbook instructions for Sendmail+SSL for 11.3-RELEASE became outdated. The Handbook was fixed before 11.4-RELEASE. *** This bug has been marked as a duplicate of bug 244937 *** |