Bug 236923 - mail/msmtp ignores TLS/SSL options set with make config and fails sanity check
Summary: mail/msmtp ignores TLS/SSL options set with make config and fails sanity check
Status: Closed Unable to Reproduce
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Roman Bogorodskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-01 02:32 UTC by tech-lists
Modified: 2019-09-05 00:26 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (novel)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tech-lists 2019-04-01 02:32:45 UTC
context: poudriere 12rel-p3 ports r497457

Even though its options file looks like this:

# This file is auto-generated by 'make config'.                                                                                                                                                                                          
# Options for msmtp-1.8.3
_OPTIONS_READ=msmtp-1.8.3
_FILE_COMPLETE_OPTIONS_LIST=DOCS GSASL IDN LIBSECRET MSMTPD MSMTPQ NLS GNUTLS OPENSSL
OPTIONS_FILE_SET+=DOCS
OPTIONS_FILE_UNSET+=GSASL
OPTIONS_FILE_UNSET+=IDN
OPTIONS_FILE_UNSET+=LIBSECRET
OPTIONS_FILE_SET+=MSMTPD
OPTIONS_FILE_SET+=MSMTPQ
OPTIONS_FILE_SET+=NLS
OPTIONS_FILE_UNSET+=GNUTLS
OPTIONS_FILE_SET+=OPENSSL

and my make.conf looks like this:

DEFAULT_VERSIONS+=python=2.7
DEFAULT_VERSIONS+=php=7.2
OPTIONS_SET+=NLS OPTIMIZED_CFLAGS OPTIMIZED CPU_OPTS OPENSSL MAN
OPTIONS_UNSET+=X XORG X11 CUPS DOCS AUDIO SOUND EXAMPLES HTMLDOCS

the build fails with the following error:

 =======================<phase: check-sanity   >============================
 ===>  License GPLv3 accepted by the user
 ====> You cannot select multiple options from the TLS radio
 =====> Only one of these must be defined: GNUTLS OPENSSL
 *** Error code 1
 
Stop.
make: stopped in /usr/ports/mail/msmtp
=>> Cleaning up wrkdir
===>  Cleaning for msmtp-1.8.3
build of mail/msmtp | msmtp-1.8.3 ended at Mon Apr  1 03:10:37 BST 2019
build time: 00:00:01
!!! build failure encountered !!!

build log: https://pkg.zyxst.net/data/12releng-amd64-azure-azure/2019-04-01_03h10m26s/logs/errors/msmtp-1.8.3.log
Comment 1 Roman Bogorodskiy freebsd_committer freebsd_triage 2019-04-04 00:18:14 UTC
Can you also reproduce it outside of poudriere?
Comment 2 tech-lists 2019-04-04 02:14:57 UTC
(In reply to Roman Bogorodskiy from comment #1)
seems to build fine today (inside and outside poudriere)

how odd
Comment 3 Roman Bogorodskiy freebsd_committer freebsd_triage 2019-04-04 03:03:21 UTC
(In reply to tech-lists from comment #2)

Yes, this is indeed strange.
Is that possible that something like OPTIONS_SET_FORCE sneaked in somehow?
Comment 4 Walter Schwarzenfeld freebsd_triage 2019-09-05 00:14:16 UTC
Seems to work. Can we close here?