On 1 Dec 2022, at 14:04, Peter Marko via lists.openembedded.org 
<peter.marko=siemens....@lists.openembedded.org> wrote:
> 
> Commit 0533edac277080e1bd130c14df0cbac61ba01a0c broke
> bitbake parsing when bitbake is executed from directory with existing 
> .gitmodules
> and the recipe in externalsrc does not have .gitmodules
> 
> The check needs to search for .gitmodules in sources path, not cwd.
> 
> iParsing recipes...ERROR: ExpansionError during parsing <path to recipe>
> ...
> bb.data_smart.ExpansionError: Failure expanding variable 
> do_compile[file-checksums], expression was ${@srctree_hash_files(d)} which 
> triggered exception CalledProcessError: Command '['git', 'config', '--file', 
> '.gitmodules', '--get-regexp', 'path']' returned non-zero exit status 1.

There’s been a series of commits now “fixing” the lookup logic, can you write a 
small test case to exercise this path?

Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#174286): 
https://lists.openembedded.org/g/openembedded-core/message/174286
Mute This Topic: https://lists.openembedded.org/mt/95382667/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to