Open phonnakasturi-apple opened 1 year ago
Note: This last worked with SHA a35ee1bdbef5fb3d8773a129fe51b888726d7c94
@phonnakasturi-apple could you bisect the build and find out the first failing commit?
@andy31415 Following is the first failing commit;
SHA 236e14e65030b8e12d49b6501352972eff42ad60
commit 236e14e65030b8e12d49b6501352972eff42ad60
Author: Kamil Kasperczyk <66371704+kkasperczyk-no@users.noreply.github.com>
Date: Fri Oct 28 00:42:27 2022 +0200
[nrfconnect] Switched to using nRF Connect SDK 2.1.1 version (#23333)
Changed recommended nRF Connect SDK revision to 2.1.1 and did some
necessary alignments:
* nRF platform
- Added support for SPI NOR external flash
- Enabled entering QSPI NOR deep sleep mode for nRF52 family
* nRF examples
- Removed flash controller configuration from examples DTS
- Aligned DFUOverSMP callback API and optimized power consumption
by disabling QSPI NOR
- Fixed emitting leave event at factory reset in window-app
- Moved OTARequestor initialization to kDnssdPlatformInitialized
event handler to avoid race condition (sending NotifyUpdateApplied
if SRP client is not yet fully initialized)
- Changed MRP local active retry interval for lighting-app to avoid
packet stall while switching from Thread child to router
This error message seems relevant:
Cloning into '/Users/priyankahonnakasturi/chip-nordic-tools/nrfconnect/sdk-nrf/test/cmock/vendor/c_exception'...
Submodule path 'vendor/c_exception': checked out '71b47be7c950f1bf5f7e5303779fa99a16224bb6'
fatal: --stdin can only be used when fetching from one remote
@phonnakasturi-apple in another issue you faced a problem with lighting-app compilation. Does it mean you were able to checkout nRF Connect SDK dependent repos successfully? If yes, could you share what solved the problem?
@kkasperczyk-no This issue is present in https://github.com/project-chip/connectedhomeip/issues/23817#issuecomment-1333534351 as well.
By following the steps as mentioned below;
I get;
ERROR: update failed for project cmock
Command '['west', 'update']' returned non-zero exit status 1.
By ignoring the error and making sure python version is set to 3.8 and executing the next 2 steps;
Gives the error mentioned in https://github.com/project-chip/connectedhomeip/issues/23817
@phonnakasturi-apple, there is a few things that would be worth to check:
update_ncs.py
script. You can do that in the following way:
/Users/priyankahonnakasturi/chip-nordic-tools/nrfconnect/sdk-nrf/nrf
.git status
command that output is HEAD detached at v2.1.1
.west update
command.cmock
is git submodule that is by default fetched from the origin remote. The failure log for me looks like there would not be appropriate remote to fetch data.
cmock
repo location on disk (I guess Users/priyankahonnakasturi/chip-nordic-tools/nrfconnect/sdk-nrf/test/cmock/vendor/c_exception
) and see the output from commands: git remote show
and git status
. I think that it should be origin
and HEAD detached at 71b47be
.git remote add origin https://github.com/throwtheswitch/cexception.git
git fetch origin
and then git checkout 71b47be
.I have a hope it is going to work or at least will give us some more information.
@kkasperczyk-no When I tried step 1 , I got the same error as I would with update_ncs.py script
With Step 2 and sub step i, I get ->
c_exception % git remote show
throwtheswitch
% git status
HEAD detached at refs/heads/manifest-rev
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: ../unity (new commits)
no changes added to commit (use "git add" and/or "git commit -a")
@kkasperczyk-no I have the same versions in my Mac, But I get the same error when I build the lighting app.. my build command is west build -b nrf52840dk_nrf52840 --pristine always -- -DCONFIG_CHIP_LIB_SHELL=y
nrf % git status
HEAD detached at 71b47be
nrf % git status
HEAD detached at v2.1.1
I believe it might be the west
issue. I had the same cmock
error using west 0.12.0. After just upgrading to west 0.14.0 (pip3 install west==0.14.0
) west update
succeeds.
Could you try it? If that works, we will update the required version for pigweed.
@phonnakasturi-apple could you please try to upgrade the west tool and see if that helps?
@LuDuda When we updated the arm GNU compiler to the latest version (gcc-arm-none-eabi-10.3-2021.10-mac.tar.bz2) , we are able to build the app, is it fine to use the latest tool chain ?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Reproduction steps / Feature
Platform
darwin
Platform Version(s)
No response
Type
Manually tested with SDK
(Optional) If manually tested please explain why this is only manually tested
No response
Anything else?
Attaching the complete logs
noridc_error_logs.txt