<div dir="ltr"><div dir="ltr"><div dir="ltr">Package: python-apptools</div><div>Version: 4.3.0-1</div><div>Severity: important</div><div>Tags: ftbfs</div><div>Owner: <a href="mailto:stew@ferg.aero">stew@ferg.aero</a><br></div><div><br></div><div>When building from the Salsa git repository, this package is ftbfs.  This is because during dh_clean, setup.py checks for .git, and if it exists, it modifies apptools/_version.py.  This leaves a modified file in the tree which causes dpkg-source to fail.</div><div><br></div><div>I've set the severity as "important" instead of "serious" because this does not affect users who build from the dsc.</div><div><br></div><div>Full log below:<br></div><div><br></div><div>dpkg-buildpackage -us -uc -ui<br>dpkg-buildpackage: info: source package python-apptools<br>dpkg-buildpackage: info: source version 4.3.0-2<br>dpkg-buildpackage: info: source distribution UNRELEASED<br>dpkg-buildpackage: info: source changed by Ondřej Nový <<a href="mailto:novy@ondrej.org">novy@ondrej.org</a>><br> dpkg-source --before-build .<br>dpkg-buildpackage: info: host architecture amd64<br> fakeroot debian/rules clean<br>pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions<br>pyversions: missing debian/pyversions file, fall back to supported versions<br>test -x debian/rules<br>dh_clean <br>dh_clean: Compatibility levels before 9 are deprecated (level 7 in use)<br>cd . && python setup.py clean -a<br>running clean<br>'build/lib.linux-x86_64-2.7' does not exist -- can't clean it<br>'build/bdist.linux-x86_64' does not exist -- can't clean it<br>'build/scripts-2.7' does not exist -- can't clean it<br>rm -rf debian/python-module-stampdir<br>find "/home/stew/src/python-apptools_4.3" -name '*.py[co]' -delete<br>find "/home/stew/src/python-apptools_4.3" -name __pycache__ -type d -empty -delete<br>find "/home/stew/src/python-apptools_4.3" -prune -name '*.egg-info' -exec rm -rf '{}' ';'<br> dpkg-source -b .<br>dpkg-source: info: using source format '3.0 (quilt)'<br>dpkg-source: info: building python-apptools using existing ./python-apptools_4.3.0.orig.tar.gz<br>dpkg-source: info: local changes detected, the modified files are:<br> python-apptools_4.3/apptools/_version.py<br>dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/python-apptools_4.3.0-2.diff.lfR1uN<br>dpkg-source: info: you can integrate the local changes with dpkg-source --commit<br>dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 2<br>debuild: fatal error at line 1182:<br>dpkg-buildpackage -us -uc -ui failed<br></div></div></div>