Your message dated Wed, 28 Jan 2026 11:48:59 +0000
with message-id <[email protected]>
and subject line Bug#1123133: fixed in esptool 4.7.0+dfsg-0.2
has caused the Debian Bug report #1123133,
regarding esptool: FTBFS: dh_auto_test: error: pybuild --test -i 
python{version} -p "3.14 3.13" returned exit code 13
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.)


-- 
1123133: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1123133
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:esptool
Version: 4.7.0+dfsg-0.1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202512/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:esptool, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:317: python3.14 setup.py clean 
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: GNU General Public License v2 or later 
(GPLv2+)

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************


[... snipped ...]

        (for example by using `find_namespace_packages(...)`/`find_namespace:`
        instead of `find_packages(...)`/`find:`).

        You can read more about "package discovery" on setuptools documentation 
page:

        - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

        If you don't want 'espefuse.efuse_defs' to be distributed and are
        already explicitly excluding 'espefuse.efuse_defs' via
        `find_namespace_packages(...)/find_namespace` or 
`find_packages(...)/find`,
        you can try to use `exclude_package_data`, or 
`include-package-data=False` in
        combination with a more fine grained `package-data` configuration.

        You can read more about "package data files" on setuptools 
documentation page:

        - https://setuptools.pypa.io/en/latest/userguide/datafiles.html


        [^1]: For Python, any directory (with suitable naming) can be imported,
              even if it does not contain any `.py` files.
              On the other hand, currently there is no concept of package data
              directory, all directories are treated like packages.
        
********************************************************************************

!!
  check.warn(importable)
/usr/lib/python3/dist-packages/setuptools/command/build_py.py:212: _Warning: 
Package 'esptool.targets.stub_flasher' is absent from the `packages` 
configuration.
!!

        
********************************************************************************
        ############################
        # Package would be ignored #
        ############################
        Python recognizes 'esptool.targets.stub_flasher' as an importable 
package[^1],
        but it is absent from setuptools' `packages` configuration.

        This leads to an ambiguous overall configuration. If you want to 
distribute this
        package, please make sure that 'esptool.targets.stub_flasher' is 
explicitly added
        to the `packages` configuration field.

        Alternatively, you can also rely on setuptools' discovery methods
        (for example by using `find_namespace_packages(...)`/`find_namespace:`
        instead of `find_packages(...)`/`find:`).

        You can read more about "package discovery" on setuptools documentation 
page:

        - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

        If you don't want 'esptool.targets.stub_flasher' to be distributed and 
are
        already explicitly excluding 'esptool.targets.stub_flasher' via
        `find_namespace_packages(...)/find_namespace` or 
`find_packages(...)/find`,
        you can try to use `exclude_package_data`, or 
`include-package-data=False` in
        combination with a more fine grained `package-data` configuration.

        You can read more about "package data files" on setuptools 
documentation page:

        - https://setuptools.pypa.io/en/latest/userguide/datafiles.html


        [^1]: For Python, any directory (with suitable naming) can be imported,
              even if it does not contain any `.py` files.
              On the other hand, currently there is no concept of package data
              directory, all directories are treated like packages.
        
********************************************************************************

!!
  check.warn(importable)
