Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings when compiling ESPHome device update #117676

Open
donburch888 opened this issue May 18, 2024 · 1 comment
Open

Warnings when compiling ESPHome device update #117676

donburch888 opened this issue May 18, 2024 · 1 comment

Comments

@donburch888
Copy link

donburch888 commented May 18, 2024

The problem

When performing the update to ESPHome 2024.5.0 for my Arlec PC191HA smart power plug devices (which use WB2S board) I noted several warning messages scroll past

What version of Home Assistant Core has the issue?

System Information version | core-2024.5.4 -- | -- installation_type | Home Assistant OS dev | false hassio | true docker | true user | root virtualenv | false python_version | 3.12.2 os_name | Linux os_version | 6.6.29-haos arch | x86_64 timezone | Australia/Sydney config_dir | /config

Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 5000 Installed Version | 1.34.0 Stage | running Available Repositories | 1462 Downloaded Repositories | 15
Home Assistant Cloud logged_in | true -- | -- subscription_expiration | 3 June 2024 at 10:00 am relayer_connected | true relayer_region | ap-southeast-1 remote_enabled | true remote_connected | true alexa_enabled | false google_enabled | false remote_server | ap-southeast-1-1.ui.nabu.casa certificate_status | ready instance_id | 5ed6a2304786423a8e093715817678d7 can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 12.3 -- | -- update_channel | stable supervisor_version | supervisor-2024.05.1 agent_version | 1.6.0 docker_version | 25.0.5 disk_total | 62.3 GB disk_used | 33.8 GB healthy | true supported | true board | ova supervisor_api | ok version_api | ok installed_addons | File editor (5.8.0), Samba share (12.3.1), Terminal & SSH (9.14.0), Mosquitto broker (6.4.0), Node-RED (17.0.12), Rhasspy Assistant (2.5.11), openWakeWord (1.10.0), Whisper (2.0.0), Piper (1.5.0), ESPHome (2024.5.0), Music Assistant BETA (2.1.0b0)
Dashboards dashboards | 2 -- | -- resources | 8 views | 7 mode | storage
Recorder oldest_recorder_run | 9 May 2024 at 12:16 am -- | -- current_recorder_run | 18 May 2024 at 2:33 pm estimated_db_size | 419.63 MiB database_engine | sqlite database_version | 3.44.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS
running in a proxmox VM on a x86-64 PC

Integration causing the issue

ESPHome

Link to integration documentation on our website

https://www.home-assistant.io/integrations/esphome

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Compiling .pioenvs/pc191ha-114/libfa1/ESPAsyncWebServer-esphome/AsyncWebSocket.cpp.o
Compiling .pioenvs/pc191ha-114/libfa1/ESPAsyncWebServer-esphome/WebAuthentication.cpp.o
In file included from /data/cache/platformio/packages/framework-beken-bdk/beken378/common/include.h:6,
                 from /data/cache/platformio/platforms/libretiny/cores/beken-72xx/base/fixups/include.h:3,
                 from /data/cache/platformio/packages/framework-beken-bdk/beken378/os/include/rtos_pub.h:4,
                 from /data/cache/platformio/packages/framework-beken-bdk/beken378/func/mbedtls/mbedtls-port/inc/tls_rtos.h:6,
                 from /data/cache/platformio/packages/framework-beken-bdk/beken378/func/mbedtls/mbedtls-port/inc/tls_config.h:32,
                 from /data/cache/platformio/packages/framework-beken-bdk/beken378/func/mbedtls/mbedtls/include/mbedtls/sha1.h:29,
                 from .piolibdeps/pc191ha-114/ESPAsyncWebServer-esphome/src/AsyncWebSocket.cpp:27:
/data/cache/platformio/packages/framework-beken-bdk/beken378/common/generic.h:154: warning: "htons" redefined
  154 | #define htons(x) __htons(x)
      | 
In file included from /data/cache/platformio/packages/library-lwip/src/include/lwip/ip_addr.h:41,
                 from .piolibdeps/pc191ha-114/AsyncTCP-esphome/src/AsyncTCP.h:28,
                 from .piolibdeps/pc191ha-114/ESPAsyncWebServer-esphome/src/AsyncWebSocket.h:26,
                 from .piolibdeps/pc191ha-114/ESPAsyncWebServer-esphome/src/AsyncWebSocket.cpp:22:
/data/cache/platformio/packages/library-lwip/src/include/lwip/def.h:119: note: this is the location of the previous definition
  119 | #define htons(x) lwip_htons(x)
      | 
In file included from /data/cache/platformio/packages/framework-beken-bdk/beken378/common/include.h:6,
                 from /data/cache/platformio/platforms/libretiny/cores/beken-72xx/base/fixups/include.h:3,
                 from /data/cache/platformio/packages/framework-beken-bdk/beken378/os/include/rtos_pub.h:4,
                 from /data/cache/platformio/packages/framework-beken-bdk/beken378/func/mbedtls/mbedtls-port/inc/tls_rtos.h:6,
                 from /data/cache/platformio/packages/framework-beken-bdk/beken378/func/mbedtls/mbedtls-port/inc/tls_config.h:32,
                 from /data/cache/platformio/packages/framework-beken-bdk/beken378/func/mbedtls/mbedtls/include/mbedtls/sha1.h:29,
                 from .piolibdeps/pc191ha-114/ESPAsyncWebServer-esphome/src/AsyncWebSocket.cpp:27:
