pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/54337: mail/dovecot2 gnutls support is broken



>Number:         54337
>Category:       pkg
>Synopsis:       mail/dovecot2 gnutls support is broken
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 02 09:20:00 +0000 2019
>Originator:     Frédéric Fauberteau
>Release:        NetBSD 8.0 (pkgsrc-current)
>Organization:
>Environment:
System: NetBSD hydralisk.triaxx.org 8.0 NetBSD 8.0 (HYDRALISK) #0: Mon Jan  7 23:57:12 CET 2019  root%hydralisk.triaxx.org@localhost:/mnt/ccd0/netbsd/obj.amd64/sys/arch/amd64/compile/HYDRALISK amd64
Architecture: x86_64
Machine: amd64
>Description:
=> Bootstrap dependency digest>=20010302: found digest-20190127
=> Checksum SHA1 OK for dovecot-2.3.6.tar.gz
=> Checksum RMD160 OK for dovecot-2.3.6.tar.gz
=> Checksum SHA512 OK for dovecot-2.3.6.tar.gz
===> Installing dependencies for dovecot-2.3.6
==========================================================================
The supported build options for dovecot are:

	gnutls kqueue pam ssl tcpwrappers

The currently selected options are:

	gnutls kqueue pam tcpwrappers

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.dovecot = gnutls kqueue

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
dovecot-2.3.6.  Their current value is shown below:

        * PAM_DEFAULT = openpam
        * VARBASE = /var

Based on these variables, the following variables have been set:

        * PAMBASE (defined, but empty)

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/pkg/bin/bmake clean' after
the changes.
==========================================================================
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb2
=> Tool dependency gmake>=3.81: found gmake-4.2.1nb1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.6.0
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency gnutls>=3.6.0nb1: found gnutls-3.6.7
=> Full dependency lz4>=1.7.3<100: found lz4-1.9.1
===> Overriding tools for dovecot-2.3.6
===> Extracting for dovecot-2.3.6
===> Patching for dovecot-2.3.6
=> Applying pkgsrc patches for dovecot-2.3.6
===> Creating toolchain wrappers for dovecot-2.3.6
===> Configuring for dovecot-2.3.6
=> Generating pkg-config files for builtin xz package.
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g users
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking pkg-config is at least version 0.9.0... yes
configure: error: GNUTLS support is broken currently
*** Error code 1

Stop.
bmake[1]: stopped in /usr/pkgsrc/mail/dovecot2
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/mail/dovecot2
>How-To-Repeat:
export PKG_OPTIONS.dovecot=gnutls && cd mail/dovecot2 && bmake configure
>Fix:
Remove GNU TLS support:

Index: options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mail/dovecot2/options.mk,v
retrieving revision 1.11
diff -u -r1.11 options.mk
--- options.mk	30 Nov 2018 18:43:09 -0000	1.11
+++ options.mk	2 Jul 2019 09:17:24 -0000
@@ -1,9 +1,7 @@
 # $NetBSD: options.mk,v 1.11 2018/11/30 18:43:09 adam Exp $
 
 PKG_OPTIONS_VAR=	PKG_OPTIONS.dovecot
-PKG_SUPPORTED_OPTIONS=	kqueue pam tcpwrappers
-PKG_OPTIONS_OPTIONAL_GROUPS=ssl
-PKG_OPTIONS_GROUP.ssl=	gnutls ssl
+PKG_SUPPORTED_OPTIONS=	kqueue pam ssl tcpwrappers
 PKG_SUGGESTED_OPTIONS=	pam ssl tcpwrappers
 
 .if defined(PKG_HAVE_KQUEUE)
@@ -14,7 +12,7 @@
 .include "../../mk/bsd.options.mk"
 
 ###
-### Build with OpenSSL or GNU TLS as the underlying crypto library
+### Build with OpenSSL as the underlying crypto library
 ###
 .if !empty(PKG_OPTIONS:Mssl)
 CONFIGURE_ARGS+=	--with-ssl=openssl
@@ -23,11 +21,6 @@
 BUILDLINK_API_DEPENDS.openssl+=openssl>=0.9.8a
 .  include "../../security/openssl/buildlink3.mk"
 PLIST.ssl=		yes
-.elif !empty(PKG_OPTIONS:Mgnutls)
-CONFIGURE_ARGS+=	--with-ssl=gnutls
-.  include "../../security/gnutls/buildlink3.mk"
-.else
-CONFIGURE_ARGS+=	--without-ssl
 .endif
 
 ###



Home | Main Index | Thread Index | Old Index