Package: python-stdeb Version: 0.6.0+20100620-2 Severity: normal Hello,
When running py2dsc on an upstream tarball (for example coccigrep), it fails with the following error message: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- running the following command in directory: deb_dist/tmp_py2dsc/coccigrep-1.6 /usr/bin/python setup.py --command-packages stdeb.command sdist_dsc --dist-dir=/src/tmp/deb_dist --use-premade-distfile=/src/tmp/coccigrep-1.6.tar.gz -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- running sdist_dsc running egg_info writing coccigrep.egg-info/PKG-INFO writing top-level names to coccigrep.egg-info/top_level.txt writing dependency_links to coccigrep.egg-info/dependency_links.txt reading manifest file 'coccigrep.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'coccigrep.egg-info/SOURCES.txt' CALLING dpkg-source -b coccigrep-1.6 (in dir /src/tmp/deb_dist) dpkg-source: info: using source format `3.0 (quilt)' dpkg-source: info: building coccigrep using existing ./coccigrep_1.6.orig.tar.gz dpkg-source: info: local changes detected, the modified files are: coccigrep-1.6/coccigrep.egg-info/SOURCES.txt dpkg-source: info: you can integrate the local changes with dpkg-source --commit dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/coccigrep_1.6-1.diff.9MBdRD Traceback (most recent call last): File "setup.py", line 23, in <module> 'Topic :: Software Development', File "/usr/lib/python2.7/distutils/core.py", line 152, in setup dist.run_commands() File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib/python2.7/dist-packages/stdeb/command/sdist_dsc.py", line 139, in run remove_expanded_source_dir=self.remove_expanded_source_dir, File "/usr/lib/python2.7/dist-packages/stdeb/util.py", line 1207, in build_dsc cwd=dist_dir) File "/usr/lib/python2.7/dist-packages/stdeb/util.py", line 478, in dpkg_source process_command(args, cwd=cwd) File "/usr/lib/python2.7/dist-packages/stdeb/util.py", line 142, in process_command check_call(args, cwd=cwd) File "/usr/lib/python2.7/dist-packages/stdeb/util.py", line 35, in check_call raise CalledProcessError(retcode) stdeb.util.CalledProcessError: 2 ERROR running: /usr/bin/python setup.py --command-packages stdeb.command sdist_dsc --dist-dir=/src/tmp/deb_dist --use-premade-distfile=/src/tmp/coccigrep-1.6.tar.gz ERROR in deb_dist/tmp_py2dsc/coccigrep-1.6 I could not find a way to specify additional parameters to dpkg-source (such as ``--auto-commit''), I think that would be great to have? Another possibility would be to add automatically or through a command line parameter the following to debian/source/options: extend-diff-ignore = "\.egg-info" Thanks for maintaining stdeb. Regards, Arnaud Fontaine -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-rc7-amd64 (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 Versions of packages python-stdeb depends on: ii debhelper 9.20120115 ii python 2.7.2-10 ii python-setuptools 0.6.24-1 ii python2.6 2.6.7-4 ii python2.7 2.7.2-13 Versions of packages python-stdeb recommends: ii apt-file 2.5.0 ii dpkg-dev 1.16.1.2 ii python-all 2.7.2-10 Versions of packages python-stdeb suggests: ii python-all-dev 2.7.2-10 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org