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

brew install nginx-full --with-njs-module Error

Mas0n1 opened this issue · comments

commented

Indicate troubleshooting steps taken

  • Ran brew update and retried your prior step?
  • Ran brew doctor, fixed as many issues as possible and retried your prior step?
  • Checked that a similar issue hasn't already been filed?
  • Looked up the software bug tracker if reporting a build error?
  • If you're seeing permission errors tried running sudo chown -R $(whoami) $(brew --prefix)?

Bug reports / build errors:

$ brew install nginx-full --with-njs-module
==> Fetching denji/nginx/nginx-full
==> Downloading https://nginx.org/download/nginx-1.23.3.tar.gz
Already downloaded: /Users/mason/Library/Caches/Homebrew/downloads/863e4f8cefb39e2c86b9797ec606b51137fe2b556c02f09e3ce9621a4034d6e6--nginx-1.23.3.tar.gz
==> Installing nginx-full from denji/nginx
==> ./configure --prefix=/usr/local/Cellar/nginx-full/1.23.3 --with-http_ssl_module --with-pcre --with-ipv6 --sbin-path=/usr/local/Cellar/nginx-full/1.23.3/bin/nginx --with-cc-opt=-I/usr/local/include -I/usr/local
==> make install
Last 15 lines from /Users/mason/Library/Logs/Homebrew/nginx-full/02.make:
rm: build/src/njs_vmcode.dep: Operation not permitted
rm: build/src/njs_async.o: Operation not permitted
rm: build/src/njs_trace.o: Operation not permitted
rm: build/src/njs_builtin.o: Operation not permitted
rm: build/src/njs_extern.dep: Operation not permitted
rm: build/src/njs_encoding.dep: Operation not permitted
rm: build/src/njs_lvlhsh.o: Operation not permitted
rm: build/src/njs_typed_array.dep: Operation not permitted
rm: build/src: Operation not permitted
rm: build: Operation not permitted
rm: Makefile: Operation not permitted
make[2]: *** [clean] Error 1
make[1]: *** [/usr/local/share/njs-nginx-module/nginx/../build/libnjs.a] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [install] Error 2

Gist with output of brew doctor:

$ brew doctor
Your system is ready to brew.

Output of brew config:

$ brew config
HOMEBREW_VERSION: 3.6.18
ORIGIN: https://github.com/Homebrew/brew
HEAD: 106af035578d5f8716ae9510c1f9ad8c19f73a79
Last commit: 4 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 1dc4993b84be42b614f3d70dd1713b505fbf8470
Core tap last commit: 74 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.8 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8_1/bin/ruby
CPU: octa-core 64-bit kabylake
Clang: 14.0.0 build 1400
Git: 2.37.1 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.85.0 => /usr/bin/curl
macOS: 13.1-x86_64
CLT: N/A
Xcode: 14.2

Formula Requests:

The quickest way to get a new formula into Homebrew is to file a Pull Request.

We will consider your request but it may be closed if it's something we're not actively planning to work on.

I am also seeing this error.