[csw-maintainers] mGAR cpan builds: satisfying non-installed dependencies?

Sebastian Kayser skayser at opencsw.org
Thu Apr 2 14:22:34 CEST 2009


Dagobert Michelsen wrote:
> Am 01.04.2009 um 13:23 schrieb Sebastian Kayser:
>> are there any thoughts underway to enable straight-forward builds of
>> CPAN packages that have not-yet-installed dependencies (which need  
>> to be
>> built also)?
>>
>>> From looking at the category.mk for the cpan category it seems as if
>> this had been working with spool* directories of GAR, but as mGAR  
>> has a
>> separate $(DESTDIR) for each package it doesn't work with mGAR.
>>
>> $ svn pg svn:externals .
>> gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2
>>
>> $ ggrep -C1 ^PERL5LIB gar/categories/cpan/category.mk
>> # Enable scripts to see prereqs
>> PERL5LIB  = $(DESTDIR)$(libdir)/perl/csw
>> PERL5LIB := $(PERL5LIB):$(DESTDIR)$(datadir)/perl/csw
>> export PERL5LIB
>>
>> I just built ack [1] which relied on File-Next (not yet in the  
>> catalog,
>> nor on the build farm). To satisfy this dependency I built File-Next,
>> manually copied it to a temporary directory, and pointed PERL5LIB to
>> this directory when building ack.
> 
> The official way is to build the dependency, release it, have it
> installed on the farm and continue with the next package.
> 
> Maybe we find in October ("CPAN Coverage") a more viable solution.
> I guess with this runtime pathes and the stable release there are
> other things to be done first...

Indeed. Was just wondering whether there might have been a more elegant
way to do it ATM. Thanks for the response.

Sebastian



More information about the maintainers mailing list