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

[BUG] Installion environment fail - version 1.1 branch #37832

Closed
emesamwong opened this issue Mar 1, 2025 · 9 comments
Closed

[BUG] Installion environment fail - version 1.1 branch #37832

emesamwong opened this issue Mar 1, 2025 · 9 comments
Labels
bootstrap Issues executing `bootstrap` esp32

Comments

@emesamwong
Copy link

Reproduction steps

I am tring install the Matter environment for development but fail to exeute the install.sh, here is the error message:

Image

Here is the full logs:
esp-matter.error.log.txt
clone.esp-matter.log.txt
check.hash.log.txt

I already created an issue in eps-matter: espressif/esp-matter#1302

OS: Ubuntu 22.04.2 LTS
ESP-Matter Commit Id: release/v1.1 (#548ef58)
Connectedhomeip commit Id: #83f4163

Bug prevalence

always

GitHub hash of the SDK that was being used

83f4163

Platform

esp32

Platform Version(s)

No response

Anything else?

No response

@emesamwong emesamwong added bug Something isn't working needs triage labels Mar 1, 2025
@andy31415
Copy link
Contributor

Looks like a pip error, although I am unclear from what part from the logs.

@andy31415
Copy link
Contributor

Could you check the contents of /home/samwong/esp/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/pip-requirements.log ? Are there more messages there? Otherwise tyring the pip install manually in a venv maybe shows what fails.

My guess is some conflict on versions between modules.

@emesamwong
Copy link
Author

install fail2_pip-requirements.log

The first one is the original log, the second one is that I tried to remove the /.environment and run ./install.sh again

@emesamwong
Copy link
Author

install fail _pip-requirements_part1.txt
install fail _pip-requirements_part2.txt
The original log is too large and fail to upload

@andy31415
Copy link
Contributor

I see errors compiling gevent.

From what I remember, we used to have issues with libev builds and esp (which requires gdbui which depends on gevent).
https://github.com/project-chip/connectedhomeip/blob/master/integrations/cloudbuild/smoke-test.yaml#L33 for example adds some workarounds, specifically commenting out gdbgui from the espressif requirements. you can try to do the same. That code does:

perl -i -pe 's/^gdbgui==/# gdbgui==/' /opt/espressif/esp-idf/requirements.txt

The path where you have your requirements likely varies.

@andy31415 andy31415 added esp32 bootstrap Issues executing `bootstrap` labels Mar 6, 2025
@andy31415
Copy link
Contributor

/home/samwong/esp/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt seems to also be mentioned there having gdbgui.

@andy31415
Copy link
Contributor

Looking at https://github.com/project-chip/connectedhomeip/blob/master/scripts/setup/requirements.esp32.txt we do not have gdbgui there currently.

@andy31415 andy31415 changed the title [BUG] Installion environment fail [BUG] Installion environment fail - version 1.1 branch Mar 6, 2025
@andy31415
Copy link
Contributor

Ah, I see that you use a v1.1-branch. That is quite ancient really. We strongly recommend at least 1.3 ... newer would be even better.

@andy31415
Copy link
Contributor

@emesamwong I believe latest SDK does not use gdbgui so it should not have this issue, however we are also not sufficiently staffed to support such old branches of the SDK (i.e. a backport fix is unlikely to happen from general maintainers side, however maybe espressif as part of their bug report could propose changes).

@andy31415 andy31415 removed needs triage bug Something isn't working labels Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bootstrap Issues executing `bootstrap` esp32
Projects
None yet
Development

No branches or pull requests

2 participants