Build broken when python is python3

Issue #9 resolved
Jed Brown created an issue
Traceback (most recent call last):                                                                                                                                                             
  File "tools/", line 360, in <module>                                                                                                                                               
  File "tools/", line 322, in main                                                                                                                                                   
    src = SourceFile( filename )                                                                                                                                                               
  File "tools/", line 171, in __init__                                                                                                                                               
    self._text =                                                                                                                                                                     
  File "/usr/lib/python3.7/", line 322, in decode                                                                                                                                     
    (result, consumed) = self._buffer_decode(data, self.errors, final)                                                                                                                         
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd0 in position 2192: invalid continuation byte                                                                                           
make: *** Deleting file 'Makefile.gen'                                                                                                                                                         
make: Nothing to be done for 'all'.                

Note that make reports success despite this failure (it should propagate and exit nonzero).

Comments (2)

  1. Log in to comment