| Message ID | 20261201023749.2889164-2-tim.orling@konsulko.com |
|---|---|
| State | Changes Requested |
| Headers | show |
| Series | [meta-perl,1/2] libsub-quote-perl: add recipe | expand |
On Mon, Nov 30, 2026 at 6:37 PM Tim Orling <tim.orling@konsulko.com> wrote: > -DESCRIPTION = "This module us an extremely light-weight subset of \"Moose\" \ > -optimised for rapid startup and \"pay only for what you use\"." > +DESCRIPTION = "This module us an extremely light-weight subset of 'Moose' \ > +optimised for rapid startup and 'pay only for what you use'." While you are here, fix "us" -> "is" typo too. > + libsub-quote-perl \ > + perl-module-carp-heavy \ Moo uses Carp directly in several modules and lists it in its runtime prereqs, but perl-module-carp is not in RDEPENDS, it comes in indirectly via libsub-quote-perl. Please add it explicitly. Also, Moo 2.005005 seems to not require Module::Runtime or Devel::GlobalDestruction so libmodule-runtime-perl and libdevel-globaldestruction-perl can go from RDEPENDS. Fine as a separate patch. -Khem
diff --git a/meta-perl/recipes-perl/libmoo/libmoo-perl_2.005005.bb b/meta-perl/recipes-perl/libmoo/libmoo-perl_2.005005.bb index cd1343f82f..80434436b4 100644 --- a/meta-perl/recipes-perl/libmoo/libmoo-perl_2.005005.bb +++ b/meta-perl/recipes-perl/libmoo/libmoo-perl_2.005005.bb @@ -1,6 +1,6 @@ SUMMARY = "Moo - Minimalist Object Orientation (with Moose compatibility)" -DESCRIPTION = "This module us an extremely light-weight subset of \"Moose\" \ -optimised for rapid startup and \"pay only for what you use\"." +DESCRIPTION = "This module us an extremely light-weight subset of 'Moose' \ +optimised for rapid startup and 'pay only for what you use'." SECTION = "libs" @@ -20,6 +20,8 @@ RDEPENDS:${PN} = " libclass-method-modifiers-perl \ libdevel-globaldestruction-perl \ libmodule-runtime-perl \ librole-tiny-perl \ + libsub-quote-perl \ + perl-module-carp-heavy \ perl-module-constant \ perl-module-exporter \ perl-module-mro \ @@ -36,8 +38,6 @@ RPROVIDES:${PN} = " libmethod-inliner-perl \ libmoo-handlemoose-fakemetaclass-perl \ libmoo-object-perl \ libmoo-role-perl \ - libsub-defer-perl \ - libsub-quote-perl \ " BBCLASSEXTEND = "native"
Moo no longer ships Sub::Quote and Sub::Defer, but the recipe still lists libsub-quote-perl and libsub-defer-perl in RPROVIDES, so nothing installs them. Any class with a "has" attribute then fails with "Can't locate Sub/Quote.pm". Method::Generate::Constructor also uses Carp::Heavy, which nothing in RDEPENDS pulls in. Drop the stale RPROVIDES and add libsub-quote-perl and perl-module-carp-heavy to RDEPENDS. Tested on qemux86-64 with a Moo class with default and required attributes. While here, use single quotes instead of escaped double quotes in DESCRIPTION. oelint-adv's multilineident rule crashes on escaped quotes in the first line of a multi-line value. AI-Generated: Uses Claude Code (Claude Opus 5.5) Signed-off-by: Tim Orling <tim.orling@konsulko.com> --- meta-perl/recipes-perl/libmoo/libmoo-perl_2.005005.bb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)