Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH v2] perl: native modules will not trigger build perl for target.
@ 2017-12-04 18:16 Krzysztof Taborski
  2017-12-08 17:46 ` Krzysztof Taborski
       [not found] ` <00b201d3704c$8357c870$8a075950$@gmail.com>
  0 siblings, 2 replies; 6+ messages in thread
From: Krzysztof Taborski @ 2017-12-04 18:16 UTC (permalink / raw)
  To: openembedded-core; +Cc: Krzysztof Taborski

Currently building perl-native modules triggers
build perl for target due to PACKAGES_DYNAMIC regex.

This commit will cause, that perl native modules will
trigger perl-native build.

Signed-off-by: Krzysztof Taborski <taborskikrzysztof@gmail.com>
---
 meta/recipes-devtools/perl/perl-native_5.24.1.bb | 2 ++
 meta/recipes-devtools/perl/perl_5.24.1.bb        | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/perl/perl-native_5.24.1.bb b/meta/recipes-devtools/perl/perl-native_5.24.1.bb
index 48113f05a9..a81dc4d703 100644
--- a/meta/recipes-devtools/perl/perl-native_5.24.1.bb
+++ b/meta/recipes-devtools/perl/perl-native_5.24.1.bb
@@ -134,3 +134,5 @@ EOF
 
 # Fix the path in sstate
 SSTATE_SCAN_FILES += "*.pm *.pod *.h *.pl *.sh"
+PACKAGES_DYNAMIC_class-native += "^perl-module-.*native$"
+
diff --git a/meta/recipes-devtools/perl/perl_5.24.1.bb b/meta/recipes-devtools/perl/perl_5.24.1.bb
index 6b27b22d22..3dc7805da9 100644
--- a/meta/recipes-devtools/perl/perl_5.24.1.bb
+++ b/meta/recipes-devtools/perl/perl_5.24.1.bb
@@ -323,7 +323,7 @@ python split_perl_packages () {
     d.setVar(d.expand("RRECOMMENDS_${PN}-modules"), ' '.join(packages))
 }
 
-PACKAGES_DYNAMIC += "^perl-module-.*"
+PACKAGES_DYNAMIC += "^perl-module-.*(?<!\-native)$"
 PACKAGES_DYNAMIC_class-nativesdk += "^nativesdk-perl-module-.*"
 
 RPROVIDES_perl-lib = "perl-lib"
-- 
2.13.6



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH v2] perl: native modules will not trigger build perl for target.
  2017-12-04 18:16 [PATCH v2] perl: native modules will not trigger build perl for target Krzysztof Taborski
@ 2017-12-08 17:46 ` Krzysztof Taborski
       [not found] ` <00b201d3704c$8357c870$8a075950$@gmail.com>
  1 sibling, 0 replies; 6+ messages in thread
From: Krzysztof Taborski @ 2017-12-08 17:46 UTC (permalink / raw)
  To: openembedded-core

Hello,
I would like to request feedback about my patch.

Br,
Krzysztof Taborski

-----Original Message-----
From: Krzysztof Taborski [mailto:taborskikrzysztof@gmail.com] 
Sent: Monday, December 04, 2017 7:17 PM
To: openembedded-core@lists.openembedded.org
Cc: Krzysztof Taborski
Subject: [OE-core][PATCH v2] perl: native modules will not trigger build
perl for target.

Currently building perl-native modules triggers build perl for target due to
PACKAGES_DYNAMIC regex.

This commit will cause, that perl native modules will trigger perl-native
build.

Signed-off-by: Krzysztof Taborski <taborskikrzysztof@gmail.com>
---
 meta/recipes-devtools/perl/perl-native_5.24.1.bb | 2 ++
 meta/recipes-devtools/perl/perl_5.24.1.bb        | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/perl/perl-native_5.24.1.bb
b/meta/recipes-devtools/perl/perl-native_5.24.1.bb
index 48113f05a9..a81dc4d703 100644
--- a/meta/recipes-devtools/perl/perl-native_5.24.1.bb
+++ b/meta/recipes-devtools/perl/perl-native_5.24.1.bb
@@ -134,3 +134,5 @@ EOF
 
 # Fix the path in sstate
 SSTATE_SCAN_FILES += "*.pm *.pod *.h *.pl *.sh"
