Your message dated Fri, 17 Mar 2023 13:04:04 +0000 with message-id <[email protected]> and subject line Bug#948096: fixed in esptool 4.5.1+dfsg-0.1 has caused the Debian Bug report #948096, regarding Please build and ship flasher_stubs 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.) -- 948096: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=948096 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: esptool Version: 2.6+dfsg-1 Severity: normal esptool in Debian currently strips the flasher stub code, which limits the usefulness of the software significantly (e.g. flashing doesn't work). The reasoning stated in README.Debian is: The binary stub code has been purged [...] due to DFSG as that code statically links to Espressif SDK libraries which are under license limitation of using with Espressif systems only and/or are distributed with no source code. This made sense at the time it was written. A while ago, I raised this with upstream¹ and back in October they merged a change² which removed the dependency on the SDKs, and thus resolving those pesky license incompatibilities. A working toolchain is still required, however. Thanks to the awesome efforts of Jonathan (Cc'ed) this is now close to being a reality! There are many parts to it, but the required parts for building the stub for the ESP8266 are: * GCC/binutils, available in Debian (even buster) with gcc-xtensa-lx106 and binutils-xtensa-lx106; * A working libc. Espressif's SDK includes a patched newlib. Instead of that, we can use picolibc, which as of v1.3 (released upstream three days ago, and with a package in NEW³) supports ESP8266. Between those two, removing the -Werror from upstream's Makefile⁴ and a small patch to build the code only for the ESP8266 and not the ESP32, I managed to build a stub and include it (manually) in the source. I'm happy to report that I just tested it on a D1 Mini Pro board and it works! The Debian package will require some d/rules mechanics + esptool.py patches to fully implement this (and on a per-chip basis), and it's still not going to provide a solution for the ESP32, but... progress :) Hopefully picolibc will pass through NEW soon; as soon as that happens, please include support for building and shipping the stub in the Debian package. I'll try to provide some patches if I find the time, but please don't wait for me :) Regards, Faidon 1: https://github.com/espressif/esptool/issues/458 2: https://github.com/espressif/esptool/commit/6a5cb2debed15b19f3fca52d6580e2f2189f7a5e 3: https://ftp-master.debian.org/new/picolibc_1.3-1.html 4: https://github.com/espressif/esptool/issues/499
--- End Message ---
--- Begin Message ---Source: esptool Source-Version: 4.5.1+dfsg-0.1 Done: Faidon Liambotis <[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. Faidon Liambotis <[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: Fri, 17 Mar 2023 14:03:23 +0200 Source: esptool Architecture: source Version: 4.5.1+dfsg-0.1 Distribution: experimental Urgency: medium Maintainer: Milan Kupcevic <[email protected]> Changed-By: Faidon Liambotis <[email protected]> Closes: 948096 973031 983719 Changes: esptool (4.5.1+dfsg-0.1) experimental; urgency=medium . * Non-maintainer upload. * New upstream release. (Closes: #983719) - Update debian/copyright to match upstream changes. - Update build dependencies: drop python3-pyaes, and add python3-bitstring, python3-cryptography, python3-reedsolo and python3-pkcs11. * Compile and ship the flasher stub for ESP8266, as well as the ESP32 RISC-V variants (currently ESP32-C2, ESP32-C3, ESP32-C6, ESP32-H2). Notably, this does not include the ESP32 Xtensa variants (ESP32, ESP32-S2 and ESP32-S3) as there is no working toolchain in Debian for these. (Closes: #948096) * While the full test suite is stripped out and cannot be executed, add a few superficial autopkgtests: an autodep8 one, as well as smoke tests by running --help in the target environment. * Various package hygiene changes: - Revamp the build process to use dh-python, pybuild and setuptools to build and install the binaries. This means we now ship the "esptool" Python module for other packages to use. (Closes: #973031) - Drop upstream patch "shebang", as that is not necessary with pybuild. - Add Rules-Requires-Root: no, to indicate that the package does not need root to build. - Drop debian/NEWS, as it only included a news item for a version older than oldstable. - Add support for the "nodoc" build profile. - Add upstream metadata. - Bump debhelper compatibility level from 10 to 13. - Bump Standards-Version to 4.6.2. - Add gbp.conf and switch to DEP-14 branch naming. * Stop shipping CONTRIBUTING.md and its respective .html. Contributors are encouraged to look in the upstream GitHub repository for the latest information on how to contribute to the upstream project. Checksums-Sha1: 36ceb2f748f4597e3a85353f64a22f55438acf0d 2200 esptool_4.5.1+dfsg-0.1.dsc 85fe2fcd1a15bbb1ddc054b953b2e939f51887dd 357984 esptool_4.5.1+dfsg.orig.tar.xz 84f7feb648860a09e7711303a9becbbe1f0894c8 8960 esptool_4.5.1+dfsg-0.1.debian.tar.xz 88dddde98e72e48d837023066d6d156347bca35f 7729 esptool_4.5.1+dfsg-0.1_source.buildinfo Checksums-Sha256: 3824dd475d85ac565cfbcae7f9dbee307c15a2e416189cdee367944acff25de2 2200 esptool_4.5.1+dfsg-0.1.dsc b8ec8400b7f99c56921db0698d68f8868d8babcef3ce03a8f2eb3237677c8ee4 357984 esptool_4.5.1+dfsg.orig.tar.xz cfd1414a6264aa2bffd637434d976660bb28dae122a83b725f7d8743016bb8bb 8960 esptool_4.5.1+dfsg-0.1.debian.tar.xz fc4915e218b56a72f74167b4803675fe5dbd124639bd0bf51cae0c52b516f8cf 7729 esptool_4.5.1+dfsg-0.1_source.buildinfo Files: d604cb23b5fee744e107e138215632be 2200 electronics optional esptool_4.5.1+dfsg-0.1.dsc 09299c1738c8bcbec157c20c5be54d82 357984 electronics optional esptool_4.5.1+dfsg.orig.tar.xz 4689482b5cb2d535cd2e464dd3ce81fe 8960 electronics optional esptool_4.5.1+dfsg-0.1.debian.tar.xz 4b4afa2e2abe365ce4a3256e75c73b45 7729 electronics optional esptool_4.5.1+dfsg-0.1_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEqVksUhy5BAd9ZZgAnQteWx7sjw4FAmQUWJ4ACgkQnQteWx7s jw5mfA/+IlPeKnTDd36EMcLARlz7A1nYCOE+ykIXTCvVjaJuA2XMamGWRyRXpX57 ChW1QLKr2Vfakca7ralzzFT+C25y688nPO09gKSfmSNEfuNhHijNOuWV4QYseTTq kKLc6pomVkoFbGBUkoiGWKH/JVGinGtF5Jcp2zQoyGg6b3gl3+BaNjIw/W4RgqRP dkzKl+Xq/vl2bqlouFvk2ycQkDZLQDQy3YprohJF4vZmz3BkcwuwEO6HUEVkCx3q DD6ALqdJaY5GODsmqrJ+R53a7DLDLXsIi3wBo3mJAjGOWWqmIKwlNajh+bElcLNt hBE0r9fUWxr7HF3l8hKQEg9U7Y1sZSc4H0PE9kBT5bpA2UKOgH258ornPpqFp7/I JFJXpbKgcqAJWu6/of4IiiRGyMfuFQib00nC24JKv0WdlpwLmMWAjtk0Cgf6dTLQ o9fZ3xAt0eJiO8Oah7Wap0wE1mtxZkI1mf/4pDLMgUzax8hsp0aKZWH8dQuJJZdT 7FQkukUxOJdYiGJHFKsXWOl9Fa9y14VQ/2IsotktP0gzPUPokE2JzYZzwKzStqgb i8tsltRIxWNgpWm50i2cfdeW3t1XoVoc0aP1B63sfYNlRZTONaAH7fYcaMT5un4b zr3nBgkxLOS2KCckCbh06FvhP30vK8udh2GqkyJGodNSyOhUSQs= =TLlM -----END PGP SIGNATURE-----
--- End Message ---

