Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 May 2016 18:10:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 209434] www/nginx compile error with openssl 1.1.0-pre5
Message-ID:  <bug-209434-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209434

            Bug ID: 209434
           Summary: www/nginx compile error with openssl 1.1.0-pre5
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: osa@FreeBSD.org
          Reporter: nevans@talkpoint.com
          Assignee: osa@FreeBSD.org
             Flags: maintainer-feedback?(osa@FreeBSD.org)

Compile bails when security/openssl-devel is installed (1.1.0-pre5)

cc -c -O2 -pipe  -fstack-protector -fno-strict-aliasing -I /usr/local/inclu=
de
-I src/core  -I src/event  -I src/event/modules  -I src/os/unix  -I objs  -o
objs/src/event/modules/ngx_kqueue_module.o=20
src/event/modules/ngx_kqueue_module.c
cc -c -O2 -pipe  -fstack-protector -fno-strict-aliasing -I /usr/local/inclu=
de
-I src/core  -I src/event  -I src/event/modules  -I src/os/unix  -I objs  -o
objs/src/os/unix/ngx_file_aio_read.o  src/os/unix/ngx_file_aio_read.c
cc -c -O2 -pipe  -fstack-protector -fno-strict-aliasing -I /usr/local/inclu=
de
-I src/core  -I src/event  -I src/event/modules  -I src/os/unix  -I objs  -o
objs/src/event/ngx_event_openssl.o  src/event/ngx_event_openssl.c
src/event/ngx_event_openssl.c:954:11: error: incomplete definition of type
'struct dh_st'
        dh->p =3D BN_bin2bn(dh1024_p, sizeof(dh1024_p), NULL);
        ~~^
/usr/local/include/openssl/ossl_typ.h:148:16: note: forward declaration of
'struct dh_st'
typedef struct dh_st DH;
               ^
src/event/ngx_event_openssl.c:955:11: error: incomplete definition of type
'struct dh_st'
        dh->g =3D BN_bin2bn(dh1024_g, sizeof(dh1024_g), NULL);
        ~~^
/usr/local/include/openssl/ossl_typ.h:148:16: note: forward declaration of
'struct dh_st'
typedef struct dh_st DH;
               ^
src/event/ngx_event_openssl.c:957:15: error: incomplete definition of type
'struct dh_st'
        if (dh->p =3D=3D NULL || dh->g =3D=3D NULL) {
            ~~^
/usr/local/include/openssl/ossl_typ.h:148:16: note: forward declaration of
'struct dh_st'
typedef struct dh_st DH;
               ^
src/event/ngx_event_openssl.c:957:32: error: incomplete definition of type
'struct dh_st'
        if (dh->p =3D=3D NULL || dh->g =3D=3D NULL) {
                             ~~^
/usr/local/include/openssl/ossl_typ.h:148:16: note: forward declaration of
'struct dh_st'
typedef struct dh_st DH;
               ^
4 errors generated.
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/www/nginx/work/nginx-1.10.0
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/www/nginx/work/nginx-1.10.0
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/nginx
*** Error code 1

Stop.
make: stopped in /usr/ports/www/nginx

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209434-13>