creating 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_esptool/build/espefuse/efuse_defs
copying espefuse/efuse_defs/esp32.yaml -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_esptool/build/espefuse/efuse_defs
copying espefuse/efuse_defs/esp32c2.yaml -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_esptool/build/espefuse/efuse_defs
copying espefuse/efuse_defs/esp32c3.yaml -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_esptool/build/espefuse/efuse_defs
copying espefuse/efuse_defs/esp32c6.yaml -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_esptool/build/espefuse/efuse_defs
copying espefuse/efuse_defs/esp32h2.yaml -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_esptool/build/espefuse/efuse_defs
copying espefuse/efuse_defs/esp32p4.yaml -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_esptool/build/espefuse/efuse_defs
copying espefuse/efuse_defs/esp32s2.yaml -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_esptool/build/espefuse/efuse_defs
copying espefuse/efuse_defs/esp32s3.yaml -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_esptool/build/espefuse/efuse_defs
creating 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_esptool/build/esptool/targets/stub_flasher
copying esptool/targets/stub_flasher/stub_flasher_32c2.json -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_esptool/build/esptool/targets/stub_flasher
copying esptool/targets/stub_flasher/stub_flasher_32c3.json -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_esptool/build/esptool/targets/stub_flasher
copying esptool/targets/stub_flasher/stub_flasher_32c6.json -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_esptool/build/esptool/targets/stub_flasher
copying esptool/targets/stub_flasher/stub_flasher_32c6beta.json -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_esptool/build/esptool/targets/stub_flasher
copying esptool/targets/stub_flasher/stub_flasher_32h2.json -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_esptool/build/esptool/targets/stub_flasher
copying esptool/targets/stub_flasher/stub_flasher_32h2beta1.json -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_esptool/build/esptool/targets/stub_flasher
copying esptool/targets/stub_flasher/stub_flasher_32h2beta2.json -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_esptool/build/esptool/targets/stub_flasher
copying esptool/targets/stub_flasher/stub_flasher_32p4.json -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_esptool/build/esptool/targets/stub_flasher
copying esptool/targets/stub_flasher/stub_flasher_8266.json -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_esptool/build/esptool/targets/stub_flasher
running build_scripts
creating build/scripts-3.13
copying and adjusting esptool.py -> build/scripts-3.13
copying and adjusting espefuse.py -> build/scripts-3.13
copying and adjusting espsecure.py -> build/scripts-3.13
copying and adjusting esp_rfc2217_server.py -> build/scripts-3.13
changing mode of build/scripts-3.13/esptool.py from 644 to 755
changing mode of build/scripts-3.13/espefuse.py from 644 to 755
changing mode of build/scripts-3.13/espsecure.py from 644 to 755
changing mode of build/scripts-3.13/esp_rfc2217_server.py from 644 to 755
   debian/rules execute_after_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
Traceback (most recent call last):
  File "/usr/bin/pybuild", line 604, in <module>
    main(cfg)
    ~~~~^^^^^
  File "/usr/bin/pybuild", line 40, in main
    from dhpython import build, PKG_PREFIX_MAP
ModuleNotFoundError: No module named 'dhpython'
Traceback (most recent call last):
  File "/usr/bin/pybuild", line 604, in <module>
    main(cfg)
    ~~~~^^^^^
  File "/usr/bin/pybuild", line 40, in main
    from dhpython import build, PKG_PREFIX_MAP
ModuleNotFoundError: No module named 'dhpython'
Traceback (most recent call last):
  File "/usr/bin/pybuild", line 604, in <module>
    main(cfg)
    ~~~~^^^^^
  File "/usr/bin/pybuild", line 40, in main
    from dhpython import build, PKG_PREFIX_MAP
ModuleNotFoundError: No module named 'dhpython'
Traceback (most recent call last):
  File "/usr/bin/pybuild", line 604, in <module>
    main(cfg)
    ~~~~^^^^^
  File "/usr/bin/pybuild", line 40, in main
    from dhpython import build, PKG_PREFIX_MAP
ModuleNotFoundError: No module named 'dhpython'
Traceback (most recent call last):
  File "/usr/bin/pybuild", line 604, in <module>
    main(cfg)
    ~~~~^^^^^
  File "/usr/bin/pybuild", line 40, in main
    from dhpython import build, PKG_PREFIX_MAP
ModuleNotFoundError: No module named 'dhpython'
Traceback (most recent call last):
  File "/usr/bin/pybuild", line 604, in <module>
    main(cfg)
    ~~~~^^^^^
  File "/usr/bin/pybuild", line 40, in main
    from dhpython import build, PKG_PREFIX_MAP
ModuleNotFoundError: No module named 'dhpython'
help2man --no-info --section 1 --include=debian/see-also \
  --source="Esptool.py 4.7.0" \
  -n "ESP8266 and ESP32 ROM Bootloader Utility" \
  --version-string="4.7.0" \
  build/scripts-3.14/esptool.py \
  | sed -e "s,esptool.py,esptool," \
  -e "s,Esptool.py,esptool.py," \
  -e "s,esptool v[0-9]\+.*,," \
  -e "s,\[.*\],," \
  -e "s,sage: esptool,sage: esptool [OPTION] COMMAND," \
  -e "s,positional arguments,command arguments," \
  -e "s,\.\.\.,," \
  -e "s,{load.*version},," \
  -e "s/{auto,.*}/{auto,CHIP}/" \
  -e "s/\\\fR {.*},/,/" \
  > esptool.1
Traceback (most recent call last):
  File "/usr/bin/pybuild", line 604, in <module>
    main(cfg)
    ~~~~^^^^^
  File "/usr/bin/pybuild", line 40, in main
    from dhpython import build, PKG_PREFIX_MAP
