Bug 524929

Summary: perl.req error with here-docs, fix and other improvements
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: rpmAssignee: Panu Matilainen <pmatilai>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: ffesti, jnovy, pmatilai
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-10-27 09:14:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Here-doc skipping/parsing improvements to perl.req none

Description Ville Skyttä 2009-09-22 18:20:25 UTC
perl.req errors out when it tries to skip over some here-docs due to found identifiers ending up unquoted in regexp, and too lenient parsing of starting here-doc identifiers, for example:

http://kojipkgs.fedoraproject.org/packages/perl-PAR-Packer/0.991/3.fc12/data/logs/x86_64/build.log
Unmatched ) in regex; marked by <-- HERE in m/^';y;\r\n;;d;$_=pack'b*',$_;$_=eval;$@&&die$@;$_) <-- HERE ."\n$$ref\n\n/ at /usr/lib/rpm/perl.req line 89, <FILE> line 30.

Comment 1 Ville Skyttä 2009-09-22 18:22:26 UTC
Created attachment 362125 [details]
Here-doc skipping/parsing improvements to perl.req

Patch against upstream git

Comment 2 Panu Matilainen 2009-10-06 07:10:24 UTC
Applied upstream now, thanks for the patch!

Comment 3 Panu Matilainen 2009-10-27 09:14:40 UTC
This went into rawhide some time ago (rpm 4.7.1-7)