Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1367681 - LuaRocks: Failed loading manifest
Summary: LuaRocks: Failed loading manifest
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: luarocks
Version: el6
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Michel Alexandre Salim
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-17 08:42 UTC by Roman Tsisyk
Modified: 2016-08-17 08:45 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Roman Tsisyk 2016-08-17 08:42:38 UTC
Description of problem:
LuaRocks is outdated and fails to parse metadata from LuaRocks servers.

Version-Release number of selected component (if applicable):

luarocks 2.1.2-1.el6

How reproducible:
Install luarocks from EPEL6 and then try to install some rock using luarocks install.

Steps to Reproduce:
1. docker run -t -i centos:6
2. yum install -y http://mirror.logol.ru/epel/6/x86_64/epel-release-6-8.noarch.rpm
3. yum install luarocks
4. luarocks install luafilesystem

Actual results:

# luarocks install luafilesystem
Warning: Failed searching manifest: Failed loading manifest: Failed extracting manifest file
^C^C^CWarning: Failed searching manifest: Failed loading manifest: Failed fetching manifest for http://luarocks.giga.puc-rio.br/ - Failed downloading http://luarocks.giga.puc-rio.br/manifest
Warning: Failed searching manifest: Failed loading manifest: Failed extracting manifest file
Warning: Failed searching manifest: Failed loading manifest: Failed extracting manifest file
^C^C^CWarning: Failed searching manifest: Failed loading manifest: Failed fetching manifest for http://luarocks.logiceditor.com/rocks - Failed downloading http://luarocks.logiceditor.com/rocks/manifest
^CWarning: Failed searching manifest: Failed loading manifest: Failed loading manifest for http://luafr.org/luarocks/rocks: Error loading file: /root/.cache/luarocks/http___luafr.org_luarocks_rocks/manifest-5.1:1: unexpected symbol near '<'


Expected results:

$ luarocks install luafilesystem --local
Installing https://rocks.moonscript.org/luafilesystem-1.6.3-2.src.rock...
Using https://rocks.moonscript.org/luafilesystem-1.6.3-2.src.rock... switching to 'build' mode
gcc -O2 -fPIC -I/usr/include/lua5.1 -c src/lfs.c -o src/lfs.o
gcc -shared -o lfs.so -L/usr/local/lib src/lfs.o
Updating manifest for /home/roman/.luarocks/lib/luarocks/rocks
luafilesystem 1.6.3-2 is now built and installed in /home/roman/.luarocks (license: MIT/X11)

Additional info:

Please update LuaRocks package in EPEL6 to the latest version.

Comment 1 Roman Tsisyk 2016-08-17 08:45:35 UTC
I found that `yum instal unzip` sovles this problem


Note You need to log in before you can comment on or make changes to this bug.