Bug#1047339: totalopenstation: Fails to build source after successful build

2023-08-14 Thread Sebastiaan Couwenberg

Control: tags -1 pending

Already fixed in git:

https://salsa.debian.org/debian-gis-team/totalopenstation/-/commit/520ebdd45a5b605641e70b2786afaea2b8dbf0a4

Kind Regards,

Bas

--
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



Bug#1047339: totalopenstation: Fails to build source after successful build

2023-08-13 Thread Lucas Nussbaum
Source: totalopenstation
Version: 0.5.2-3
Severity: minor
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: debian...@lists.debian.org
Usertags: qa-doublebuild

Hi,

This package fails to build a source package after a successful build
(dpkg-buildpackage ; dpkg-buildpackage -S).

This is probably a clear violation of Debian Policy section 4.9 (clean target),
but this is filed as severity:minor for now, because a discussion on
debian-devel showed that we might want to revisit the requirement of a working
'clean' target.

More information about this class of issues, included common problems and
solutions, is available at
https://wiki.debian.org/qa.debian.org/FTBFS/SourceAfterBuild

Relevant part of the build log:
> cd /<> && runuser -u user42 -- dpkg-buildpackage --sanitize-env 
> -us -uc -rfakeroot -S
> ---
> 
> dpkg-buildpackage: info: source package totalopenstation
> dpkg-buildpackage: info: source version 0.5.2-3
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Matteo F. Vescovi 
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean --with python3 --buildsystem=pybuild
>dh_autoreconf_clean -O--buildsystem=pybuild
>dh_clean -O--buildsystem=pybuild
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building totalopenstation using existing 
> ./totalopenstation_0.5.2.orig.tar.gz
> dpkg-source: error: cannot represent change to 
> .pybuild/cpython3_3.11/build/totalopenstation/__pycache__/__init__.cpython-311.pyc:
>  binary file contents changed
> dpkg-source: error: add 
> .pybuild/cpython3_3.11/build/totalopenstation/__pycache__/__init__.cpython-311.pyc
>  in debian/source/include-binaries if you want to store the modified binary 
> in the debian tarball
> dpkg-source: error: cannot represent change to 
> .pybuild/cpython3_3.11/build/totalopenstation/formats/__pycache__/__init__.cpython-311.pyc:
>  binary file contents changed
> dpkg-source: error: add 
> .pybuild/cpython3_3.11/build/totalopenstation/formats/__pycache__/__init__.cpython-311.pyc
>  in debian/source/include-binaries if you want to store the modified binary 
> in the debian tarball
> dpkg-source: error: cannot represent change to 
> .pybuild/cpython3_3.11/build/totalopenstation/formats/__pycache__/carlson_rw5.cpython-311.pyc:
>  binary file contents changed
> dpkg-source: error: add 
> .pybuild/cpython3_3.11/build/totalopenstation/formats/__pycache__/carlson_rw5.cpython-311.pyc
>  in debian/source/include-binaries if you want to store the modified binary 
> in the debian tarball
> dpkg-source: error: cannot represent change to 
> .pybuild/cpython3_3.11/build/totalopenstation/formats/__pycache__/conversion.cpython-311.pyc:
>  binary file contents changed
> dpkg-source: error: add 
> .pybuild/cpython3_3.11/build/totalopenstation/formats/__pycache__/conversion.cpython-311.pyc
>  in debian/source/include-binaries if you want to store the modified binary 
> in the debian tarball
> dpkg-source: error: cannot represent change to 
> .pybuild/cpython3_3.11/build/totalopenstation/formats/__pycache__/leica_gsi.cpython-311.pyc:
>  binary file contents changed
> dpkg-source: error: add 
> .pybuild/cpython3_3.11/build/totalopenstation/formats/__pycache__/leica_gsi.cpython-311.pyc
>  in debian/source/include-binaries if you want to store the modified binary 
> in the debian tarball
> dpkg-source: error: cannot represent change to 
> .pybuild/cpython3_3.11/build/totalopenstation/formats/__pycache__/leica_tcr_1205.cpython-311.pyc:
>  binary file contents changed
> dpkg-source: error: add 
> .pybuild/cpython3_3.11/build/totalopenstation/formats/__pycache__/leica_tcr_1205.cpython-311.pyc
>  in debian/source/include-binaries if you want to store the modified binary 
> in the debian tarball
> dpkg-source: error: cannot represent change to 
> .pybuild/cpython3_3.11/build/totalopenstation/formats/__pycache__/leica_tcr_705.cpython-311.pyc:
>  binary file contents changed
> dpkg-source: error: add 
> .pybuild/cpython3_3.11/build/totalopenstation/formats/__pycache__/leica_tcr_705.cpython-311.pyc
>  in debian/source/include-binaries if you want to store the modified binary 
> in the debian tarball
> dpkg-source: error: cannot represent change to 
> .pybuild/cpython3_3.11/build/totalopenstation/formats/__pycache__/nikon_raw_v200.cpython-311.pyc:
>  binary file contents changed
> dpkg-source: error: add 
> .pybuild/cpython3_3.11/build/totalopenstation/formats/__pycache__/nikon_raw_v200.cpython-311.pyc
>  in debian/source/include-binaries if you want to store the modified binary 
> in the debian tarball
> dpkg-source: error: cannot represent change to 
> .pybuild/cpython3_3.11/build/totalopenstation/formats/__pycache__/polar.cpython-311.pyc:
>  binary file contents changed