[Openstack-devel] Bug#721974: python-lesscpy: FTBFS in clean environment, missing build-dep and requires utf-8 capable terminal

Andreas Moog amoog at ubuntu.com
Fri Sep 6 11:52:42 UTC 2013


Package: python-lesscpy
Severity: serious
Justification: fails to build from source

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Thomas, Julien and Mehdi,

trying to build python-lesscpy in a clean environment with sbuild fails for
multiple reasons:

1. dh_auto_clean tries to run pyversions, which is not installed due to a 
missing build-dependency on python-minimal:

dpkg-buildpackage: source package python-lesscpy
dpkg-buildpackage: source version 0.9h-1
dpkg-buildpackage: source distribution experimental
 dpkg-source --before-build python-lesscpy-0.9h
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
make: pyversions: Command not found
py3versions: no X-Python3-Version in control file, using supported versions
dh clean --buildsystem=python_distutils --with python3
   dh_testdir -O--buildsystem=python_distutils
   dh_auto_clean -O--buildsystem=python_distutils
dh_auto_clean: failed to run pyversions
make: *** [clean] Error 2
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2

2. Even when installing python-minimal, the build fails because there is a
utf-8 encoded character in the LICENSE file:

Traceback (most recent call last):
  File "setup.py", line 27, in <module>
    license=open('LICENSE').read(),
  File "/usr/lib/python3.3/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 20: ordinal not in range(128)
make[1]: *** [override_dh_auto_install] Error 1

I don't know if this needs fixing in Debian at all, due to arch:All packages
being built on the developer's machine only, where most likely utf-8 is
available, but in Ubuntu for example, all packages are built on the build
farm, making this package unbuildable there.

Cheers,
   Andreas

- -- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (750, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.5.0-18-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)

iQIcBAEBAgAGBQJSKcIGAAoJEGHzRCZ03mYk0QQQALs3A3eM4pn5Uzt0WTDzfW7u
kSlTswJky9uPik+HNFa1IYqzSM9ZNX1gd0x3whBq6XSXMeTrDIjmOgWvMyHM0lBg
pmO7GbHQ9S52sIlHNzdm9/Y2coT4AbZCen3A7Vfqu+haGiNdzn60HQAgCEDBsAYA
6peYBIvbFjzLmIfaWFZ3hhKlFiE8ganlnHw8/4qjXW/Z/Z7ssweJvb3WTh7NUPyz
rD1RMsadi4DDsx5jo7w4HHSIb4saUX4N76NYMWu+gZy1lfOGgt/67C7m5AYc0LD4
u4AAPbSLx7puXayQhUTf7FCWjmkMeguGYrSrc9m4rBF9MOTsEkItK00PIY4ugpgy
X3CFZd3MDHliOe5P+zPFAS7SXkgcIdMOjEqDKwUzMKKueqYvxYjpc8WcVq7MBMwh
zfu3ywagPKWbkKtz+SpEcfuzNuTCBUX2v8rFXbIY0GJEXJbqzCdS7iihxARSAO+x
96OSpHdwDL835ataobHNgSSlqdPlVG1eenSq5SZ6peDqj5a5+tjFlDbK+8eJiNPi
FIDBg37mjq+eyzLilBBldzXvZe/8Na+6SwkD1vyeKJLJyO2cVVdtj4ayJmuelylp
Tp9bWdlWEj4jwQ2+YDMkDaEk9DCY/sr31eQfxl8Reb+ZVJAzCU6Bn5gAxkml48VQ
ov80nS8RThQpxBUM5DAT
=tnZ1
-----END PGP SIGNATURE-----



More information about the Openstack-devel mailing list