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

2012-08-15 Thread Jakub Wilk
* gregor herrmann gre...@debian.org, 2012-08-14, 19:11: +-if(sys.version_info.major 3): ++if(sys.version_info[0] 3): + # hack to make this work with Python 2 +-f_loc = f.decode('ascii', errors='ignore') ++f_loc =

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

2012-08-15 Thread Martin Pitt
Hello Jakub, Gregor, thanks for spotting this! I fixed Jakub's two other bug reports about running the test suite, and I'll upload a new version with the two python 2.6 incompatibilities today. Martin -- Martin Pitthttp://www.piware.de Ubuntu Developer http://www.ubuntu.com Debian

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

2012-08-15 Thread gregor herrmann
On Wed, 15 Aug 2012 10:48:50 +0200, Jakub Wilk wrote: * gregor herrmann gre...@debian.org, 2012-08-14, 19:11: +-if(sys.version_info.major 3): ++if(sys.version_info[0] 3): + # hack to make this work with Python 2 +-f_loc =

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

2012-08-14 Thread gregor herrmann
Control: -1 + patch On Mon, 13 Aug 2012 21:18:57 +0200, Salvatore Bonaccorso wrote: If I apply to the package the change we discussed[1] now the packages linaro-image-tools and nautilus-image-manipulator FTBFS in unstable with:

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

2012-08-14 Thread Salvatore Bonaccorso
Hi On Tue, Aug 14, 2012 at 07:11:29PM +0200, gregor herrmann wrote: Ok, with your patch a bit extended, both linaro-image-tools and nautilus-image-manipulator finally build! \o/ Only to confirm: works for me too. Regards, Salvatore signature.asc Description: Digital signature

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

2012-08-13 Thread Salvatore Bonaccorso
Hi Only some more results to this bugreport. On Fri, Aug 10, 2012 at 04:47:33PM +0200, gregor herrmann wrote: On Fri, 10 Aug 2012 15:52:43 +0200, Salvatore Bonaccorso wrote: What I do not yet understand, is why it still uses python2.6 for both packages: at least nautilus-image-manipulator

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

2012-08-10 Thread Salvatore Bonaccorso
Hi Gregor (Adding python-distutils-ex...@packages.debian.org to recipients) On Fri, Aug 10, 2012 at 03:35:31PM +0200, gregor herrmann wrote: But: The error | WARNING: the following files are not recognized by DistUtilsExtra.auto: | Traceback (most recent call last): | File setup.py,

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

2012-08-10 Thread gregor herrmann
On Fri, 10 Aug 2012 15:52:43 +0200, Salvatore Bonaccorso wrote: What I do not yet understand, is why it still uses python2.6 for both packages: at least nautilus-image-manipulator depends on python, which now defaults to 2.7, so some other dependencies brings in python2.6? In the chroot when

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

2012-08-09 Thread gregor herrmann
On Thu, 09 Aug 2012 12:51:24 +0200, Salvatore Bonaccorso wrote: 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]: