From owner-freebsd-questions@freebsd.org Wed Feb 6 17:15:44 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0E10014D9A74 for ; Wed, 6 Feb 2019 17:15:44 +0000 (UTC) (envelope-from hasse@thorshammare.org) Received: from mail50c50.megamailservers.eu (mail152c50.megamailservers.eu [91.136.10.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A6E9B75A5D for ; Wed, 6 Feb 2019 17:15:41 +0000 (UTC) (envelope-from hasse@thorshammare.org) X-POP-User: g.svalland@bredband.net Received: from smtp.thorshammare.org (ua-85-227-83-179.bbcust.telenor.se [85.227.83.179]) by mail50c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id x16FUs6P011307 for ; Wed, 6 Feb 2019 15:30:55 +0000 Received: by smtp.thorshammare.org (Postfix, from userid 1001) id EAD7433073; Wed, 6 Feb 2019 16:30:53 +0100 (CET) Date: Wed, 6 Feb 2019 16:30:53 +0100 From: Hasse Hansson To: freebsd-questions@freebsd.org Subject: unable to install port spamd Message-ID: <20190206153053.GA2977@thorshammare.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.11.2 (2019-01-07) X-CTCH-RefID: str=0001.0A0B020F.5C5AFDB0.000B:SCFSTAT51078350, ss=1, re=-4.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: -4.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=H6v1PdQi c=1 sm=1 tr=0 a=S/cRPHC7eDuMz9s+NkhVlg==:117 a=S/cRPHC7eDuMz9s+NkhVlg==:17 a=kj9zAlcOel0A:10 a=CFTnQlWoA9kA:10 a=SVskYZ0MAAAA:8 a=D3heP5KLqRcwD7Xj5OkA:9 a=CjuIK1q_8ugA:10 a=f6u4V6I-0TbMKZWofiZM:22 X-Rspamd-Queue-Id: A6E9B75A5D X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [0.53 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.43)[-0.435,0]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.53)[-0.533,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_SHORT(0.85)[0.853,0]; MX_GOOD(-0.01)[smtp.thorshammare.org]; DMARC_NA(0.00)[thorshammare.org]; R_SPF_NA(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[162.10.136.91.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:9115, ipnet:91.136.0.0/17, country:GB]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.14)[ipnet: 91.136.0.0/17(-0.34), asn: 9115(-0.27), country: GB(-0.09)]; RECEIVED_SPAMHAUS_PBL(0.00)[179.83.227.85.zen.spamhaus.org : 127.0.0.10] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Feb 2019 17:15:44 -0000 Hello FreeBSD smtp.thorshammare.org 12.0-RELEASE-p3 FreeBSD 12.0-RELEASE-p3 GENERIC amd64 I've problems to build or install the port mail/spamd Preciate any tips. /Hasse hasse@smtp:~ % cd /usr/ports/mail/spamd hasse@smtp:/usr/ports/mail/spamd % sudo make install clean ===> Building for spamd-4.9.1_4 --- all_subdir_spamd --- ===> spamd (all) --- objwarn --- Warning: Object directory not changed from original /usr/ports/mail/spamd/work/spamd-4.9.1/spamd --- sync.o --- cc -O2 -pipe -I/usr/include -fstack-protector -fno-strict-aliasing -Wall -Wstrict-prototypes -MD -MF.depend.sync.o -MTsync.o -std=gnu99 -fstack-protector-strong -Qunused-arguments -c sync.c -o sync.o sync.c:442: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; ^ sync.c:458:2: warning: implicit declaration of function 'HMAC_CTX_init' is invalid in C99 [-Wimplicit-function-declaration] HMAC_CTX_init(&ctx); ^ sync.c:458:2: warning: this function declaration is not a prototype [-Wstrict-prototypes] sync.c:459:2: warning: 'HMAC_Init' is deprecated [-Wdeprecated-declarations] HMAC_Init(&ctx, sync_key, strlen(sync_key), EVP_sha1()); ^ /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)); ^ sync.c:519:2: warning: implicit declaration of function 'HMAC_CTX_cleanup' is invalid in C99 [-Wimplicit-function-declaration] HMAC_CTX_cleanup(&ctx); ^ sync.c:519:2: warning: this function declaration is not a prototype [-Wstrict-prototypes] sync.c:530: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; ^ sync.c:540:2: warning: implicit declaration of function 'HMAC_CTX_init' is invalid in C99 [-Wimplicit-function-declaration] HMAC_CTX_init(&ctx); ^ sync.c:541:2: warning: 'HMAC_Init' is deprecated [-Wdeprecated-declarations] HMAC_Init(&ctx, sync_key, strlen(sync_key), EVP_sha1()); ^ /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)); ^ sync.c:576:2: warning: implicit declaration of function 'HMAC_CTX_cleanup' is invalid in C99 [-Wimplicit-function-declaration] HMAC_CTX_cleanup(&ctx); ^ 8 warnings and 2 errors generated. *** [sync.o] Error code 1 make[3]: stopped in /usr/ports/mail/spamd/work/spamd-4.9.1/spamd 1 error make[3]: stopped in /usr/ports/mail/spamd/work/spamd-4.9.1/spamd *** [all_subdir_spamd] Error code 2 make[2]: stopped in /usr/ports/mail/spamd/work/spamd-4.9.1 1 error make[2]: stopped in /usr/ports/mail/spamd/work/spamd-4.9.1 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/mail/spamd *** Error code 1 Stop. make: stopped in /usr/ports/mail/spamd