NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/56024: Recent regex change breaks textproc/link-grammar



>Number:         56024
>Category:       lib
>Synopsis:       Recent regex change breaks textproc/link-grammar
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 26 15:30:01 +0000 2021
>Originator:     Ryo ONODERA
>Release:        NetBSD 9.99.80
>Organization:
Ryo ONODERA // ryo%tetera.org@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3
>Environment:
	
	
System: NetBSD brownie 9.99.80 NetBSD 9.99.80 (DTRACE7) #0: Fri Feb 26 15:59:31 JST 2021 ryoon@brownie:/usr/world/9.99/amd64/obj/sys/arch/amd64/compile/DTRACE7 amd64
Architecture: x86_64
Machine: amd64
>Description:
After recent regex change in libc, textproc/link-grammar failed to load
dictionary file.

# cd /usr/pkgsrc/textproc/link-grammar
# make install
$ link-parser en
link-grammar: Info: Dictionary found at /usr/pkg/share/link-grammar/en/4.0.dict
link-grammar: Error: Failed to compile regex: "^\w.+ing$" (<ING-WORDS>): trailing backslash (\) (5)
link-grammar: Fatal error: Unable to open dictionary.

On HEAD of 202102202230Z from
http://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/202102202230Z/amd64/binary/sets/ ,
link-parser command works fine.

$ link-parser en
link-grammar: Info: Dictionary found at /usr/pkg/share/link-grammar/en/4.0.dict
link-grammar: Info: Dictionary version 5.8.1, locale en_US.UTF-8
link-grammar: Info: Library version link-grammar-5.8.1. Enter "!help" for help.
linkparser> 
	
>How-To-Repeat:
# cd /usr/pkgsrc/textproc/link-grammar
# make install
% link-parser en
	
>Fix:
	
I have no idea.

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index