From: Wes Malone <wes@mitsi.com>
To: openembedded-core@lists.openembedded.org
Cc: Wes <wes@mitsi.com>
Subject: [wrynose][PATCH] cpan_build: disable .packlist and html doc
Date: Wed, 29 Jul 2026 14:37:45 +0000 (UTC) [thread overview]
Message-ID: <20260729143729.3759497-1-wes@mitsi.com> (raw)
Currently, Makefile.PL-built Perl recipes (cpan.bbclass) exclude
.packlist files with NO_PACKLIST=1, but Build.PL recipes
(cpan_build.bbclass) do not. This now results in a QA error due to the
TMPDIR paths included in the .packlist file.
ERROR: x do_package_qa: QA Issue: File [...]/.packlist in package x
contains reference to TMPDIR [buildpaths]
A similar error is produced by generated html doc.
Here we add the corresponding Build.PL arg to disable packlists and html
doc.
Signed-off-by: Wes Malone <wes@mitsi.com>
---
meta/classes-recipe/cpan_build.bbclass | 7 +++++++
meta/recipes-devtools/perl/libmodule-build-perl_0.4234.bb | 2 --
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/meta/classes-recipe/cpan_build.bbclass b/meta/classes-recipe/cpan_build.bbclass
index 026859b6c7..03289dc21c 100644
--- a/meta/classes-recipe/cpan_build.bbclass
+++ b/meta/classes-recipe/cpan_build.bbclass
@@ -25,6 +25,13 @@ cpan_build_do_configure () {
fi
perl Build.PL --installdirs vendor --destdir ${D} \
+ --create_packlist=0 \
+ --config installhtml1dir= \
+ --config installhtml3dir= \
+ --config installsitehtml1dir= \
+ --config installsitehtml3dir= \
+ --config installvendorhtml1dir= \
+ --config installvendorhtml3dir= \
${EXTRA_CPAN_BUILD_FLAGS}
# Build.PLs can exit with success without generating a
diff --git a/meta/recipes-devtools/perl/libmodule-build-perl_0.4234.bb b/meta/recipes-devtools/perl/libmodule-build-perl_0.4234.bb
index b27a8c15e6..0f992dea6d 100644
--- a/meta/recipes-devtools/perl/libmodule-build-perl_0.4234.bb
+++ b/meta/recipes-devtools/perl/libmodule-build-perl_0.4234.bb
@@ -32,8 +32,6 @@ do_patch_module_build () {
do_patch[postfuncs] += "do_patch_module_build"
-EXTRA_CPAN_BUILD_FLAGS = "--create_packlist=0"
-
do_install:prepend () {
# We do not have a recipe for libpod-parser-perl which is for
# documentation (and is deprecated in favor of Pod::Simple)
next reply other threads:[~2026-07-29 14:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-29 14:37 Wes Malone [this message]
2026-07-29 14:42 ` [OE-core] [wrynose][PATCH] cpan_build: disable .packlist and html doc Yoann Congal
2026-07-29 16:08 ` Wes Malone
2026-07-29 17:19 ` Yoann Congal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260729143729.3759497-1-wes@mitsi.com \
--to=wes@mitsi.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox