From owner-freebsd-ports@freebsd.org Thu Jul 21 08:15:09 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2E735B9F123 for ; Thu, 21 Jul 2016 08:15:09 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (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 E6B4E127F for ; Thu, 21 Jul 2016 08:15:08 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 3C23C206AD for ; Thu, 21 Jul 2016 04:15:07 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Thu, 21 Jul 2016 04:15:07 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=zyxst.net; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=A/s bwEnkcnA7FeUtgsitrJR2kWQ=; b=MWisGrIbH4dAIvqnk2gfolrno/dxHtKvMgp hgRaBRLAILHp3bUdLiRWqLuQE+iS7RiGsYJWBI21SBGUPksk6I3je82Cqddy6b0m 8DDy8DWyL1AiInbXttjFa98It75T9VRF4SlVz/BI3x7s37xXKjEg5IchHabYAsDs sXNf6rnA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=A/sbwEnkcnA7FeUtgsitrJR2kWQ=; b=e+SNx U0teaqPZh6Q6WRI2Cje704vVP5Q3AwR3VVBm/iYl1tw2hJJGIy6FO+E9YWoprB31 kO0zHb2i11ZXd6wbOdft3AKSO6/k/Yt68hG8Wr6AQNcHVHF409but+0NEhWZA9xr TswT58asb1Z9+W1oABDM87dlkeUBrOBpL0yfwU= X-Sasl-enc: SUtf/Lt+ab+j3uqnPPdP4/fAlTDF86Rt2+69SeH7MS+1 1469088906 Received: from pumpkin.growveg.org (potato.growveg.org [82.70.91.102]) by mail.messagingengine.com (Postfix) with ESMTPA id C1443F2A01 for ; Thu, 21 Jul 2016 04:15:06 -0400 (EDT) To: freebsd-ports@freebsd.org From: tech-lists Subject: stunnel fails to build X-Enigmail-Draft-Status: N0020 Message-ID: <57d3d4e8-ed5b-ee6d-073e-81b7fe1afb30@zyxst.net> Date: Thu, 21 Jul 2016 09:15:00 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2016 08:15:09 -0000 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.