summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2020-08-12 19:37:03 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-08-13 14:49:42 +0100
commitbd1da2aca0bc26720f438a9c1d54f5b04084da4e (patch)
tree1718742ac9e2d51ee3e8e66fbe52aec63b239bee /meta/recipes-devtools
parent8731b9879c0bf656a7fa82cf941bee5750825666 (diff)
downloadpoky-bd1da2aca0bc26720f438a9c1d54f5b04084da4e.tar.gz
perl: Add check for non-arch Storable.pm file
Under unknown conditions, Storable.pm will be placed in the base library directory instead of under the arch specific one. This causes build issues, see https://bugzilla.yoctoproject.org/show_bug.cgi?id=13946. To try and catch this happening, add an explicit check for the bad file existing and fail the build if it is found. [YOCTO #13946] (From OE-Core rev: 140ec7b71b71a23ebeae12c63ed1c1ac2c227097) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/perl/perl_5.32.0.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.32.0.bb b/meta/recipes-devtools/perl/perl_5.32.0.bb
index c10ce12303..bba8263b90 100644
--- a/meta/recipes-devtools/perl/perl_5.32.0.bb
+++ b/meta/recipes-devtools/perl/perl_5.32.0.bb
@@ -139,6 +139,11 @@ do_install() {
139 # Fix up shared library 139 # Fix up shared library
140 rm ${D}/${libdir}/perl5/${PV}/*/CORE/libperl.so 140 rm ${D}/${libdir}/perl5/${PV}/*/CORE/libperl.so
141 ln -sf ../../../../libperl.so.${PERL_LIB_VER} $(echo ${D}/${libdir}/perl5/${PV}/*/CORE)/libperl.so 141 ln -sf ../../../../libperl.so.${PERL_LIB_VER} $(echo ${D}/${libdir}/perl5/${PV}/*/CORE)/libperl.so
142
143 # Try to catch Bug #13946
144 if [ -e ${D}/${libdir}/perl5/${PV}/Storable.pm ]; then
145 bbfatal 'non-arch specific Storable.pm found! See https://bugzilla.yoctoproject.org/show_bug.cgi?id=13946'
146 fi
142} 147}
143 148
144do_install_append_class-target() { 149do_install_append_class-target() {