Bug 2090608 - perl-Inline-Struct-0.30-2.fc37 FTBFS: Undefined (sub)rule "comment" used in a production
Summary: perl-Inline-Struct-0.30-2.fc37 FTBFS: Undefined (sub)rule "comment" used in a...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Inline-Struct
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F37FTBFS
TreeView+ depends on / blocked
 
Reported: 2022-05-26 06:20 UTC by Petr Pisar
Modified: 2022-05-30 15:20 UTC (History)
3 users (show)

Fixed In Version: perl-Text-Balanced-2.05.01-1.fc37
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-30 15:20:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
CPAN 142921 0 None None None 2022-05-26 11:43:25 UTC

Description Petr Pisar 2022-05-26 06:20:46 UTC
perl-Inline-Struct-0.30-2.fc37 fails to build in Fedora 37 because all tests fail like this:

$ perl -Iblib/{lib,arch} t/srcmember.t 

              Warning: Undefined (sub)rule "comment" used in a production.
                 Hint: Will you be providing this rule later, or did you
                       perhaps misspell "comment"? Otherwise it will be
                       treated as an immediate <reject>.

              Warning: Undefined (sub)rule "ALL" used in a production.
                 Hint: Will you be providing this rule later, or did you
                       perhaps misspell "ALL"? Otherwise it will be treated as
                       an immediate <reject>.

              Warning: Undefined (sub)rule "IDENTIFIER" used in a production.
                 Hint: Will you be providing this rule later, or did you
                       perhaps misspell "IDENTIFIER"? Otherwise it will be
                       treated as an immediate <reject>.

              Warning: Undefined (sub)rule "enum" used in a production.
                 Hint: Will you be providing this rule later, or did you
                       perhaps misspell "enum"? Otherwise it will be treated
                       as an immediate <reject>.

              Warning: Undefined (sub)rule "enum_label" used in a production.
                 Hint: Will you be providing this rule later, or did you
                       perhaps misspell "enum_label"? Otherwise it will be
                       treated as an immediate <reject>.

              Warning: Undefined (sub)rule "IDENTIFIER" used in a production.
                 Hint: Will you be providing this rule later, or did you
                       perhaps misspell "IDENTIFIER"? Otherwise it will be
                       treated as an immediate <reject>.

              Warning: Undefined (sub)rule "fields" used in a production.
                 Hint: Will you be providing this rule later, or did you
                       perhaps misspell "fields"? Otherwise it will be treated
                       as an immediate <reject>.

              Warning: Undefined (sub)rule "fields" used in a production.
                 Hint: Will you be providing this rule later, or did you
                       perhaps misspell "fields"? Otherwise it will be treated
                       as an immediate <reject>.

              Warning: Undefined (sub)rule "IDENTIFIER" used in a production.
                 Hint: Will you be providing this rule later, or did you
                       perhaps misspell "IDENTIFIER"? Otherwise it will be
                       treated as an immediate <reject>.
not ok 1 - compiled without error
#   Failed test 'compiled without error'
#   at t/srcmember.t line 15.
#          got: 'No valid structs found at blib/lib/Inline/Struct.pm line 57.
# '
#     expected: ''
1..1
# Looks like you failed 1 test of 1.

A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/12911699>. This is very probably triggered by upgrading perl-Text-Balanced from 2.04-479.fc36 to 2.05-1.fc37.

Comment 1 Petr Pisar 2022-05-26 09:02:47 UTC
Bisected to this Text-Balanced commit:

commit 744f78ff9566e3720860f830dc0b21facae9e648 (HEAD, refs/bisect/bad)
Author: Ed J <mohawk2.github.com>
Date:   Mon Mar 7 04:53:02 2022 +0000

    fix extract_multiple to track whether to allow /.../ as quotelike

Comment 2 Petr Pisar 2022-05-30 15:20:04 UTC
perl-Text-Balanced-2.05 broke perl-Parse-RecDescent. 2.05.01 fixed this regression.


Note You need to log in before you can comment on or make changes to this bug.