Debian Bug report logs - #866317
html2ps: relies on deprecated Perl syntax/features, breaks with 5.26

version graph

Package: html2ps; Maintainer for html2ps is Debian QA Group <packages@qa.debian.org>; Source for html2ps is src:html2ps (PTS, buildd, popcon).

Reported by: Niko Tyni <ntyni@debian.org>

Date: Wed, 28 Jun 2017 20:12:02 UTC

Severity: serious

Tags: buster, patch, sid

Found in version html2ps/1.0b7-1

Fixed in version html2ps/1.0b7-2

Done: gregor herrmann <gregoa@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Rafael Cunha de Almeida <rafael@kontesti.me>:
Bug#866317; Package html2ps. (Wed, 28 Jun 2017 20:12:04 GMT) (full text, mbox, link).


Acknowledgement sent to Niko Tyni <ntyni@debian.org>:
New Bug report received and forwarded. Copy sent to Rafael Cunha de Almeida <rafael@kontesti.me>. (Wed, 28 Jun 2017 20:12:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Niko Tyni <ntyni@debian.org>
To: submit@bugs.debian.org
Subject: html2ps: relies on deprecated Perl syntax/features, breaks with 5.26
Date: Wed, 28 Jun 2017 23:10:58 +0300
Package: html2ps
Version: 1.0b7-1
Severity: important
User: debian-perl@lists.debian.org
Usertags: perl-5.26-transition

In addition to the $[ deprecation (#740782), this package also relies
on other deprecated Perl features. These will become fatal in
Perl 5.26, currently in experimental.

 % html2ps /dev/null >/dev/null
 Use of assignment to $[ is deprecated at /usr/bin/html2ps line 3409.
 Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m//DH { <-- HERE / at /usr/bin/html2ps line 3834.
 Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\patterns{ <-- HERE .*/ at /usr/bin/html2ps line 4085.
 Calling POSIX::tmpnam() is deprecated at /usr/bin/html2ps line 497.
 
-- 
Niko Tyni   ntyni@debian.org



Added indication that bug 866317 blocks 866389 Request was from Niko Tyni <ntyni@debian.org> to control@bugs.debian.org. (Sun, 02 Jul 2017 14:00:12 GMT) (full text, mbox, link).


Severity set to 'serious' from 'important' Request was from Niko Tyni <ntyni@debian.org> to control@bugs.debian.org. (Fri, 14 Jul 2017 19:45:12 GMT) (full text, mbox, link).


Added tag(s) patch. Request was from gregor herrmann <gregoa@debian.org> to 740782-submit@bugs.debian.org. (Fri, 14 Jul 2017 22:57:04 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Rafael Cunha de Almeida <rafael@kontesti.me>:
Bug#866317; Package html2ps. (Fri, 14 Jul 2017 22:57:05 GMT) (full text, mbox, link).


Acknowledgement sent to gregor herrmann <gregoa@debian.org>:
Extra info received and forwarded to list. Copy sent to Rafael Cunha de Almeida <rafael@kontesti.me>. (Fri, 14 Jul 2017 22:57:05 GMT) (full text, mbox, link).


Message #16 received at 866317@bugs.debian.org (full text, mbox, reply):

From: gregor herrmann <gregoa@debian.org>
To: Niko Tyni <ntyni@debian.org>, 866317@bugs.debian.org, 740782@bugs.debian.org
Subject: Re: Bug#866317: html2ps: relies on deprecated Perl syntax/features, breaks with 5.26
Date: Sat, 15 Jul 2017 00:54:25 +0200
[Message part 1 (text/plain, inline)]
Control: tag 740782 + patch
Control: tag 866317 + patch

On Wed, 28 Jun 2017 23:10:58 +0300, Niko Tyni wrote:

> In addition to the $[ deprecation (#740782), this package also relies
> on other deprecated Perl features. These will become fatal in
> Perl 5.26, currently in experimental.
> 
>  % html2ps /dev/null >/dev/null
>  Use of assignment to $[ is deprecated at /usr/bin/html2ps line 3409.
>  Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m//DH { <-- HERE / at /usr/bin/html2ps line 3834.
>  Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\patterns{ <-- HERE .*/ at /usr/bin/html2ps line 4085.
>  Calling POSIX::tmpnam() is deprecated at /usr/bin/html2ps line 497.

I'm attaching a patch for these issues. With it, I don't get any more
warnings or errors which are perl related.

(The usage of File::Temp's POSIX features is not really elegant but
it's minimal-invasive and I don't really grok what the code does with
the tempfile/dir ...)

Reviews welcome.


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at/ - Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: The Doors: Lover Her Madly
[866317_740782.patch (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]

Added tag(s) sid and buster. Request was from Adrian Bunk <bunk@debian.org> to control@bugs.debian.org. (Sun, 16 Jul 2017 20:51:14 GMT) (full text, mbox, link).


Reply sent to gregor herrmann <gregoa@debian.org>:
You have taken responsibility. (Mon, 17 Jul 2017 18:51:31 GMT) (full text, mbox, link).


Notification sent to Niko Tyni <ntyni@debian.org>:
Bug acknowledged by developer. (Mon, 17 Jul 2017 18:51:31 GMT) (full text, mbox, link).


Message #23 received at 866317-close@bugs.debian.org (full text, mbox, reply):

From: gregor herrmann <gregoa@debian.org>
To: 866317-close@bugs.debian.org
Subject: Bug#866317: fixed in html2ps 1.0b7-2
Date: Mon, 17 Jul 2017 18:48:44 +0000
Source: html2ps
Source-Version: 1.0b7-2

We believe that the bug you reported is fixed in the latest version of
html2ps, 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 866317@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
gregor herrmann <gregoa@debian.org> (supplier of updated html2ps 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: SHA512

Format: 1.8
Date: Mon, 17 Jul 2017 20:18:56 +0200
Source: html2ps
Binary: html2ps xhtml2ps
Architecture: source all
Version: 1.0b7-2
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: gregor herrmann <gregoa@debian.org>
Description:
 html2ps    - HTML to PostScript converter
 xhtml2ps   - HTML to PostScript converter (Tcl/Tk GUI frontend)
Closes: 740782 866317
Changes:
 html2ps (1.0b7-2) unstable; urgency=medium
 .
   * QA upload.
   * Set maintainer to 'Debian QA Group <packages@qa.debian.org>'.
     Cf. #759016
   * Fix "relies on deprecated Perl syntax/features, breaks with 5.26" and
     "Use of assignment to $[ is deprecated":
     add patch perl-deprecations.patch
     (Closes: #866317, #740782)
Checksums-Sha1:
 496105454315db90aa92d464d869a1b3b174147d 1907 html2ps_1.0b7-2.dsc
 f2a8838c85b132d614f11f7ba2f5cce94226b24b 11656 html2ps_1.0b7-2.debian.tar.xz
 5bdbdf0df833e5ad389420a67f901c833093a2a2 97884 html2ps_1.0b7-2_all.deb
 917ee40bc9f2d8fa818de0799fe6d82b5d5b7a9f 5670 html2ps_1.0b7-2_amd64.buildinfo
 e75fd7ee7d66786bc89a6d5febdc06cc6127d990 20584 xhtml2ps_1.0b7-2_all.deb
Checksums-Sha256:
 e4a8c1ced15c08ca12be795ab5baeeae36747a2ab97dacc7f0f4440eab230592 1907 html2ps_1.0b7-2.dsc
 3d2b570b8b8ed695f286000c104cbcd6d214a57e4ac68cc1d91575727b1f1f34 11656 html2ps_1.0b7-2.debian.tar.xz
 3f57a733b38f05efbc5e85c80adcd6535b4b7283fe7da3e6790b336d1eda21ab 97884 html2ps_1.0b7-2_all.deb
 201f2230111df29fcff25c520e2398feffff8f30a9e09dc7c60baf8ae2b7200f 5670 html2ps_1.0b7-2_amd64.buildinfo
 37865e0a02600866ef42fb69b81ab16ff7377034ea13f4a6c8b1a3c123ea8328 20584 xhtml2ps_1.0b7-2_all.deb
Files:
 64f87f79e11048dbe14ee5da0985afc7 1907 text optional html2ps_1.0b7-2.dsc
 3dac7e6869e029a5c7debe52f169ad73 11656 text optional html2ps_1.0b7-2.debian.tar.xz
 28af62e490bbf24248575aede80e7161 97884 text optional html2ps_1.0b7-2_all.deb
 0e1721a1052bc0ee47a27401210d25ce 5670 text optional html2ps_1.0b7-2_amd64.buildinfo
 1ac10e2607b9d06ce6fce7ec4fc3b954 20584 text optional xhtml2ps_1.0b7-2_all.deb

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAlls/6lfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgapKhAAiARjcx3V579Pb9LW98IJnodQ4p+KO0Pfat4w8T2RABh2/3T4ObcSarJq
kGJB+Qnsb78shNhq2j+fuoYTGhR89aDC5q3lqMMwalqYgs6BzW9to7ZOUZcUE+Te
rhMYQApl4ZFdGLU3zs0/3jhp7fa/2KWhzebwf80y0jiNpwcidRTLgCUU576Y7D1u
bD9mwvblqvnl59OVjmOYN2Ln1eHwM/OcIQLEUpwmOf0s3JivTsoZAX8NOvRhMZqQ
w2v5P2dRIZlgtE0gQ3WjHb33JJPxNlnRm1Q2FFbgDG2Z8Rbc9blugM5D7TGBmeYX
pDodhHrNkv7GzrfTVs7oStpKhrEOFNnVc4U/EPJPGfBoRtYg24gCStI8gXOV2DzE
T/JlLRw4vG35yB/om/w7ZVmGTqUFRk+p39tX9qobaRMJq/9rM6YaNNdcSXlQCRqT
UR6yDsAAI++tFfQ7K9OtczIY93FTHSB93FHdORKZSKRz7WEQl47jIVJtOaw/9yZs
giLmhY9zin0/opKgvcCwNdf4hIu1hzGnKjMBb0s6Y6z2g0N6fifbAbUePRr8tlir
hYaCOOGVtRf69C6X8NB91G7bJ3TKTusO6qnHwWvzNxCQ8QhDNBH2R6RjqkcWQ9VX
MmI/fFScLO6ZNTRam5qA9kGBlzLKJDKP4F7pwORLB/rme7T1mTM=
=k8eZ
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 20 Aug 2017 07:27:19 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: Thu Mar 28 12:08:59 2024; 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.