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

Upgrading openresty-openssl fails with missing method 'is_64_bit?

omegahm opened this issue · comments

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:

Error: An exception occurred within a child process:
  NoMethodError: undefined method `is_64_bit?' for OS::Mac:Module

Brief summary of issue:

When upgrading denji/nginx/openresty-openssl fails with missing method is_64_bit?.

The complete command that you issued:

$ brew upgrade denji/nginx/openresty-openssl

Gist with output of brew doctor:

Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected header files:
  /usr/local/include/python2.7/greenlet/greenlet.h

Output of brew config:

HOMEBREW_VERSION: 2.1.2
ORIGIN: https://github.com/Homebrew/brew
HEAD: 4025eadc2c3b9b71aa7029d7ddc6ede1cb88d482
Last commit: 2 weeks ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 860e36604a14d0071b82cd8c854761eb935b24ea
Core tap last commit: 2 hours ago
HOMEBREW_PREFIX: /usr/local
CPU: octa-core 64-bit kabylake
Homebrew Ruby: 2.3.7 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Clang: 10.0 build 1001
Git: 2.21.0 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 1.8.0_192, 1.7.0_80
macOS: 10.14.5-x86_64
CLT: 10.2.1.0.1.1554506761
Xcode: 10.2.1
CLT headers: 10.2.1.0.1.1554506761

The entire output from running upgrade is here:

==> Upgrading 1 outdated package:
denji/nginx/openresty-openssl 1.0.2k_1 -> 1.1.0j
==> Upgrading denji/nginx/openresty-openssl
==> Downloading https://www.openssl.org/source/openssl-1.1.0j.tar.gz
Already downloaded: /Users/ohm/Library/Caches/Homebrew/downloads/a3c60edb9146ea18898125cccae6db435fd2ce553a41b46b23b88772757bc0cc--openssl-1.1.0j.tar.gz
==> Downloading https://raw.githubusercontent.com/openresty/openresty/master/patches/openssl-1.1.0d-sess_set_get_cb_yield.patch
Already downloaded: /Users/ohm/Library/Caches/Homebrew/downloads/d21b608d6b772ce15833d19e7d97f7d484fbba691be6f79dbd60968f9d9455d5--openssl-1.1.0d-sess_set_get_cb_yield.patch
==> Patching
==> Applying openssl-1.1.0d-sess_set_get_cb_yield.patch
patching file include/openssl/bio.h
Hunk #1 succeeded at 217 (offset -3 lines).
patching file include/openssl/ssl.h
Hunk #1 succeeded at 812 (offset 21 lines).
Hunk #2 succeeded at 821 (offset 21 lines).
Hunk #3 succeeded at 1054 (offset 21 lines).
Hunk #4 succeeded at 1461 with fuzz 1 (offset 31 lines).
patching file ssl/bio_ssl.c
Hunk #1 succeeded at 139 (offset 1 line).
Hunk #2 succeeded at 215 (offset 1 line).
Hunk #3 succeeded at 372 (offset 1 line).
patching file ssl/ssl_lib.c
Hunk #1 succeeded at 3187 (offset 205 lines).
patching file ssl/ssl_sess.c
Hunk #2 succeeded at 512 (offset 8 lines).
Hunk #3 succeeded at 901 (offset 9 lines).
patching file ssl/statem/statem.c
Hunk #1 succeeded at 589 (offset 6 lines).
Hunk #2 succeeded at 620 (offset 6 lines).
patching file ssl/statem/statem.h
patching file ssl/statem/statem_srvr.c
Hunk #1 succeeded at 1162 (offset -3 lines).
patching file util/libssl.num
Error: An exception occurred within a child process:
  NoMethodError: undefined method `is_64_bit?' for OS::Mac:Module

Check out the latest change, thanks.