Source: httpie Version: 0.1.6+20120309git-2 Severity: serious Tags: patch Justification: fails to build from source
Hi, httpie fails to build if built twice in a row: dpkg-buildpackage: source package httpie dpkg-buildpackage: source version 0.1.6+20120309git-2 dpkg-buildpackage: source changed by Bartosz Fenski <[email protected]> dpkg-buildpackage: host architecture amd64 dpkg-source --before-build httpie-0.1.6+20120309git fakeroot debian/rules clean dh clean --with python2 dh_testdir dh_auto_clean running clean removing 'build/lib.linux-x86_64-2.6' (and everything under it) 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-2.6' does not exist -- can't clean it running clean removing 'build/lib.linux-x86_64-2.7' (and everything under it) 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-2.7' does not exist -- can't clean it removing 'build' dh_clean dpkg-source -b httpie-0.1.6+20120309git dpkg-source: info: using source format `3.0 (quilt)' dpkg-source: info: building httpie using existing ./httpie_0.1.6+20120309git.orig.tar.bz2 dpkg-source: warning: file httpie-0.1.6+20120309git/httpie.egg-info/SOURCES.txt has no final newline (either original or modified version) dpkg-source: warning: file httpie-0.1.6+20120309git/httpie.egg-info/requires.txt has no final newline (either original or modified version) dpkg-source: info: local changes detected, the modified files are: httpie-0.1.6+20120309git/httpie.egg-info/PKG-INFO httpie-0.1.6+20120309git/httpie.egg-info/SOURCES.txt httpie-0.1.6+20120309git/httpie.egg-info/dependency_links.txt httpie-0.1.6+20120309git/httpie.egg-info/entry_points.txt httpie-0.1.6+20120309git/httpie.egg-info/requires.txt httpie-0.1.6+20120309git/httpie.egg-info/top_level.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/httpie_0.1.6+20120309git-2.diff.OqoQE8 dpkg-buildpackage: error: dpkg-source -b httpie-0.1.6+20120309git gave error exit status 2 The fix is to override the clean target and remove the egg-info there: override_dh_auto_clean: dh_auto_clean $(RM) -rf $(CURDIR)/httpie.egg-info Regards Evgeni -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.4-trunk-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

