2016-06-26 12:23 GMT+02:00 Kurt Roeckx <k...@roeckx.be>:

> Source: nodejs
> Version: 4.4.3~dfsg-1
> Severity: important
> Control: block 827061 by -1
>
> Hi,
>
> OpenSSL 1.1.0 is about to released.  During a rebuild of all packages using
> OpenSSL this package fail to build.  A log of that build can be found at:
>
> https://breakpoint.cc/openssl-1.1-rebuild-2016-05-29/Attempted/nodejs_4.4.3~dfsg-1_amd64-20160529-1457
>
> On https://wiki.openssl.org/index.php/1.1_API_Changes you can see various
> of the
> reasons why it might fail.  There are also updated man pages at
> https://www.openssl.org/docs/manmaster/ that should contain useful
> information.
>
> There is a libssl-dev package available in experimental that contains a
> recent
> snapshot, I suggest you try building against that to see if everything
> works.
>
> If you have problems making things work, feel free to contact us.
>


I'm on it, and after a couple things i could solve, i need a "gentle push"
to continue solving these:

```
  g++ '-DNODE_ARCH="x64"' '-DNODE_PLATFORM="linux"'
'-DNODE_WANT_INTERNALS=1' '-DV8_DEPRECATION_WARNINGS=1'
'-DNODE_HAVE_I18N_SUPPORT=1' '-DHAVE_OPENSSL=1' '-D__POSIX__'
'-DHTTP_PARSER_STRICT=0' -I/usr/include/x86_64-linux-gnu -I../src
-I../tools/msvs/genfiles -I../deps/uv/src/ares
-I/home/dev/Software/debian/nodejs/collab-maint/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
/home/dev/Software/debian/nodejs/collab-maint/out/Release/.deps//home/dev/Software/debian/nodejs/collab-maint/out/Release/obj.target/node/src/node.o.d.raw
-g -O2 -fstack-protector-strong -Wformat -Werror=format-security
-Wdate-time -D_FORTIFY_SOURCE=2  -c -o
/home/dev/Software/debian/nodejs/collab-maint/out/Release/obj.target/node/src/node.o
../src/node.cc
In file included from ../src/node.cc:16:0:
../src/node_crypto.h:94:54: error: invalid application of ‘sizeof’ to
incomplete type ‘SSL_CTX {aka ssl_ctx_st}’
   static const int64_t kExternalSize = sizeof(SSL_CTX);
                                                      ^
../src/node_crypto.h:225:17: error: invalid application of ‘sizeof’ to
incomplete type ‘SSL {aka ssl_st}’
       sizeof(SSL) + sizeof(SSL3_STATE) + 42 * 1024;
                 ^
../src/node_crypto.h:225:28: error: ‘SSL3_STATE’ was not declared in this
scope
       sizeof(SSL) + sizeof(SSL3_STATE) + 42 * 1024;
                            ^
../src/node_crypto.h:469:18: error: field ‘ctx_’ has incomplete type
‘EVP_CIPHER_CTX {aka evp_cipher_ctx_st}’
   EVP_CIPHER_CTX ctx_; /* coverity[member_decl] */
                  ^
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/comp.h:16,
                 from /usr/include/openssl/ssl.h:47,
                 from ../src/node_crypto.h:20,
                 from ../src/node.cc:16:
/usr/include/openssl/ossl_typ.h:89:16: note: forward declaration of
‘EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}’
 typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
                ^
In file included from ../src/node.cc:16:0:
../src/node_crypto.h:505:12: error: field ‘ctx_’ has incomplete type
‘HMAC_CTX {aka hmac_ctx_st}’
   HMAC_CTX ctx_; /* coverity[member_decl] */
            ^
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/comp.h:16,
                 from /usr/include/openssl/ssl.h:47,
                 from ../src/node_crypto.h:20,
                 from ../src/node.cc:16:
/usr/include/openssl/ossl_typ.h:101:16: note: forward declaration of
‘HMAC_CTX {aka struct hmac_ctx_st}’
 typedef struct hmac_ctx_st HMAC_CTX;
                ^
In file included from ../src/node.cc:16:0:
../src/node_crypto.h:536:14: error: field ‘mdctx_’ has incomplete type
‘EVP_MD_CTX {aka evp_md_ctx_st}’
   EVP_MD_CTX mdctx_; /* coverity[member_decl] */
              ^
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/comp.h:16,
                 from /usr/include/openssl/ssl.h:47,
                 from ../src/node_crypto.h:20,
                 from ../src/node.cc:16:
/usr/include/openssl/ossl_typ.h:91:16: note: forward declaration of
‘EVP_MD_CTX {aka struct evp_md_ctx_st}’
 typedef struct evp_md_ctx_st EVP_MD_CTX;
                ^
In file included from ../src/node.cc:16:0:
../src/node_crypto.h:568:14: error: field ‘mdctx_’ has incomplete type
‘EVP_MD_CTX {aka evp_md_ctx_st}’
   EVP_MD_CTX mdctx_; /* coverity[member_decl] */
              ^
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/comp.h:16,
                 from /usr/include/openssl/ssl.h:47,
                 from ../src/node_crypto.h:20,
                 from ../src/node.cc:16:
/usr/include/openssl/ossl_typ.h:91:16: note: forward declaration of
‘EVP_MD_CTX {aka struct evp_md_ctx_st}’
 typedef struct evp_md_ctx_st EVP_MD_CTX;
```

Thanks for any help.
Jérémy

Reply via email to