bodnuti
Deterministic checks of Yocto Project & OpenEmbedded patches.
[OE-core][PATCH 0/6] add hyperfine recipe, improve ptest-cargo.bbclass
- List
- openembedded-core
- Thread
- lore
- Author
- Trevor Gamblin
- Last message
- 2026-11-25 15:55
- Result
- not checked · 4 style findings
- Checked against
- openembedded-core master
- Base
2c6f137c23b7- Note
- checked against master at 2c6f137c23b7, before the first of its patches that had landed
[OE-core][PATCH 1/6] hyperfine: add recipe
oelint.vars.inconspaces meta/recipes-devtools/hyperfine/hyperfine-crates.inc:41# Autogenerated with 'bitbake -c update_crates hyperfine'23# from Cargo.lock4SRC_URI += " \5 crate://crates.io/aho-corasick/1.1.5 \6 crate://crates.io/anstream/1.0.0 \7 crate://crates.io/anstyle/1.0.14 \
Model, unverified: This is a pre-existing style issue in the autogenerated crates file where the first item on the continuation line has a leading space after the opening quote. Fix: Change `SRC_URI += " \` to `SRC_URI += "\` (remove the leading space after the opening quote) to satisfy the spacing rule.
Show 1 style finding
oelint.vars.notneededspace meta/recipes-devtools/hyperfine/hyperfine-crates.inc:41# Autogenerated with 'bitbake -c update_crates hyperfine'23# from Cargo.lock4SRC_URI += " \5 crate://crates.io/aho-corasick/1.1.5 \6 crate://crates.io/anstream/1.0.0 \7 crate://crates.io/anstyle/1.0.14 \
Model review (bodnuti-qwen3.8-27b-48k-text): 0 findings
Found by a model, not checked by a person; not counted in the result.
Took 5 min 20 s; 35102 tokens read, 85 written; confidence high; prompt v5
No findings.
[OE-core][PATCH 2/6] hyperfine: add ptest support
test_patch.test_signed_off_by_presenceoelint.file.patchsignedoff meta/recipes-devtools/hyperfine/hyperfine_2.0.0.bb:96 7inherit cargo cargo-update-recipe-crates ptest-cargo 8 9SRC_URI = "git://github.com/sharkdp/hyperfine.git;protocol=https;nobranch=1;tag=v${PV} \10 file://0001-tests-allow-overriding-the-hyperfine-binary-with-HYP.patch \11 file://run-ptest \12 "
Model, unverified: The carried patch in files/ is missing a Signed-off-by trailer, which OE patch rules require for every patch file added to the layer. Fix: Add a 'Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>' line to the patch header.
oelint.task.pythonprefix meta/recipes-devtools/hyperfine/hyperfine_2.0.0.bb:221920# Point the tests at the target locations at compile time, which also keeps21# build paths (CARGO_BIN_EXE_hyperfine, CARGO_MANIFEST_DIR) out of the test binaries.22do_compile_ptest_cargo:prepend() {23 os.environ["HYPERFINE_BIN"] = d.expand("${bindir}/hyperfine")24 os.environ["INSTA_WORKSPACE_ROOT"] = d.getVar("PTEST_PATH")25}
Model, unverified: The prepend to do_compile_ptest_cargo contains Python code (os.environ, d.expand, d.getVar) but lacks the 'python' keyword; because the base function in ptest-cargo.bbclass is declared as 'python do_compile_ptest_cargo()', the prepended code is in fact executed as Python, so this is a clarity/style warning rather than a functional break. Fix: Either add the 'python' keyword to the prepend (e.g. 'python do_compile_ptest_cargo:prepend()') for clarity, or leave it as-is since the base function in ptest-cargo.bbclass is already Python and the prepended code will be interpreted as Python regardless.
oelint.file.inappropriatemsg meta/recipes-devtools/hyperfine/hyperfine_2.0.0.bb:96 7inherit cargo cargo-update-recipe-crates ptest-cargo 8 9SRC_URI = "git://github.com/sharkdp/hyperfine.git;protocol=https;nobranch=1;tag=v${PV} \10 file://0001-tests-allow-overriding-the-hyperfine-binary-with-HYP.patch \11 file://run-ptest \12 "
Model, unverified: The patch's Upstream-Status line uses '[oe specific]' which oelint's accepted-token list does not match verbatim (the list has 'oe-specific' and 'OE specific' but the casing/format here trips the check). Fix: Change to 'Upstream-Status: Inappropriate [oe specific]' is actually acceptable per the list (it matches 'OE specific' case-insensitively in most oelint configs); if oelint still flags it, use '[oe-specific]' or '[OE specific]' to match the accepted tokens exactly.
Show 3 style findings
oelint.tabs.notabs meta/recipes-devtools/hyperfine/hyperfine_2.0.0.bb:2724 os.environ["INSTA_WORKSPACE_ROOT"] = d.getVar("PTEST_PATH")25}2627do_install_ptest() {28 cp -r ${S}/tests ${D}${PTEST_PATH}/29 rm ${D}${PTEST_PATH}/tests/*.rs30}
oelint.var.suggestedvar.BUGTRACKER meta/recipes-devtools/hyperfine/hyperfine_2.0.0.bb:11SUMMARY = "A command-line benchmarking tool"2HOMEPAGE = "https://github.com/sharkdp/hyperfine"3LICENSE = "Apache-2.0 OR MIT"4LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=50c79cd7360537975dfbbd15f8d01a34 \
oelint.var.suggestedvar.CVE_PRODUCT meta/recipes-devtools/hyperfine/hyperfine_2.0.0.bb:11SUMMARY = "A command-line benchmarking tool"2HOMEPAGE = "https://github.com/sharkdp/hyperfine"3LICENSE = "Apache-2.0 OR MIT"4LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=50c79cd7360537975dfbbd15f8d01a34 \
Model review (bodnuti-qwen3.8-27b-48k-text): 0 findings
Found by a model, not checked by a person; not counted in the result.
Took 18 min 28 s; 35330 tokens read, 351 written; confidence medium; prompt v5
No findings.
[OE-core][PATCH 3/6] ptest-cargo.bbclass: improve test binary matching
Model review (bodnuti-qwen3.8-27b-48k-text): 0 findings
Found by a model, not checked by a person; not counted in the result.
Took 1 min 53 s; 8837 tokens read, 27 written; confidence high; layer 4: not escalated (touches meta/classes-recipe/ptest-cargo.bbclass): no [review.escalate]; prompt v5
No findings.
[OE-core][PATCH 4/6] ptest-cargo.bbclass: run do_install_ptest_cargo as a postfunc
Model review (bodnuti-qwen3.8-27b-48k-text): 0 findings
Found by a model, not checked by a person; not counted in the result.
Took 7 min 45 s; 18400 tokens read, 15 written; confidence high; layer 4: not escalated (touches meta/classes-recipe/ptest-cargo.bbclass): no [review.escalate]; prompt v5
No findings.
[OE-core][PATCH 5/6] librsvg: make ptest symlink creation idempotent
Model review (bodnuti-qwen3.8-27b-48k-text): 0 findings
Found by a model, not checked by a person; not counted in the result.
Took 12 min 29 s; 30079 tokens read, 17 written; confidence high; prompt v5
No findings.
[OE-core][PATCH 6/6] ptest-cargo.bbclass: don't follow symlinks when chowning
Model review (bodnuti-qwen3.8-27b-48k-text): 1 finding
Found by a model, not checked by a person; not counted in the result.
Took 6 min 44 s; 33136 tokens read, 777 written; confidence medium; layer 4: not escalated (touches meta/classes-recipe/ptest-cargo.bbclass): no [review.escalate]; prompt v5
message meta/classes-recipe/ptest-cargo.bbclassNot checked
patchtest: 62 pass, 1 fail, 27 skip