stunnel fails to build

tech-lists tech-lists at zyxst.net
Thu Jul 21 08:15:09 UTC 2016


Hi,

ports: r418866
stable/11: r302999

I have the following defined in /etc/make.conf - could this be the issue?

DEFAULT_VERSIONS+=  ssl=libressl-devel

###

build fails like this:

/usr/ports/security/stunnel # make MAKE_JOBS_UNSAFE=yes
===>  Building for stunnel-5.35,1
Making all in src
/usr/bin/make  all-am
  CCLD     libstunnel.la
  CC       stunnel-tls.o
In file included from tls.c:39:
./prototypes.h:656:9: error: unknown type name 'CRYPTO_RWLOCK'
typedef CRYPTO_RWLOCK *STUNNEL_RWLOCK;
        ^
tls.c:56:30: warning: incompatible pointer types passing 'void *(size_t,
const char *, int)' (aka 'void *(unsigned long, const char *, int)') to
parameter of type 'void *(*)(size_t)' (aka 'void *(*)(unsigned long)')
[-Wincompatible-pointer-types]
    CRYPTO_set_mem_functions(str_alloc_detached_debug,
                             ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/openssl/crypto.h:412:38: note: passing argument to
parameter 'm' here
int CRYPTO_set_mem_functions(void *(*m)(size_t), void *(*r)(void *,
size_t), void (*f)(void *));
                                     ^
tls.c:57:9: warning: incompatible pointer types passing 'void *(void *,
size_t, const char *, int)' (aka 'void *(void *, unsigned long, const
char *, int)') to parameter of type 'void *(*)(void *, size_t)' (aka
'void *(*)(void *, unsigned long)') [-Wincompatible-pointer-types]
        str_realloc_debug, str_free_debug);
        ^~~~~~~~~~~~~~~~~
/usr/local/include/openssl/crypto.h:412:58: note: passing argument to
parameter 'r' here
int CRYPTO_set_mem_functions(void *(*m)(size_t), void *(*r)(void *,
size_t), void (*f)(void *));
                                                         ^
tls.c:57:28: warning: incompatible pointer types passing 'void (void *,
const char *, int)' to parameter of type 'void (*)(void *)'
[-Wincompatible-pointer-types]
        str_realloc_debug, str_free_debug);
                           ^~~~~~~~~~~~~~
/usr/local/include/openssl/crypto.h:412:85: note: passing argument to
parameter 'f' here
int CRYPTO_set_mem_functions(void *(*m)(size_t), void *(*r)(void *,
size_t), void (*f)(void *));

           ^
3 warnings and 1 error generated.
*** Error code 1

Stop.
make[4]: stopped in /usr/ports/security/stunnel/work/stunnel-5.35/src
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/security/stunnel/work/stunnel-5.35/src
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/security/stunnel/work/stunnel-5.35
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/security/stunnel
*** Error code 1

Stop.
make: stopped in /usr/ports/security/stunnel

===

same issues on -current

thanks,
-- 
J.


More information about the freebsd-ports mailing list