Your message dated Sat, 14 Mar 2026 12:24:21 +0000
with message-id <[email protected]>
and subject line Bug#1048777: fixed in python-pyocr 0.8.5-3
has caused the Debian Bug report #1048777,
regarding python-pyocr: Fails to build source after successful build
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1048777: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1048777
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-pyocr
Version: 0.8.3-1
Severity: minor
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: [email protected]
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-pyocr
> dpkg-buildpackage: info: source version 0.8.3-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Thomas Perret 
> <[email protected]>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean --with python3 --buildsystem=pybuild
>       rm -f debian/python3-pyocr.debhelper.log
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_clean
>       pybuild --clean -i python{version} -p 3.11
> I: pybuild base:275: python3.11 setup.py clean 
> /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:265: 
> UserWarning: Unknown distribution option: 'use_scm_version'
>   warnings.warn(msg)
> running clean
> removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pyocr/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
>       rm -rf .pybuild/
>       find . -name \*.pyc -exec rm {} \;
> rm -f src/pyocr/_version.py
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean -O--buildsystem=pybuild
>    dh_clean -O--buildsystem=pybuild
>       rm -f debian/debhelper-build-stamp
>       rm -rf debian/.debhelper/
>       rm -f -- debian/python3-pyocr.substvars 
> debian/python3-pyocr.postinst.debhelper debian/python3-pyocr.prerm.debhelper 
> debian/files
>       rm -fr -- debian/python3-pyocr/ debian/tmp/
>       find .  \( \( \
>               \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path 
> .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o 
> -type f -a \
>               \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
>                -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
>                -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
>                -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
>               \) -exec rm -f {} + \) -o \
>               \( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) 
> \)
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building python-pyocr using existing 
> ./python-pyocr_0.8.3.orig.tar.gz
> dpkg-source: warning: file python-pyocr-0.8.3/src/pyocr.egg-info/SOURCES.txt 
> has no final newline (either original or modified version)
> dpkg-source: info: local changes detected, the modified files are:
>  python-pyocr-0.8.3/src/pyocr.egg-info/PKG-INFO
>  python-pyocr-0.8.3/src/pyocr.egg-info/SOURCES.txt
>  python-pyocr-0.8.3/src/pyocr.egg-info/dependency_links.txt
>  python-pyocr-0.8.3/src/pyocr.egg-info/requires.txt
>  python-pyocr-0.8.3/src/pyocr.egg-info/top_level.txt
>  python-pyocr-0.8.3/src/pyocr.egg-info/zip-safe
> dpkg-source: error: aborting due to unexpected upstream changes, see 
> /tmp/python-pyocr_0.8.3-1.diff.UfqKzT
> dpkg-source: info: Hint: make sure the version in debian/changelog matches 
> the unpacked source tree
> dpkg-source: info: you can integrate the local changes with dpkg-source 
> --commit
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 2
> 
> 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-pyocr_0.8.3-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.

--- End Message ---
--- Begin Message ---
Source: python-pyocr
Source-Version: 0.8.5-3
Done: Thomas Perret <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-pyocr, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Perret <[email protected]> (supplier of updated python-pyocr package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 14 Mar 2026 11:36:17 +0100
Source: python-pyocr
Architecture: source
Version: 0.8.5-3
Distribution: unstable
Urgency: medium
Maintainer: Thomas Perret <[email protected]>
Changed-By: Thomas Perret <[email protected]>
Closes: 1048777
Changes:
 python-pyocr (0.8.5-3) unstable; urgency=medium
 .
   * debian/clean: Cleanup after build (Closes: #1048777)
   * debian/control: Bump Standards-Version
     + Remove default priority
     + Remove default Rules-Require-Root
   * debian/copyright: Update copyright year
   * debian/tests: Relax minimum coverage for unit testing
   * debian/watch: Update to version 5
Checksums-Sha1:
 6228e0079b5cc8fd93da4483786e81e160ef1590 2110 python-pyocr_0.8.5-3.dsc
 0fb5f3f8a650166c7e27c0755948f784fb065231 4688 
python-pyocr_0.8.5-3.debian.tar.xz
 00cb8051df490d5da1170010c217ba86780ce4a9 7977 
python-pyocr_0.8.5-3_amd64.buildinfo
Checksums-Sha256:
 02c465d06253562483400ba012a89ffbdc3c420bfb5301c038a71f4ed6e6caf2 2110 
python-pyocr_0.8.5-3.dsc
 165a71a0804825b7bd0108afdb62588be30454cec6304af5bd33119166ab32a9 4688 
python-pyocr_0.8.5-3.debian.tar.xz
 950f4699653598c0e204d2d5970962a0056b969f004e5e7a7f8f2b6777c93c15 7977 
python-pyocr_0.8.5-3_amd64.buildinfo
Files:
 7537038866962b4e6024bfc2e529ac6f 2110 python optional python-pyocr_0.8.5-3.dsc
 cdf1a66487db1232e449d664e55b44cc 4688 python optional 
python-pyocr_0.8.5-3.debian.tar.xz
 c7ed01d0e9d2fd55da40bda865fc5f98 7977 python optional 
python-pyocr_0.8.5-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEvN44oGB4ZqDxNBUTaSmcjtOQ5RwFAmm1PqwACgkQaSmcjtOQ
5Rw1qw/+Lgnw9slUKO0shCm4luQIhl/Bc9KGvmN6w3+8gE/XC/2O9deD6z3C8yoJ
qnCQJ9lp7h+OsIWgO3ysHdXMqOPlzQ+h/h6SzOwXK8Ub0SllF8qnAXlo6svY4zzG
zF+RXqgN304HkDGLG7To4QzdKDfPhPeX9AE5SpwAy7Hb5g1/ZUPieyWHLe6tw+eO
6QUdcwuecEzwj75AtB4oFu5MHZ3mK9s7AZrrdDS7sW5n4UQRk+qHe/26ZcU0HT5r
pp0pxXLERqu2qscbIhm6cvjidkEtKI/OyDj7PgIJTByg6yq7cjZ8bzvVWeGRGLa5
2RBdapKGQbQIuq8RUJo6Yiv0zZfnxB0PFGLZiMNXmQY7NI5COg9p85s1qts/U9vp
sMyhg3Aj5GRiTMgSB9xseOwCrwL+T46TohKIEiLTx9FgKKss7h5fZzxLe+uXO7pi
lfcEvjMH/xxtn0zB7x3XwhaqUXxeTzySIdoGfAL5JSOotExSDMXRXSj0+Ogci08t
uK3ENH/lXMFecaHXPs+94X5GKmLhLNWkOebvLvJrcrbZOCsOwUoKUiCSxRV2HePl
jQOG/JCHTS/Z4uixlqwfzVcOZUI7lE4tJc/Yn4qcI0ZzdakmMTKsGsQfxc9ORASM
O9av7IDxKfjzfUl/Sa/3/lFbD+mWhq9+LDOfyk7+gMuLdPb8B40=
=TdpT
-----END PGP SIGNATURE-----

Attachment: pgpO70A9VwuUj.pgp
Description: PGP signature


--- End Message ---

Reply via email to