← Back to team overview

linaro-pkg team mailing list archive

Bug#684820: linaro-image-tools: FTBFS: AttributeError: 'tuple' object has no attribute 'major'

 

Source: linaro-image-tools
Version: 2012.06-1
Severity: serious
Tags: wheezy sid
User: debian-qa@xxxxxxxxxxxxxxxx
Usertags: qa-ftbfs-20120814 qa-ftbfs
Justification: FTBFS in wheezy on amd64

Hi,

During a rebuild of all packages in *wheezy*, your package failed to
build on amd64.

Relevant part:
>  debian/rules build
> dh build --with python2
>    dh_testdir
>    dh_auto_configure
>    dh_auto_build
> Traceback (most recent call last):
>   File "setup.py", line 21, in <module>
>     "linaro-hwpack-replace"],
>   File "/usr/lib/python2.6/dist-packages/DistUtilsExtra/auto.py", line 98, in setup
>     __requires(attrs, src_all)
>   File "/usr/lib/python2.6/dist-packages/DistUtilsExtra/auto.py", line 458, in __requires
>     __add_imports(imports, s, attrs)
>   File "/usr/lib/python2.6/dist-packages/DistUtilsExtra/auto.py", line 383, in __add_imports
>     if(sys.version_info.major < 3):
> AttributeError: 'tuple' object has no attribute 'major'
> dh_auto_build: python2.6 setup.py build --force returned exit code 1
> make: *** [build] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/08/14/linaro-image-tools_2012.06-1_wheezy.log

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.