[pkg-boost-devel] Bug#651437: Bug#651437: UnicodeDecodeError: 'utf8' codec can't decode byte 0xa8 in position 41: invalid start byte

Mathieu Malaterre mathieu.malaterre at gmail.com
Fri Dec 9 08:36:56 UTC 2011


reassign 651437 python3 3.1.3-12
thanks

On Fri, Dec 9, 2011 at 5:08 AM, Steve M. Robbins <steve at sumost.ca> wrote:
> On Thu, Dec 08, 2011 at 05:12:21PM +0100, Mathieu Malaterre wrote:
>
>> Thanks for providing boost 1.48, however I cannot build it on my squeez system,
>> it fails with:
>>
>> dh_python2
>> W: dh_python2:94: Python 2.6 should install files in /usr/lib/python2.6/dist-packages/. Did you forget "--install-layout=deb"?
>> W: dh_python2:293: Python 3.x location detected, please use dh_python3: debian/libboost-mpi-python1.48.0/usr/lib/python3.1
>> dh_python3
>> Traceback (most recent call last):
>>   File "/usr/bin/dh_python3", line 395, in <module>
>>     main()
>>   File "/usr/bin/dh_python3", line 333, in main
>>     stats = scan(package, private_dir)
>>   File "/usr/bin/dh_python3", line 232, in scan
>>     res = shebang2pyver(fpath)
>>   File "/usr/share/python3/debpython/tools.py", line 100, in shebang2pyver
>>     data = fp.read(32)
>>   File "/usr/lib/python3.1/codecs.py", line 300, in decode
>>     (result, consumed) = self._buffer_decode(data, self.errors, final)
>> UnicodeDecodeError: 'utf8' codec can't decode byte 0xa8 in position 41: invalid start byte
>
> It's not clear this has anything to do with boost; rather, this looks like a bug in "dh_python3".


-- 
Mathieu





More information about the pkg-boost-devel mailing list