-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
May be reproduced as follows.
For example, you may use clean Ubuntu installation in docker.
docker run -it ubuntu:20.04
1. Prepare the environment.
apt-get update
apt-get install -y curl gcc
2. Download and source EE SDK.
export DOWNLOAD_TOKEN='PUT YOUR TOKEN HERE'
curl -O -L -v "https://tarantool:${DOWNLOAD_TOKEN}@download.tarantool.io/enterprise/tarantool-enterprise-bundle-2.10.0-6-gaaed1a3cb-r497-linux-x86_64.tar.gz"
tar -xvf ./tarantool-enterprise-bundle-2.10.0-6-gaaed1a3cb-r497-linux-x86_64.tar.gz
source ./tarantool-enterprise/env.sh
tarantool --version
Tarantool Enterprise 2.10.0-6-gaaed1a3cb-r497
3. Install tt.
curl -L https://tarantool.io/OtKysgx/release/2/installer.sh | bash
apt-get update
apt-get install -y tt
tt version
Tarantool CLI version 0.2.1, linux/amd64. commit: 6078ab9
4. Install cluacov
from rockspec.
With tt
tt rocks install https://raw.githubusercontent.com/mpeterv/cluacov/master/cluacov-scm-1.rockspec
Missing dependencies for cluacov scm-1:
luacov >= 0.13.0 (not installed)
cluacov scm-1 depends on luacov >= 0.13.0 (not installed)
Installing http://rocks.tarantool.org/luacov-0.13.0-1.rockspec
Cloning into 'luacov'...
remote: Enumerating objects: 1762, done.
remote: Counting objects: 100% (220/220), done.
remote: Compressing objects: 100% (105/105), done.
remote: Total 1762 (delta 112), reused 191 (delta 102), pack-reused 1542
Receiving objects: 100% (1762/1762), 813.09 KiB | 3.89 MiB/s, done.
Resolving deltas: 100% (1059/1059), done.
Note: switching to '637c48d59f722050d718d0c398f655bc7fe1707a'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
No existing manifest. Attempting to rebuild...
luacov 0.13.0-1 is now installed in /.rocks (license: MIT)
Cloning into 'cluacov'...
remote: Enumerating objects: 65, done.
remote: Total 65 (delta 0), reused 0 (delta 0), pack-reused 65
Unpacking objects: 100% (65/65), 39.85 KiB | 832.00 KiB/s, done.
Error: Build error: Lua header file lua.h not found (looked in /__w/sdk/sdk/build.sdk/tarantool-2.10/static-build/tarantool-prefix/include/tarantool).
With tarantoolctl
tarantoolctl rocks install https://raw.githubusercontent.com/mpeterv/cluacov/master/cluacov-scm-1.rockspec
Cloning into 'cluacov'...
remote: Enumerating objects: 65, done.
remote: Total 65 (delta 0), reused 0 (delta 0), pack-reused 65
Unpacking objects: 100% (65/65), 39.85 KiB | 669.00 KiB/s, done.
gcc -O2 -fPIC -I/tarantool-enterprise/include/tarantool -c src/cluacov/deepactivelines.c -o src/cluacov/deepactivelines.o
gcc -shared -o cluacov/deepactivelines.so src/cluacov/deepactivelines.o
gcc -O2 -fPIC -I/tarantool-enterprise/include/tarantool -c src/cluacov/hook.c -o src/cluacov/hook.o
gcc -shared -o cluacov/hook.so src/cluacov/hook.o
cluacov scm-1 is now installed in /.rocks (license: MIT)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working