denji / homebrew-nginx

:fire_engine: Community NGINX tap for custom modules

Home Page:https://denji.github.io/homebrew-nginx/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation with headers-more-module fails

sebastianhelbig opened this issue · comments

  • macOS Ventura 13.0
  • XCode 14.0/14.1
  • Intel machine
brew reinstall nginx-full --with-headers-more-module
==> Downloading https://nginx.org/download/nginx-1.23.1.tar.gz
Already downloaded: /Users/sh/Library/Caches/Homebrew/downloads/949af1a0597127468320c6317900204660674b2ea3958941761b175a4ba25105--nginx-1.23.1.tar.gz
==> Reinstalling denji/nginx/nginx-full --with-headers-more-module
==> ./configure --prefix=/usr/local/Cellar/nginx-full/1.23.1 --with-http_ssl_module --with-pcre --with-ipv6 --sbin-path=/usr/local/Cellar/nginx-full/1.23.1/bin/nginx --with-cc-opt=-
==> make install
Last 15 lines from /Users/sh/Library/Logs/Homebrew/nginx-full/02.make:
sed -e "s|%%PREFIX%%|/usr/local/Cellar/nginx-full/1.23.1|" \
		-e "s|%%PID_PATH%%|/usr/local/var/run/nginx.pid|" \
		-e "s|%%CONF_PATH%%|/usr/local/etc/nginx/nginx.conf|" \
		-e "s|%%ERROR_LOG_PATH%%|/usr/local/var/log/nginx/error.log|" \
		< man/nginx.8 > objs/nginx.8
/usr/local/share/headers-more-nginx-module/src/ngx_http_headers_more_headers_in.c:162:18: error: no member named 'cookies' in ''
                 offsetof(ngx_http_headers_in_t, cookies),
                 ^                               ~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/stddef.h:104:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
                       ^                     ~
1 error generated.
make[1]: *** [objs/addon/src/ngx_http_headers_more_headers_in.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [install] Error 2