+PACKAGES_DYNAMIC_class-native += "^perl-module-.*native$"
+
diff --git a/meta/recipes-devtools/perl/perl_5.24.1.bb
b/meta/recipes-devtools/perl/perl_5.24.1.bb
index 6b27b22d22..3dc7805da9 100644
--- a/meta/recipes-devtools/perl/perl_5.24.1.bb
+++ b/meta/recipes-devtools/perl/perl_5.24.1.bb
@@ -323,7 +323,7 @@ python split_perl_packages () {
     d.setVar(d.expand("RRECOMMENDS_${PN}-modules"), ' '.join(packages))  }
 
-PACKAGES_DYNAMIC += "^perl-module-.*"
+PACKAGES_DYNAMIC += "^perl-module-.*(?<!\-native)$"
 PACKAGES_DYNAMIC_class-nativesdk += "^nativesdk-perl-module-.*"
 
 RPROVIDES_perl-lib = "perl-lib"
--
2.13.6




^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH v2] perl: native modules will not trigger build perl for target.
       [not found] ` <00b201d3704c$8357c870$8a075950$@gmail.com>
@ 2017-12-12  8:34   ` Krzysztof Taborski
  2017-12-18 15:51     ` Krzysztof Taborski
  0 siblings, 1 reply; 6+ messages in thread
From: Krzysztof Taborski @ 2017-12-12  8:34 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 2061 bytes --]

kindly reminder

2017-12-08 18:46 GMT+01:00 Krzysztof Taborski <taborskikrzysztof@gmail.com>:

> Hello,
> I would like to request feedback about my patch.
>
> Br,
> Krzysztof Taborski
>
> -----Original Message-----
> From: Krzysztof Taborski [mailto:taborskikrzysztof@gmail.com]
> Sent: Monday, December 04, 2017 7:17 PM
> To: openembedded-core@lists.openembedded.org
> Cc: Krzysztof Taborski
> Subject: [OE-core][PATCH v2] perl: native modules will not trigger build
> perl for target.
>
> Currently building perl-native modules triggers build perl for target due
> to PACKAGES_DYNAMIC regex.
>
> This commit will cause, that perl native modules will trigger perl-native
> build.
>
> Signed-off-by: Krzysztof Taborski <taborskikrzysztof@gmail.com>
> ---
>  meta/recipes-devtools/perl/perl-native_5.24.1.bb | 2 ++
>  meta/recipes-devtools/perl/perl_5.24.1.bb        | 2 +-
>  2 files changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/perl/perl-native_5.24.1.bb
> b/meta/recipes-devtools/perl/perl-native_5.24.1.bb
> index 48113f05a9..a81dc4d703 100644
> --- a/meta/recipes-devtools/perl/perl-native_5.24.1.bb
> +++ b/meta/recipes-devtools/perl/perl-native_5.24.1.bb
> @@ -134,3 +134,5 @@ EOF
>
>  # Fix the path in sstate
>  SSTATE_SCAN_FILES += "*.pm *.pod *.h *.pl *.sh"
> +PACKAGES_DYNAMIC_class-native += "^perl-module-.*native$"
> +
> diff --git a/meta/recipes-devtools/perl/perl_5.24.1.bb
> b/meta/recipes-devtools/perl/perl_5.24.1.bb
> index 6b27b22d22..3dc7805da9 100644
> --- a/meta/recipes-devtools/perl/perl_5.24.1.bb
> +++ b/meta/recipes-devtools/perl/perl_5.24.1.bb
> @@ -323,7 +323,7 @@ python split_perl_packages () {
>      d.setVar(d.expand("RRECOMMENDS_${PN}-modules"), ' '.join(packages))
> }
>
> -PACKAGES_DYNAMIC += "^perl-module-.*"
> +PACKAGES_DYNAMIC += "^perl-module-.*(?<!\-native)$"
>  PACKAGES_DYNAMIC_class-nativesdk += "^nativesdk-perl-module-.*"
>
>  RPROVIDES_perl-lib = "perl-lib"
> --
> 2.13.6
>
>


-- 
Pozdrawiam,
Krzysiek Taborski

[-- Attachment #2: Type: text/html, Size: 3714 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2] perl: native modules will not trigger build perl for target.
  2017-12-12  8:34   ` Krzysztof Taborski
