On Mon, Aug 16, 2010 at 10:01:21PM +0200, Peter Palfrader wrote: > Source: protobuf > Version: 2.3.0-3 > Severity: important > > The protbuf source package is not rebuildable, i.e. I cannot > build from the same source tree more than once. It really should be. > > This is probably due to a bad (incomplete) clean target. > > I ran into this build trying to build protobuf on stable, but the > same issue has been confirmed on unstable: > > […] > | dpkg-source: warning: newly created empty file > 'python/build/lib.linux-s390x-2.6/google/protobuf/__init__.py' will not be > represented in diff > | dpkg-source: warning: newly created empty file > 'python/build/lib.linux-s390x-2.6/google/protobuf/internal/__init__.py' will > not be represented in diff > | dpkg-source: error: unrepresentable changes to source > | dpkg-buildpackage: error: dpkg-source -b protobuf-2.3.0 gave error exit > status 2 > | debuild: fatal error at line 1327: > | dpkg-buildpackage -rfakeroot -D -us -uc failed > | [sid] wea...@zelenka:~/protobof/protobuf-2.3.0$ > > You probably want to clean out (some of) the __init__.py files, all the > *.pyc and .egg files or something like that.
Argh, stupid typo. Thanks for catching this. The clean rule already is supposed to do this, but it does test -f instead of test -d so the python cleanup is not run at all. thanks! iustin
signature.asc
Description: Digital signature

