* [PATCH] perl: don't package the host configuration
@ 2020-02-06 22:07 Ross Burton
2020-02-06 22:16 ` Jeremy A. Puhlman
2020-02-06 22:16 ` Alexander Kanavin
0 siblings, 2 replies; 4+ messages in thread
From: Ross Burton @ 2020-02-06 22:07 UTC (permalink / raw)
To: openembedded-core
From: Ross Burton <ross.burton@intel.com>
`make install` installs xconfig.h, which is the configuration of the
*build host* used when building miniperl, used to bootstrap the Perl
build.
As this changes depending on the build host, remove don't install it.
[ YOCTO #13372 ]
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
meta/recipes-devtools/perl/perl_5.30.1.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-devtools/perl/perl_5.30.1.bb b/meta/recipes-devtools/perl/perl_5.30.1.bb
index d4b6bb32b43..8af9dfa4a2c 100644
--- a/meta/recipes-devtools/perl/perl_5.30.1.bb
+++ b/meta/recipes-devtools/perl/perl_5.30.1.bb
@@ -139,6 +139,10 @@ do_install() {
# Fix up shared library
rm ${D}/${libdir}/perl5/${PV}/*/CORE/libperl.so
ln -sf ../../../../libperl.so.${PERL_LIB_VER} $(echo ${D}/${libdir}/perl5/${PV}/*/CORE)/libperl.so
+
+ # This is the native configuration for the bootstrap perl, don't need it
+ # packaged.
+ rm -f ${D}${libdir}/perl5/${PV}/*/CORE/xconfig.h
}
do_install_append_class-target() {
--
2.20.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] perl: don't package the host configuration
2020-02-06 22:07 [PATCH] perl: don't package the host configuration Ross Burton
@ 2020-02-06 22:16 ` Jeremy A. Puhlman
2020-02-06 22:16 ` Alexander Kanavin
1 sibling, 0 replies; 4+ messages in thread
From: Jeremy A. Puhlman @ 2020-02-06 22:16 UTC (permalink / raw)
To: openembedded-core
Should that bug number be 13772 not 13372?
On 2/6/2020 2:07 PM, Ross Burton wrote:
> From: Ross Burton <ross.burton@intel.com>
>
> `make install` installs xconfig.h, which is the configuration of the
> *build host* used when building miniperl, used to bootstrap the Perl
> build.
>
> As this changes depending on the build host, remove don't install it.
>
> [ YOCTO #13372 ]
>
> Signed-off-by: Ross Burton <ross.burton@intel.com>
> ---
> meta/recipes-devtools/perl/perl_5.30.1.bb | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/meta/recipes-devtools/perl/perl_5.30.1.bb b/meta/recipes-devtools/perl/perl_5.30.1.bb
> index d4b6bb32b43..8af9dfa4a2c 100644
> --- a/meta/recipes-devtools/perl/perl_5.30.1.bb
> +++ b/meta/recipes-devtools/perl/perl_5.30.1.bb
> @@ -139,6 +139,10 @@ do_install() {
> # Fix up shared library
> rm ${D}/${libdir}/perl5/${PV}/*/CORE/libperl.so
> ln -sf ../../../../libperl.so.${PERL_LIB_VER} $(echo ${D}/${libdir}/perl5/${PV}/*/CORE)/libperl.so
> +
> + # This is the native configuration for the bootstrap perl, don't need it
> + # packaged.
> + rm -f ${D}${libdir}/perl5/${PV}/*/CORE/xconfig.h
> }
>
> do_install_append_class-target() {
--
Jeremy A. Puhlman
jpuhlman@mvista.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] perl: don't package the host configuration
2020-02-06 22:07 [PATCH] perl: don't package the host configuration Ross Burton
2020-02-06 22:16 ` Jeremy A. Puhlman
@ 2020-02-06 22:16 ` Alexander Kanavin
2020-02-06 22:37 ` Ross Burton
1 sibling, 1 reply; 4+ messages in thread
From: Alexander Kanavin @ 2020-02-06 22:16 UTC (permalink / raw)
To: Ross Burton; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 1531 bytes --]
My patch is more comprehensive, as it also adjusts the ptests ;)
Alex
On Thu, 6 Feb 2020 at 23:07, Ross Burton <ross@burtonini.com> wrote:
> From: Ross Burton <ross.burton@intel.com>
>
> `make install` installs xconfig.h, which is the configuration of the
> *build host* used when building miniperl, used to bootstrap the Perl
> build.
>
> As this changes depending on the build host, remove don't install it.
>
> [ YOCTO #13372 ]
>
> Signed-off-by: Ross Burton <ross.burton@intel.com>
> ---
> meta/recipes-devtools/perl/perl_5.30.1.bb | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/meta/recipes-devtools/perl/perl_5.30.1.bb
> b/meta/recipes-devtools/perl/perl_5.30.1.bb
> index d4b6bb32b43..8af9dfa4a2c 100644
> --- a/meta/recipes-devtools/perl/perl_5.30.1.bb
> +++ b/meta/recipes-devtools/perl/perl_5.30.1.bb
> @@ -139,6 +139,10 @@ do_install() {
> # Fix up shared library
> rm ${D}/${libdir}/perl5/${PV}/*/CORE/libperl.so
> ln -sf ../../../../libperl.so.${PERL_LIB_VER} $(echo
> ${D}/${libdir}/perl5/${PV}/*/CORE)/libperl.so
> +
> + # This is the native configuration for the bootstrap perl, don't need
> it
> + # packaged.
> + rm -f ${D}${libdir}/perl5/${PV}/*/CORE/xconfig.h
> }
>
> do_install_append_class-target() {
> --
> 2.20.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
[-- Attachment #2: Type: text/html, Size: 2607 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] perl: don't package the host configuration
2020-02-06 22:16 ` Alexander Kanavin
@ 2020-02-06 22:37 ` Ross Burton
0 siblings, 0 replies; 4+ messages in thread
From: Ross Burton @ 2020-02-06 22:37 UTC (permalink / raw)
To: Alexander Kanavin; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 1714 bytes --]
Note to self: it’s time to stop working.
On Thu, 6 Feb 2020 at 22:16, Alexander Kanavin <alex.kanavin@gmail.com>
wrote:
> My patch is more comprehensive, as it also adjusts the ptests ;)
>
> Alex
>
> On Thu, 6 Feb 2020 at 23:07, Ross Burton <ross@burtonini.com> wrote:
>
>> From: Ross Burton <ross.burton@intel.com>
>>
>> `make install` installs xconfig.h, which is the configuration of the
>> *build host* used when building miniperl, used to bootstrap the Perl
>> build.
>>
>> As this changes depending on the build host, remove don't install it.
>>
>> [ YOCTO #13372 ]
>>
>> Signed-off-by: Ross Burton <ross.burton@intel.com>
>> ---
>> meta/recipes-devtools/perl/perl_5.30.1.bb | 4 ++++
>> 1 file changed, 4 insertions(+)
>>
>> diff --git a/meta/recipes-devtools/perl/perl_5.30.1.bb
>> b/meta/recipes-devtools/perl/perl_5.30.1.bb
>> index d4b6bb32b43..8af9dfa4a2c 100644
>> --- a/meta/recipes-devtools/perl/perl_5.30.1.bb
>> +++ b/meta/recipes-devtools/perl/perl_5.30.1.bb
>> @@ -139,6 +139,10 @@ do_install() {
>> # Fix up shared library
>> rm ${D}/${libdir}/perl5/${PV}/*/CORE/libperl.so
>> ln -sf ../../../../libperl.so.${PERL_LIB_VER} $(echo
>> ${D}/${libdir}/perl5/${PV}/*/CORE)/libperl.so
>> +
>> + # This is the native configuration for the bootstrap perl, don't
>> need it
>> + # packaged.
>> + rm -f ${D}${libdir}/perl5/${PV}/*/CORE/xconfig.h
>> }
>>
>> do_install_append_class-target() {
>> --
>> 2.20.1
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>>
>
[-- Attachment #2: Type: text/html, Size: 3167 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-02-06 22:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-06 22:07 [PATCH] perl: don't package the host configuration Ross Burton
2020-02-06 22:16 ` Jeremy A. Puhlman
2020-02-06 22:16 ` Alexander Kanavin
2020-02-06 22:37 ` Ross Burton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.