nxp-imx / meta-nxp-connectivity

The layer files for integrate the Matter and OpenThread into i.MX Yocto Linux
Other
35 stars 18 forks source link

Compile error #3

Open tonyho opened 2 years ago

tonyho commented 2 years ago

When I try to compile the image as README instruction, it gives an error of building matter:

Log data follows:
| DEBUG: Executing shell function do_compile
| ninja: Entering directory `out/aarch64'
| ninja: no work to do.
| ninja: Entering directory `out/aarch64'
| [1/2] ACTION //third_party/connectedhomeip/third_party/pigweed/repo/pw_build:python_lint.install(//third_party/connectedhomeip/build/toolchain/custom:custom)
| FAILED: gen/third_party/connectedhomeip/third_party/pigweed/repo/pw_build/python_lint.install.pw_pystamp
| /usr/bin/python3 ../../third_party/connectedhomeip/third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../../third_party/connectedhomeip/thi
rd_party/pigweed/repo/pw_build --lockfile pip.lock --default-toolchain=//third_party/connectedhomeip/build/toolchain/custom:custom --current-toolchain=//third_party/connectedhomeip/buil
d/toolchain/custom:custom --touch gen/third_party/connectedhomeip/third_party/pigweed/repo/pw_build/python_lint.install.pw_pystamp --capture-output --module pip -- install --requirement
 gen/third_party/connectedhomeip/third_party/pigweed/repo/pw_build/python_lint.requirements.txt --constraint ../../third_party/connectedhomeip/scripts/constraints.txt
| WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection obj
ect at 0x7fa93961bee0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/build/
| WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection obj
ect at 0x7fa93961b040>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/build/
| WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection obj
ect at 0x7fa93961b190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/build/
| WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection obj
ect at 0x7fa93961b700>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/build/
| WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection obj
ect at 0x7fa93961bb20>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/build/
| ERROR: Could not find a version that satisfies the requirement build (from -r gen/third_party/connectedhomeip/third_party/pigweed/repo/pw_build/python_lint.requirements.txt (line 1)) 
(from versions: none)
| ERROR: No matching distribution found for build (from -r gen/third_party/connectedhomeip/third_party/pigweed/repo/pw_build/python_lint.requirements.txt (line 1))
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.

I tried to run the pip3 install numpy and pip2 install numpy on host shell , both commands run successfully.

The target I used is imx6ullevk:

MACHINE ??= 'imx6ullevk'
DISTRO ?= 'fsl-imx-xwayland'

Also, I have tried to set the proxy, and the networking can access the python package site.

How can I fix this problem?

saumildmehta commented 1 year ago

Hi @tonyho , Were you able to solve the above issue? Is it useful for the imx6ull target?