| Summary: | recipetool: creating binary recipe from upstream git repo without explicit PV causes circular reference in SRC_URI | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Chris Laplante <mostthingsweb> |
| Component: | devtools / tool chain | Assignee: | Yoann Congal <yoann.congal> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | meta.mr.watcher, meta.watcher, randy.macleod, richard.purdie, yoann.congal |
| Version: | 3.0.5 | ||
| Target Milestone: | 4.3 M1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| See Also: | https://bugzilla.yoctoproject.org/show_bug.cgi?id=15085 | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Chris Laplante
2020-09-03 08:00:07 UTC
11593 is related. Also 14040. Oops, this is 14040 but it's a circular reference so this error is amusing. Classic. I'll be sure to fix 14040 before I fix 14040 ;) This was fixed by Saul Wold in https://git.yoctoproject.org/poky/commit/?id=254fbcf614cd57d5a5d4ca36b9765b463eaaf10f in february 2022 Just tested it : $ devtool add -b abi-dumper-native https://github.com/lvc/abi-dumper INFO: Fetching git://github.com/lvc/abi-dumper;protocol=https;subdir=${BPN};branch=master... This produce a recipe and the generated SRC_URI does indeed implement the proposed fix "subdir=${BPN}" Great to hear it is fixed. Are we missing a test case for this to ensure it doesn't regress again? (In reply to Richard Purdie from comment #6) > Great to hear it is fixed. Are we missing a test case for this to ensure it > doesn't regress again? I've looked around a bit and I did not find a testcase for the '-b' flag. https://git.yoctoproject.org/poky/tree/meta/lib/oeqa/selftest/cases/devtool.py https://git.yoctoproject.org/poky/tree/meta/lib/oeqa/selftest/cases/recipetool.py (And no testcase merged with the fix) I'll create a separate ticket for this. => Bug 15085 - Add a testcase for the devtool add "-b" flag Great, thanks! |