I just took a look at the `lua_cliargs` rockspec in the repository and it's pointing to a version 1.1-1 while the rockspec in its git repository is versioned 1.1.-0 (in both the filename and the spec), so this might be the issue. Although, Luarocks seems to have reported to you that the package _was_ installed.

I'm wondering how the spec in luarocks repository got bumped?

In any case, I've just updated the rockspec to bump into 1.1-1 in the git repository and uploaded a new tarball. Here's what my install log looks like:

root@cornholio:/home/bourne# luarocks install lua_cliargs
Installing http://luarocks.org/repositories/rocks/lua_cliargs-1.1-1.src.rock... Using http://luarocks.org/repositories/rocks/lua_cliargs-1.1-1.src.rock... switching to 'build' mode Archive: /tmp/luarocks_luarocks-rock-lua_cliargs-1.1-1-9042/lua_cliargs-1.1-1.src.rock
  inflating: lua_cliargs-1.1-1.rockspec
  inflating: lua_cliargs-1.1.tar.gz
Updating manifest for /usr/lib/luarocks/rocks

lua_cliargs 1.1-1 is now built and installed in /usr/ (license: MIT/X11)

Sorry about this if it turns out to be my fault!
- Ahmad

On 08/21/2012 03:06 AM, luarocks-developers-requ...@lists.sourceforge.net wrote:

Message: 2
Date: Mon, 20 Aug 2012 17:06:28 -0700
From: Jack Lawson<ajacksif...@gmail.com>
Subject: Re: [Luarocks-developers] Busted: Lua Unit Testing
To:luarocks-developers@lists.sourceforge.net
Message-ID:
        <cagp3lbjgc-s5qnvnr1wbhj3t0yotuwxc_8qv0psta1ngsbc...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Yeah, luarocks*should*  install deps for you; that looks like it might be a
problem with luarocks not wanting to install the dependencies for some
reason. I could try to get around it by including the libraries in the
rock, but that seems pretty hackish.

Maybe Hisham has an idea?

On Mon, Aug 20, 2012 at 4:53 PM, Rob LaRubbio<r...@ziplinegames.com>  wrote:

Doesn't luarocks install dependencies for you?

Anyway that doesn't fix it on my ubuntu machine:

$ sudo luarocks install lua_cliargs
Installing
http://luarocks.org/repositories/rocks/lua_cliargs-1.1-1.src.rock...
Archive:
  /tmp/luarocks_luarocks-rock-lua_cliargs-1.1-1-3726/lua_cliargs-1.1-1.src.rock
   inflating: lua_cliargs-1.1-1.rockspec
   inflating: lua_cliargs-1.1.tar.gz
Updating manifest for /usr/local/lib/luarocks/rocks
$ sudo luarocks install busted
Installinghttp://luarocks.org/repositories/rocks/busted-1.0-1.src.rock...
Archive:
  /tmp/luarocks_luarocks-rock-busted-1.0-1-4358/busted-1.0-1.src.rock
   inflating: busted-1.0-1.rockspec
  extracting: busted-1.0.tar.gz

Error: Parse error processing dependency 'lua_cliargs >= 1.1'

  On Mon, Aug 20, 2012 at 4:51 PM, Jack Lawson<ajacksif...@gmail.com>wrote:

Right - you're missing dependencies. You need to luarocks install those
dependencies.

Jack

On Mon, Aug 20, 2012 at 4:11 PM, Rob LaRubbio<r...@ziplinegames.com>wrote:

I'm having trouble installing busted on OSX and ubuntu.  On my mac this
is the output:

$ luarocks install busted
Installinghttp://luarocks.org/repositories/rocks/busted-1.0-1.src.rock.
..
Archive:
  /private/tmp/luarocks_luarocks-rock-busted-1.0-1-6969/busted-1.0-1.src.rock
   inflating: busted-1.0-1.rockspec
  extracting: busted-1.0.tar.gz

Missing dependencies for busted:
dkjson >= 2.1.0
lua_cliargs >= 1.1

Archive:
  /private/tmp/luarocks_luarocks-rock-dkjson-2.2-1-4423/dkjson-2.2-1.src.rock
   inflating: dkjson-2.2-1.rockspec
   extracting: dkjson-2.2.tar.gz
Updating manifest for /usr/local/lib/luarocks/rocks

dkjson 2.2-1 is now built and installed in/usr/local/  (license: MIT/X11)
Archive:
  
/private/tmp/luarocks_luarocks-rock-lua_cliargs-1.1-1-6661/lua_cliargs-1.1-1.src.rock
   inflating: lua_cliargs-1.1-1.rockspec
   inflating: lua_cliargs-1.1.tar.gz
Updating manifest for /usr/local/lib/luarocks/rocks

lua_cliargs 1.1-1 is now built and installed in/usr/local/  (license:
MIT/X11)

Error: Failed copying busted

On the linux box:

$ luarocks install busted
Installinghttp://luarocks.org/repositories/rocks/busted-1.0-1.src.rock.
..
Archive:
  /tmp/luarocks_luarocks-rock-busted-1.0-1-5474/busted-1.0-1.src.rock
   inflating: busted-1.0-1.rockspec
  extracting: busted-1.0.tar.gz

Error: Parse error processing dependency 'lua_cliargs >= 1.1'

-Rob

On Mon, Aug 20, 2012 at 2:28 PM, Jack Lawson<ajacksif...@gmail.com>wrote:

Looks great. Thanks!

Jack


On Mon, Aug 20, 2012 at 2:24 PM, Hisham<h...@hisham.hm>  wrote:

On Mon, Aug 20, 2012 at 3:27 PM, Jack Lawson<ajacksif...@gmail.com>
wrote:
Hi,

I'm really excited to announce the 1.0 release of Busted, a new unit
testing
framework for Lua with a ton of awesome features. Installed with
luarocks,
it runs on OSX, Linux, and Windows by running `busted [path]
<options>`,
such as "busted spec." The framework itself is tested internally
with the
builtin assert, and then tests itself in many instances.

The rockspec:

https://raw.github.com/Olivine-Labs/busted/master/busted-1.0-1.rockspec

I uploaded it to the repo, so now one can install it by typing
"luarocks install busted".

Kudos!

-- Hisham


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond.
Discussions
will include endpoint security, mobile security and the latest in
malware
threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond.
Discussions
will include endpoint security, mobile security and the latest in
malware
threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to