crud icon indicating copy to clipboard operation
crud copied to clipboard

Unable to install crud

Open derElektrobesen opened this issue 8 months ago • 2 comments
trafficstars

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)',
    },
}

derElektrobesen avatar Mar 20 '25 07:03 derElektrobesen