/data/cache/platformio/packages/framework-beken-bdk/beken378/common/generic.h:155: warning: "ntohs" redefined
  155 | #define ntohs(x) __ntohs(x)
      | 
In file included from /data/cache/platformio/packages/library-lwip/src/include/lwip/ip_addr.h:41,
                 from .piolibdeps/pc191ha-114/AsyncTCP-esphome/src/AsyncTCP.h:28,
                 from .piolibdeps/pc191ha-114/ESPAsyncWebServer-esphome/src/AsyncWebSocket.h:26,
                 from .piolibdeps/pc191ha-114/ESPAsyncWebServer-esphome/src/AsyncWebSocket.cpp:22:
/data/cache/platformio/packages/library-lwip/src/include/lwip/def.h:120: note: this is the location of the previous definition
  120 | #define ntohs(x) lwip_ntohs(x)
      | 
In file included from /data/cache/platformio/packages/framework-beken-bdk/beken378/common/include.h:6,
                 from /data/cache/platformio/platforms/libretiny/cores/beken-72xx/base/fixups/include.h:3,
                 from /data/cache/platformio/packages/framework-beken-bdk/beken378/os/include/rtos_pub.h:4,
                 from /data/cache/platformio/packages/framework-beken-bdk/beken378/func/mbedtls/mbedtls-port/inc/tls_rtos.h:6,
                 from /data/cache/platformio/packages/framework-beken-bdk/beken378/func/mbedtls/mbedtls-port/inc/tls_config.h:32,
                 from /data/cache/platformio/packages/framework-beken-bdk/beken378/func/mbedtls/mbedtls/include/mbedtls/sha1.h:29,
                 from .piolibdeps/pc191ha-114/ESPAsyncWebServer-esphome/src/AsyncWebSocket.cpp:27:
/data/cache/platformio/packages/framework-beken-bdk/beken378/common/generic.h:156: warning: "htonl" redefined
  156 | #define htonl(x) __htonl(x)
      | 
In file included from /data/cache/platformio/packages/library-lwip/src/include/lwip/ip_addr.h:41,
                 from .piolibdeps/pc191ha-114/AsyncTCP-esphome/src/AsyncTCP.h:28,
                 from .piolibdeps/pc191ha-114/ESPAsyncWebServer-esphome/src/AsyncWebSocket.h:26,
                 from .piolibdeps/pc191ha-114/ESPAsyncWebServer-esphome/src/AsyncWebSocket.cpp:22:
/data/cache/platformio/packages/library-lwip/src/include/lwip/def.h:121: note: this is the location of the previous definition
  121 | #define htonl(x) lwip_htonl(x)
      | 
In file included from /data/cache/platformio/packages/framework-beken-bdk/beken378/common/include.h:6,
                 from /data/cache/platformio/platforms/libretiny/cores/beken-72xx/base/fixups/include.h:3,
                 from /data/cache/platformio/packages/framework-beken-bdk/beken378/os/include/rtos_pub.h:4,
                 from /data/cache/platformio/packages/framework-beken-bdk/beken378/func/mbedtls/mbedtls-port/inc/tls_rtos.h:6,
                 from /data/cache/platformio/packages/framework-beken-bdk/beken378/func/mbedtls/mbedtls-port/inc/tls_config.h:32,
                 from /data/cache/platformio/packages/framework-beken-bdk/beken378/func/mbedtls/mbedtls/include/mbedtls/sha1.h:29,
                 from .piolibdeps/pc191ha-114/ESPAsyncWebServer-esphome/src/AsyncWebSocket.cpp:27:
/data/cache/platformio/packages/framework-beken-bdk/beken378/common/generic.h:157: warning: "ntohl" redefined
  157 | #define ntohl(x) __ntohl(x)
      | 
In file included from /data/cache/platformio/packages/library-lwip/src/include/lwip/ip_addr.h:41,
                 from .piolibdeps/pc191ha-114/AsyncTCP-esphome/src/AsyncTCP.h:28,
                 from .piolibdeps/pc191ha-114/ESPAsyncWebServer-esphome/src/AsyncWebSocket.h:26,
                 from .piolibdeps/pc191ha-114/ESPAsyncWebServer-esphome/src/AsyncWebSocket.cpp:22:
/data/cache/platformio/packages/library-lwip/src/include/lwip/def.h:122: note: this is the location of the previous definition
  122 | #define ntohl(x) lwip_ntohl(x)
      | 
Compiling .pioenvs/pc191ha-114/libfa1/ESPAsyncWebServer-esphome/WebHandlers.cpp.o
Compiling .pioenvs/pc191ha-114/libfa1/ESPAsyncWebServer-esphome/WebRequest.cpp.o
Compiling .pioenvs/pc191ha-114/libfa1/ESPAsyncWebServer-esphome/WebResponses.cpp.o
Compiling .pioenvs/pc191ha-114/libfa1/ESPAsyncWebServer-esphome/WebServer.cpp.o
Compiling .pioenvs/pc191ha-114/lib391/DNSServer/DNSServer.cpp.o

Additional information

Over the past few months I have noticed warning messages as the compile scrolls past, but they don't seem to have affected operation of my devices.

@home-assistant
Copy link

Hey there @OttoWinter, @jesserockz, @kbx81, @bdraco, mind taking a look at this issue as it has been labeled with an integration (esphome) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of esphome can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign esphome Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


esphome documentation
esphome source
(message by IssueLinks)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants