Skip to content
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

Failed to install dependencies on ARM #211

Closed
mRrvz opened this issue Sep 6, 2021 · 5 comments · Fixed by #436
Closed

Failed to install dependencies on ARM #211

mRrvz opened this issue Sep 6, 2021 · 5 comments · Fixed by #436
Milestone

Comments

@mRrvz
Copy link
Contributor

mRrvz commented Sep 6, 2021

Trying to ./deps.sh on ARM:

Installing http://rocks.tarantool.org/luatest-0.5.4-1.all.rock

luatest 0.5.4-1 is now installed in /mnt/mmc-SD64G_0x016e52ea-part1/crud/.rocks (license: MIT)

Installing http://rocks.tarantool.org/luacheck-0.25.0-1.rockspec

Cloning into 'luacheck'...
remote: Enumerating objects: 6143, done.
remote: Total 6143 (delta 0), reused 0 (delta 0), pack-reused 6143
Receiving objects: 100% (6143/6143), 2.18 MiB | 4.41 MiB/s, done.
Resolving deltas: 100% (4029/4029), done.
Note: switching to 'ec42b3d5a44ec3b9419bab0c6955d64d3feb0f02'.

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

Failed to set locale to C.UTF-8
luacheck 0.25.0-1 is now installed in /mnt/mmc-SD64G_0x016e52ea-part1/crud/.rocks (license: MIT)

Failed to set locale to C.UTF-8
Failed to set locale to C.UTF-8
Failed to set locale to C.UTF-8
Installing http://rocks.tarantool.org/luacov-0.13.0-1.rockspec

Cloning into 'luacov'...
remote: Enumerating objects: 78, done.
remote: Counting objects: 100% (78/78), done.
remote: Compressing objects: 100% (62/62), done.
remote: Total 78 (delta 13), reused 49 (delta 9), pack-reused 0
Receiving objects: 100% (78/78), 56.82 KiB | 239.00 KiB/s, done.
Resolving deltas: 100% (13/13), 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

Failed to set locale to C.UTF-8
luacov 0.13.0-1 is now installed in /mnt/mmc-SD64G_0x016e52ea-part1/crud/.rocks (license: MIT)

Failed to set locale to C.UTF-8
Failed to set locale to C.UTF-8
Failed to set locale to C.UTF-8

Cloning into 'cluacov'...
remote: Enumerating objects: 65, done.
remote: Total 65 (delta 0), reused 0 (delta 0), pack-reused 65
Receiving objects: 100% (65/65), 39.87 KiB | 474.00 KiB/s, done.
Resolving deltas: 100% (26/26), done.
gcc -O2 -fPIC -I/usr/local/include/tarantool -c src/cluacov/deepactivelines.c -o src/cluacov/deepactivelines.o
In file included from src/cluacov/lj2/lj_obj.h:14,
                 from src/cluacov/deepactivelines.c:19:
src/cluacov/lj2/lj_arch.h:55:2: error: #error "No support for this architecture (yet)"
   55 | #error "No support for this architecture (yet)"
      |  ^~~~~
src/cluacov/lj2/lj_arch.h:294:2: error: #error "No target architecture defined"
  294 | #error "No target architecture defined"
      |  ^~~~~

Error: Build error: Failed compiling object src/cluacov/deepactivelines.o

By deleting this line, it's okay:

crud/deps.sh

Line 9 in f0445ea

tarantoolctl rocks install luacov 0.13.0

$ uname -a
Linux ARM-FLEX 5.13.12-1-MANJARO-ARM #1 SMP Wed Aug 18 07:36:58 UTC 2021 aarch64 GNU/Linux
@Totktonada
Copy link
Member

I'll highlight that those are testing / development dependencies.

User's dependencies are there:

dependencies = {
'lua ~> 5.1',
'checks == 3.1.0-1',
'errors == 2.2.1-1',
'vshard >= 0.1.18-1',
}

@Totktonada
Copy link
Member

@Totktonada
Copy link
Member

I notified the module maintainers about the problem, see luarocks/cluacov#3.

@DifferentialOrange DifferentialOrange added blocked Not ready to be implemented teamE labels Jun 14, 2023
@DifferentialOrange
Copy link
Member

Blocked by luarocks/cluacov#3

@Totktonada Totktonada removed the blocked Not ready to be implemented label May 15, 2024
@Totktonada
Copy link
Member

Solved in https://github.com/luarocks/cluacov. Let's replace the rockspec URI.

crud/deps.sh

Line 19 in 75b4076

$TTCTL rocks install https://raw.githubusercontent.com/mpeterv/cluacov/master/cluacov-scm-1.rockspec

mpeterv -> luarocks

DifferentialOrange added a commit that referenced this issue May 16, 2024
Bump cluacov version used for tests. New version should include fix
for running tests on ARM.

Closes #211
DifferentialOrange added a commit that referenced this issue May 16, 2024
Bump cluacov version used for tests. New version should include fix
for running tests on ARM.

Closes #211
DifferentialOrange added a commit that referenced this issue May 16, 2024
Bump cluacov version used for tests. New version should include fix
for running tests on ARM.

Closes #211
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants