From 14282a02be9c74a1276a7cda7d6c89e054699a11 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 31 Jul 2026 05:12:33 -0700 Subject: [PATCH] libhtml-tree-perl, libmodule-build-tiny-perl: Drop obsolete TMPDIR scrubbing oe-core 3c2bb7bce1 ("cpan_build: disable .packlist and html doc") moved --create_packlist=0 into cpan_build.bbclass and disabled html doc generation there as well. Neither .packlist nor the html docs are generated anymore, so the do_install:append() hooks that sed'ed TMPDIR out of them now run find(1) over paths that no longer exist and hand sed an empty argument list: find: '.../image/usr/share/doc/perl/html/site/lib/HTML/': No such file or directory sed: no input files WARNING: exit code 4 from a shell command. Remove the now dead hooks. Signed-off-by: Khem Raj (cherry picked from commit 9dc293d14de750654684c5214db236826af00b2b) Signed-off-by: Anuj Mittal --- meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.07.bb | 7 ------- .../libmodule/libmodule-build-tiny-perl_0.048.bb | 7 ------- 2 files changed, 14 deletions(-) diff --git a/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.07.bb b/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.07.bb index e6c28578ae..0999c6ee31 100644 --- a/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.07.bb +++ b/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.07.bb @@ -25,13 +25,6 @@ export PERL_USE_UNSAFE_INC = "1" DEPENDS += "libmodule-build-perl-native \ " -do_install:append() { - sed -i \ - -e 's|${TMPDIR}||g' \ - `find ${D}/usr/share/doc/perl/html/site/lib/HTML/ -type f` \ - `find ${D}/usr/lib/perl5 -type f -name .packlist` -} - RPROVIDES:${PN} = " libhtml-element-perl \ libhtml-tree-assubs-perl \ libhtml-tree-perl \ diff --git a/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.048.bb b/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.048.bb index 52c6088b51..76a04b7ad6 100644 --- a/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.048.bb +++ b/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.048.bb @@ -21,13 +21,6 @@ S = "${UNPACKDIR}/Module-Build-Tiny-${PV}" inherit cpan_build ptest-perl -do_install:append() { - sed -i \ - -e 's|${TMPDIR}||g' \ - `find ${D}/usr/lib/perl5 -type f -name .packlist` -} - - RDEPENDS:${PN} += " \ libextutils-config-perl \ libextutils-helpers-perl \