pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/inputmethod/ibus-table



On Sat, 30 Nov 2013 09:22:45 +0900, David Holland 
<dholland-pkgchanges%netbsd.org@localhost> wrote:

On Wed, Oct 23, 2013 at 12:43:49PM +0000, OBATA Akio wrote:
 > Modified Files:
 >   pkgsrc/inputmethod/ibus-table: Makefile PLIST distinfo
 >
 > Log Message:
 > Update ibus-table to 1.5.0.

Both ibus-table-chinese and ibus-table-other are doing this:

Traceback (most recent call last):
  File "/usr/pkg/share/ibus-table/engine/tabcreatedb.py", line 329, in <module>
    main ()
  File "/usr/pkg/share/ibus-table/engine/tabcreatedb.py", line 262, in main
    db.add_phrases ( phrases )
  File "/usr/pkg/share/ibus-table/engine/tabsqlitedb.py", line 441, in 
add_phrases
    map (self.add_phrase, phrases, [database]*len(phrases),[False]*len(phrases) 
)
  File "/usr/pkg/share/ibus-table/engine/tabsqlitedb.py", line 507, in 
add_phrase
    phrase))
  File "/usr/pkg/lib/python2.7/re.py", line 177, in findall
    return _compile(pattern, flags).findall(string)
  File "/usr/pkg/lib/python2.7/re.py", line 242, in _compile
    raise error, v # invalid expression
sre_constants.error: bad character range

Known issue.

Our python packages are configured with default settings (--enable-ucs2),
But many Linux distributions ship their python packages with --enable-ucs4.
"\Uxxx" will not be handled well with UCS2, for this case, handling CJK chars.
Maybe, there are already hidden such runtime issues for other packages.

This setting not only affect to python itself, but also python related modules.
So if you want to change the setting, you must also bump ABI_DEPENDS and
force to rebuild whole python related packages.

I want to do it, but working on other issues now...

--
OBATA Akio / obache%NetBSD.org@localhost



Home | Main Index | Thread Index | Old Index