Source: python-libzim
Version: 2.1.0+ds-1
Severity: minor
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-binary-20230816 ftbfs-binary-after-build
User: [email protected]
Usertags: qa-doublebuild

Hi,

This package fails to do build a binary-only build (not source) after a
successful build (dpkg-buildpackage ; dpkg-buildpackage -b).

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/DoubleBuild

Relevant part of the build log:
> cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env 
> -us -uc -rfakeroot -b
> ------------------------------------------------------------------------------------------------------------------------------------
> 
> dpkg-buildpackage: info: source package python-libzim
> dpkg-buildpackage: info: source version 2.1.0+ds-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Kunal Mehta <[email protected]>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
> dpkg-source: info: using options from 
> python-libzim-2.1.0+ds/debian/source/options: 
> --extend-diff-ignore=^[^/]*[.]egg-info/
>  debian/rules clean
> dh clean --with python3 --buildsystem=pybuild
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> # pass
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean -O--buildsystem=pybuild
>    dh_clean -O--buildsystem=pybuild
>  debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild plugin_pyproject:110: Building wheel for python3.11 with "build" 
> module
> I: pybuild base:291: python3.11 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_libzim 
> * Building wheel...
> Using system installed library; Assuming CFLAGS/LDFLAGS are correctly set.
> running bdist_wheel
> running build
> running build_py
> running egg_info
> writing libzim.egg-info/PKG-INFO
> writing dependency_links to libzim.egg-info/dependency_links.txt
> writing top-level names to libzim.egg-info/top_level.txt
> reading manifest file 'libzim.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no files found matching 'lib/libzim.8.dylib'
> warning: no files found matching 'lib/libzim.so.8'
> warning: no files found matching 'libzim/*.cxx'
> warning: no files found matching 'libzim/*.py'
> warning: no previously-included files matching '__pycache__/*' found anywhere 
> in distribution
> adding license file 'LICENSE'
> writing manifest file 'libzim.egg-info/SOURCES.txt'
> running build_ext
> installing to build/bdist.linux-x86_64/wheel
> running install
> running install_lib
> creating build/bdist.linux-x86_64/wheel
> copying 
> build/lib.linux-x86_64-cpython-311/libzim.cpython-311-x86_64-linux-gnu.so -> 
> build/bdist.linux-x86_64/wheel
> creating build/bdist.linux-x86_64/wheel/libzim
> copying build/lib.linux-x86_64-cpython-311/libzim/libzim.h -> 
> build/bdist.linux-x86_64/wheel/libzim
> copying build/lib.linux-x86_64-cpython-311/libzim/libwrapper.h -> 
> build/bdist.linux-x86_64/wheel/libzim
> copying build/lib.linux-x86_64-cpython-311/libzim/libzim.pyx -> 
> build/bdist.linux-x86_64/wheel/libzim
> copying build/lib.linux-x86_64-cpython-311/libzim/libwrapper.cpp -> 
> build/bdist.linux-x86_64/wheel/libzim
> copying build/lib.linux-x86_64-cpython-311/libzim/libzim.cpp -> 
> build/bdist.linux-x86_64/wheel/libzim
> copying build/lib.linux-x86_64-cpython-311/libzim/zim.pxd -> 
> build/bdist.linux-x86_64/wheel/libzim
> copying build/lib.linux-x86_64-cpython-311/libzim/libzim_api.h -> 
> build/bdist.linux-x86_64/wheel/libzim
> running install_egg_info
> Copying libzim.egg-info to 
> build/bdist.linux-x86_64/wheel/libzim-2.1.0.egg-info
> running install_scripts
> creating build/bdist.linux-x86_64/wheel/libzim-2.1.0.dist-info/WHEEL
> creating 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_libzim/.tmp-u5e3j5kl/libzim-2.1.0-cp311-cp311-linux_x86_64.whl'
>  and adding 'build/bdist.linux-x86_64/wheel' to it
> adding 'libzim.cpython-311-x86_64-linux-gnu.so'
> adding 'libzim/libwrapper.cpp'
> adding 'libzim/libwrapper.h'
> adding 'libzim/libzim.cpp'
> adding 'libzim/libzim.h'
> adding 'libzim/libzim.pyx'
> adding 'libzim/libzim_api.h'
> adding 'libzim/zim.pxd'
> adding 'libzim-2.1.0.dist-info/LICENSE'
> adding 'libzim-2.1.0.dist-info/METADATA'
> adding 'libzim-2.1.0.dist-info/WHEEL'
> adding 'libzim-2.1.0.dist-info/top_level.txt'
> adding 'libzim-2.1.0.dist-info/RECORD'
> removing build/bdist.linux-x86_64/wheel
> Successfully built libzim-2.1.0-cp311-cp311-linux_x86_64.whl
> I: pybuild plugin_pyproject:122: Unpacking wheel built for python3.11 with 
> "installer" module
> E: pybuild pybuild:395: build: plugin pyproject failed with: File already 
> exists: 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_libzim/build/libzim.cpython-311-x86_64-linux-gnu.so
> dh_auto_build: error: pybuild --build -i python{version} -p 3.11 returned 
> exit code 13
> make: *** [debian/rules:6: binary] Error 25
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 
> 2
> 
> E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage 
> --sanitize-env -us -uc -rfakeroot -b' failed to run.


The full build log is available from:
http://qa-logs.debian.net/2023/08/16/python-libzim_2.1.0+ds-1_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.

Reply via email to