Bug#682053: FTBFS if built twice in a row

2012-07-19 Thread Evgeni Golov
Source: datapm
Version: 0.10-1
Severity: serious
Justification: fails to build from source

Hi,

datapm fails to build if built twice in a row. From my cowbuilder log:

dpkg-buildpackage: source package datapm
dpkg-buildpackage: source version 0.10-1
dpkg-buildpackage: source changed by J. Félix Ontañón fonta...@emergya.es
dpkg-buildpackage: host architecture amd64
 dpkg-source --before-build datapm-0.10
 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 datapm-0.10
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building datapm using existing ./datapm_0.10.orig.tar.xz
dpkg-source: warning: file datapm-0.10/datapm.egg-info/entry_points.txt has no 
final newline (either original or modified version)
dpkg-source: warning: file datapm-0.10/datapm.egg-info/SOURCES.txt has no final 
newline (either original or modified version)
dpkg-source: info: local changes detected, the modified files are:
 datapm-0.10/datapm.egg-info/PKG-INFO
 datapm-0.10/datapm.egg-info/SOURCES.txt
 datapm-0.10/datapm.egg-info/dependency_links.txt
 datapm-0.10/datapm.egg-info/entry_points.txt
 datapm-0.10/datapm.egg-info/not-zip-safe
 datapm-0.10/datapm.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/datapm_0.10-1.diff.c17Zcp
dpkg-buildpackage: error: dpkg-source -b datapm-0.10 gave error exit status 2
E: Failed autobuilding of package
W: no hooks of type C found -- ignoring
I: unmounting /var/cache/pbuilder/result filesystem
I: unmounting /var/cache/pbuilder/ccache filesystem
I: unmounting /home filesystem
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
 - Cleaning COW directory
  forking: rm -rf /var/cache/pbuilder/build//cow.24677 


Will attach a patch as soon I have a bug#.

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


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#682053: FTBFS if built twice in a row

2012-07-19 Thread Evgeni Golov
tags 682053 + patch
thanks

On Thu, Jul 19, 2012 at 09:34:34AM +0200, Evgeni Golov wrote:
 datapm fails to build if built twice in a row.
 Will attach a patch as soon I have a bug#.

https://github.com/evgeni/dpm/commit/5069268d47ae6f27ae514dc51178d7d4c2389cf1


-- 
Bruce Schneier can read and understand Perl programs.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#682053: FTBFS if built twice in a row

2012-07-19 Thread Evgeni Golov
On Thu, Jul 19, 2012 at 09:43:42AM +0200, Evgeni Golov wrote:
 tags 682053 + patch
 thanks
 
 On Thu, Jul 19, 2012 at 09:34:34AM +0200, Evgeni Golov wrote:
  datapm fails to build if built twice in a row.
  Will attach a patch as soon I have a bug#.
 
 https://github.com/evgeni/dpm/commit/5069268d47ae6f27ae514dc51178d7d4c2389cf1

A better (cleaner) fix, as proposed by Jakub in #652617 is to add
*.egg-info/* to debian/clean.

-- 
Bruce Schneier can read and understand Perl programs.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org