← Back to team overview

linaro-pkg team mailing list archive

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

 

Hi

On Tue, Jul 24, 2012 at 11:41:24AM +0200, Lucas Nussbaum wrote:
> Source: linaro-image-tools
> Version: 2012.06-1
> Severity: serious
> Tags: wheezy sid
> User: debian-qa@xxxxxxxxxxxxxxxx
> Usertags: qa-ftbfs-20120724 qa-ftbfs
> Justification: FTBFS on amd64
> 
> Hi,
> 
> During a rebuild of all packages in sid, 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

Only a small comment on this and a similar bugreport: This is the same
sas #682634 for another package nautilus-image-manipulator.

I'm no python expert and only did the NMU upload for
nautilus-image-manipulator recently, but I have found that e.g.
google-apps-manager does [1,2] for python2.6 'compatibility':

 [1]: http://code.google.com/p/google-apps-manager/issues/detail?id=61
 [2]: https://code.google.com/p/google-apps-manager/source/detail?r=253#

Looking at the build log for both nautilus-image-manipulator and the
linaro-image-tools it seems for both python2.6 get's installed and
used.

Regards,
Salvatore

Attachment: signature.asc
Description: Digital signature


Follow ups

References