Hi,
you appear to have added luadoc as a dependency to the rockspec available
on luarocks.org, which is unnecessary (as I've removed the need), and is
causing users problems (because luadoc needs luasocket, which is not
available for Lua 5.2). Also, it looks like it's my fault, because the
serial number on the rockspec is still 1.
So please could you a) revert the change to the rockspec, and b) next time
you change an upstream rockspec, please bump the serial!
Thanks very much, and in particular thanks for reporting the original
problem and acting to fix it. It's just unfortunate that in this case the
cure is as bad as the original problem, and is in any case no longer needed!
On 7 February 2013 13:22, Reuben Thomas <r...@sc3d.org> wrote:
> On 7 February 2013 11:41, Reuben Thomas <r...@sc3d.org> wrote:
>
>> On 7 February 2013 02:09, Hisham <h...@hisham.hm> wrote:
>>
>>> On Wed, Feb 6, 2013 at 8:05 PM, <r...@sc3d.org> wrote:
>>> > Rockspec for stdlib version 29 attached.
>>>
>>> Hi, I noticed that the rockspec has a build-time dependency on luadoc.
>>> Currently, LuaRocks does not support build-only dependencies, so I
>>> think we should either add "luadoc" to the dependencies array of the
>>> rockspec or not (re?)generate the documentation during build.
>>>
>>> How should we proceed?
>>
>>
>> This is a bug in the git repository (the first time I've found a git
>> setting I could classify as a bug!): the documentation files are ignored
>> and not checked in (because the release branch inherited its .gitignore
>> files from the source branch, where the documentation, being generated
>> files, is correctly ignored), and hence the documentation is regenerated
>> when the build is run.
>>
>> I'll fix this and make a new release; thanks for the report.
>>
>
> In fact, since the only fix needed is a minor one to the build system,
> I've simply fixed it and made no new release. You should now find that
> installing the rock no longer runs luadoc (at least, it doesn't for me).
>
> As well as removing the offending patterns from the relevant .gitignore
> file, there was one other problem: std.lua (which is just a wrapper to load
> the standard modules) was generated by configure, which then triggered a
> doc rebuild. Fortunately it's straightforward instead to add a dependency
> to the Makefile to build it, so that it's only built when necessary
> (really, I think it's wrong to ship a file which is built by configure, so
> the problem is not a surprise).
>
--
http://rrt.sc3d.org
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers