Package: glob2 Version: 0.9.4.4-1 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu karmic ubuntu-patch
In Ubuntu, we've applied the attached patch to achieve the following: * debian/rules clean: delete scons/*.pyc because they are modified by scons -c We thought you might be interested in doing the same. When building glob2 package with python 2.6, *.pyc files are modified by running scons in the clean rule, and it leads to the build failure: scons: Cleaning targets ... scons: done cleaning targets. rm -rf .sconf_temp/ .sconsign.dblite options_cache.py config.log config.h dpkg-source -b glob2-0.9.4.4 dpkg-source: info: using source format `1.0' dpkg-source: info: building glob2 using existing glob2_0.9.4.4.orig.tar.gz dpkg-source: info: building glob2 in glob2_0.9.4.4-1.diff.gz dpkg-source: error: cannot represent change to glob2-0.9.4.4/scons/bundle.pyc: binary file contents changed dpkg-source: error: cannot represent change to glob2-0.9.4.4/scons/dmg.pyc: binary file contents changed dpkg-source: error: cannot represent change to glob2-0.9.4.4/scons/nsis.pyc: binary file contents changed dpkg-source: error: cannot represent change to glob2-0.9.4.4/scons/addDependentLibsToBundle.pyc: binary file contents changed -- System Information: Debian Release: squeeze/sid APT prefers karmic-updates APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 'karmic-proposed'), (500, 'karmic-backports'), (500, 'karmic') Architecture: i386 (i686) Kernel: Linux 2.6.31-14-generic (SMP w/2 CPU cores) Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -u glob2-0.9.4.4/debian/rules glob2-0.9.4.4/debian/rules --- glob2-0.9.4.4/debian/rules +++ glob2-0.9.4.4/debian/rules @@ -43,7 +43,7 @@ scons -c - rm -rf .sconf_temp/ .sconsign.dblite options_cache.py config.log config.h + rm -rf .sconf_temp/ .sconsign.dblite options_cache.py config.log config.h scons/*.pyc install: build dh_testdir