On Sun, Apr 17, 2016 at 02:14:28PM +0100, Jerome Benoit wrote:
> Package: gap-core
> Version: 4r8p3-2
> Severity: normal
> 
> Dear Maintainer,
> 
>       when SOURCE_DATE_EPOCH is set but GAP_CONVERT_DATE is not, convert.pl
>       experiences errors: while building gap-grape 4r7+ds-1, I get the 
> message:
> 
>               Creating HTML documentation
>               Name "main::SOURCE_DATE_EPOCH" used only once: possible typo at 
> /usr/share/gap/etc/convert.pl line 416.
>               convert.pl: Please set GAP_CONVERT_DATE to the upstream 
> document date
>               Use of uninitialized value $SOURCE_DATE_EPOCH in array 
> dereference at /usr/share/gap/etc/convert.pl line 416.
>               date: invalid date '+%B %Y'
>               convert.pl: Please set GAP_CONVERT_DATE to the upstream 
> document date
>               Use of uninitialized value $SOURCE_DATE_EPOCH in array 
> dereference at /usr/share/gap/etc/convert.pl line 416.
>               date: invalid date '+%B %Y'
> 
>       and the date does not appear in the documentation.

Well, I applied the code you sent me... I assumed that worked for you.
It is not easy for me to test since gap itself do not use convert.pl.
It seems there is an interpolation issue.
I assume @$SOURCE_DATE_EPOCH should be replaced by @\$SOURCE_DATE_EPOCH
or @$ENV{SOURCE_DATE_EPOCH}.

Sorry about that...
-- 
Bill. <ballo...@debian.org>

Imagine a large red swirl here. 

Reply via email to