[MacPorts] #48330: unbound 1.5.4 does not build on Mac OS X 10.6.8 (Snow Leopard) because it can't find a suitable and modern OpenSSL version

MacPorts noreply at macports.org
Wed Oct 7 14:58:47 PDT 2015


#48330: unbound 1.5.4 does not build on Mac OS X 10.6.8 (Snow Leopard) because it
can't find a suitable and modern OpenSSL version
------------------------------+--------------------
  Reporter:  Peter_Dyballa@…  |      Owner:  snc@…
      Type:  defect           |     Status:  closed
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.3.3
Resolution:  wontfix          |   Keywords:
      Port:  unbound          |
------------------------------+--------------------

Comment (by Peter_Dyballa@…):

 Trying `port -vd upgrade unbound configure.compiler=gcc-4.2` configure now
 found:

 {{{
 checking for SSL... found in /opt/local
 checking for HMAC_CTX_init in -lcrypto... yes
 checking for library containing dlopen... none required
 checking for openssl/ssl.h... yes
 checking for openssl/err.h... yes
 checking for openssl/rand.h... yes
 checking if libssl needs libdl... no
 checking for LibreSSL... no
 checking for openssl/conf.h... yes
 checking for openssl/engine.h... yes
 checking for OPENSSL_config... yes
 checking for EVP_sha1... yes
 checking for EVP_sha256... yes
 checking for EVP_sha512... yes
 checking for FIPS_mode... yes
 checking whether SSL_COMP_get_compression_methods is declared... yes
 checking whether sk_SSL_COMP_pop_free is declared... yes
 checking for EVP_PKEY_set_type_str... yes
 checking for EC_KEY_new... yes
 checking if GOST works... yes
 checking for ECDSA_sign... yes
 checking for SHA384_Init... yes
 checking whether NID_X9_62_prime256v1 is declared... yes
 checking whether NID_secp384r1 is declared... yes
 checking if openssl supports SHA2 and ECDSA with EVP... yes
 checking for libexpat... found in /opt/local
 }}}

 and port succeeded to build unbound. It reported:

 {{{
 Error: The following dependencies were not installed: apple-gcc42
 }}}

 when I tried to use `configure.compiler=apple-gcc-4.2`. Success also when
 I tried to use Clang 3.4, which emitted a few extra warnings:

 {{{
 clang: warning: argument unused during compilation: '-pthread'
 }}}

 Both, GCC 4.2 from Xcode and Clang 3.4, reported:

 {{{
 libtool: install: warning: remember to run `libtool --finish
 /opt/local/lib'
 }}}

 Since I could easily remove unbound, i.e. there is no port that depends on
 it, why was unbound installed automatically? I did not know of unbound
 before so I never would have tried to install it.

 Is it necessary to install the package apple-gcc42 and try another build?

-- 
Ticket URL: <https://trac.macports.org/ticket/48330#comment:6>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list