Hi K,
Add oe-core list and move poky to BCC to ensure follow to the main
oe-core code review list.
On 2022-06-17 03:13, K. wrote:
Fix missing write permissions to avoid problems with applying patches in
particular on compressed filesystems:
ERROR: perl-5.34.1-r0 do_patch: Applying patch
'0001-Somehow-this-module-breaks-through-the-perl-wrapper-.patch' on target
directory
'/home/kayo/devel/elpitech/poc/openbmc/build/evb-ast2600/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/perl/5.34.1-r0/perl-5.34.1'
CmdError('quilt --quiltrc
/home/kayo/devel/elpitech/poc/openbmc/build/evb-ast2600/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/perl/5.34.1-r0/recipe-sysroot-native/etc/quiltrc
push', 0, 'stdout: Applying patch
0001-Somehow-this-module-breaks-through-the-perl-wrapper-.patch
File cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm is read-only; trying to
patch anyway
patching file cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
Hunk #1 succeeded at 1147 (offset 37 lines).
Hunk #2 succeeded at 2086 (offset 77 lines).
patch: setting attribute btrfs.compression for btrfs.compression: Permission
denied
Patch 0001-Somehow-this-module-breaks-through-the-perl-wrapper-.patch does not
apply (enforce with -f)
Signed-off-by: K <k...@illumium.org>
---
meta/recipes-devtools/perl/perl_5.36.0.bb | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/meta/recipes-devtools/perl/perl_5.36.0.bb
b/meta/recipes-devtools/perl/perl_5.36.0.bb
index 4456cdbcfb..6374717ab0 100644
--- a/meta/recipes-devtools/perl/perl_5.36.0.bb
+++ b/meta/recipes-devtools/perl/perl_5.36.0.bb
@@ -45,6 +45,13 @@ PACKAGECONFIG[gdbm] = ",-Ui_gdbm,gdbm"
# Don't generate comments in enc2xs output files. They are not reproducible
export ENC2XS_NO_COMMENTS = "1"
+# Fix missing write permissions to avoid troubles
+# with applying patches on compressed filesystems
+do_fix_perms() {
+ find ${S} -type f ! -perm -u=w -exec chmod u+w {} \;
+}
I've never done a build on btrfs let alone on a compressed btrfs volume.
This does seem like it should affect many patches and not just the perl
ones.
Any idea why only perl was affected and why it only shows up on that FS
type?
This seems like a work-around rather than a proper fix to me so far.
../Randy
+addtask do_fix_perms after do_unpack before do_patch
+
do_configure:prepend() {
cp -rfp ${STAGING_DATADIR_NATIVE}/perl-cross/* ${S}
}
--
# Randy MacLeod
# Wind River Linux
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#167754):
https://lists.openembedded.org/g/openembedded-core/message/167754
Mute This Topic: https://lists.openembedded.org/mt/92220035/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-