Debian Bug report logs -
#821302
gap-core: convert.pl experiences error with SOURCE_DATE_EPOCH
Reported by: Jerome Benoit <calculus@rezozer.net>
Date: Sun, 17 Apr 2016 13:18:01 UTC
Severity: normal
Found in version gap/4r8p3-2
Fixed in version gap/4r8p3-3
Done: Bill Allombert <ballombe@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Bill Allombert <ballombe@debian.org>:
Bug#821302; Package gap-core.
(Sun, 17 Apr 2016 13:18:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Jerome Benoit <calculus@rezozer.net>:
New Bug report received and forwarded. Copy sent to Bill Allombert <ballombe@debian.org>.
(Sun, 17 Apr 2016 13:18:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
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.
Thanks, Jerome
-- System Information:
Debian Release: Jessie*
APT prefers stable
APT policy: (990, 'stable'), (500, 'stable-updates')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.7-ckt20-0001-mbp62 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages gap-core depends on:
ii gap-libs 4r8p3-2
ii libc6 2.19-18+deb8u4
ii libgmp10 2:6.1.0+dfsg-2
ii libreadline6 6.3-8+b3
Versions of packages gap-core recommends:
ii gap-online-help 4r8p3-2
Versions of packages gap-core suggests:
ii gap-dev 4r8p3-2
ii gap-doc 4r8p3-2
pn gap-prim-groups <none>
pn gap-small-groups <none>
ii gap-trans-groups 4r7p3-1
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org:
Bug#821302; Package gap-core.
(Sun, 17 Apr 2016 13:39:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Bill Allombert <ballombe@debian.org>:
Extra info received and forwarded to list.
(Sun, 17 Apr 2016 13:39:06 GMT) (full text, mbox, link).
Message #10 received at 821302@bugs.debian.org (full text, mbox, reply):
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. <ballombe@debian.org>
Imagine a large red swirl here.
Information forwarded
to debian-bugs-dist@lists.debian.org, Bill Allombert <ballombe@debian.org>:
Bug#821302; Package gap-core.
(Sun, 17 Apr 2016 17:03:16 GMT) (full text, mbox, link).
Acknowledgement sent
to calculus@rezozer.net:
Extra info received and forwarded to list. Copy sent to Bill Allombert <ballombe@debian.org>.
(Sun, 17 Apr 2016 17:03:16 GMT) (full text, mbox, link).
Message #15 received at 821302@bugs.debian.org (full text, mbox, reply):
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hello Bill:
On 17/04/16 14:37, Bill Allombert wrote:
> 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.
The scrap code worked.
> It is not easy for me to test since gap itself do not use convert.pl.
Ok. I will focus on it, test against my stuff, and submit a patch via this very channel.
> 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...
>
We are progressing, this is the point.
Best wishes,
Jerome
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJXE8FBAAoJEIC/w4IMSybjCZ0IANZ7m2aQN+tsg1GhThbzRWln
lb/nz9rnYjZGQUHjA2Yhh7BvDUmjSz/hYzB9QkT2CN8TijG+GlBw/mYA8vdesBS+
SMtq7cKMV8pLmyOXxBnLjJdfK8itviEFKWQx6D5e58VMzT5VHo3u6pCtyqm7vDCz
+eR6Rk7fBGgKHPoN5kvjxZJrpjxJR7OP9huSHoXjqMg+WQ9qzEgTDvuZwGqe0IrM
XDqJdxAWCiuqyJrGdNsNtRYlAbenzE5GXpkC+2F2wyNXVmPfxsQHWg7ofkSf4JLs
UPnHbF+LoOag0+Rh2DPMEXKLufXDDrmo84LWbF9PNAri27ryixMtU1IcHymZoqs=
=oEzv
-----END PGP SIGNATURE-----
Information forwarded
to debian-bugs-dist@lists.debian.org, Bill Allombert <ballombe@debian.org>:
Bug#821302; Package gap-core.
(Sun, 17 Apr 2016 18:27:11 GMT) (full text, mbox, link).
Acknowledgement sent
to calculus@rezozer.net:
Extra info received and forwarded to list. Copy sent to Bill Allombert <ballombe@debian.org>.
(Sun, 17 Apr 2016 18:27:11 GMT) (full text, mbox, link).
Message #20 received at 821302@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hello Again:
On Sun, 17 Apr 2016 18:00:50 +0100 Jerome BENOIT <calculus@rezozer.net> wrote:
> Hello Bill:
>
> On 17/04/16 14:37, Bill Allombert wrote:
>> 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.
>
> The scrap code worked.
>
>> It is not easy for me to test since gap itself do not use convert.pl.
>
> Ok. I will focus on it, test against my stuff, and submit a patch via this very channel.
>
>> 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...
>
>
> We are progressing, this is the point.
>
Please find in attachment, a patch against the Perl script install by the Debian
package 4r8p3-2 that fixed the issue.
> Best wishes,
> Jerome
Jerome
>
>
>
- --
Jerome BENOIT, Ph.D. | jgmbenoit-at+rezozer*dot_net
http://www.rezozer.net/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJXE9RfAAoJEIC/w4IMSybjB3UH/0guSc6d1vJA9wL63FYvlLeE
/0P0DtbY7BDw1Uvy38w1ibcOIWbmeek4czxzCrbW/A1E9rkssd0x9EYpThVsjYIw
0anzHm+AQcZbo9pzRcKeBm+ZsEG6K6U8IQ5XYKxXmwpgoc1pH8AewOPlrHhf03OL
YYAbID/5ajeQX1AMicGlnlHvRaUeMTHARcTLR81nyjo4ddjwXNvMRQz5mraEI4EU
6shn1uYU4sZcElkfaZED/3C/wROExjjJT19iy6DZMRKmPx3Up3tq49V8ksv0BaJF
KMS4KiTO3bL4VH+7Ns7KqmzAEg2dwQ6upR51kzR564VceZXqaggUHPyT8D+Q118=
=Q/WY
-----END PGP SIGNATURE-----
[convert.pl-dpkg-4r8p3-2.patch (text/x-diff, attachment)]
Reply sent
to Bill Allombert <ballombe@debian.org>:
You have taken responsibility.
(Tue, 03 May 2016 22:24:11 GMT) (full text, mbox, link).
Notification sent
to Jerome Benoit <calculus@rezozer.net>:
Bug acknowledged by developer.
(Tue, 03 May 2016 22:24:11 GMT) (full text, mbox, link).
Message #25 received at 821302-close@bugs.debian.org (full text, mbox, reply):
Source: gap
Source-Version: 4r8p3-3
We believe that the bug you reported is fixed in the latest version of
gap, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 821302@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Bill Allombert <ballombe@debian.org> (supplier of updated gap package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Tue, 03 May 2016 21:36:35 +0200
Source: gap
Binary: gap gap-core gap-libs gap-dev gap-online-help gap-doc
Architecture: source amd64 all
Version: 4r8p3-3
Distribution: unstable
Urgency: low
Maintainer: Bill Allombert <ballombe@debian.org>
Changed-By: Bill Allombert <ballombe@debian.org>
Description:
gap - computer algebra system for Groups, Algorithms and Programming
gap-core - GAP computer algebra system, core components
gap-dev - GAP computer algebra system, compiler and development files
gap-doc - GAP computer algebra system, documentation
gap-libs - GAP computer algebra system, essential GAP libraries
gap-online-help - GAP computer algebra system, online help
Closes: 821302 821304 823125
Changes:
gap (4r8p3-3) unstable; urgency=low
.
* patches:
- convert.pl-repro: apply fix for SOURCE_DATE_EPOCH from Jerome Benoit.
Closes: #821302.
- fix-MY_CLOCK: disable assert related to siginfo on non-linux systems.
* debian/rules:
- fix test-suite failure detection
- Add support for DEB_BUILD_OPTIONS=notest
- Install CHANGES as upstream changelog.
* debian/doc/gap-policy.sgml:
- Clarify that GAP_CONVERT_DATE is not interpolated. Closes: #821304.
* debian/gap2deb:
- Install gap2deb in /usr/bin
- Add manpage.
- Bump Standards-Version to 3.9.7.
- Use debian.gap2deb when debian already exists.
* debian/doc/gap2man, debian/control:
- Fix generation of manpage and improve output. Closes: #823125
- move help2man to Build-Depends
Checksums-Sha1:
dfb123dd4752ca49e9b356181e0c1388df16beac 2079 gap_4r8p3-3.dsc
7de30bba69f2e36ba6fe3ec17ee9c2ef998a23b2 27580 gap_4r8p3-3.debian.tar.xz
f7fb54eaf07b1109172991eddeb032b867f818f1 703706 gap-core_4r8p3-3_amd64.deb
7d2d782a979a0da7bc6af1fde1c1cd0383d35b87 1921684 gap-dev_4r8p3-3_amd64.deb
2c656cafeecf6b40aacfdc494ed6c9d05520f0e0 6022290 gap-doc_4r8p3-3_all.deb
899a3f10681bade8e25c5ec54d0bba235c9e4a38 3965468 gap-libs_4r8p3-3_all.deb
0a824b2e724ce2e07fbf727e7929be88309931d6 1196606 gap-online-help_4r8p3-3_all.deb
58f66bf26b056436991ecfa06eb2cbaf92ec84f2 10966 gap_4r8p3-3_all.deb
Checksums-Sha256:
f94253462e27e20a9159d74e25f261f65989969aa9ff92cf7e96590341ec7de6 2079 gap_4r8p3-3.dsc
d320aa980ac355f99a65546950cf1e53edb0ae21e56d9b93c2897d19ca2ceceb 27580 gap_4r8p3-3.debian.tar.xz
03e060a5287cf7a2e7d4a2a210ab23c4b35a6598a5667a971836c4b64c03f451 703706 gap-core_4r8p3-3_amd64.deb
53c7f53d36f4ee501e7a0e76dfdbd4aed1e55ff74c20f09d6cae365122ea621b 1921684 gap-dev_4r8p3-3_amd64.deb
2c5e96fb5c57fe3e70c98c912233fab1592aa17cff5a6fb1afff2eb1d89cf081 6022290 gap-doc_4r8p3-3_all.deb
e4749731d2ec8df4fa07da4ed2791b8039aa985f1e586b1168da85abd142c460 3965468 gap-libs_4r8p3-3_all.deb
b720dfacfc536bea54ad1ead2d1dbb5d42ac841e69d6d293b1659e80d5a00c73 1196606 gap-online-help_4r8p3-3_all.deb
e0ed61a19326be5d5b0d8fb7a735770ede3b0acc93c354d94c59621662387635 10966 gap_4r8p3-3_all.deb
Files:
81bf41c53215dc2dbc3ef1457a947eb7 2079 math optional gap_4r8p3-3.dsc
69b31d53460062b53d7769ba83f291a5 27580 math optional gap_4r8p3-3.debian.tar.xz
98802b73100c2fe2e2bdb2b21bd9fc3d 703706 math optional gap-core_4r8p3-3_amd64.deb
b78d8f708471da534d8b8788e8a42076 1921684 devel optional gap-dev_4r8p3-3_amd64.deb
cb2c8d4ba62b31559d79927f3951702b 6022290 doc optional gap-doc_4r8p3-3_all.deb
1135a4647418fdef0f195cdc0d0dbf65 3965468 math optional gap-libs_4r8p3-3_all.deb
b47aba228497a0f89809fd0d2dc86020 1196606 math optional gap-online-help_4r8p3-3_all.deb
7658fe3484b8204d8409cbc415ec43dc 10966 math optional gap_4r8p3-3_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBAgAGBQJXKQJeAAoJEI8OfCtFIuOHCyYP/1KLBH1190vHFadwnXWOu4iU
Y9+4ujPmygPJ8JrQXkjNnuymCq+qMTQbF0crejAJW7UWvZBmKsYX+fPWY9PoGVyj
Crx9dQVkxrzc6/jn/tU7DBWHbgvkgGZt1G8V7yMO/1kDiAz5xTIx2g/Al3pD73a4
EkWyuQyRc9Zn0lMY9u4qLmZihgthDTWOKBU0ijV6ux69Cn1AAlEDcAN9AtoFG40H
4zNqtL4307Yf18xZJhdGGHeTAm/FNJ8d8n+2TBWZlr9U2tmg8r14x18PFGIY4boE
jBWFkRp6nui+jMRxxBNjx0SXdH7zLWqSk2baX0FwTwN5F/AMmRIBC8hjNGJNFjot
IDAxxCwU2kIMjqWqlpi7vuoVzScBbxvmJNi1hB0yG/wfOjBYcAENiz1eMBqbqI1H
1v5NYfalw8YNSYwCCO+vItnbJkBHfh90yBphClS1lz9icQ96rQZoZAIVFJ6yPGB8
4HHubRG/THx1Sn5KqeGAtU9e5MbYXPK1c8q8pgNy8HFkTWiuLix16nKQlSI4FuTm
dlzNYQOnyrif1axij8IQovcyoWg63XxrzamYn4SlnG2LExJqAKCLexd4nZWUTNrI
/vgaEhl4Vhj3i4SL1/EzAR5VBmhCzkGyop+0W/9lHRSKYIVZ8AfEZ9IHF4qCkxRw
yDWuJihJsmFqOEPAWGi7
=LKfh
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 28 Jun 2016 07:25:08 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 13:48:29 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.