[MacPorts] #48149: nodejs: v0.12.5 fails to build

MacPorts noreply at macports.org
Tue Jun 23 08:05:52 PDT 2015


#48149: nodejs: v0.12.5 fails to build
------------------------+--------------------------------
 Reporter:  J.Gilbey@…  |      Owner:  macports-tickets@…
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.3.3
 Keywords:              |       Port:
------------------------+--------------------------------
 The make -w all part of the build failed.  When I tried this command
 separately, the errors I got began with:

 ````
   /usr/bin/clang++ '-D_DARWIN_USE_64_BIT_INODE=1'
 '-DNODE_WANT_INTERNALS=1' '-DARCH="x64"' '-DNODE_TAG=""'
 '-DNODE_V8_OPTIONS=""' '-DNODE_HAVE_I18N_SUPPORT=1' '-DHAVE_OPENSSL=1'
 '-DHAVE_DTRACE=1' '-D__POSIX__' '-DPLATFORM="darwin"'
 '-DHTTP_PARSER_STRICT=0' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64'
 -I/opt/local/include/openssl -I../src -I../tools/msvs/genfiles
 -I../deps/uv/src/ares
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs/nodejs/work/node-v0.12.5/out/Release/obj/gen
 -I../deps/debugger-agent/include -I../deps/v8/include -I../deps/zlib
 -I../deps/http_parser -I../deps/cares/include -I../deps/uv/include  -Os
 -gdwarf-2 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -fno-
 rtti -fno-exceptions -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs/nodejs/work/node-v0.12.5/out/Release/.deps//opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs/nodejs/work/node-v0.12.5/out/Release/obj.target/node/src/node.o.d.raw
 -Os -c -o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs/nodejs/work/node-v0.12.5/out/Release/obj.target/node/src/node.o
 ../src/node.cc
 In file included from ../src/node.cc:35:
 ../src/node_crypto.h:136:7: warning: 'SSL_CTX_free' is deprecated: first
       deprecated in OS X 10.7 [-Wdeprecated-declarations]
       SSL_CTX_free(ctx_);
       ^
 /usr/include/openssl/ssl.h:1363:6: note: 'SSL_CTX_free' has been
 explicitly marked
       deprecated here
 void    SSL_CTX_free(SSL_CTX *)
 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
         ^
 In file included from ../src/node.cc:35:
 ../src/node_crypto.h:167:12: warning: 'SSL_new' is deprecated: first
 deprecated in
       OS X 10.7 [-Wdeprecated-declarations]
     ssl_ = SSL_new(sc->ctx_);
            ^
 /usr/include/openssl/ssl.h:1497:7: note: 'SSL_new' has been explicitly
 marked
       deprecated here
 SSL *   SSL_new(SSL_CTX *ctx)
 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
         ^
 In file included from ../src/node.cc:35:
 ../src/node_crypto.h:372:5: warning: 'EVP_CIPHER_CTX_cleanup' is
 deprecated: first
       deprecated in OS X 10.7 [-Wdeprecated-declarations]
     EVP_CIPHER_CTX_cleanup(&ctx_);
     ^
 /usr/include/openssl/evp.h:637:5: note: 'EVP_CIPHER_CTX_cleanup' has been
       explicitly marked deprecated here
 int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *a)
 DEPRECATED_IN_MAC_OS_X_VERSI...
     ^
 In file included from ../src/node.cc:35:
 ../src/node_crypto.h:435:5: warning: 'HMAC_CTX_cleanup' is deprecated:
 first
       deprecated in OS X 10.7 [-Wdeprecated-declarations]
     HMAC_CTX_cleanup(&ctx_);
     ^
 /usr/include/openssl/hmac.h:91:6: note: 'HMAC_CTX_cleanup' has been
 explicitly
       marked deprecated here
 void HMAC_CTX_cleanup(HMAC_CTX *ctx)
 DEPRECATED_IN_MAC_OS_X_VERSION_10_7_A...
      ^
 In file included from ../src/node.cc:35:
 ../src/node_crypto.h:468:5: warning: 'EVP_MD_CTX_cleanup' is deprecated:
 first
       deprecated in OS X 10.7 [-Wdeprecated-declarations]
     EVP_MD_CTX_cleanup(&mdctx_);
     ^
 /usr/include/openssl/evp.h:548:5: note: 'EVP_MD_CTX_cleanup' has been
 explicitly
       marked deprecated here
 int     EVP_MD_CTX_cleanup(EVP_MD_CTX *ctx)
 DEPRECATED_IN_MAC_OS_X_VERSION...
         ^
 In file included from ../src/node.cc:35:
 ../src/node_crypto.h:515:5: warning: 'EVP_MD_CTX_cleanup' is deprecated:
 first
       deprecated in OS X 10.7 [-Wdeprecated-declarations]
     EVP_MD_CTX_cleanup(&mdctx_);
     ^
 /usr/include/openssl/evp.h:548:5: note: 'EVP_MD_CTX_cleanup' has been
 explicitly
       marked deprecated here
 int     EVP_MD_CTX_cleanup(EVP_MD_CTX *ctx)
 DEPRECATED_IN_MAC_OS_X_VERSION...
         ^
 In file included from ../src/node.cc:35:
 ../src/node_crypto.h:575:41: error: unknown type name 'EVP_PKEY_CTX'
   typedef int (*EVP_PKEY_cipher_init_t)(EVP_PKEY_CTX *ctx);
                                         ^
 ../src/node_crypto.h:576:36: error: unknown type name 'EVP_PKEY_CTX'
   typedef int (*EVP_PKEY_cipher_t)(EVP_PKEY_CTX *ctx,
                                    ^
 ../src/node_crypto.h:607:7: warning: 'DH_free' is deprecated: first
 deprecated in
       OS X 10.7 [-Wdeprecated-declarations]
       DH_free(dh);
       ^
 /usr/include/openssl/dh.h:185:6: note: 'DH_free' has been explicitly
 marked
       deprecated here
 void    DH_free(DH *dh) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
         ^
 In file included from ../src/node.cc:35:
 ../src/node_crypto.h:653:7: warning: 'EC_KEY_free' is deprecated: first
 deprecated
       in OS X 10.7 [-Wdeprecated-declarations]
       EC_KEY_free(key_);
       ^
 /usr/include/openssl/ec.h:307:6: note: 'EC_KEY_free' has been explicitly
 marked
       deprecated here
 void EC_KEY_free(EC_KEY *) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
      ^
 In file included from ../src/node.cc:35:
 ../src/node_crypto.h:665:16: warning: 'EC_KEY_get0_group' is deprecated:
 first
       deprecated in OS X 10.7 [-Wdeprecated-declarations]
         group_(EC_KEY_get0_group(key_)) {
                ^
 /usr/include/openssl/ec.h:313:17: note: 'EC_KEY_get0_group' has been
 explicitly
       marked deprecated here
 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *)
 DEPRECATED_IN_MAC_OS_X_V...
                 ^
 In file included from ../src/node.cc:35:
 ../src/node_crypto.h:173:7: warning: 'SSL_free' is deprecated: first
 deprecated in
       OS X 10.7 [-Wdeprecated-declarations]
       SSL_free(ssl_);
       ^
 ../src/node_crypto.h:278:3: note: in instantiation of member function
       'node::crypto::SSLWrap<node::crypto::Connection>::~SSLWrap'
 requested here
   ~Connection() {
   ^
 /usr/include/openssl/ssl.h:1506:6: note: 'SSL_free' has been explicitly
 marked
       deprecated here
 void    SSL_free(SSL *ssl) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
         ^
 In file included from ../src/node.cc:35:
 ../src/node_crypto.h:177:7: warning: 'SSL_SESSION_free' is deprecated:
 first
       deprecated in OS X 10.7 [-Wdeprecated-declarations]
       SSL_SESSION_free(next_sess_);
       ^
 /usr/include/openssl/ssl.h:1453:6: note: 'SSL_SESSION_free' has been
 explicitly
       marked deprecated here
 void    SSL_SESSION_free(SSL_SESSION *ses)
 DEPRECATED_IN_MAC_OS_X_VERSION_...
         ^
 11 warnings and 2 errors generated.
 make[1]: ***
 [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs/nodejs/work/node-v0.12.5/out/Release/obj.target/node/src/node.o]
 Error 1
 ````

 Standard log file attached.

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


More information about the macports-tickets mailing list