Source: logbook
Version: 1.5.3-5.2
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 logbook
> dpkg-buildpackage: info: source version 1.5.3-5.2
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Jochen Sprickerhof 
> <[email protected]>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  debian/rules clean
> dh clean --buildsystem=pybuild
>    dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:291: python3.11 setup.py clean 
> /usr/lib/python3/dist-packages/setuptools/dist.py:745: 
> SetuptoolsDeprecationWarning: Invalid dash-separated options
> !!
> 
>         
> ********************************************************************************
>         Usage of dash-separated 'upload-dir' will not be supported in future
>         versions. Please use the underscore name 'upload_dir' instead.
> 
>         By 2023-Sep-26, you need to update your project and remove deprecated 
> calls
>         or your builds will no longer be supported.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   opt = self.warn_dash_deprecation(opt, section)
> running clean
> removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_logbook/build' (and 
> everything under it)
> 'build/bdist.linux-x86_64' does not exist -- can't clean it
> 'build/scripts-3.11' does not exist -- can't clean it
>    dh_autoreconf_clean -O--buildsystem=pybuild
>    dh_clean -O--buildsystem=pybuild
> rm: cannot remove './docs/_build': Is a directory
> rm: cannot remove './Logbook.egg-info': Is a directory
> dh_clean: error: rm -f -- debian/python3-logbook.substvars 
> debian/python3-logbook.postinst.debhelper 
> debian/python3-logbook.prerm.debhelper debian/python-logbook-doc.substvars 
> ./docs/_build ./Logbook.egg-info ./logbook/_speedups.c 
> ./logbook/_speedups.cpython-311-x86_64-linux-gnu.so debian/files returned 
> exit code 1
> make: *** [debian/rules:12: clean] Error 25
> dpkg-buildpackage: error: debian/rules clean 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/logbook_1.5.3-5.2_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