[MacRuby-devel] [MacRuby] #559: Build error: too short escaped multibyte character: /[\x80-\xff\r\n]/

MacRuby ruby-noreply at macosforge.org
Fri Jan 15 23:21:02 PST 2010


#559: Build error:  too short escaped multibyte character: /[\x80-\xff\r\n]/
-------------------------------------+--------------------------------------
 Reporter:  valerii.hiora@…          |       Owner:  lsansonetti@…        
     Type:  defect                   |      Status:  new                  
 Priority:  critical                 |   Milestone:                       
Component:  MacRuby                  |    Keywords:                       
-------------------------------------+--------------------------------------
 rev: 3282
 OSX 10.6.2

 after updating
 rake clean:ext
 rake

 fails with:
 ./miniruby -I. -I./lib bin/rubyc --internal --arch i386 --arch x86_64 -C
 "lib/net/imap.rb" -o "lib/net/imap.rbo"
 lib/net/imap.rb:866: too short escaped multibyte character:
 /(&)|([^\x20-\x25\x27-\x7e]+)/
 lib/net/imap.rb:1131: too short escaped multibyte character:
 /[\x80-\xff\r\n]/
 lib/net/imap.rb:1134: too short escaped multibyte character: /[(){
 \x00-\x1f\x7f%*"\\]/
 lib/net/imap.rb:1882: too short escaped multibyte character: /\G(?:(?# 1:
 SPACE   )( +)|(?# 2:  NIL     )(NIL)(?=[\x80-\xff(){
 \x00-\x1f\x7f%*"\\\[\]+])|(?# 3:  NUMBER  )(\d+)(?=[\x80-\xff(){
 \x00-\x1f\x7f%*"\\\[\]+])|(?# 4:  ATOM    )([^\x80-\xff(){
 \x00-\x1f\x7f%*"\\\[\]+]+)|(?# 5:  QUOTED
 )"((?:[^\x00\r\n"\\]|\\["\\])*)"|(?# 6:  LPAR    )(\()|(?# 7:  RPAR
 )(\))|(?# 8:  BSLASH  )(\\)|(?# 9:  STAR    )(\*)|(?# 10: LBRA
 )(\[)|(?# 11: RBRA    )(\])|(?# 12: LITERAL )\{(\d+)\}\r\n|(?# 13: PLUS
 )(\+)|(?# 14: PERCENT )(%)|(?# 15: CRLF    )(\r\n)|(?# 16: EOF
 )(\z))/i
 lib/net/imap.rb:1891: too short escaped multibyte character: /\G(?:(?# 1:
 SPACE   )( )|(?# 2:  NIL     )(NIL)|(?# 3:  NUMBER  )(\d+)|(?# 4:  QUOTED
 )"((?:[^\x00\r\n"\\]|\\["\\])*)"|(?# 5:  LITERAL )\{(\d+)\}\r\n|(?# 6:
 LPAR    )(\()|(?# 7:  RPAR    )(\)))/i
 lib/net/imap.rb:1894: too short escaped multibyte character: /\G(?:(?# 1:
 TEXT    )([^\x00\r\n]*))/i
 lib/net/imap.rb:1898: too short escaped multibyte character: /\G(?:(?# 1:
 LBRA    )(\[)|(?# 2:  TEXT    )([^\x00\r\n]*))/i
 lib/net/imap.rb:1901: unexpected escape sequence: /\G(?:(?# 1:  TEXT
 )([^\x00\r\n\]]*))/i
 lib/net/imap.rb:2436: too short escaped multibyte character:
 /[\x80-\xff\r\n]/
 lib/net/imap.rb:2439: too short escaped multibyte character: /[(){
 \x00-\x1f\x7f%*"\\]/
 lib/net/imap.rb:2767: too short escaped multibyte character: /\G(?# 1:
 NAME     )(?:NIL|"((?:[^\x80-\xff\x00\r\n"\\]|\\["\\])*)") (?# 2: ROUTE
 )(?:NIL|"((?:[^\x80-\xff\x00\r\n"\\]|\\["\\])*)") (?# 3: MAILBOX
 )(?:NIL|"((?:[^\x80-\xff\x00\r\n"\\]|\\["\\])*)") (?# 4: HOST
 )(?:NIL|"((?:[^\x80-\xff\x00\r\n"\\]|\\["\\])*)")\)/i
 lib/net/imap.rb:2831: too short escaped multibyte character: /(?# FLAG
 )\\([^\x80-\xff(){ \x00-\x1f\x7f%"\\]+)|(?# ATOM        )([^\x80-\xff(){
 \x00-\x1f\x7f%*"\\]+)/
 Error when executing `arch -i386 ./miniruby --emit-llvm
 "/var/folders/Om/OmezzDSfEZaUyiIKj2XNn++++TI/-Tmp-/imapi386-39223.bc"
 MREP_932370E7689D4F44B60771877D80481C "lib/net/imap.rb"'
 rake aborted!
 Command failed with status (1): [./miniruby -I. -I./lib bin/rubyc
 --interna...]

 All those errors seems to be related to regexps.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/559>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list