kwanhur opened a new issue, #6975:
URL: https://github.com/apache/apisix/issues/6975

   ### Description
   
   `make deps` install `opentelemetry-lua 0.1-3` failed at depending on 
`lua-protobuf 0.3.3`.
   
   `lua-protobuf 0.3.4` specified at `apisix-master-0.rockspec`, so they make 
the conflicts, like:
   
   `make deps` first time result
   ```shell
   apisix master-0 depends on opentelemetry-lua 0.1-3 (not installed)
   Installing https://luarocks.cn/opentelemetry-lua-0.1-3.rockspec
   Cloning into 'opentelemetry-lua'...
   remote: Enumerating objects: 249, done.
   remote: Counting objects: 100% (249/249), done.
   remote: Compressing objects: 100% (141/141), done.
   remote: Total 249 (delta 128), reused 196 (delta 87), pack-reused 0
   Receiving objects: 100% (249/249), 62.77 KiB | 0 bytes/s, done.
   Resolving deltas: 100% (128/128), done.
   Note: checking out '6c42aabc7396d5b45a23f96bd9155b567e3acf4d'.
   
   Missing dependencies for opentelemetry-lua 0.1-3:
      lua-protobuf 0.3.3 (not installed)
   
   opentelemetry-lua 0.1-3 depends on lua-protobuf 0.3.3 (not installed)
   Installing https://luarocks.cn/lua-protobuf-0.3.3-1.src.rock
   
   lua-protobuf 0.3.3-1 depends on lua >= 5.1 (5.1-1 provided by VM)
   gcc -O2 -fPIC -I/usr/local/openresty/luajit/include/luajit-2.1 -c pb.c -o 
pb.o
   gcc -shared -o pb.so pb.o
   lua-protobuf 0.3.3-1 is now installed in /home/vagrant/apisix/deps (license: 
MIT)
   
   Checking stability of dependencies in the absence of
   lua-protobuf 0.3.4-1...
   
   Removing lua-protobuf 0.3.4-1...
   Removal successful.
   
   Error: Failed installing dependency: 
https://luarocks.cn/opentelemetry-lua-0.1-3.rockspec - Failed installing 
dependency: https://luarocks.cn/lua-protobuf-0.3.3-1.src.rock - failed 
deploying files. The following files were not installed:
   /home/vagrant/apisix/deps/share/lua/5.1/protoc.lua
   /home/vagrant/apisix/deps/lib/lua/5.1/pb.so
   make: *** [deps] Error 1
   ```
   
   `make deps` second time result
   ```shell
   apisix master-0 depends on lua-protobuf 0.3.4 (not installed)
   Installing https://luarocks.cn/lua-protobuf-0.3.4-1.src.rock
   
   lua-protobuf 0.3.4-1 depends on lua >= 5.1 (5.1-1 provided by VM)
   gcc -O2 -fPIC -I/usr/local/openresty/luajit/include/luajit-2.1 -c pb.c -o 
pb.o
   gcc -shared -o pb.so pb.o
   lua-protobuf 0.3.4-1 is now installed in /home/vagrant/apisix/deps (license: 
MIT)
   
   Checking stability of dependencies in the absence of
   lua-protobuf 0.3.3-1...
   
   Removing lua-protobuf 0.3.3-1...
   Removal successful.
   
   Error: Failed installing dependency: 
https://luarocks.cn/lua-protobuf-0.3.4-1.src.rock - failed deploying files. The 
following files were not installed:
   /home/vagrant/apisix/deps/share/lua/5.1/protoc.lua
   /home/vagrant/apisix/deps/lib/lua/5.1/pb.so
   make: *** [deps] Error 1
   ```
   
   ### Environment
   
   - APISIX version (run `apisix version`): master branch
   - Operating system (run `uname -a`): Linux lvs 3.10.0-327.4.5.el7.x86_64 #1 
SMP
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`): 
/usr/local/bin/luarocks 3.8.0
   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to