Bug 131498

Summary: gawk 3.1.4 with dfa breaks some regexes
Product: [Fedora] Fedora Reporter: Jeremy Katz <katzj>
Component: gawkAssignee: Karel Zak <kzak>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: ekanter, harkness, jeff, pallas, redhat-bugzilla, selinux
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-11-15 11:19: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:
Bug Depends On:    
Bug Blocks: 123268, 136451    

Description Jeremy Katz 2004-09-01 19:18:12 UTC
With gawk-3.1.4-1, mkinitrd doesn't (reliably) find the jbd module as
a dependency of ext3.

Downgrading to 3.1.3-9 or setting GAWK_NO_DFA=1 works around.

For now, moved 3.1.4-1 out of dist-fc3 (to -scratch)

Comment 1 Thomas Woerner 2004-09-02 11:39:31 UTC
Oh nice, you moved my package?

Comment 4 Bill Nottingham 2004-09-02 19:59:45 UTC
*** Bug 131447 has been marked as a duplicate of this bug. ***

Comment 5 Jeremy Katz 2004-09-07 04:16:15 UTC
*** Bug 131737 has been marked as a duplicate of this bug. ***

Comment 6 Jeremy Katz 2004-09-13 17:09:48 UTC
*** Bug 132456 has been marked as a duplicate of this bug. ***

Comment 8 Eugene Kanter 2004-09-18 13:40:28 UTC
It clearly depends of the modules.dep size. If the file is small then
awk 3.1.4 works fine.
# grep ext3 modules.dep >m.dep
# ./awk -f test.awk m.dep ext3
 jbd
# ./awk -f test.awk modules.dep ext3

# ./awk --version | head -1
GNU Awk 3.1.4
# awk -f test.awk modules.dep ext3
 jbd
# awk --version | head -1
GNU Awk 3.1.3# wc modules.dep m.dep
  1051   2967 177910 modules.dep
     1      2     95 m.dep


Comment 10 Pekka Pietikäinen 2004-10-15 23:05:02 UTC
Debian seems to have the same bug filed with some commentary and a
possible fix (but yea, it's something that should probably be handled
upstream and a post-FC3 thing in any case)

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=266519

Comment 11 Karel Zak 2004-11-11 15:25:52 UTC
This is bug in dfa.c, fixed by patch from Aharon Robbins. It will
fixed in FC4. The mkinitrd stuff was fixed and works with this path.
You can try test it with package and tests from:

http://people.redhat.com/kzak/gawk/

Comment 12 Karel Zak 2004-11-15 11:19:40 UTC
Fixed in gawk-3.1.4-4 [FC-4].