Bug#1045169: python-mapnik: Fails to build source after successful build

Lucas Nussbaum lucas at debian.org
Sun Aug 13 20:21:14 BST 2023


Source: python-mapnik
Version: 1:0.0~20200224-7da019cf9-4
Severity: minor
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: debian-qa at 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 /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -S
> --------------------------------------------------------------------------------------------------------------------------------------------------
> 
> dpkg-buildpackage: info: source package python-mapnik
> dpkg-buildpackage: info: source version 1:0.0~20200224-7da019cf9-4
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Bas Couwenberg <sebastic at debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean \
> 	--with python3 \
> 	--buildsystem=pybuild
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> # Skip
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean -O--buildsystem=pybuild
>    debian/rules override_dh_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_clean mapnik/paths.py
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building python-mapnik using existing ./python-mapnik_0.0~20200224-7da019cf9.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: error: cannot represent change to .pybuild/cpython3_3.11_mapnik/build/mapnik/_mapnik.cpython-311-x86_64-linux-gnu.so: binary file contents changed
> dpkg-source: error: add .pybuild/cpython3_3.11_mapnik/build/mapnik/_mapnik.cpython-311-x86_64-linux-gnu.so in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of '.pybuild/cpython3_3.11_mapnik/build/mapnik/_mapnik.cpython-311-x86_64-linux-gnu.so' will not be represented in diff
> dpkg-source: error: cannot represent change to build/temp.linux-x86_64-cpython-311/src/mapnik_color.o: binary file contents changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/src/mapnik_color.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/temp.linux-x86_64-cpython-311/src/mapnik_coord.o: binary file contents changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/src/mapnik_coord.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/temp.linux-x86_64-cpython-311/src/mapnik_datasource.o: binary file contents changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/src/mapnik_datasource.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/temp.linux-x86_64-cpython-311/src/mapnik_datasource_cache.o: binary file contents changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/src/mapnik_datasource_cache.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/temp.linux-x86_64-cpython-311/src/mapnik_envelope.o: binary file contents changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/src/mapnik_envelope.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/temp.linux-x86_64-cpython-311/src/mapnik_expression.o: binary file contents changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/src/mapnik_expression.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/temp.linux-x86_64-cpython-311/src/mapnik_feature.o: binary file contents changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/src/mapnik_feature.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/temp.linux-x86_64-cpython-311/src/mapnik_featureset.o: binary file contents changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/src/mapnik_featureset.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/temp.linux-x86_64-cpython-311/src/mapnik_font_engine.o: binary file contents changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/src/mapnik_font_engine.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/temp.linux-x86_64-cpython-311/src/mapnik_fontset.o: binary file contents changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/src/mapnik_fontset.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/temp.linux-x86_64-cpython-311/src/mapnik_gamma_method.o: binary file contents changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/src/mapnik_gamma_method.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/temp.linux-x86_64-cpython-311/src/mapnik_geometry.o: binary file contents changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/src/mapnik_geometry.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/temp.linux-x86_64-cpython-311/src/mapnik_grid.o: binary file contents changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/src/mapnik_grid.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/temp.linux-x86_64-cpython-311/src/mapnik_grid_view.o: binary file contents changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/src/mapnik_grid_view.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/temp.linux-x86_64-cpython-311/src/mapnik_image.o: binary file contents changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/src/mapnik_image.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/temp.linux-x86_64-cpython-311/src/mapnik_image_view.o: binary file contents changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/src/mapnik_image_view.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/temp.linux-x86_64-cpython-311/src/mapnik_label_collision_detector.o: binary file contents changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/src/mapnik_label_collision_detector.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/temp.linux-x86_64-cpython-311/src/mapnik_layer.o: binary file contents changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/src/mapnik_layer.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/temp.linux-x86_64-cpython-311/src/mapnik_logger.o: binary file contents changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/src/mapnik_logger.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/temp.linux-x86_64-cpython-311/src/mapnik_map.o: binary file contents changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/src/mapnik_map.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/temp.linux-x86_64-cpython-311/src/mapnik_palette.o: binary file contents changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/src/mapnik_palette.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/temp.linux-x86_64-cpython-311/src/mapnik_parameters.o: binary file contents changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/src/mapnik_parameters.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/temp.linux-x86_64-cpython-311/src/mapnik_proj_transform.o: binary file contents changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/src/mapnik_proj_transform.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/temp.linux-x86_64-cpython-311/src/mapnik_projection.o: binary file contents changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/src/mapnik_projection.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/temp.linux-x86_64-cpython-311/src/mapnik_python.o: binary file contents changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/src/mapnik_python.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/temp.linux-x86_64-cpython-311/src/mapnik_query.o: binary file contents changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/src/mapnik_query.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/temp.linux-x86_64-cpython-311/src/mapnik_raster_colorizer.o: binary file contents changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/src/mapnik_raster_colorizer.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/temp.linux-x86_64-cpython-311/src/mapnik_rule.o: binary file contents changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/src/mapnik_rule.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/temp.linux-x86_64-cpython-311/src/mapnik_scaling_method.o: binary file contents changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/src/mapnik_scaling_method.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/temp.linux-x86_64-cpython-311/src/mapnik_style.o: binary file contents changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/src/mapnik_style.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/temp.linux-x86_64-cpython-311/src/mapnik_symbolizer.o: binary file contents changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/src/mapnik_symbolizer.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/temp.linux-x86_64-cpython-311/src/mapnik_view_transform.o: binary file contents changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/src/mapnik_view_transform.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to build/temp.linux-x86_64-cpython-311/src/python_grid_utils.o: binary file contents changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/src/python_grid_utils.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file python-mapnik-0.0~20200224-7da019cf9/mapnik.egg-info/SOURCES.txt has no final newline (either original or modified version)
> dpkg-source: error: unrepresentable changes to source
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 1
> 
> E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -S' failed to run.


The full build log is available from:
http://qa-logs.debian.net/2023/08/13/python-mapnik_0.0~20200224-7da019cf9-4_unstable.log

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-grass-devel mailing list