package: nodejs
version: 4.3.0~dfsg-2
severity: wishlist

I'm trying to backport gitlab to jessie and it depends on nodejs >= 4.0.
I got the following error when trying to build it.

 g++ '-DNODE_ARCH="x64"' '-DNODE_PLATFORM="linux"'
'-DNODE_WANT_INTERNALS=1' '-DV8_DEPREC
ATION_WARNINGS=1' '-DNODE_HAVE_I18N_SUPPORT=1' '-DHAVE_OPENSSL=1'
'-D__POSIX__' '-DHTTP_PA
RSER_STRICT=0' -I/usr/include/x86_64-linux-gnu -I../src
-I../tools/msvs/genfiles -I../deps
/uv/src/ares
-I/root/backportr/build/nodejs-4.3.0~dfsg/out/Release/obj/gen
-I../deps/v8 -I
../deps/cares/include -I../deps/v8/include -I../deps/http_parser
-pthread -Wall -Wextra -
Wno-unused-parameter -m64 -O3 -ffunction-sections -fdata-sections
-fno-omit-frame-pointer
-fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF
/root/backportr/build/nodejs-4.3.0~dfsg/ou
t/Release/.deps//root/backportr/build/nodejs-4.3.0~dfsg/out/Release/obj.target/node/src/no
de_crypto.o.d.raw -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -Wall -
D_FORTIFY_SOURCE=2  -c -o
/root/backportr/build/nodejs-4.3.0~dfsg/out/Release/obj.target/n
ode/src/node_crypto.o ../src/node_crypto.cc
../src/node_crypto.cc: In function 'int
node::crypto::SSL_CTX_use_certificate_chain(SSL_CT
X*, X509*, stack_st_X509*, X509**, X509**)':
../src/node_crypto.cc:536:42: error: 'SSL_CTX_add1_chain_cert' was not
declared in this sc
ope
       r = SSL_CTX_add1_chain_cert(ctx, ca);
                                          ^
../src/node_crypto.cc: In static member function 'static void
node::crypto::SSLWrap<Base>:
:CertCbDone(const v8::FunctionCallbackInfo<v8::Value>&)':
../src/node_crypto.cc:2140:51: error: there are no arguments to
'SSL_CTX_get0_certificate'
 that depend on a template parameter, so a declaration of
'SSL_CTX_get0_certificate' must
be available [-fpermissive]
     X509* x509 = SSL_CTX_get0_certificate(sc->ctx_);
../src/node_crypto.cc:2140:51: note: (if you use '-fpermissive', G++
will accept your code, but allowing the use of an undeclared name is
deprecated)
../src/node_crypto.cc:2141:54: error: there are no arguments to
'SSL_CTX_get0_privatekey' that depend on a template parameter, so a
declaration of 'SSL_CTX_get0_privatekey' must be available [-fpermissive]
     EVP_PKEY* pkey = SSL_CTX_get0_privatekey(sc->ctx_);
                                                      ^
../src/node_crypto.cc:2144:51: error: there are no arguments to
'SSL_CTX_get0_chain_certs' that depend on a template parameter, so a
declaration of 'SSL_CTX_get0_chain_certs' must be available [-fpermissive]
     rv = SSL_CTX_get0_chain_certs(sc->ctx_, &chain);
                                                   ^
../src/node_crypto.cc: In function 'int
node::crypto::VerifyCallback(int, X509_STORE_CTX*)':
../src/node_crypto.cc:2469:24: error: 'SSL_is_server' was not declared
in this scope
   if (SSL_is_server(ssl))
                        ^
../src/node_crypto.cc: In static member function 'static void
node::crypto::Connection::New(const v8::FunctionCallbackInfo<v8::Value>&)':
../src/node_crypto.cc:2551:73: error: 'SSL_set_cert_cb' was not declared
in this scope
   SSL_set_cert_cb(conn->ssl_, SSLWrap<Connection>::SSLCertCallback, conn);
                                                                         ^
../src/node_crypto.cc: In instantiation of 'static void
node::crypto::SSLWrap<Base>::CertCbDone(const
v8::FunctionCallbackInfo<v8::Value>&) [with Base = node::TLSWrap]':
../src/node_crypto.cc:126:16:   required from here
../src/node_crypto.cc:2140:51: error: 'SSL_CTX_get0_certificate' was not
declared in this scope
     X509* x509 = SSL_CTX_get0_certificate(sc->ctx_);
                                                   ^
../src/node_crypto.cc:2141:54: error: 'SSL_CTX_get0_privatekey' was not
declared in this scope
     EVP_PKEY* pkey = SSL_CTX_get0_privatekey(sc->ctx_);
                                                      ^
../src/node_crypto.cc:2141:54: error: 'SSL_CTX_get0_privatekey' was not
declared in this scope
     EVP_PKEY* pkey = SSL_CTX_get0_privatekey(sc->ctx_);
                                                      ^
../src/node_crypto.cc:2144:51: error: 'SSL_CTX_get0_chain_certs' was not
declared in this scope
     rv = SSL_CTX_get0_chain_certs(sc->ctx_, &chain);
                                                   ^
../src/node_crypto.cc:2150:41: error: 'SSL_set1_chain' was not declared
in this scope
       rv = SSL_set1_chain(w->ssl_, chain);
                                         ^
../src/node_crypto.cc: In instantiation of 'static void
node::crypto::SSLWrap<Base>::CertCbDone(const
v8::FunctionCallbackInfo<v8::Value>&) [with Base =
node::crypto::Connection]':
../src/node_crypto.cc:1175:3:   required from 'static void
node::crypto::SSLWrap<Base>::AddMethods(node::Environment*,
v8::Local<v8::FunctionTemplate>) [with Base = node::crypto::Connection]'
../src/node_crypto.cc:2381:24:   required from here
../src/node_crypto.cc:2140:51: error: 'SSL_CTX_get0_certificate' was not
declared in this scope
     X509* x509 = SSL_CTX_get0_certificate(sc->ctx_);
                                                   ^
../src/node_crypto.cc:2141:54: error: 'SSL_CTX_get0_privatekey' was not
declared in this scope
     EVP_PKEY* pkey = SSL_CTX_get0_privatekey(sc->ctx_);
                                                      ^
../src/node_crypto.cc:2144:51: error: 'SSL_CTX_get0_chain_certs' was not
declared in this scope
     rv = SSL_CTX_get0_chain_certs(sc->ctx_, &chain);
                                                   ^
../src/node_crypto.cc:2150:41: error: 'SSL_set1_chain' was not declared
in this scope
       rv = SSL_set1_chain(w->ssl_, chain);
                                         ^
node.target.mk:147: recipe for target
'/root/backportr/build/nodejs-4.3.0~dfsg/out/Release/obj.target/node/src/node_crypto.o'
failed
make[2]: ***
[/root/backportr/build/nodejs-4.3.0~dfsg/out/Release/obj.target/node/src/node_crypto.o]
Error 1
make[2]: Leaving directory '/root/backportr/build/nodejs-4.3.0~dfsg/out'
Makefile:45: recipe for target 'node' failed
make[1]: *** [node] Error 2
make[1]: Leaving directory '/root/backportr/build/nodejs-4.3.0~dfsg'
/usr/share/cdbs/1/class/makefile.mk:47: recipe for target
'debian/stamp-makefile-build' failed
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to