bodnuti

Deterministic checks of Yocto Project & OpenEmbedded patches.


[PATCH 0/5] perl: generate module dependencies with perl.req

List
openembedded-core
Thread
lore
Author
Tim Orling
Last message
2026-11-30 01:14
Result
5 findings ยท 6 style findings
Checked against
openembedded-core master
Base
39019629a4ad

[PATCH 1/5] perl-generators-native: add recipe for 1.16

warning oelint oelint.var.inheritdevtool.native meta/recipes-devtools/rpm/perl-generators-native_1.16.bb:19
It is better to use inherit_defer for native, to enable proper devtool integration
1617S = "${UNPACKDIR}/generators-${PV}"1819inherit native2021# Scripts only, run with the host perl (HOSTTOOLS)22do_configure[noexec] = "1"

Model, unverified: The recipe uses `inherit native` which oelint flags in favor of `inherit_defer native`. Fix: Replace `inherit native` with `inherit_defer native` to improve devtool integration, per current OE style.

warning oelint oelint.var.inheritlast.native meta/recipes-devtools/rpm/perl-generators-native_1.16.bb:19
native needs to be inherited last
1617S = "${UNPACKDIR}/generators-${PV}"1819inherit native2021# Scripts only, run with the host perl (HOSTTOOLS)22do_configure[noexec] = "1"

Model, unverified: oelint warns that native must be inherited last, though in this recipe it is the only inherit and thus trivially last. Fix: Ensure `inherit native` (or `inherit_defer native`) is the last inherit statement in the recipe; here it already is (line 19 is the only inherit), so this is a false positive from the lint tool.

info oelint oelint.file.inappropriatemsg meta/recipes-devtools/rpm/perl-generators-native_1.16.bb:11
Patch '0002-perl.req-optionally-report-indented-require.patch' with Upstream-Status Inappropriate has to have a reasoning appended in [], chosen from oe-specific,OE specific,oe-core specific,not author,native,licensing,configuration,enable feature,disable feature,bugfix .*,embedded specific,no upstream,other,upstream ticket .*
 8LICENSE = "GPL-1.0-or-later" 9LIC_FILES_CHKSUM = "file://template/bin/perl.req;beginline=3;endline=5;md5=7e481c192a18a8dbf8ed22f568489e1e"1011SRC_URI = "https://jplesnik.fedorapeople.org/generators/generators-${PV}.tar.gz \12           file://0001-perl.req-make-Fedora-VSP-optional.patch \13           file://0002-perl.req-optionally-report-indented-require.patch \14           "

Model, unverified: The Upstream-Status line in patch 0002 uses capital 'OE-specific' which oelint's pattern does not accept. Fix: The patch header uses `Inappropriate [OE-specific: used to generate perl-rdepends.txt]` which oelint's regex does not match; reword to `Inappropriate [oe-specific: used to generate perl-rdepends.txt]` to satisfy the linter.

Model, unverified: The Upstream-Status line in patch 0001 uses capital 'OE-specific' which oelint's pattern does not accept. Fix: Reword to `Inappropriate [oe-specific: avoids Fedora::VSP dependency]` to match oelint's accepted token list.

info oelint oelint.file.inappropriatemsg meta/recipes-devtools/rpm/perl-generators-native_1.16.bb:11
Patch '0001-perl.req-make-Fedora-VSP-optional.patch' with Upstream-Status Inappropriate has to have a reasoning appended in [], chosen from oe-specific,OE specific,oe-core specific,not author,native,licensing,configuration,enable feature,disable feature,bugfix .*,embedded specific,no upstream,other,upstream ticket .*
 8LICENSE = "GPL-1.0-or-later" 9LIC_FILES_CHKSUM = "file://template/bin/perl.req;beginline=3;endline=5;md5=7e481c192a18a8dbf8ed22f568489e1e"1011SRC_URI = "https://jplesnik.fedorapeople.org/generators/generators-${PV}.tar.gz \12           file://0001-perl.req-make-Fedora-VSP-optional.patch \13           file://0002-perl.req-optionally-report-indented-require.patch \14           "

Model, unverified: The Upstream-Status line in patch 0002 uses capital 'OE-specific' which oelint's pattern does not accept. Fix: The patch header uses `Inappropriate [OE-specific: used to generate perl-rdepends.txt]` which oelint's regex does not match; reword to `Inappropriate [oe-specific: used to generate perl-rdepends.txt]` to satisfy the linter.

Model, unverified: The Upstream-Status line in patch 0001 uses capital 'OE-specific' which oelint's pattern does not accept. Fix: Reword to `Inappropriate [oe-specific: avoids Fedora::VSP dependency]` to match oelint's accepted token list.