@ 2017-12-18 15:51     ` Krzysztof Taborski
  2018-05-08 13:08       ` Krzysztof Taborski
  0 siblings, 1 reply; 6+ messages in thread
From: Krzysztof Taborski @ 2017-12-18 15:51 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 2266 bytes --]

ping

2017-12-12 9:34 GMT+01:00 Krzysztof Taborski <taborskikrzysztof@gmail.com>:

> kindly reminder
>
> 2017-12-08 18:46 GMT+01:00 Krzysztof Taborski <taborskikrzysztof@gmail.com
> >:
>
>> Hello,
>> I would like to request feedback about my patch.
>>
>> Br,
>> Krzysztof Taborski
>>
>> -----Original Message-----
>> From: Krzysztof Taborski [mailto:taborskikrzysztof@gmail.com]
>> Sent: Monday, December 04, 2017 7:17 PM
>> To: openembedded-core@lists.openembedded.org
>> Cc: Krzysztof Taborski
>> Subject: [OE-core][PATCH v2] perl: native modules will not trigger build
>> perl for target.
>>
>> Currently building perl-native modules triggers build perl for target due
>> to PACKAGES_DYNAMIC regex.
>>
>> This commit will cause, that perl native modules will trigger perl-native
>> build.
>>
>> Signed-off-by: Krzysztof Taborski <taborskikrzysztof@gmail.com>
>> ---
>>  meta/recipes-devtools/perl/perl-native_5.24.1.bb | 2 ++
>>  meta/recipes-devtools/perl/perl_5.24.1.bb        | 2 +-
>>  2 files changed, 3 insertions(+), 1 deletion(-)
>>
>> diff --git a/meta/recipes-devtools/perl/perl-native_5.24.1.bb
>> b/meta/recipes-devtools/perl/perl-native_5.24.1.bb
>> index 48113f05a9..a81dc4d703 100644
>> --- a/meta/recipes-devtools/perl/perl-native_5.24.1.bb
>> +++ b/meta/recipes-devtools/perl/perl-native_5.24.1.bb
>> @@ -134,3 +134,5 @@ EOF
>>
>>  # Fix the path in sstate
>>  SSTATE_SCAN_FILES += "*.pm *.pod *.h *.pl *.sh"
>> +PACKAGES_DYNAMIC_class-native += "^perl-module-.*native$"
>> +
>> diff --git a/meta/recipes-devtools/perl/perl_5.24.1.bb
>> b/meta/recipes-devtools/perl/perl_5.24.1.bb
>> index 6b27b22d22..3dc7805da9 100644
>> --- a/meta/recipes-devtools/perl/perl_5.24.1.bb
>> +++ b/meta/recipes-devtools/perl/perl_5.24.1.bb
>> @@ -323,7 +323,7 @@ python split_perl_packages () {
>>      d.setVar(d.expand("RRECOMMENDS_${PN}-modules"), ' '.join(packages))
>> }
>>
>> -PACKAGES_DYNAMIC += "^perl-module-.*"
>> +PACKAGES_DYNAMIC += "^perl-module-.*(?<!\-native)$"
>>  PACKAGES_DYNAMIC_class-nativesdk += "^nativesdk-perl-module-.*"
>>
>>  RPROVIDES_perl-lib = "perl-lib"
>> --
>> 2.13.6
>>
>>
>
>
> --
> Pozdrawiam,
> Krzysiek Taborski
>



-- 
Pozdrawiam,
Krzysiek Taborski

