[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Problem with luarocks unpack
- From: Eduardo Ochs <eduardoochs@...>
- Date: Thu, 16 Jan 2020 12:46:00 -0300
ok, so Lua is a geek language with geek batteries, right? This means
that it should be easy to download and unpack the full source of any
given rock, right?...
I'm on Debian, and the version of the luarocks that comes with Debian
is 2.4.2 - see:
There are some rocks that that version can't install. Just to cite an
obvious example, I tried to ask the luarocks from Debian to install
the most recent version of luarocks - some package managers are able
to do this - by doing:
luarocks --local install luarocks
and I got these error messages:
Error: Rockspec format 3.0 is not supported, please upgrade LuaRocks.
So I tried to install a recent version of luarocks from the git repo.
Here's what I did:
sudo apt-get remove luarocks
# Clean all the stuff from previous uses of luarocks
rm -Rfv ~/.cache/luarocks/
rm -Rfv ~/.luarocks/
git clone https://github.com/luarocks/luarocks
# Choose a version
git branch --list -a
git checkout 3.2.1
sudo make install
rm -Rv /tmp/rock/
luarocks unpack stacktraceplus
# "Error: Failed copying unpacked rockspec into unpacked source directory."
I got the same error on several rocks. What I am doing wrong?
"luarocks unpack" is not well documented, so I am mostly guessing that
it is the right thing for downloading rock sources...
Thanks in advance,