Bug 822117

Summary: html2ps: "Use of assignment to $[ is deprecated"
Product: [Fedora] Fedora Reporter: Jonathan Kamens <h1k6zn2m>
Component: html2psAssignee: Petr Pisar <ppisar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: pertusus, ppisar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: html2ps-1.0-0.9.b7.fc18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-26 08:02:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jonathan Kamens 2012-05-16 11:46:35 UTC
$ html2ps /dev/null > /dev/null
Use of assignment to $[ is deprecated at /usr/bin/html2ps line 3408.
$

Comment 1 Petr Pisar 2012-05-16 12:32:47 UTC
Thank you for the report. The usage of '$[' variable has been deprecated by Perl. The assignment to 0 what html2ps does is idempotent because the value is 0 by default. Simple removal of the line from html2ps should fix it without any side effects.

F18--16 are affected.

Comment 2 Petr Pisar 2012-05-16 13:06:04 UTC
Fixed as html2ps-1.0-0.9.b7.fc18 in F18.

Comment 3 Fedora Update System 2012-05-16 13:11:36 UTC
html2ps-1.0-0.9.b7.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/html2ps-1.0-0.9.b7.fc17

Comment 4 Fedora Update System 2012-05-16 13:11:57 UTC
html2ps-1.0-0.8.b7.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/html2ps-1.0-0.8.b7.fc16

Comment 5 Fedora Update System 2012-05-18 10:25:29 UTC
Package html2ps-1.0-0.8.b7.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing html2ps-1.0-0.8.b7.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-8018/html2ps-1.0-0.8.b7.fc16
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2012-05-26 08:02:31 UTC
html2ps-1.0-0.9.b7.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2012-05-29 10:36:46 UTC
html2ps-1.0-0.8.b7.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.