Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
oleg-jukovec opened this issue Dec 5, 2022 · 1 comment · Fixed by #57
Closed

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

oleg-jukovec opened this issue Dec 5, 2022 · 1 comment · Fixed by #57
Assignees
Labels
bug Something isn't working duplicate This issue or pull request already exists needestimate

Comments

@oleg-jukovec
Copy link

oleg-jukovec commented Dec 5, 2022

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 oleg-jukovec changed the title tarantoolctl from a latest tarantool 1.10 fails to install queue tarantoolctl from a latest Tarantool 1.10 fails to install queue Dec 5, 2022
@oleg-jukovec
Copy link
Author

It looks like a known issue:

#36 (comment)
tarantool/tarantool#5429 (comment)

@Totktonada Totktonada added the bug Something isn't working label Dec 5, 2022
oleg-jukovec added a commit to tarantool/go-tarantool that referenced this issue Dec 7, 2022
Due to a bug [1], our test workflow fails on Tarantool 1.10. It is
a quick fix until the problem is fixed.

1. tarantool/setup-tarantool#37
oleg-jukovec added a commit to tarantool/go-tarantool that referenced this issue Dec 7, 2022
Due to a bug [1], our test workflow fails on Tarantool 1.10. It is
a quick fix until the problem is fixed.

1. tarantool/setup-tarantool#37
@Totktonada Totktonada added the duplicate This issue or pull request already exists label Dec 28, 2022
Totktonada added a commit that referenced this issue Feb 27, 2024
The fix is to install appropriate version of the `tarantool-common`
package.

Fixes #36
Fixes #37
Totktonada added a commit that referenced this issue Feb 27, 2024
The fix is to install appropriate version of the `tarantool-common`
package.

Fixes #36
Fixes #37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists needestimate
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants