Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Nov 2018 04:15:18 +0000
From:      tech-lists <tech-lists@zyxst.net>
To:        freebsd-ports@freebsd.org
Subject:   mail/imapfilter fails to build
Message-ID:  <20181114041518.GA34189@rpi3.zyxst.net>

next in thread | raw e-mail | index | archive | help
Hi,

mail/imapfilter fails to build on 12-beta4

context:
FreeBSD 12.0-BETA4 #2 r340371
ports r484903
OpenSSL 1.1.1-freebsd

error is:

<snip>

/usr/ports/mail/imapfilter# make MAKE_JOBS_UNSAFE=yes
===>  Building for imapfilter-2.6.11_1
cd src && /usr/bin/make all
cc  -Wall -Wextra -O -DCONFIG_SHAREDIR='"/usr/local/share/imapfilter"'
-I/usr/local/include -I/usr/local/include/lua52 -c auth.c -o auth.o
auth.c:23:28: warning: extra tokens at end of #ifdef directive
[-Wextra-tokens]
#ifdef HAVE_OPAQUE_STRUCTS && !defined(LIBRESSL_VERSION_NUMBER)
                           ^
			                              //
						      auth.c:26:11:
error: variable has incomplete type 'HMAC_CTX' (aka 'struct
hmac_ctx_st')
        HMAC_CTX ctx;
	                 ^
			 /usr/include/openssl/ossl_typ.h:102:16: note:
forward declaration of 'struct hmac_ctx_st'
typedef struct hmac_ctx_st HMAC_CTX;
               ^
	       auth.c:35:28: warning: extra tokens at end of #ifdef
directive [-Wextra-tokens]
#ifdef HAVE_OPAQUE_STRUCTS && !defined(LIBRESSL_VERSION_NUMBER)
                           ^
			                              //
						      auth.c:43:2:
warning: implicit declaration of function 'HMAC_CTX_init' is invalid
in C99 [-Wimplicit-function-declaration]
        HMAC_CTX_init(&ctx);
	        ^
		auth.c:44:2: warning: 'HMAC_Init' is deprecated
[-Wdeprecated-declarations]
        HMAC_Init(&ctx, (const unsigned char *)pass, strlen(pass),
EVP_md5());
        ^
	/usr/include/openssl/hmac.h:30:1: note: 'HMAC_Init' has been
explicitly marked deprecated here
DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void
*key, int len,
^
/usr/include/openssl/opensslconf.h:147:34: note: expanded from macro
'DEPRECATEDIN_1_1_0'
# define DEPRECATEDIN_1_1_0(f)   DECLARE_DEPRECATED(f)
                                 ^
				 /usr/include/openssl/opensslconf.h:110:55:
note: expanded from macro 'DECLARE_DEPRECATED'
#   define DECLARE_DEPRECATED(f)    f __attribute__ ((deprecated));
                                                      ^

auth.c:47:2: warning: implicit declaration of function
'HMAC_CTX_cleanup' is invalid in C99 [-Wimplicit-function-declaration]
        HMAC_CTX_cleanup(&ctx);
	        ^
		5 warnings and 1 error generated.
		*** Error code 1
		
		Stop.
		make[3]: stopped in
/buildports/usr/ports/mail/imapfilter/work/imapfilter-2.6.11/src
*** Error code 1

Stop.
make[2]: stopped in
/buildports/usr/ports/mail/imapfilter/work/imapfilter-2.6.11
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/mail/imapfilter
*** Error code 1

Stop.
make: stopped in /usr/ports/mail/imapfilter

</snip>

sorry about the odd formatting
-- 
J.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181114041518.GA34189>