[Bug 1184662] New: more bad requires generated by "use" in heredoc

bugzilla at redhat.com bugzilla at redhat.com
Thu Jan 22 00:07:56 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1184662

            Bug ID: 1184662
           Summary: more bad requires generated by "use" in heredoc
           Product: Fedora
           Version: 21
         Component: perl-generators
          Severity: low
          Assignee: jplesnik at redhat.com
          Reporter: jrowens.fedora at ghiapet.net
        QA Contact: extras-qa at fedoraproject.org
                CC: jplesnik at redhat.com,
                    perl-devel at lists.fedoraproject.org, ppisar at redhat.com,
                    psabata at redhat.com



Description of problem:
Much like my old bug #198033, perl.req is finding the phrase "use for" at the
beginning of a line within a "print <<END" heredoc, and generating a
"perl(for)" requires which isn't satisfiable.

Version-Release number of selected component (if applicable):
perl-generators-1.00-1.fc21.noarch

How reproducible:
consistently

Steps to Reproduce:
1. get & prep pgp-tools-1.1.10-1.fc21.src.rpm (currently in testing)
2. rpmbuild -bb SPECS/pgp-tools.spec (or -ba)

Actual results:
requires perl(for)

Expected results:
does not require perl(for)

Additional info:
There's already a section to skip over some heredocs, but only ones following
an assignment '=', lines 86-96 in /usr/lib/rpm/perl.req. It should be pretty
simple to tweak that to at least allow it to work for heredocs following "echo"
& "print" as well. I'm not sure that there aren't other uses for "<<", but
maybe it would be for the best to just count it as heredoc opening regardless
of what comes before it on the line? If that leads to skipping all the rest of
the file in some cases, well, that would be a bad thing.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=c63dEZHgNP&a=cc_unsubscribe



More information about the perl-devel mailing list