tarantool / setup-tarantool

Setup Tarantool for use with Github Actions
MIT License
9 stars 2 forks source link

tarantoolctl from a latest Tarantool 1.10 fails to install queue #37

Closed oleg-jukovec closed 9 months ago

oleg-jukovec commented 2 years ago

GitHub runners: ubuntu-lates & ubuntu-22.04

CI:

https://github.com/tarantool/go-tarantool/blob/d6d0031d7a0ce9959edf57f9407bba9652a37506/.github/workflows/testing.yml#L51-L55

Tarantool setup:

Run tarantool/setup-tarantool@v2
  with:
    tarantool-version: 1.10
    nightly-build: false
Checking latest tarantool 1.10 version
  HTTP GET https://download.tarantool.org/tarantool/release/1.10/ubuntu/dists/jammy/main/binary-amd64/Packages
  1.10.14.0.g95447943d-1
Received 20182760 of 20182760 (100.0%), 26.9 MBs/sec
Cache Size: ~19 MB (20182760 B)
/usr/bin/tar --use-compress-program unzstd -xf /home/runner/work/_temp/e5923b3c-1abc-492e-98c8-70ae11f273b2/cache.tzst -P -C /home/runner/work/go-tarantool/go-tarantool
Cache restored successfully
Cache restored from key: tarantool-setup-jammy-1.10.14.0.g95447943d-1
/usr/bin/sudo rsync -aK cache-tarantool/ /
/usr/bin/tarantool --version
Tarantool 1.10.14-0-g95447943d
Target: Linux-x86_64-RelWithDebInfo
Build options: cmake . -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_BACKTRACE=ON
Compiler: /usr/bin/cc /usr/lib/ccache/g++
C_FLAGS:-g -O2 -ffile-prefix-map=/build/tarantool-1.10.14.0=. -specs=/usr/share/dpkg/no-pie-compile.specs -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fexceptions -funwind-tables -fno-omit-frame-pointer -fno-stack-protector -fno-common -fopenmp -msse2 -std=c11 -Wall -Wextra -Wno-strict-aliasing -Wno-char-subscripts -Wno-format-truncation -Wno-gnu-alignof-expression -fno-gnu89-inline -Wno-cast-function-type
CXX_FLAGS:-g -O2 -ffile-prefix-map=/build/tarantool-1.10.14.0=. -specs=/usr/share/dpkg/no-pie-compile.specs -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fexceptions -funwind-tables -fno-omit-frame-pointer -fno-stack-protector -fno-common -fopenmp -msse2 -std=c++11 -Wall -Wextra -Wno-strict-aliasing -Wno-char-subscripts -Wno-format-truncation -Wno-invalid-offsetof -Wno-gnu-alignof-expression -Wno-cast-function-type

tarantoolctl:

( cd ./queue; tarantoolctl rocks install queue 1.2.1 )
LuajitError: /usr/bin/tarantoolctl:923: module 'luarocks.core.cfg' not found:
    no field package.preload['luarocks.core.cfg']
    no file './luarocks/core/cfg.lua'
    no file './luarocks/core/cfg/init.lua'
    no file './luarocks/core/cfg.so'
    no file '/home/runner/work/go-tarantool/go-tarantool/queue/.rocks/share/tarantool/luarocks/core/cfg.lua'
    no file '/home/runner/work/go-tarantool/go-tarantool/queue/.rocks/share/tarantool/luarocks/core/cfg/init.lua'
    no file '/home/runner/work/go-tarantool/go-tarantool/.rocks/share/tarant
fatal error, exiting the event loop

It works fine with 2.8, 2.10,

oleg-jukovec commented 2 years ago

It looks like a known issue:

https://github.com/tarantool/setup-tarantool/issues/36#issuecomment-1336170138 https://github.com/tarantool/tarantool/issues/5429#issuecomment-936029000