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

[Build] [chip-tool] Building chip-tool always fails on Raspberry pi #1426

Open
renu285 opened this issue Sep 16, 2024 · 0 comments
Open

[Build] [chip-tool] Building chip-tool always fails on Raspberry pi #1426

renu285 opened this issue Sep 16, 2024 · 0 comments
Assignees
Milestone

Comments

@renu285
Copy link

renu285 commented Sep 16, 2024

Build issue(s)
After following the description at
https://github.com/project-chip/connectedhomeip/blob/master/docs/guides/chip_tool_guide.md

Building of chip-tool always fails at the following step:

[402/2515] ACTION //examples/energy-management-app/energy-management-common:energy-management-common_zapgen_generate(//build/toolchain/linux:linux_arm64_gcc)
FAILED: gen/examples/energy-management-app/energy-management-common/zapgen/zap-generated/access.h gen/examples/energy-management-app/energy-management-common/zapgen/zap-generated/gen_config.h gen/examples/energy-management-app/energy-management-common/zapgen/zap-generated/endpoint_config.h gen/examples/energy-management-app/energy-management-common/zapgen/zap-generated/IMClusterCommandHandler.cpp
python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../../examples/energy-management-app/energy-management-common --default-toolchain=//build/toolchain/linux:linux_arm64_gcc --current-toolchain=//build/toolchain/linux:linux_arm64_gcc --capture-output --python-dep-list-files gen/examples/energy-management-app/energy-management-common/energy-management-common_zapgen_generate_metadata_path_list.txt -- ../../scripts/tools/zap/generate.py --no-prettify-output --templates /home/ubuntu/chip_git/connectedhomeip/src/app/zap-templates/app-templates.json --output-dir /home/ubuntu/chip_git/connectedhomeip/out/host/gen/examples/energy-management-app/energy-management-common/zapgen/zap-generated --lock-file /home/ubuntu/chip_git/connectedhomeip/out/host/zap_gen.lock --parallel /home/ubuntu/chip_git/connectedhomeip/examples/energy-management-app/energy-management-common/energy-management-app.zap
🚀 Executing: git log -1 --format={"hash": "%H","timestamp": %ct}
🔍 Git commit: 309238b from Fri Sep 13 2024 15:31:16 GMT+0000 (Coordinated Universal Time)
🔍 Current src hash: UXLQRBDOwI9GXtZcvtJlFZe8nP0=
🔍 Current src-shared hash: Fwbu7CwefZXOH5LqawYL+8aAyqY=
👎 Error reading old hash file: /home/ubuntu/zap_src/zap/spa/hash.json
🐝 Front-end code changed, so we need to rebuild SPA.
🚀 Executing: npx quasar build

.d88888b.
d88P" "Y88b
888 888
888 888 888 888 8888b. .d8888b 8888b. project-chip/connectedhomeip@888d888
888 888 888 888 "88b 88K "88b 888P"
888 Y8b 888 888 888 .d888888 "Y8888b. .d888888 888
Y88b.Y8b88P Y88b 888 888 888 X88 888 888 888
"Y888888" "Y88888 "Y888888 88888P' "Y888888 888
Y8b

Build mode................ spa
Pkg quasar................ v2.16.8
Pkg @quasar/app-webpack... v3.13.5
Pkg webpack............... v5
Debugging................. no
Publishing................ no

Configured browser support (>= 64.69% of global marketshare):
· Chrome for Android >= 127
· Firefox for Android >= 127
· QQ for Android >= 14.9
· UC for Android >= 15.5
· Android >= 127
· Chrome >= 127
· Edge >= 127
· Firefox >= 128
· IE >= 11
· iOS >= 17.5
· Kaios >= 3.0-3.1
· Opera Mini >= all
· Opera Mobile >= 80
· Opera >= 111
· Safari >= 17.5
· Samsung >= 25

App • Running "@quasar/testing" Quasar App Extension...
App • Running "@quasar/testing-unit-jest" Quasar App Extension...
App • Running "@quasar/testing-e2e-cypress" Quasar App Extension...
App • Extending "UI" Webpack config
App • Cleaned build artifact: "/home/ubuntu/zap_src/zap/spa"
App • WAIT • Compiling of "UI" in progress...
App • DONE • "UI" compiled with errors • 185275ms

⇝ App • ERROR • UI in ./src/App.vue?vue&type=script&lang=js

⇝ Module not found: Can't resolve imported dependency "querystring"
⇝ Did you forget to install it? You can run: npm install --save querystring

⇝ App • ERROR • UI in ./src/boot/ws.js

⇝ Module not found: Can't resolve imported dependency "events"
⇝ Did you forget to install it? You can run: npm install --save events

App • COMPILATION FAILED • Please check the log above for details.

👎 Program npx exited with error code: 1

My node version is v20.14.0 , I have already tried doing npm install --save querystring and npm install --save events yet the error remains

@kenyhercz kenyhercz added this to the ZAPP-1325 milestone Oct 28, 2024
@brdandu brdandu modified the milestones: ZAPP-1325, ZAPP-1426 Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants