Source: dcmstack
Version: 0.6.2+git33-gb43919a.1-1
Severity: serious
Tags: buster sid

Some recent change in unstable makes dcmstack FTBFS:

https://tests.reproducible-builds.org/debian/history/dcmstack.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/dcmstack.html

...
   dh_auto_test -O--buildsystem=pybuild
        pybuild --test --test-nose -i python{version} -p 2.7
I: pybuild base:184: cd 
/build/1st/dcmstack-0.6.2+git33-gb43919a.1/.pybuild/pythonX.Y_2.7/build; 
python2.7 -m nose test
..............................................................................................................................E..
======================================================================
ERROR: test_extract.TestMetaExtractor.test_get_elem_value
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File 
"/build/1st/dcmstack-0.6.2+git33-gb43919a.1/.pybuild/pythonX.Y_2.7/build/test/test_extract.py",
 line 91, in test_get_elem_value
    value = extractor._get_elem_value(elem)
  File "dcmstack/extract.py", line 398, in _get_elem_value
    value = self.conversions[elem.VR](value)
  File "dcmstack/extract.py", line 295, in get_text
    return byte_str.decode(match['encoding'])
  File "/usr/lib/python2.7/encodings/cp1254.py", line 15, in decode
    return codecs.charmap_decode(input,errors,decoding_table)
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 5136: 
character maps to <undefined>
-------------------- >> begin captured logging << --------------------
chardet.charsetprober: DEBUG: SHIFT_JIS Japanese prober hit error at byte 240
chardet.charsetprober: DEBUG: EUC-JP Japanese prober hit error at byte 137
chardet.charsetprober: DEBUG: GB2312 Chinese prober hit error at byte 137
chardet.charsetprober: DEBUG: EUC-KR Korean prober hit error at byte 137
chardet.charsetprober: DEBUG: CP949 Korean prober hit error at byte 137
chardet.charsetprober: DEBUG: Big5 Chinese prober hit error at byte 137
chardet.charsetprober: DEBUG: EUC-TW Taiwan prober hit error at byte 137
chardet.charsetprober: DEBUG: windows-1251 Russian confidence = 0.0
chardet.charsetprober: DEBUG: KOI8-R Russian confidence = 0.01
chardet.charsetprober: DEBUG: ISO-8859-5 Russian confidence = 0.01
chardet.charsetprober: DEBUG: MacCyrillic Russian confidence = 0.01
chardet.charsetprober: DEBUG: IBM866 Russian confidence = 0.01
chardet.charsetprober: DEBUG: IBM855 Russian confidence = 0.01
chardet.charsetprober: DEBUG: ISO-8859-7 Greek confidence = 0.01
chardet.charsetprober: DEBUG: windows-1253 Greek confidence = 0.01
chardet.charsetprober: DEBUG: ISO-8859-5 Bulgairan confidence = 0.01
chardet.charsetprober: DEBUG: windows-1251 Bulgarian confidence = 0.0
chardet.charsetprober: DEBUG: TIS-620 Thai confidence = 0.01
chardet.charsetprober: DEBUG: ISO-8859-9 Turkish confidence = 0.355306617892
chardet.charsetprober: DEBUG: windows-1255 Hebrew confidence = 0.0
chardet.charsetprober: DEBUG: windows-1255 Hebrew confidence = 0.01
chardet.charsetprober: DEBUG: windows-1255 Hebrew confidence = 0.01
chardet.charsetprober: DEBUG: windows-1251 Russian confidence = 0.0
chardet.charsetprober: DEBUG: KOI8-R Russian confidence = 0.01
chardet.charsetprober: DEBUG: ISO-8859-5 Russian confidence = 0.01
chardet.charsetprober: DEBUG: MacCyrillic Russian confidence = 0.01
chardet.charsetprober: DEBUG: IBM866 Russian confidence = 0.01
chardet.charsetprober: DEBUG: IBM855 Russian confidence = 0.01
chardet.charsetprober: DEBUG: ISO-8859-7 Greek confidence = 0.01
chardet.charsetprober: DEBUG: windows-1253 Greek confidence = 0.01
chardet.charsetprober: DEBUG: ISO-8859-5 Bulgairan confidence = 0.01
chardet.charsetprober: DEBUG: windows-1251 Bulgarian confidence = 0.0
chardet.charsetprober: DEBUG: TIS-620 Thai confidence = 0.01
chardet.charsetprober: DEBUG: ISO-8859-9 Turkish confidence = 0.355306617892
chardet.charsetprober: DEBUG: windows-1255 Hebrew confidence = 0.0
chardet.charsetprober: DEBUG: windows-1255 Hebrew confidence = 0.01
chardet.charsetprober: DEBUG: windows-1255 Hebrew confidence = 0.01
--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
Ran 129 tests in 5.873s

FAILED (errors=1)
E: pybuild pybuild:283: test: plugin distutils failed with: exit code=1: cd 
/build/1st/dcmstack-0.6.2+git33-gb43919a.1/.pybuild/pythonX.Y_2.7/build; 
python2.7 -m nose test
dh_auto_test: pybuild --test --test-nose -i python{version} -p 2.7 returned 
exit code 13
debian/rules:18: recipe for target 'build' failed
make: *** [build] Error 25

Reply via email to