On Wed, Sep 19, 2012 at 09:59:26AM +0600, Ildar Mulyukov wrote:

> > And you "system" rocks invisible for luarocks, our approach make it
> > visible.
> 
> Why do you think so?
> No, rocks in RPMs are installed exactly into the main system rocks  
> tree. Hence they are visible and countable with LR dep checking. An  
> admin can manually install a rock into the system tree that depends on  
> rock_in_RPM. But of course you cannot install an RPM rock that depends  
> on rocks in a tree that were installed manually because RPM does not  
> see that rocks.
> With LR for ALT there's only one system tree: /usr/lib/luarocks/ and it  
> is single-arch.
> 

Are your /usr/lib/luarocks/ have valid manifest? 

> > Also I believe you can hit a problem to build rocks with dependencies
> > (luasec for example, without patching luasec pull own copy of  
> > loasocket
> > into buildtree)
> 
> We in ALTLinux have an approach: dynamical linking as much as possible  
> and libraries duplication as less as possible. This is done with  
> patching sources.
> I didn't pack luasec yet but the sequence would be (in spec):
> 

luasocket not bundled in luasec, it _pulled_ at build time. (in 
attempting of satisfy dependencies). LR will do it, if can't see 
manifest in your /usr/lib/luarocks/ (I don't know yet --  you have 
manifest or not)

> 1. unpack the source
> 2. cut off luasocket (with "rm -rf")
> 3. fix build to use th preinstalled luasocket.
> 4. build and pack
> 

I'd like to look onto you sources, if they are already public. I'm 
interesing, how you build manifest in RPMized rocks (if you do it of 
course)

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to