| Summary: |
devtool modify crashes for recipes using go.bbclass |
| Product: |
[Build System, Metadata & Runtime] OE-Core
|
Reporter: |
Ola Nilsson <ola.x.nilsson> |
| Component: |
devtools / tool chain | Assignee: |
Unassigned <unassigned> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
|
| Severity: |
major
|
|
|
| Priority: |
Medium
|
CC: |
meta.mr.watcher, meta.watcher, paul, randy.macleod
|
| Version: |
5.0 | |
|
| Target Milestone: |
Future | |
|
| Hardware: |
x86 | |
|
| OS: |
Multiple | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
---
|
|
Verified:
|
|
Documentation change:
|
No (bug/feature does not impact docs)
|
devtool modify go-helloworld fails with Traceback (most recent call last): File "/mnt/build/poky/scripts/devtool", line 350, in <module> ret = main() ^^^^^^ File "/mnt/build/poky/scripts/devtool", line 337, in main ret = args.func(args, config, basepath, workspace) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/mnt/build/poky/scripts/lib/devtool/standard.py", line 907, in modify (stdout, _) = bb.process.run('git submodule --quiet foreach --recursive \'echo `git rev-parse devtool-base` $PWD\'', cwd=srctree) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/mnt/build/poky/bitbake/lib/bb/process.py", line 189, in run raise ExecutionError(cmd, pipe.returncode, stdout, stderr) bb.process.ExecutionError: Execution of 'git submodule --quiet foreach --recursive 'echo `git rev-parse devtool-base` $PWD'' failed with exit code 128: fatal: No url found for submodule path 'src/golang.org/x/example' in .gitmodules This was not the case on nanbield, I think it's changes introduced in OE-Core 900129cbdf25297a42ab5dbd02d1adbea405c935 devtool: add support for git submodules which collides with the source dir path manipulation from go.bbclass.