[csw-maintainers] Dynamic licence not working

Jake Goerzen jgoerzen at opencsw.org
Fri Mar 13 00:20:17 CET 2009


On Mon, Mar 9, 2009 at 8:43 AM, Dagobert Michelsen <dam at opencsw.org> wrote:

> Hi Peter,
>
> Am 09.03.2009 um 16:38 schrieb Dagobert Michelsen:
> > Am 09.03.2009 um 15:56 schrieb Peter Bonivart:
> >> On Mon, Mar 9, 2009 at 3:00 PM, Dagobert Michelsen <dam at opencsw.org>
> >> wrote:
> >>> This was a bug which occured when using dynamic copyrights with
> >>> explicit gspec-files (instead of dynamic gspec-files with PACKAGES).
> >>> This is fixed in r3678. Please give it a try and let me know if
> >>> everything works as expected.
> >>
> >> But I don't have gspec files any longer for clamav. However, I
> >> updated
> >> the gar dir to r3678 and rebuilt everything but there's still no
> >> license file.
> >
> > Well, you now don't have a licensefile for another reason:
> > you redefine WORKSRC. This is usually allowed, but doesn't work
> > right now. I'll fix it.
>
> On second tought, redefining WORKSRC is not a good idea as you
> basically only want to reset DISTNAME. The reason is that
> resetting WORKSRC includes WORKDIR, which is derived from the
> modulation. The code to find the license searches all WORKSRC
> in all modulations, and on resetting WORKSRC this would require
> rewriting the WORKDIR prefix. This is possible, but ugly and I
> want to do this only when it becomes really necessary. Until
> that time I would prefer the recommendation to leave WORKSRC
> alone.
>
>
Hello,

  I'm also having a problem with the dynamic license except my license is
called gpl.txt in this pkg and so I changed the default COPYING to gpl.txt.
Now when the build stage gets to the dynamic license it looks in
work/build-global but the source has been unpacked in
work/build-isa-sparcv8.  So, I created a sym-link in work/build-global to
link to where the source is just the get the test package created.

As far as I know I'm not redefining WORKSRC.  Maybe I didn't read some GAR
documentation yet or missing something?  However, I've used the dynamic
license before and it worked great.

Thanks, Jake
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/maintainers/attachments/20090312/5dad02b3/attachment.html>


More information about the maintainers mailing list