Show 6 style findings
warning oelint oelint.tabs.notabs meta/recipes-devtools/rpm/perl-generators-native_1.16.bb:25
Don't use tabs use spaces
22do_configure[noexec] = "1"23do_compile[noexec] = "1"2425do_install() {26	install -d ${D}${libdir}/rpm/fileattrs27	for f in perl.prov perl.req; do28		sed -e 's/__PERL_NS__/perl/' -e 's/__PERL_SUFFIX__//' \
info oelint oelint.var.suggestedvar.BUGTRACKER meta/recipes-devtools/rpm/perl-generators-native_1.16.bb:1
Variable 'BUGTRACKER' should be set
1SUMMARY = "RPM Perl dependency generators"2DESCRIPTION = "perl.prov and perl.req scripts, and rpm fileattrs, which \3generate perl(Module::Name) Provides and Requires for Perl modules and \4scripts. These were part of rpm until 4.20 and are now maintained \
info oelint oelint.var.suggestedvar.CVE_PRODUCT meta/recipes-devtools/rpm/perl-generators-native_1.16.bb:1
Variable 'CVE_PRODUCT' should be set
1SUMMARY = "RPM Perl dependency generators"2DESCRIPTION = "perl.prov and perl.req scripts, and rpm fileattrs, which \3generate perl(Module::Name) Provides and Requires for Perl modules and \4scripts. These were part of rpm until 4.20 and are now maintained \
info oelint oelint.vars.multilineident meta/recipes-devtools/rpm/perl-generators-native_1.16.bb:3
On a multiline assignment, line indent is desirable. 0 set, 15 desirable
1SUMMARY = "RPM Perl dependency generators"2DESCRIPTION = "perl.prov and perl.req scripts, and rpm fileattrs, which \3generate perl(Module::Name) Provides and Requires for Perl modules and \4scripts. These were part of rpm until 4.20 and are now maintained \5separately by Fedora."6HOMEPAGE = "https://github.com/jplesnik/generators"
info oelint oelint.vars.multilineident meta/recipes-devtools/rpm/perl-generators-native_1.16.bb:4
On a multiline assignment, line indent is desirable. 0 set, 15 desirable
1SUMMARY = "RPM Perl dependency generators"2DESCRIPTION = "perl.prov and perl.req scripts, and rpm fileattrs, which \3generate perl(Module::Name) Provides and Requires for Perl modules and \4scripts. These were part of rpm until 4.20 and are now maintained \5separately by Fedora."6HOMEPAGE = "https://github.com/jplesnik/generators"7SECTION = "devel"
info oelint oelint.vars.multilineident meta/recipes-devtools/rpm/perl-generators-native_1.16.bb:5
On a multiline assignment, line indent is desirable. 0 set, 15 desirable
2DESCRIPTION = "perl.prov and perl.req scripts, and rpm fileattrs, which \3generate perl(Module::Name) Provides and Requires for Perl modules and \4scripts. These were part of rpm until 4.20 and are now maintained \5separately by Fedora."6HOMEPAGE = "https://github.com/jplesnik/generators"7SECTION = "devel"8LICENSE = "GPL-1.0-or-later"
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 29 s; 20838 tokens read, 357 written; confidence medium; prompt v5

No findings.

[PATCH 2/5] classes/package: add perl-generators-native to PACKAGE_DEPENDS

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 2 min 21 s; 9020 tokens read, 13 written; confidence high; layer 4: not escalated (touches meta/classes-global/package.bbclass): no [review.escalate]; prompt v5

No findings.

[PATCH 3/5] classes/insane: add perl-rdeps QA check

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 21 min 53 s; 19747 tokens read, 318 written; confidence low; layer 4: not escalated (layer 3 confidence is low): no [review.escalate]; prompt v5

No findings.

[PATCH 4/5] perl: do not install unicore/TestNorm.pl

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 3 min 38 s; 15629 tokens read, 10 written; confidence low; layer 4: not escalated (layer 3 confidence is low): no [review.escalate]; prompt v5

No findings.

[PATCH 5/5] perl: generate perl-rdepends.txt with perl.req

warning oelint oelint.task.nopythonprefix meta/recipes-devtools/perl/perl_5.44.0.bb:392
Tasks that don't contain valid python code (e.g. shell code), should not be prefixed with python in function header
389390# Regenerate files/perl-rdepends.txt from the split module packages. Written391# with the help of an AI tool (Claude Code).392python do_create_rdepends_inc() {393    import oe.package394395    preamble = """
Model review (bodnuti-qwen3.8-27b-48k-text): not reviewed

Found by a model, not checked by a person; not counted in the result.

Prompt v5

Not reviewed: the patch does not fit context_tokens = 49152 with max_tokens = 16000

patchtest: 56 pass, 0 fail, 19 skip

Text report