openresty / openresty/lua-resty-core

dependency problem

Open
#297 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
853
Forks
286
Avg merge
35m
Merged PRs (30d)
1

Description

I'm running Debian Buster with Openresut 1.15.8.3-1 from the official repositories.
Installing this module gives the following output:

opm get slact/durpina
* Fetching slact/durpina  
  Downloading https://opm.openresty.org/api/pkg/tarball/slact/durpina-0.1.0.opm.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 28280  100 28280    0     0   248k      0 --:--:-- --:--:-- --:--:--  248k
* Fetching openresty/lua-resty-core  
  Downloading https://opm.openresty.org/api/pkg/tarball/openresty/lua-resty-core-0.1.15.opm.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 44748  100 44748    0     0   336k      0 --:--:-- --:--:-- --:--:--  336k
* Fetching openresty/lua-resty-lrucache >= 0.08
  Downloading https://opm.openresty.org/api/pkg/tarball/openresty/lua-resty-lrucache-0.08.opm.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 12359  100 12359    0     0   132k      0 --:--:-- --:--:-- --:--:--  132k
Package openresty/lua-resty-lrucache 0.08 installed successfully under /usr/local/openresty/site/ .
ERROR: ngx_http_lua = 0.10.13 required but found ngx_http_lua 0.10.15 according to resty.

your dist.ini seems to depend on a specific version of ngx_http_lua:

ngx_http_lua = 0.10.13

Wouldn't it be better to have de dependency on ngx_http_lua >= 0.10.13?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with dist.ini and inspect the ngx_http_lua dependency declaration shown in the issue. Reproduce the opm get slact/durpina installation on the reported OpenResty setup, then verify that the dependency metadata accepts the installed ngx_http_lua version without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, nginx
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.