mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
8731b9879c
commit
bd1da2aca0
@@ -139,6 +139,11 @@ do_install() {
|
|||||||
# Fix up shared library
|
# Fix up shared library
|
||||||
rm ${D}/${libdir}/perl5/${PV}/*/CORE/libperl.so
|
rm ${D}/${libdir}/perl5/${PV}/*/CORE/libperl.so
|
||||||
ln -sf ../../../../libperl.so.${PERL_LIB_VER} $(echo ${D}/${libdir}/perl5/${PV}/*/CORE)/libperl.so
|
ln -sf ../../../../libperl.so.${PERL_LIB_VER} $(echo ${D}/${libdir}/perl5/${PV}/*/CORE)/libperl.so
|
||||||
|
|
||||||
|
# Try to catch Bug #13946
|
||||||
|
if [ -e ${D}/${libdir}/perl5/${PV}/Storable.pm ]; then
|
||||||
|
bbfatal 'non-arch specific Storable.pm found! See https://bugzilla.yoctoproject.org/show_bug.cgi?id=13946'
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install_append_class-target() {
|
do_install_append_class-target() {
|
||||||
|
|||||||
Reference in New Issue
Block a user