Closed yo-han closed 1 year ago
When trying to build the docker image it crashes on an error:
#16 17.39 -o objs/src/event/quic/ngx_event_quic_transport.o \ #16 17.39 src/event/quic/ngx_event_quic_transport.c #16 17.40 src/event/ngx_event_openssl.c: In function 'ngx_ssl_get_curve': #16 17.40 src/event/ngx_event_openssl.c:5110:20: error: 'TLSEXT_nid_unknown' undeclared (first use in this function) #16 17.40 5110 | if ((nid & TLSEXT_nid_unknown) == 0) { #16 17.40 | ^~~~~~~~~~~~~~~~~~ #16 17.40 src/event/ngx_event_openssl.c:5110:20: note: each undeclared identifier is reported only once for each function it appears in #16 17.44 make[1]: *** [objs/Makefile:1409: objs/src/event/ngx_event_openssl.o] Error 1 #16 17.44 make[1]: *** Waiting for unfinished jobs.... #16 18.49 make[1]: Leaving directory '/usr/src/nginx-1.23.4' #16 18.50 make: *** [Makefile:10: build] Error 2 ------ executor failed running [/bin/sh -c echo "Building nginx ..." && cd /usr/src/nginx-$NGINX_VERSION && ./auto/configure $CONFIG --with-cc-opt="-I../boringssl/include" --with-ld-opt="-L../boringssl/build/ssl -L../boringssl/build/crypto" && make -j"$(getconf _NPROCESSORS_ONLN)"]: exit code: 2
If I remove:
&& ./auto/configure $CONFIG \ --with-cc-opt="-I../boringssl/include" \ --with-ld-opt="-L../boringssl/build/ssl \ -L../boringssl/build/crypto" \
the build succeeds. So it seems an issue with boringssl but can't find out why.
Fixed in BoringSSL
When trying to build the docker image it crashes on an error:
If I remove:
the build succeeds. So it seems an issue with boringssl but can't find out why.