Bug#1048226: mkgmap: 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/mkgmap/-/commit/64c16dc3c6c21be31bedd347ac26921116e56e33

Kind Regards,

Bas

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



Bug#1048226: mkgmap: Fails to build source after successful build

2023-08-13 Thread Lucas Nussbaum
Source: mkgmap
Version: 0.0.0+svn4910-1
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 mkgmap
> dpkg-buildpackage: info: source version 0.0.0+svn4910-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Bas Couwenberg 
> 
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean --buildsystem=ant \
>   --with javahelper
>dh_auto_clean -O--buildsystem=ant
>   ant -propertyfile ./debian/ant.properties clean
> Buildfile: /<>/build.xml
>[tstamp] Honouring environment variable SOURCE_DATE_EPOCH which has been 
> set to 1690860061
> 
> clean:
>[delete] Deleting directory /<>/build
> 
> BUILD SUCCESSFUL
> Total time: 0 seconds
>dh_autoreconf_clean -O--buildsystem=ant
>jh_clean -O--buildsystem=ant
>dh_clean -O--buildsystem=ant
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building mkgmap using existing 
> ./mkgmap_0.0.0+svn4910.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: error: cannot represent change to dist/lib/ant-1.10.13.jar: 
> binary file contents changed
> dpkg-source: error: add dist/lib/ant-1.10.13.jar in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to dist/lib/ant-bootstrap.jar: 
> binary file contents changed
> dpkg-source: error: add dist/lib/ant-bootstrap.jar in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> dist/lib/ant-launcher-1.10.13.jar: binary file contents changed
> dpkg-source: error: add dist/lib/ant-launcher-1.10.13.jar in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to dist/lib/ant-launcher.jar: 
> binary file contents changed
> dpkg-source: error: add dist/lib/ant-launcher.jar in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to dist/lib/ant.jar: binary file 
> contents changed
> dpkg-source: error: add dist/lib/ant.jar in debian/source/include-binaries if 
> you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to 
> dist/lib/atinject-jsr330-api-1.0.jar: binary file contents changed
> dpkg-source: error: add dist/lib/atinject-jsr330-api-1.0.jar in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> dist/lib/atinject-jsr330-api.jar: binary file contents changed
> dpkg-source: error: add dist/lib/atinject-jsr330-api.jar in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> dist/lib/error-prone-annotation-2.18.0.jar: binary file contents changed
> dpkg-source: error: add dist/lib/error-prone-annotation-2.18.0.jar in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> dist/lib/error-prone-annotation.jar: binary file contents changed
> dpkg-source: error: add dist/lib/error-prone-annotation.jar in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> dist/lib/error-prone-annotations-2.18.0.jar: binary file contents changed
> dpkg-source: error: add dist/lib/error-prone-annotations-2.18.0.jar in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> dist/lib/error-prone-annotations.jar: binary file contents changed
> dpkg-source: error: add dist/lib/error-prone-annotations.jar in 
> debian/source/include-binaries if you want to store the