Skip to content

Update failed using ESPHome 2026.2.0 #62

Description

@olbjan

Updating my tagtuner-for-tagreader devices failes with the latest version of ESPHome (2026.2.0):

`
INFO Compiling app... Build path: /data/build/tagtuner-for-tagreader-0da634
Processing tagtuner-for-tagreader-0da634 (board: d1_mini; framework: arduino; platform: platformio/[email protected])

HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
ESPHome: Excluding Updater.cpp from build (using native OTA backend)
Dependency Graph
|-- ESP8266WiFi @ 1.0
|-- ESP8266mDNS @ 1.2
|-- Wire @ 1.0
Compiling .pioenvs/tagtuner-for-tagreader-0da634/src/esphome/components/pn532/pn532.cpp.o
Compiling .pioenvs/tagtuner-for-tagreader-0da634/src/esphome/components/pn532/pn532_mifare_classic.cpp.o
Compiling .pioenvs/tagtuner-for-tagreader-0da634/src/esphome/components/pn532/pn532_mifare_ultralight.cpp.o
Compiling .pioenvs/tagtuner-for-tagreader-0da634/src/esphome/components/safe_mode/safe_mode.cpp.o
In file included from /data/cache/platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/10.3.0/memory:83,
from src/esphome/core/helpers.h:13,
from src/esphome/core/component.h:8,
from src/esphome/components/pn532/pn532.h:3,
from src/esphome/components/pn532/pn532.cpp:1:
/data/cache/platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/10.3.0/bits/unique_ptr.h: In instantiation of 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = esphome::nfc::NfcTag; _Args = {std::vector<unsigned char, std::allocator >&}; typename std::_MakeUniq<_Tp>::__single_object = std::unique_ptresphome::nfc::NfcTag]':
src/esphome/components/pn532/pn532.cpp:148:61: required from here
/data/cache/platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/10.3.0/bits/unique_ptr.h:962:30: error: no matching function for call to 'esphome::nfc::NfcTag::NfcTag(std::vector&)'
962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(_args)...)); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/esphome/components/pn532/pn532.h:6,
from src/esphome/components/pn532/pn532.cpp:1:
src/esphome/components/nfc/nfc_tag.h:38:3: note: candidate: 'esphome::nfc::NfcTag::NfcTag(const esphome::nfc::NfcTag&)'
38 | NfcTag(const NfcTag &rhs) {
| ^~~~~~
src/esphome/components/nfc/nfc_tag.h:38:24: note: no known conversion for argument 1 from 'std::vector' to 'const esphome::nfc::NfcTag&'
38 | NfcTag(const NfcTag &rhs) {
| ~~~~~~~~~~~~~~^~~
src/esphome/components/nfc/nfc_tag.h:33:3: note: candidate: 'esphome::nfc::NfcTag::NfcTag(const NfcTagUid&, const string&, std::vector&)'
33 | NfcTag(const NfcTagUid &uid, const std::string &tag_type, std::vector<uint8_t> &ndef_data) {
| ^~~~~~
src/esphome/components/nfc/nfc_tag.h:33:3: note: candidate expects 3 arguments, 1 provided
src/esphome/components/nfc/nfc_tag.h:28:3: note: candidate: 'esphome::nfc::NfcTag::NfcTag(const NfcTagUid&, const string&, std::unique_ptresphome::nfc::NdefMessage)'
28 | NfcTag(const NfcTagUid &uid, const std::string &tag_type, std::unique_ptrnfc::NdefMessage ndef_message) {
| ^~~~~~
src/esphome/components/nfc/nfc_tag.h:28:3: note: candidate expects 3 arguments, 1 provided
src/esphome/components/nfc/nfc_tag.h:24:3: note: candidate: 'esphome::nfc::NfcTag::NfcTag(const NfcTagUid&, const string&)'
24 | NfcTag(const NfcTagUid &uid, const std::string &tag_type) {
| ^~~~~~
src/esphome/components/nfc/nfc_tag.h:24:3: note: candidate expects 2 arguments, 1 provided
src/esphome/components/nfc/nfc_tag.h:20:3: note: candidate: 'esphome::nfc::NfcTag::NfcTag(const NfcTagUid&)'
20 | NfcTag(const NfcTagUid &uid) {
| ^~~~~~
src/esphome/components/nfc/nfc_tag.h:20:27: note: no known conversion for argument 1 from 'std::vector' to 'const NfcTagUid&' {aka 'const esphome::StaticVector<unsigned char, 10>&'}
20 | NfcTag(const NfcTagUid &uid) {
| ~~~~~~~~~~~~~~~~~^~~
src/esphome/components/nfc/nfc_tag.h:19:3: note: candidate: 'esphome::nfc::NfcTag::NfcTag()'
19 | NfcTag() { this->tag_type
= "Unknown"; };
| ^~~~~~
src/esphome/components/nfc/nfc_tag.h:19:3: note: candidate expects 0 arguments, 1 provided
In file included from /data/cache/platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/10.3.0/memory:83,
from src/esphome/components/pn532/pn532_mifare_classic.cpp:1:
/data/cache/platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/10.3.0/bits/unique_ptr.h: In instantiation of 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = esphome::nfc::NfcTag; _Args = {std::vector<unsigned char, std::allocator >&, const char* const&}; typename std::_MakeUniq<_Tp>::__single_object = std::unique_ptresphome::nfc::NfcTag]':
src/esphome/components/pn532/pn532_mifare_classic.cpp:20:56: required from here
/data/cache/platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/10.3.0/bits/unique_ptr.h:962:30: error: no matching function for call to 'esphome::nfc::NfcTag::NfcTag(std::vector&, const char* const&)'
962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(_args)...)); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/esphome/components/pn532/pn532.h:6,
from src/esphome/components/pn532/pn532_mifare_classic.cpp:3:
src/esphome/components/nfc/nfc_tag.h:38:3: note: candidate: 'esphome::nfc::NfcTag::NfcTag(const esphome::nfc::NfcTag&)'
38 | NfcTag(const NfcTag &rhs) {
| ^~~~~~
src/esphome/components/nfc/nfc_tag.h:38:3: note: candidate expects 1 argument, 2 provided
src/esphome/components/nfc/nfc_tag.h:33:3: note: candidate: 'esphome::nfc::NfcTag::NfcTag(const NfcTagUid&, const string&, std::vector&)'
33 | NfcTag(const NfcTagUid &uid, const std::string &tag_type, std::vector<uint8_t> &ndef_data) {
| ^~~~~~
src/esphome/components/nfc/nfc_tag.h:33:3: note: candidate expects 3 arguments, 2 provided
src/esphome/components/nfc/nfc_tag.h:28:3: note: candidate: 'esphome::nfc::NfcTag::NfcTag(const NfcTagUid&, const string&, std::unique_ptresphome::nfc::NdefMessage)'
28 | NfcTag(const NfcTagUid &uid, const std::string &tag_type, std::unique_ptrnfc::NdefMessage ndef_message) {
| ^~~~~~
src/esphome/components/nfc/nfc_tag.h:28:3: note: candidate expects 3 arguments, 2 provided
src/esphome/components/nfc/nfc_tag.h:24:3: note: candidate: 'esphome::nfc::NfcTag::NfcTag(const NfcTagUid&, const string&)'
24 | NfcTag(const NfcTagUid &uid, const std::string &tag_type) {
| ^~~~~~
src/esphome/components/nfc/nfc_tag.h:24:27: note: no known conversion for argument 1 from 'std::vector' to 'const NfcTagUid&' {aka 'const esphome::StaticVector<unsigned char, 10>&'}
24 | NfcTag(const NfcTagUid &uid, const std::string &tag_type) {
| ~~~~~~~~~~~~~~~~~^~~
src/esphome/components/nfc/nfc_tag.h:20:3: note: candidate: 'esphome::nfc::NfcTag::NfcTag(const NfcTagUid&)'
20 | NfcTag(const NfcTagUid &uid) {
| ^~~~~~
src/esphome/components/nfc/nfc_tag.h:20:3: note: candidate expects 1 argument, 2 provided
src/esphome/components/nfc/nfc_tag.h:19:3: note: candidate: 'esphome::nfc::NfcTag::NfcTag()'
19 | NfcTag() { this->tag_type
= "Unknown"; };
| ^~~~~~
src/esphome/components/nfc/nfc_tag.h:19:3: note: candidate expects 0 arguments, 2 provided
In file included from /data/cache/platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/10.3.0/memory:83,
from src/esphome/components/pn532/pn532_mifare_classic.cpp:1:
/data/cache/platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/10.3.0/bits/unique_ptr.h: In instantiation of 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = esphome::nfc::NfcTag; _Args = {std::vector<unsigned char, std::allocator >&, const char* const&, std::vector<unsigned char, std::allocator >&}; typename std::_MakeUniq<_Tp>::__single_object = std::unique_ptresphome::nfc::NfcTag]':
src/esphome/components/pn532/pn532_mifare_classic.cpp:62:67: required from here
/data/cache/platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/10.3.0/bits/unique_ptr.h:962:30: error: no matching function for call to 'esphome::nfc::NfcTag::NfcTag(std::vector&, const char* const&, std::vector&)'
962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(_args)...)); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/esphome/components/pn532/pn532.h:6,
from src/esphome/components/pn532/pn532_mifare_classic.cpp:3:
src/esphome/components/nfc/nfc_tag.h:38:3: note: candidate: 'esphome::nfc::NfcTag::NfcTag(const esphome::nfc::NfcTag&)'
38 | NfcTag(const NfcTag &rhs) {
| ^~~~~~
src/esphome/components/nfc/nfc_tag.h:38:3: note: candidate expects 1 argument, 3 provided
src/esphome/components/nfc/nfc_tag.h:33:3: note: candidate: 'esphome::nfc::NfcTag::NfcTag(const NfcTagUid&, const string&, std::vector&)'
33 | NfcTag(const NfcTagUid &uid, const std::string &tag_type, std::vector<uint8_t> &ndef_data) {
| ^~~~~~
src/esphome/components/nfc/nfc_tag.h:33:27: note: no known conversion for argument 1 from 'std::vector' to 'const NfcTagUid&' {aka 'const esphome::StaticVector<unsigned char, 10>&'}
33 | NfcTag(const NfcTagUid &uid, const std::string &tag_type, std::vector<uint8_t> &ndef_data) {
| ~~~~~~~~~~~~~~~~~^~~
src/esphome/components/nfc/nfc_tag.h:28:3: note: candidate: 'esphome::nfc::NfcTag::NfcTag(const NfcTagUid&, const string&, std::unique_ptresphome::nfc::NdefMessage)'
28 | NfcTag(const NfcTagUid &uid, const std::string &tag_type, std::unique_ptrnfc::NdefMessage ndef_message) {
| ^~~~~~
src/esphome/components/nfc/nfc_tag.h:28:27: note: no known conversion for argument 1 from 'std::vector' to 'const NfcTagUid&' {aka 'const esphome::StaticVector<unsigned char, 10>&'}
28 | NfcTag(const NfcTagUid &uid, const std::string &tag_type, std::unique_ptrnfc::NdefMessage ndef_message) {
| ~~~~~~~~~~~~~~~~~^~~
src/esphome/components/nfc/nfc_tag.h:24:3: note: candidate: 'esphome::nfc::NfcTag::NfcTag(const NfcTagUid&, const string&)'
24 | NfcTag(const NfcTagUid &uid, const std::string &tag_type) {
| ^~~~~~
src/esphome/components/nfc/nfc_tag.h:24:3: note: candidate expects 2 arguments, 3 provided
src/esphome/components/nfc/nfc_tag.h:20:3: note: candidate: 'esphome::nfc::NfcTag::NfcTag(const NfcTagUid&)'
20 | NfcTag(const NfcTagUid &uid) {
| ^~~~~~
src/esphome/components/nfc/nfc_tag.h:20:3: note: candidate expects 1 argument, 3 provided
src/esphome/components/nfc/nfc_tag.h:19:3: note: candidate: 'esphome::nfc::NfcTag::NfcTag()'
19 | NfcTag() { this->tag_type
= "Unknown"; };
| ^~~~~~
src/esphome/components/nfc/nfc_tag.h:19:3: note: candidate expects 0 arguments, 3 provided
Compiling .pioenvs/tagtuner-for-tagreader-0da634/src/esphome/components/script/script.cpp.o
In file included from /data/cache/platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/10.3.0/memory:83,
from src/esphome/components/pn532/pn532_mifare_ultralight.cpp:1:
/data/cache/platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/10.3.0/bits/unique_ptr.h: In instantiation of 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = esphome::nfc::NfcTag; _Args = {std::vector<unsigned char, std::allocator >&, const char* const&}; typename std::_MakeUniq<_Tp>::__single_object = std::unique_ptresphome::nfc::NfcTag]':
src/esphome/components/pn532/pn532_mifare_ultralight.cpp:17:63: required from here
/data/cache/platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/10.3.0/bits/unique_ptr.h:962:30: error: no matching function for call to 'esphome::nfc::NfcTag::NfcTag(std::vector&, const char* const&)'
962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(_args)...)); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/esphome/components/pn532/pn532.h:6,
from src/esphome/components/pn532/pn532_mifare_ultralight.cpp:3:
src/esphome/components/nfc/nfc_tag.h:38:3: note: candidate: 'esphome::nfc::NfcTag::NfcTag(const esphome::nfc::NfcTag&)'
38 | NfcTag(const NfcTag &rhs) {
| ^~~~~~
src/esphome/components/nfc/nfc_tag.h:38:3: note: candidate expects 1 argument, 2 provided
src/esphome/components/nfc/nfc_tag.h:33:3: note: candidate: 'esphome::nfc::NfcTag::NfcTag(const NfcTagUid&, const string&, std::vector&)'
33 | NfcTag(const NfcTagUid &uid, const std::string &tag_type, std::vector<uint8_t> &ndef_data) {
| ^~~~~~
src/esphome/components/nfc/nfc_tag.h:33:3: note: candidate expects 3 arguments, 2 provided
src/esphome/components/nfc/nfc_tag.h:28:3: note: candidate: 'esphome::nfc::NfcTag::NfcTag(const NfcTagUid&, const string&, std::unique_ptresphome::nfc::NdefMessage)'
28 | NfcTag(const NfcTagUid &uid, const std::string &tag_type, std::unique_ptrnfc::NdefMessage ndef_message) {
| ^~~~~~
src/esphome/components/nfc/nfc_tag.h:28:3: note: candidate expects 3 arguments, 2 provided
src/esphome/components/nfc/nfc_tag.h:24:3: note: candidate: 'esphome::nfc::NfcTag::NfcTag(const NfcTagUid&, const string&)'
24 | NfcTag(const NfcTagUid &uid, const std::string &tag_type) {
| ^~~~~~
src/esphome/components/nfc/nfc_tag.h:24:27: note: no known conversion for argument 1 from 'std::vector' to 'const NfcTagUid&' {aka 'const esphome::StaticVector<unsigned char, 10>&'}
24 | NfcTag(const NfcTagUid &uid, const std::string &tag_type) {
| ~~~~~~~~~~~~~~~~~^~~
src/esphome/components/nfc/nfc_tag.h:20:3: note: candidate: 'esphome::nfc::NfcTag::NfcTag(const NfcTagUid&)'
20 | NfcTag(const NfcTagUid &uid) {
| ^~~~~~
src/esphome/components/nfc/nfc_tag.h:20:3: note: candidate expects 1 argument, 2 provided
src/esphome/components/nfc/nfc_tag.h:19:3: note: candidate: 'esphome::nfc::NfcTag::NfcTag()'
19 | NfcTag() { this->tag_type
= "Unknown"; };
| ^~~~~~
src/esphome/components/nfc/nfc_tag.h:19:3: note: candidate expects 0 arguments, 2 provided
In file included from /data/cache/platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/10.3.0/memory:83,
from src/esphome/components/pn532/pn532_mifare_ultralight.cpp:1:
/data/cache/platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/10.3.0/bits/unique_ptr.h: In instantiation of 'typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = esphome::nfc::NfcTag; _Args = {std::vector<unsigned char, std::allocator >&, const char* const&, std::vector<unsigned char, std::allocator >&}; typename std::_MakeUniq<_Tp>::__single_object = std::unique_ptresphome::nfc::NfcTag]':
src/esphome/components/pn532/pn532_mifare_ultralight.cpp:47:67: required from here
/data/cache/platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/10.3.0/bits/unique_ptr.h:962:30: error: no matching function for call to 'esphome::nfc::NfcTag::NfcTag(std::vector&, const char* const&, std::vector&)'
962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(_args)...)); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/esphome/components/pn532/pn532.h:6,
from src/esphome/components/pn532/pn532_mifare_ultralight.cpp:3:
src/esphome/components/nfc/nfc_tag.h:38:3: note: candidate: 'esphome::nfc::NfcTag::NfcTag(const esphome::nfc::NfcTag&)'
38 | NfcTag(const NfcTag &rhs) {
| ^~~~~~
src/esphome/components/nfc/nfc_tag.h:38:3: note: candidate expects 1 argument, 3 provided
src/esphome/components/nfc/nfc_tag.h:33:3: note: candidate: 'esphome::nfc::NfcTag::NfcTag(const NfcTagUid&, const string&, std::vector&)'
33 | NfcTag(const NfcTagUid &uid, const std::string &tag_type, std::vector<uint8_t> &ndef_data) {
| ^~~~~~
src/esphome/components/nfc/nfc_tag.h:33:27: note: no known conversion for argument 1 from 'std::vector' to 'const NfcTagUid&' {aka 'const esphome::StaticVector<unsigned char, 10>&'}
33 | NfcTag(const NfcTagUid &uid, const std::string &tag_type, std::vector<uint8_t> &ndef_data) {
| ~~~~~~~~~~~~~~~~~^~~
src/esphome/components/nfc/nfc_tag.h:28:3: note: candidate: 'esphome::nfc::NfcTag::NfcTag(const NfcTagUid&, const string&, std::unique_ptresphome::nfc::NdefMessage)'
28 | NfcTag(const NfcTagUid &uid, const std::string &tag_type, std::unique_ptrnfc::NdefMessage ndef_message) {
| ^~~~~~
src/esphome/components/nfc/nfc_tag.h:28:27: note: no known conversion for argument 1 from 'std::vector' to 'const NfcTagUid&' {aka 'const esphome::StaticVector<unsigned char, 10>&'}
28 | NfcTag(const NfcTagUid &uid, const std::string &tag_type, std::unique_ptrnfc::NdefMessage ndef_message) {
| ~~~~~~~~~~~~~~~~~^~~
src/esphome/components/nfc/nfc_tag.h:24:3: note: candidate: 'esphome::nfc::NfcTag::NfcTag(const NfcTagUid&, const string&)'
24 | NfcTag(const NfcTagUid &uid, const std::string &tag_type) {
| ^~~~~~
src/esphome/components/nfc/nfc_tag.h:24:3: note: candidate expects 2 arguments, 3 provided
src/esphome/components/nfc/nfc_tag.h:20:3: note: candidate: 'esphome::nfc::NfcTag::NfcTag(const NfcTagUid&)'
20 | NfcTag(const NfcTagUid &uid) {
| ^~~~~~
src/esphome/components/nfc/nfc_tag.h:20:3: note: candidate expects 1 argument, 3 provided
src/esphome/components/nfc/nfc_tag.h:19:3: note: candidate: 'esphome::nfc::NfcTag::NfcTag()'
19 | NfcTag() { this->tag_type
= "Unknown"; };
| ^~~~~~
src/esphome/components/nfc/nfc_tag.h:19:3: note: candidate expects 0 arguments, 3 provided
*** [.pioenvs/tagtuner-for-tagreader-0da634/src/esphome/components/pn532/pn532.cpp.o] Error 1
*** [.pioenvs/tagtuner-for-tagreader-0da634/src/esphome/components/pn532/pn532_mifare_classic.cpp.o] Error 1
*** [.pioenvs/tagtuner-for-tagreader-0da634/src/esphome/components/pn532/pn532_mifare_ultralight.cpp.o] Error 1
========================== [FAILED] Took 4.77 seconds ==========================`

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions