Bug 1015924

Summary: xzless report error reading xz file
Product: [Fedora] Fedora Reporter: Frank Büttner <bugzilla>
Component: xzAssignee: Jindrich Novy <novyjindrich>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: a.badger, novyjindrich, praiskup
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: xz-5.1.2-8alpha.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1082639 (view as bug list) Environment:
Last Closed: 2014-04-07 03:24:30 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:
Bug Depends On:    
Bug Blocks: 1082639    

Description Frank Büttner 2013-10-06 20:38:59 UTC
Description of problem:
When read an xz compressed text file via xzless an error will occur when I close the file.

Version-Release number of selected component (if applicable):
xz-5.1.2-4alpha.fc19.x86_64

How reproducible:
every time

Steps to Reproduce:
1. rpm -qa |xz -z9 >/tmp/text.xz
2. LANG=C xzless /tmp/text.xz
3. press q

Actual results:
Error Message: /bin/xzless: line 49: test: 458 (POSIX regular expressions): integer expression expected


Expected results:
No error when press q on xzless

Comment 1 Pavel Raiskup 2013-10-08 13:04:24 UTC
Thanks for the report.  This was firstly fixed upstream by commit db5c1817fa
and more sane solution committed by 9e6dabcf22.

Comment 2 Fedora Update System 2014-04-02 08:58:42 UTC
xz-5.1.2-8alpha.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/xz-5.1.2-8alpha.fc20

Comment 3 Fedora Update System 2014-04-03 04:06:35 UTC
Package xz-5.1.2-8alpha.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing xz-5.1.2-8alpha.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-4715/xz-5.1.2-8alpha.fc20
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2014-04-07 03:24:30 UTC
xz-5.1.2-8alpha.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.