Skip to content

Invalid rockspec #3558

@CaetanoGenete

Description

@CaetanoGenete

Description

Hello!

It seems after this commit 02ec064, installing telescope using luarocks no longer works.

This seems to be because the autoload directory was removed from the project, yet wasn't removed from the build.copy_directories section of telescope.nvim-scm-1.rockspec.

To fix this issue, removing this entry from the rockspec should be enough. I have a opened a PR to address this #3559.

Neovim version

N/A

Operating system and version

N/A

Telescope version / branch / rev

master

checkhealth telescope

N/A

Steps to reproduce

> luarocks purge
> luarocks install telescope.nvim

Expected behavior

Succeed

Actual behavior

Fails with error:

> luarocks install telescope.nvim-scm-1.rockspec
Cloning into 'telescope.nvim'...
remote: Enumerating objects: 11672, done.
remote: Counting objects: 100% (102/102), done.
remote: Compressing objects: 100% (71/71), done.
remote: Total 11672 (delta 55), reused 40 (delta 31), pack-reused 11570 (from 2)
Receiving objects: 100% (11672/11672), 4.54 MiB | 10.70 MiB/s, done.
Resolving deltas: 100% (7316/7316), done.

Missing dependencies for telescope.nvim scm-1:
   plenary.nvim (not installed)

telescope.nvim scm-1 depends on lua 5.1 (5.1-1 provided by VM: success)
telescope.nvim scm-1 depends on plenary.nvim (not installed)
Installing https://luarocks.org/plenary.nvim-scm-1.rockspec
Cloning into 'plenary.nvim'...
remote: Enumerating objects: 3069, done.
remote: Counting objects: 100% (904/904), done.
remote: Compressing objects: 100% (210/210), done.
remote: Total 3069 (delta 798), reused 694 (delta 694), pack-reused 2165 (from 2)
Receiving objects: 100% (3069/3069), 11.56 MiB | 27.72 MiB/s, done.
Resolving deltas: 100% (1666/1666), done.

Missing dependencies for plenary.nvim scm-1:
   luassert (not installed)

plenary.nvim scm-1 depends on lua >= 5.1, < 5.4 (5.1-1 provided by VM: success)
plenary.nvim scm-1 depends on luassert (not installed)
Installing https://luarocks.org/luassert-1.9.0-1.src.rock

Missing dependencies for luassert 1.9.0-1:
   say >= 1.4.0-1 (not installed)

luassert 1.9.0-1 depends on lua >= 5.1 (5.1-1 provided by VM: success)
luassert 1.9.0-1 depends on say >= 1.4.0-1 (not installed)
Installing https://luarocks.org/say-1.4.1-3.src.rock


say 1.4.1-3 depends on lua >= 5.1 (5.1-1 provided by VM: success)
say 1.4.1-3 is now installed in C:\Users\caeta\AppData\Roaming\LuaRocks\systree (license: MIT)

luassert 1.9.0-1 is now installed in C:\Users\caeta\AppData\Roaming\LuaRocks\systree (license: MIT <http://opensource.org/licenses/MIT>)

plenary.nvim scm-1 is now installed in C:\Users\caeta\AppData\Roaming\LuaRocks\systree (license: MIT/X11)


Error: Directory 'autoload' not found

Minimal config

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions