Package: rubber
Version: 1.5-1
Severity: serious
Control: affects -1 src:why3

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/arm64/why3.html

...
cd doc; rubber --warn all --pdf manual.tex
Traceback (most recent call last):
  File "/usr/bin/rubber", line 17, in <module>
    sys.exit (cmdline (args))
  File "/usr/lib/python3/dist-packages/rubber/cmdline.py", line 432, in __call__
    self.main (cmdline)
  File "/usr/lib/python3/dist-packages/rubber/cmdline.py", line 352, in main
    env.main.parse()
  File "/usr/lib/python3/dist-packages/rubber/converters/latex.py", line 734, 
in parse
    self.process(self.source())
  File "/usr/lib/python3/dist-packages/rubber/converters/latex.py", line 787, 
in process
    self.parse_file(file)
  File "/usr/lib/python3/dist-packages/rubber/converters/latex.py", line 765, 
in parse_file
    function(self.vars, *args)
  File "/usr/lib/python3/dist-packages/rubber/converters/latex.py", line 1038, 
in h_input
    self.input_file(file, loc)
  File "/usr/lib/python3/dist-packages/rubber/converters/latex.py", line 823, 
in input_file
    self.process(file)
  File "/usr/lib/python3/dist-packages/rubber/converters/latex.py", line 787, 
in process
    self.parse_file(file)
  File "/usr/lib/python3/dist-packages/rubber/converters/latex.py", line 751, 
in parse_file
    token = parser.next_hook()
  File "/usr/lib/python3/dist-packages/rubber/tex.py", line 511, in next_hook
    if not self.read_line():
  File "/usr/lib/python3/dist-packages/rubber/converters/latex.py", line 514, 
in read_line
    while rubber.tex.Parser.read_line(self):
  File "/usr/lib/python3/dist-packages/rubber/tex.py", line 412, in read_line
    self.line = self.input.readline()
  File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 10: 
ordinal not in range(128)
make[2]: *** [Makefile:1917: doc/manual.pdf] Error 1


This is a common problem when running Python3 in C locale.

Reply via email to