[Bug 209434] www/nginx compile error with openssl 1.1.0-pre5

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue May 10 18:10:13 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209434

            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 at FreeBSD.org
          Reporter: nevans at talkpoint.com
          Assignee: osa at FreeBSD.org
             Flags: maintainer-feedback?(osa at 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/include
-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 
src/event/modules/ngx_kqueue_module.c
cc -c -O2 -pipe  -fstack-protector -fno-strict-aliasing -I /usr/local/include
-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/include
-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 = 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 = 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 == NULL || dh->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:32: error: incomplete definition of type
'struct dh_st'
        if (dh->p == NULL || dh->g == 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

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


More information about the freebsd-ports-bugs mailing list