lilien1010 opened a new issue #3319:
URL: https://github.com/apache/apisix/issues/3319


   ### Issue description
   
   ### Environment
   
   * apisix version (cmd: `apisix version`): `2.2`
   * OS: (cmd: `uname -a`) `Darwin lees-MacBook-Pro.local 19.6.0 Darwin Kernel 
Version 19.6.0: Thu Oct 29 22:56:45 PDT 2020; 
root:xnu-6153.141.2.2~1/RELEASE_X86_64 x86_64`
   * OpenResty / Nginx version: (cmd: `nginx -V` or `openresty -V`) nginx 
version: `openresty/1.17.8.2 built by clang 11.0.0 (clang-1100.0.33.12) built 
with OpenSSL 1.1.1g  21 Apr 2020`
   * luarocks version : `LuaRocks 2.1.0`
   
   ### Minimal test code / Steps to reproduce the issue
   use master branch(2.2) and run make deps
    
   ### What's the actual result? (including assertion message & call stack if 
applicable)
   make deps install lua-resty-hmac failed
   ```
   Using 
http://www.luarocks.org/repositories/rocks/lua-resty-hmac-ffi-0.05-0.rockspec...
 switching to 'build' mode
   Cloning into 'lua-resty-hmac'...
   remote: Enumerating objects: 17, done.
   remote: Counting objects: 100% (17/17), done.
   remote: Compressing objects: 100% (15/15), done.
   remote: Total 17 (delta 0), reused 13 (delta 0), pack-reused 0
   Receiving objects: 100% (17/17), 8.67 KiB | 4.33 MiB/s, done.
   Note: switching to 'd3c44a0cd804c496e1f2d38275a583a1d3caa3c6'.
   
   You are in 'detached HEAD' state. You can look around, make experimental
   changes and commit them, and you can discard any commits you make in this
   state without impacting any branches by switching back to a branch.
   
   If you want to create a new branch to retain commits you create, you may
   do so (now or later) by using -c with the switch command. Example:
   
     git switch -c <new-branch-name>
   
   Or undo this operation with:
   
     git switch -
   
   Turn off this advice by setting config variable advice.detachedHead to false
   
   stat: lib/resty/hmac.lua: stat: No such file or directory
   
   Error: Failed installing dependency: 
http://www.luarocks.org/repositories/rocks/lua-resty-hmac-ffi-0.05-0.rockspec - 
Build error: Failed installing lib/resty/hmac.lua in 
/Users/admin/src/github.com/lilien1010/apisix/deps//lib/luarocks/rocks/lua-resty-hmac-ffi/0.05-0/lua/resty
   make: *** [deps] Error 1
   ```
   ### What's the expected result?
   
   make deps works smoothly on mac


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to