ModuleNotFoundError: No module named 'dhpython'
help2man: can't get `--help' info from build/scripts-3.14/esptool.py
Try `--no-discard-stderr' if option outputs to stderr
help2man --no-info --section 1 --include=debian/see-also \
  --source="Esptool.py 4.7.0" \
  -n "ESP32 Secure Boot & Flash Encryption tool" \
  --version-string="4.7.0" \
  build/scripts-3.14/espsecure.py \
  | sed -e "s,espsecure.py,espsecure," \
  -e "s,Esptool.py,esptool.py," \
  -e "s,espsecure v[0-9]\+.*,," \
  -e "s,\[.*\],," \
  -e "s,sage: espsecure,sage: espsecure [OPTION] COMMAND," \
  -e "s,positional arguments,command arguments," \
  -e "s,\.\.\.,," \
  -e "s,{digest.*data},," \
  > espsecure.1
help2man: can't get `--help' info from build/scripts-3.14/espsecure.py
Try `--no-discard-stderr' if option outputs to stderr
help2man --no-info --section 1 --include=debian/see-also \
  --source="Esptool.py 4.7.0" \
  -n "ESP32 efuse get/set tool" \
  --version-string="4.7.0" \
  build/scripts-3.14/espefuse.py \
  | sed -e "s,espefuse.py,espefuse," \
  -e "s,Esptool.py,esptool.py," \
  -e "s,espefuse v[0-9]\+.*,," \
  -e "s,\[.*\],," \
  -e "s,sage: espefuse,sage: espefuse [OPTION] COMMAND," \
  -e "s,positional arguments,command arguments," \
  -e "s,\.\.\.,," \
  -e "s,{dump.*_mac},," \
  -e "/^{burn_efuse,[^}]*}/d" \
  -e "s/{auto,.*}/{auto,CHIP}/" \
  > espefuse.1
help2man: can't get `--help' info from build/scripts-3.14/espefuse.py
Try `--no-discard-stderr' if option outputs to stderr
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_esptool/build; 
python3.14 -m unittest discover -v 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_esptool/build/esptool/cmds.py:156: 
SyntaxWarning: 'return' in a 'finally' block
  return inst
espsecure.esp_hsm_sign (unittest.loader._FailedTest.espsecure.esp_hsm_sign) ... 
ERROR

======================================================================
ERROR: espsecure.esp_hsm_sign 
(unittest.loader._FailedTest.espsecure.esp_hsm_sign)
----------------------------------------------------------------------
ImportError: Failed to import test module: espsecure.esp_hsm_sign
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_esptool/build/espsecure/esp_hsm_sign/__init__.py",
 line 13, in <module>
    from .exceptions import handle_exceptions
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_esptool/build/espsecure/esp_hsm_sign/exceptions.py",
 line 5, in <module>
    from pkcs11.exceptions import (
    ...<11 lines>...
    )
ImportError: cannot import name 'AlreadyInitialized' from 'pkcs11.exceptions' 
(/usr/lib/python3/dist-packages/pkcs11/exceptions.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.14/unittest/loader.py", line 460, in _find_test_path
    package = self._get_module_from_name(name)
  File "/usr/lib/python3.14/unittest/loader.py", line 367, in 
_get_module_from_name
    __import__(name)
    ~~~~~~~~~~^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_esptool/build/espsecure/esp_hsm_sign/__init__.py",
 line 15, in <module>
    raise ImportError(
    ...<3 lines>...
    )
ImportError: python-pkcs11 package is not installed. Please install it using 
the required packages with command: pip install 'esptool[hsm]'


----------------------------------------------------------------------
Ran 1 test in 0.000s

FAILED (errors=1)
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_esptool/build; python3.14 -m unittest 
discover -v 
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_esptool/build; 
python3.13 -m unittest discover -v 
espsecure.esp_hsm_sign (unittest.loader._FailedTest.espsecure.esp_hsm_sign) ... 
ERROR

======================================================================
ERROR: espsecure.esp_hsm_sign 
(unittest.loader._FailedTest.espsecure.esp_hsm_sign)
----------------------------------------------------------------------
ImportError: Failed to import test module: espsecure.esp_hsm_sign
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_esptool/build/espsecure/esp_hsm_sign/__init__.py",
 line 13, in <module>
    from .exceptions import handle_exceptions
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_esptool/build/espsecure/esp_hsm_sign/exceptions.py",
 line 5, in <module>
    from pkcs11.exceptions import (
    ...<11 lines>...
    )
ImportError: cannot import name 'AlreadyInitialized' from 'pkcs11.exceptions' 
(/usr/lib/python3/dist-packages/pkcs11/exceptions.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.13/unittest/loader.py", line 429, in _find_test_path
    package = self._get_module_from_name(name)
  File "/usr/lib/python3.13/unittest/loader.py", line 339, in 
_get_module_from_name
    __import__(name)
    ~~~~~~~~~~^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_esptool/build/espsecure/esp_hsm_sign/__init__.py",
 line 15, in <module>
    raise ImportError(
    ...<3 lines>...
    )
ImportError: python-pkcs11 package is not installed. Please install it using 
the required packages with command: pip install 'esptool[hsm]'


----------------------------------------------------------------------
Ran 1 test in 0.000s

FAILED (errors=1)
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_esptool/build; python3.13 -m unittest 
discover -v 
dh_auto_test: error: pybuild --test -i python{version} -p "3.14 3.13" returned 
exit code 13
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
Source: esptool
Source-Version: 4.7.0+dfsg-0.2
Done: Adrian Bunk <[email protected]>

We believe that the bug you reported is fixed in the latest version of
esptool, 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.
Adrian Bunk <[email protected]> (supplier of updated esptool 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: Wed, 14 Jan 2026 23:25:32 +0200
Source: esptool
Architecture: source
Version: 4.7.0+dfsg-0.2
Distribution: unstable
Urgency: medium
Maintainer: Milan Kupcevic <[email protected]>
Changed-By: Adrian Bunk <[email protected]>
Closes: 1123133
Changes:
 esptool (4.7.0+dfsg-0.2) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Backport upstream fix for python-pkcs11 9. (Closes: #1123133)
Checksums-Sha1:
 6642cc5ab180379549dd73018fda83c4a16e2115 2232 esptool_4.7.0+dfsg-0.2.dsc
 c153a1dfa38a0f9fcfb3b9f298b8b0dfa1a281d6 8588 
esptool_4.7.0+dfsg-0.2.debian.tar.xz
Checksums-Sha256:
 2e334064d8731fce0c0485ea225259afd31e3e74367be3b653af754de48543f7 2232 
esptool_4.7.0+dfsg-0.2.dsc
 935953f752debbd3bc3f8eeb9e37ae9cc6837cb33e33ffd3cfbd215b97916f63 8588 
esptool_4.7.0+dfsg-0.2.debian.tar.xz
Files:
 e91f0b16672a7c51fd266a5957a0c6e8 2232 electronics optional 
esptool_4.7.0+dfsg-0.2.dsc
 d88fa995809ba954cfd90fc76f07e3a7 8588 electronics optional 
esptool_4.7.0+dfsg-0.2.debian.tar.xz

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

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmloCwwACgkQiNJCh6LY
mLFnRA/8C9dXA9m/MXkhVRXwry9j4cgsY8cFGw9tEvW0PwTL5u10wU+3pxVQEIhv
ChCFKn7KG0uY+6krY8ySJL4pyL6r6NUQhVKu/elezTm1ALaUm17RAzqiedpnr3eS
VBMw1oeLFmNGpdRfVIl9Zx1TZI6Z1ao3AF7hTaxcd/gfzhzdTdjI7/FcS1iJoTBo
iPIbMtLR++PlH1mIruYrmmhryVdugOh2smCiRsCZUij8Fe9GzMN3FbqHmE1W8C/j
N9JNVhfezqLGfr2TLqS44A0Y7dBKncZZ2FdYLKeUz1he0BB79a6/6IXVt8iljytw
zt+AkaGHbGeLMgeqZeNEQQcvJ0mCtoR953lPmMtoJklqLflAV5y+PUvr02XMYVDy
/Z+LUusiYJqXpjNl6GIO5oexHTt+mU80+uaGa8cbcPsw6rzKljd+ZvfR2/fYm6ex
yoL7rlcSt6RLO1phTdFwhlnpcC66EeOq5pcbmZsxqmBK6kK4GNVx9Z/uI61eIYeN
qqH6Bq6ODllfW5wtDnNJPjPFIOYVmD2HmIaTddTMaoszoGn+K1RaQ9iK9d/RKaXq
U4BD00h7KGATt14pN8vojAEiZdsn8GItyt98VlKegsImwx2iBmcnrMkp6l7Qvfp8
yrBu8x/7hxTHasmlr3pXTc/xavSBEVWTTseFYa9k4JHCiucfr8Q=
=5za4
-----END PGP SIGNATURE-----

Attachment: pgpOXoePDsdP8.pgp
Description: PGP signature


--- End Message ---

Reply via email to