Perl packages shouldn't be allarch
RFC PATCH 1/1 Perl packages shouldn't be allarch
Hi,
I recently found that perl packages are broken in multilib builds. On a lib32 image, everything including perl is lib32 and installs to /usr/lib. These perl packages are "all" arch, which is fine except that they install to /usr/lib64. They won't work because the lib32 perl thinks its vendorlib is under /usr/lib.
Removing allarch seems to solve the problem, but I want to see if people have some comments.
I found the original commit that introduced the change, which was to fix an sstate related issue (https://bugzilla.yoctoproject.org/show_bug.cgi?id=1075).
But I don't think these packages fit well with allarch, since they install into arch-specific dirs.
jesse
Jesse Zhang (1):
Perl packages shouldn't be allarch
meta/recipes-extended/perl/libconvert-asn1-perl_0.26.bb | 2 +- meta/recipes-extended/perl/libtimedate-perl_2.30.bb | 2 +- meta/recipes-extended/perl/libxml-namespacesupport-perl_1.11.bb | 2 +- meta/recipes-extended/perl/libxml-sax-base-perl_1.08.bb | 2 +- meta/recipes-extended/perl/libxml-sax-perl_0.99.bb | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)
Signature · 1 line
1.7.11.7
PATCH 1/1 Perl packages shouldn't be allarch
Perl packages should know about arch so that they could install to the correct libdir. Or else they always install to the default libdir in multilib builds.
--- meta/recipes-extended/perl/libconvert-asn1-perl_0.26.bb | 2 +- meta/recipes-extended/perl/libtimedate-perl_2.30.bb | 2 +- meta/recipes-extended/perl/libxml-namespacesupport-perl_1.11.bb | 2 +- meta/recipes-extended/perl/libxml-sax-base-perl_1.08.bb | 2 +- meta/recipes-extended/perl/libxml-sax-perl_0.99.bb | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)
meta/recipes-extended/perl/libconvert-asn1-perl_0.26.bb +1 -1
@@ -11,7 +11,7 @@ SRC_URI[sha256sum] = "5db8b62fa0d036bd0cabc869ffe17941ad587d9a2af1ff030d554872ad S = "${WORKDIR}/Convert-ASN1-${PV}" -inherit cpan allarch +inherit cpan EXTRA_PERLFLAGS = "-I ${STAGING_LIBDIR_NATIVE}/perl-native/perl/${@get_perl_version(d)}"
meta/recipes-extended/perl/libtimedate-perl_2.30.bb +1 -1
@@ -9,7 +9,7 @@ SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/TimeDate-${PV}.tar. S = "${WORKDIR}/TimeDate-${PV}" -inherit cpan allarch +inherit cpan BBCLASSEXTEND = "native"
meta/recipes-extended/perl/libxml-namespacesupport-perl_1.11.bb +1 -1
@@ -16,7 +16,7 @@ SRC_URI[sha256sum] = "6d8151f0a3f102313d76b64bfd1c2d9ed46bfe63a16f038e7d860fda28 S = "${WORKDIR}/XML-NamespaceSupport-${PV}" -inherit cpan allarch +inherit cpan BBCLASSEXTEND="native"
meta/recipes-extended/perl/libxml-sax-base-perl_1.08.bb +1 -1
@@ -19,6 +19,6 @@ SRC_URI[sha256sum] = "666270318b15f88b8427e585198abbc19bc2e6ccb36dc4c0a4f2d98073 S = "${WORKDIR}/XML-SAX-Base-${PV}" -inherit cpan allarch +inherit cpan BBCLASSEXTEND = "native"
meta/recipes-extended/perl/libxml-sax-perl_0.99.bb +1 -1
@@ -22,6 +22,6 @@ SRC_URI[sha256sum] = "32b04b8e36b6cc4cfc486de2d859d87af5386dd930f2383c49347050d6 S = "${WORKDIR}/XML-SAX-${PV}" -inherit cpan allarch +inherit cpan BBCLASSEXTEND = "native"
Signature · 1 line
1.7.11.7
Ping. Anyone has comments?
jesse
Quoted 27 lines · Jesse Zhang
Hi,
I recently found that perl packages are broken in multilib builds. On a lib32 image, everything including perl is lib32 and installs to
/usr/lib. These perl packages are "all" arch, which is fine except that they install to/usr/lib64. They won't work because the lib32 perl thinks its vendorlib is under/usr/lib.Removing allarch seems to solve the problem, but I want to see if people have some comments.
I found the original commit that introduced the change, which was to fix an sstate related issue (https://bugzilla.yoctoproject.org/show_bug.cgi?id=1075).
But I don't think these packages fit well with allarch, since they install into arch-specific dirs.jesse
Jesse Zhang (1):
Perl packages shouldn't be allarchmeta/recipes-extended/perl/libconvert-asn1-perl_0.26.bb | 2 +- meta/recipes-extended/perl/libtimedate-perl_2.30.bb | 2 +- meta/recipes-extended/perl/libxml-namespacesupport-perl_1.11.bb | 2 +- meta/recipes-extended/perl/libxml-sax-base-perl_1.08.bb | 2 +- meta/recipes-extended/perl/libxml-sax-perl_0.99.bb | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)
It's already checked in. Sorry for the noise..
jesse
Quoted 39 lines · Jesse Zhang
Ping. Anyone has comments?
jesse
Quoted 20 lines · Jesse Zhang
Hi,
I recently found that perl packages are broken in multilib builds. On a lib32 image, everything including perl is lib32 and installs to
/usr/lib. These perl packages are "all" arch, which is fine except that they install to/usr/lib64. They won't work because the lib32 perl thinks its vendorlib is under/usr/lib.Removing allarch seems to solve the problem, but I want to see if people have some comments.
I found the original commit that introduced the change, which was to fix an sstate related issue (https://bugzilla.yoctoproject.org/show_bug.cgi?id=1075).
But I don't think these packages fit well with allarch, since they install into arch-specific dirs.jesse
Jesse Zhang (1):
Perl packages shouldn't be allarchQuoted 7 lines
meta/recipes-extended/perl/libconvert-asn1-perl_0.26.bb | 2 +- meta/recipes-extended/perl/libtimedate-perl_2.30.bb | 2 +- meta/recipes-extended/perl/libxml-namespacesupport-perl_1.11.bb | 2 +- meta/recipes-extended/perl/libxml-sax-base-perl_1.08.bb | 2 +- meta/recipes-extended/perl/libxml-sax-perl_0.99.bb | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core