unable to install port spamd

Hasse Hansson hasse at thorshammare.org
Wed Feb 6 17:15:44 UTC 2019


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 at smtp:~ % cd /usr/ports/mail/spamd
hasse at 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


More information about the freebsd-questions mailing list