[-- Attachment #2: Type: text/html, Size: 4465 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2] perl: native modules will not trigger build perl for target.
  2017-12-18 15:51     ` Krzysztof Taborski
@ 2018-05-08 13:08       ` Krzysztof Taborski
  2018-05-08 14:11         ` Alexander Kanavin
  0 siblings, 1 reply; 6+ messages in thread
From: Krzysztof Taborski @ 2018-05-08 13:08 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 2507 bytes --]

Could someone look at this?

2017-12-18 16:51 GMT+01:00 Krzysztof Taborski <taborskikrzysztof@gmail.com>:

> ping
>
> 2017-12-12 9:34 GMT+01:00 Krzysztof Taborski <taborskikrzysztof@gmail.com>
> :
>
>> kindly reminder
>>
>> 2017-12-08 18:46 GMT+01:00 Krzysztof Taborski <
>> taborskikrzysztof@gmail.com>:
>>
>>> Hello,
>>> I would like to request feedback about my patch.
>>>
>>> Br,
>>> Krzysztof Taborski
>>>
>>> -----Original Message-----
>>> From: Krzysztof Taborski [mailto:taborskikrzysztof@gmail.com]
>>> Sent: Monday, December 04, 2017 7:17 PM
>>> To: openembedded-core@lists.openembedded.org
>>> Cc: Krzysztof Taborski
>>> Subject: [OE-core][PATCH v2] perl: native modules will not trigger build
>>> perl for target.
>>>
>>> Currently building perl-native modules triggers build perl for target due
>>> to PACKAGES_DYNAMIC regex.
>>>
>>> This commit will cause, that perl native modules will trigger perl-native
>>> build.
>>>
>>> Signed-off-by: Krzysztof Taborski <taborskikrzysztof@gmail.com>
>>> ---
>>>  meta/recipes-devtools/perl/perl-native_5.24.1.bb | 2 ++
>>>  meta/recipes-devtools/perl/perl_5.24.1.bb        | 2 +-
>>>  2 files changed, 3 insertions(+), 1 deletion(-)
>>>
>>> diff --git a/meta/recipes-devtools/perl/perl-native_5.24.1.bb
>>> b/meta/recipes-devtools/perl/perl-native_5.24.1.bb
>>> index 48113f05a9..a81dc4d703 100644
>>> --- a/meta/recipes-devtools/perl/perl-native_5.24.1.bb
>>> +++ b/meta/recipes-devtools/perl/perl-native_5.24.1.bb
>>> @@ -134,3 +134,5 @@ EOF
>>>
>>>  # Fix the path in sstate
>>>  SSTATE_SCAN_FILES += "*.pm *.pod *.h *.pl *.sh"
>>> +PACKAGES_DYNAMIC_class-native += "^perl-module-.*native$"
>>> +
>>> diff --git a/meta/recipes-devtools/perl/perl_5.24.1.bb
>>> b/meta/recipes-devtools/perl/perl_5.24.1.bb
>>> index 6b27b22d22..3dc7805da9 100644
>>> --- a/meta/recipes-devtools/perl/perl_5.24.1.bb
>>> +++ b/meta/recipes-devtools/perl/perl_5.24.1.bb
>>> @@ -323,7 +323,7 @@ python split_perl_packages () {
>>>      d.setVar(d.expand("RRECOMMENDS_${PN}-modules"), ' '.join(packages))
>>> }
>>>
>>> -PACKAGES_DYNAMIC += "^perl-module-.*"
>>> +PACKAGES_DYNAMIC += "^perl-module-.*(?<!\-native)$"
>>>  PACKAGES_DYNAMIC_class-nativesdk += "^nativesdk-perl-module-.*"
>>>
>>>  RPROVIDES_perl-lib = "perl-lib"
>>> --
>>> 2.13.6
>>>
>>>
>>
>>
>> --
>> Pozdrawiam,
>> Krzysiek Taborski
>>
>
>
>
> --
> Pozdrawiam,
> Krzysiek Taborski
>



-- 
Pozdrawiam,
Krzysiek Taborski

[-- Attachment #2: Type: text/html, Size: 5257 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2] perl: native modules will not trigger build perl for target.
  2018-05-08 13:08       ` Krzysztof Taborski
@ 2018-05-08 14:11         ` Alexander Kanavin
  0 siblings, 0 replies; 6+ messages in thread
From: Alexander Kanavin @ 2018-05-08 14:11 UTC (permalink / raw)
  To: Krzysztof Taborski, openembedded-core

On 05/08/2018 04:08 PM, Krzysztof Taborski wrote:
> Could someone look at this?

I think you should simply resend the patch, somehow it fell through the 
cracks.

Alex


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-05-08 14:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-04 18:16 [PATCH v2] perl: native modules will not trigger build perl for target Krzysztof Taborski
2017-12-08 17:46 ` Krzysztof Taborski
     [not found] ` <00b201d3704c$8357c870$8a075950$@gmail.com>
2017-12-12  8:34   ` Krzysztof Taborski
2017-12-18 15:51     ` Krzysztof Taborski
2018-05-08 13:08       ` Krzysztof Taborski
2018-05-08 14:11         ` Alexander Kanavin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox