tarantool / tarantool/crud

Unable to install crud

Open
#447 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
43
Forks
17
Avg merge
28m
Merged PRs (30d)
2

Description

dockerfile:

FROM docker.io/tarantool/tarantool:2.11-centos7

RUN yum -y groupinstall "Development Tools"
RUN yum -y install tt

RUN tt rocks install crud

An error

 > [4/4] RUN tt rocks install crud:
0.169 Failed to set locale to C.UTF-8
0.503 Installing http://rocks.tarantool.org/crud-scm-1.rockspec
0.623 Cloning into 'crud'...
2.154 Missing dependencies for crud scm-1:
2.154    checks >= 3.1.0-1 (not installed)
2.155    errors >= 2.2.1-1 (not installed)
2.156    vshard >= 0.1.18-1 (not installed)
2.156
2.156 crud scm-1 depends on lua ~> 5.1 (5.1-1 provided by VM)
2.156 crud scm-1 depends on checks >= 3.1.0-1 (not installed)
2.161 Installing http://rocks.tarantool.org/checks-scm-1.rockspec
2.281
2.281 Error: Failed installing dependency: http://rocks.tarantool.org/checks-scm-1.rockspec - Error fetching file: Failed downloading http://rocks.tarantool.org/checks-scm-1.rockspec - failed downloading http://rocks.tarantool.org/checks-scm-1.rockspec
------
tarantool.dockerfile:6
--------------------
   4 |     RUN yum -y install tt
   5 |
   6 | >>> RUN tt rocks install crud
   7 |
--------------------
ERROR: failed to solve: process "/bin/sh -c tt rocks install crud" did not complete successfully: exit code: 1

Spec file could be accessed via curl, there is no any network problem.

# curl -L http://rocks.tarantool.org/checks-scm-1.rockspec
package = "checks"
version = "scm-1"
source = {
    url    = 'git+https://github.com/tarantool/checks.git',
    branch = "master",
}

description = {
    summary = "Easy, terse, readable and fast function arguments type checking",
    detailed = [[
        This library declares a `checks()` function and a
        `checkers` table, which allow to check the parameters
        passed to a Lua function in a fast and unobtrusive way.
    ]],
    homepage = "https://github.com/tarantool/checks",
    license = "MIT",
}

dependencies = {
    "lua >= 5.1"
}

build = {
    type = 'cmake',
    variables = {
        TARANTOOL_INSTALL_LUADIR = '$(LUADIR)',
    },
}

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 by reproducing the failure with the provided Dockerfile and the tt rocks install crud command, then compare access to the checks rockspec with its dependency-fetch step. Done means the crud dependency installation completes successfully in the shown Tarantool image, including fetching checks, errors, and vshard.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, lua
Domain
backend, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.