* [meta-python][scarthgap][PATCH] python3-pyyaml-include: support native and nativesdk build
@ 2024-06-17 19:13 Randy.MacLeod
2024-06-17 23:36 ` [oe] " Tim Orling
0 siblings, 1 reply; 5+ messages in thread
From: Randy.MacLeod @ 2024-06-17 19:13 UTC (permalink / raw)
To: openembedded-devel; +Cc: akuster808
From: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
.../recipes-devtools/python/python3-pyyaml-include_1.3.2.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb b/meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb
index 3a5bd99a7..309d0ac59 100644
--- a/meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb
+++ b/meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb
@@ -26,4 +26,4 @@ RDEPENDS:${PN}-ptest += " \
python3-pytest \
python3-unittest-automake-output \
"
-
+BBCLASSEXTEND = "native nativesdk"
--
2.34.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [oe] [meta-python][scarthgap][PATCH] python3-pyyaml-include: support native and nativesdk build
2024-06-17 19:13 [meta-python][scarthgap][PATCH] python3-pyyaml-include: support native and nativesdk build Randy.MacLeod
@ 2024-06-17 23:36 ` Tim Orling
2024-06-18 1:22 ` Randy MacLeod
0 siblings, 1 reply; 5+ messages in thread
From: Tim Orling @ 2024-06-17 23:36 UTC (permalink / raw)
To: randy.macleod; +Cc: akuster808, openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1559 bytes --]
Master already has this, so it is a backport request.
Randy, I assume you verified both targets build without issue.
On Mon, Jun 17, 2024 at 12:13 PM Randy MacLeod via lists.openembedded.org
<randy.macleod=windriver.com@lists.openembedded.org> wrote:
> From: Randy MacLeod <Randy.MacLeod@windriver.com>
>
> Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> .../recipes-devtools/python/python3-pyyaml-include_1.3.2.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-python/recipes-devtools/python/
> python3-pyyaml-include_1.3.2.bb b/meta-python/recipes-devtools/python/
> python3-pyyaml-include_1.3.2.bb
> index 3a5bd99a7..309d0ac59 100644
> --- a/meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb
> +++ b/meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb
> @@ -26,4 +26,4 @@ RDEPENDS:${PN}-ptest += " \
> python3-pytest \
> python3-unittest-automake-output \
> "
> -
> +BBCLASSEXTEND = "native nativesdk"
> --
> 2.34.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#110943):
> https://lists.openembedded.org/g/openembedded-devel/message/110943
> Mute This Topic: https://lists.openembedded.org/mt/106727475/924729
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> ticotimo@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
[-- Attachment #2: Type: text/html, Size: 3190 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [oe] [meta-python][scarthgap][PATCH] python3-pyyaml-include: support native and nativesdk build
2024-06-17 23:36 ` [oe] " Tim Orling
@ 2024-06-18 1:22 ` Randy MacLeod
2024-06-18 23:55 ` Randy MacLeod
0 siblings, 1 reply; 5+ messages in thread
From: Randy MacLeod @ 2024-06-18 1:22 UTC (permalink / raw)
To: Tim Orling; +Cc: akuster808, openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 4826 bytes --]
On 2024-06-17 7:36 p.m., Tim Orling wrote:
> Master already has this, so it is a backport request.
>
> Randy, I assume you verified both targets build without issue.
I did test on master but didn't for scarthgap since it would "obviously
work"!
Famous last words...
On my PopOS (ubu-22.04 - ish) host:
|
/media/rmacleod/gitter/rmacleod/src/distro/yocto/b/inc-nat/tmp/work/x86_64-linux/cmake-native/3.28.3/build/Bootstrap.cmk/cmake:
/media/rmacleod/gitter/rmacleod/src/distro/yocto/b/inc-nat/tmp/sysroots-uninative/x86_64-linux/usr/lib/libstdc++.so.6:
version `CXXABI_1.3.15' not found (required by
/media/rmacleod/gitter/rmacleod/src/distro/yocto/b/inc-nat/tmp/work/x86_64-linux/cmake-native/3.28.3/build/Bootstrap.cmk/cmake)
| ---------------------------------------------
| Error when bootstrapping CMake:
| Problem while running initial CMake
| ---------------------------------------------
| WARNING: exit code 11 from a shell command.
ERROR: Task
(/media/rmacleod/gitter/rmacleod/src/distro/yocto/poky.git/meta/recipes-devtools/cmake/cmake-native_3.28.3.bb:do_configure)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 485 tasks of which 0 didn't need to be
rerun and 1 failed.
I'll try that on a supported distro and re-submit adding a comment about
it being a backport.
I'm busy most of the week so it may be a while.
Thanks for asking Tim and sorry for the noise.
../Randy
>
>
> On Mon, Jun 17, 2024 at 12:13 PM Randy MacLeod via
> lists.openembedded.org
> <https://urldefense.com/v3/__http://lists.openembedded.org__;!!AjveYdw8EvQ!aw5nRqXmGOpTn-N6VdrwlGFDwCLEV6UZpm4RkeZQPm1ZwM19UTcOiQ_RMZ0yqELoYvkazy3jSHZJsReCax2W-Q$>
> <randy.macleod=windriver.com@lists.openembedded.org> wrote:
>
> From: Randy MacLeod <Randy.MacLeod@windriver.com>
>
> Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> .../recipes-devtools/python/python3-pyyaml-include_1.3.2.bb
> <https://urldefense.com/v3/__http://python3-pyyaml-include_1.3.2.bb__;!!AjveYdw8EvQ!aw5nRqXmGOpTn-N6VdrwlGFDwCLEV6UZpm4RkeZQPm1ZwM19UTcOiQ_RMZ0yqELoYvkazy3jSHZJsRdX0IWwxQ$>
> | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git
> a/meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb
> <https://urldefense.com/v3/__http://python3-pyyaml-include_1.3.2.bb__;!!AjveYdw8EvQ!aw5nRqXmGOpTn-N6VdrwlGFDwCLEV6UZpm4RkeZQPm1ZwM19UTcOiQ_RMZ0yqELoYvkazy3jSHZJsRdX0IWwxQ$>
> b/meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb
> <https://urldefense.com/v3/__http://python3-pyyaml-include_1.3.2.bb__;!!AjveYdw8EvQ!aw5nRqXmGOpTn-N6VdrwlGFDwCLEV6UZpm4RkeZQPm1ZwM19UTcOiQ_RMZ0yqELoYvkazy3jSHZJsRdX0IWwxQ$>
> index 3a5bd99a7..309d0ac59 100644
> ---
> a/meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb
> <https://urldefense.com/v3/__http://python3-pyyaml-include_1.3.2.bb__;!!AjveYdw8EvQ!aw5nRqXmGOpTn-N6VdrwlGFDwCLEV6UZpm4RkeZQPm1ZwM19UTcOiQ_RMZ0yqELoYvkazy3jSHZJsRdX0IWwxQ$>
> +++
> b/meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb
> <https://urldefense.com/v3/__http://python3-pyyaml-include_1.3.2.bb__;!!AjveYdw8EvQ!aw5nRqXmGOpTn-N6VdrwlGFDwCLEV6UZpm4RkeZQPm1ZwM19UTcOiQ_RMZ0yqELoYvkazy3jSHZJsRdX0IWwxQ$>
> @@ -26,4 +26,4 @@ RDEPENDS:${PN}-ptest += " \
> python3-pytest \
> python3-unittest-automake-output \
> "
> -
> +BBCLASSEXTEND = "native nativesdk"
> --
> 2.34.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#110943):
> https://lists.openembedded.org/g/openembedded-devel/message/110943
> <https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-devel/message/110943__;!!AjveYdw8EvQ!aw5nRqXmGOpTn-N6VdrwlGFDwCLEV6UZpm4RkeZQPm1ZwM19UTcOiQ_RMZ0yqELoYvkazy3jSHZJsRdaJIdgGQ$>
> Mute This Topic:
> https://lists.openembedded.org/mt/106727475/924729
> <https://urldefense.com/v3/__https://lists.openembedded.org/mt/106727475/924729__;!!AjveYdw8EvQ!aw5nRqXmGOpTn-N6VdrwlGFDwCLEV6UZpm4RkeZQPm1ZwM19UTcOiQ_RMZ0yqELoYvkazy3jSHZJsRd-fviFOQ$>
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> <mailto:openembedded-devel%2Bowner@lists.openembedded.org>
> Unsubscribe:
> https://lists.openembedded.org/g/openembedded-devel/unsub
> <https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-devel/unsub__;!!AjveYdw8EvQ!aw5nRqXmGOpTn-N6VdrwlGFDwCLEV6UZpm4RkeZQPm1ZwM19UTcOiQ_RMZ0yqELoYvkazy3jSHZJsRd659LC0Q$>
> [ticotimo@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
--
# Randy MacLeod
# Wind River Linux
[-- Attachment #2: Type: text/html, Size: 7612 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [oe] [meta-python][scarthgap][PATCH] python3-pyyaml-include: support native and nativesdk build
2024-06-18 1:22 ` Randy MacLeod
@ 2024-06-18 23:55 ` Randy MacLeod
2024-06-19 0:34 ` Tim Orling
0 siblings, 1 reply; 5+ messages in thread
From: Randy MacLeod @ 2024-06-18 23:55 UTC (permalink / raw)
To: Tim Orling; +Cc: akuster808, openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 7182 bytes --]
On 2024-06-17 9:22 p.m., Randy MacLeod wrote:
> On 2024-06-17 7:36 p.m., Tim Orling wrote:
>> Master already has this, so it is a backport request.
>>
>> Randy, I assume you verified both targets build without issue.
> I did test on master but didn't for scarthgap since it would
> "obviously work"!
>
> Famous last words...
>
> On my PopOS (ubu-22.04 - ish) host:
>
> |
> /media/rmacleod/gitter/rmacleod/src/distro/yocto/b/inc-nat/tmp/work/x86_64-linux/cmake-native/3.28.3/build/Bootstrap.cmk/cmake:
> /media/rmacleod/gitter/rmacleod/src/distro/yocto/b/inc-nat/tmp/sysroots-uninative/x86_64-linux/usr/lib/libstdc++.so.6:
> version `CXXABI_1.3.15' not found (required by
> /media/rmacleod/gitter/rmacleod/src/distro/yocto/b/inc-nat/tmp/work/x86_64-linux/cmake-native/3.28.3/build/Bootstrap.cmk/cmake)
> | ---------------------------------------------
> | Error when bootstrapping CMake:
> | Problem while running initial CMake
> | ---------------------------------------------
> | WARNING: exit code 11 from a shell command.
> ERROR: Task
> (/media/rmacleod/gitter/rmacleod/src/distro/yocto/poky.git/meta/recipes-devtools/cmake/cmake-native_3.28.3.bb:do_configure)
> failed with exit code '1'
> NOTE: Tasks Summary: Attempted 485 tasks of which 0 didn't need to be
> rerun and 1 failed.
>
>
Summary:
1. both native and nativesdk build fine when I remove a custom native
toolchain!
2. The commit for master hasn't merged yet so I'll wait for that before
sending v2.
Details for Tim with one question:
That -native build problem was due to having a custom gcc in /usr/local.
Oops!
python3-pyyaml-include-native builds fine using the distro's gcc :
❯ /usr/bin/gcc --version
gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
The nativesdk- python3-pyyaml-include build succeeds too but there was
one warning that I'm unsure about:
Building target platforms: x86_64_nativesdk-pokysdk-linux
Building for target x86_64_nativesdk-pokysdk-linux
Processing files:
nativesdk-python3-pyyaml-include-1.3.2-r0.x86_64_nativesdk
warning: Ignoring invalid regex
^((${prefix}/=LIB=|usr/share)/pkgconfig/.*.pc|usr/bin/pkg-config)$ <----
Finding Provides:
Finding Requires(interp):
Finding Requires(rpmlib):
...
That happens when running rpmbuild... ah, here's the source:
❯ rg pkgconfig
/.../tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3-pyyaml-include/1.3.2/recipe-sysroot-native/usr/bin/../../usr/lib/rpm/fileattrs
/.../tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3-pyyaml-include/1.3.2/recipe-sysroot-native/usr/bin/../../usr/lib/rpm/fileattrs/pkgconfig.attr
1:%__pkgconfig_provides %{_rpmconfigdir}/pkgconfigdeps.sh --provides
2:%__pkgconfig_requires %{_rpmconfigdir}/pkgconfigdeps.sh --requires
3:%__pkgconfig_path
^((%{_libdir}|%{_datadir})/pkgconfig/.*\.pc|%{_bindir}/pkg-config)$
which is likely from rpm-native/usr/lib/rpm/fileattrs/pkgconfig.attr
and so not specific to this change it would seem.
We should still fix it, but the pkgconfig.attr line has been around in
rpm for > 10 years.
Tim,
I'm out of time for today.
Is it easy for you to find out if this warning is something that works
well in Fedora but generates a warning in YP?
I don't usually worry about how rpm packaging works in detail so this
was fun and I got to use strace! ;-)
../Randy
> I'll try that on a supported distro and re-submit adding a comment
> about it being a backport.
> I'm busy most of the week so it may be a while.
>
> Thanks for asking Tim and sorry for the noise.
>
> ../Randy
>
>>
>>
>> On Mon, Jun 17, 2024 at 12:13 PM Randy MacLeod via
>> lists.openembedded.org
>> <https://urldefense.com/v3/__http://lists.openembedded.org__;!!AjveYdw8EvQ!aw5nRqXmGOpTn-N6VdrwlGFDwCLEV6UZpm4RkeZQPm1ZwM19UTcOiQ_RMZ0yqELoYvkazy3jSHZJsReCax2W-Q$>
>> <randy.macleod=windriver.com@lists.openembedded.org> wrote:
>>
>> From: Randy MacLeod <Randy.MacLeod@windriver.com>
>>
>> Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>> ---
>> .../recipes-devtools/python/python3-pyyaml-include_1.3.2.bb
>> <https://urldefense.com/v3/__http://python3-pyyaml-include_1.3.2.bb__;!!AjveYdw8EvQ!aw5nRqXmGOpTn-N6VdrwlGFDwCLEV6UZpm4RkeZQPm1ZwM19UTcOiQ_RMZ0yqELoYvkazy3jSHZJsRdX0IWwxQ$>
>> | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git
>> a/meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb
>> <https://urldefense.com/v3/__http://python3-pyyaml-include_1.3.2.bb__;!!AjveYdw8EvQ!aw5nRqXmGOpTn-N6VdrwlGFDwCLEV6UZpm4RkeZQPm1ZwM19UTcOiQ_RMZ0yqELoYvkazy3jSHZJsRdX0IWwxQ$>
>> b/meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb
>> <https://urldefense.com/v3/__http://python3-pyyaml-include_1.3.2.bb__;!!AjveYdw8EvQ!aw5nRqXmGOpTn-N6VdrwlGFDwCLEV6UZpm4RkeZQPm1ZwM19UTcOiQ_RMZ0yqELoYvkazy3jSHZJsRdX0IWwxQ$>
>> index 3a5bd99a7..309d0ac59 100644
>> ---
>> a/meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb
>> <https://urldefense.com/v3/__http://python3-pyyaml-include_1.3.2.bb__;!!AjveYdw8EvQ!aw5nRqXmGOpTn-N6VdrwlGFDwCLEV6UZpm4RkeZQPm1ZwM19UTcOiQ_RMZ0yqELoYvkazy3jSHZJsRdX0IWwxQ$>
>> +++
>> b/meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb
>> <https://urldefense.com/v3/__http://python3-pyyaml-include_1.3.2.bb__;!!AjveYdw8EvQ!aw5nRqXmGOpTn-N6VdrwlGFDwCLEV6UZpm4RkeZQPm1ZwM19UTcOiQ_RMZ0yqELoYvkazy3jSHZJsRdX0IWwxQ$>
>> @@ -26,4 +26,4 @@ RDEPENDS:${PN}-ptest += " \
>> python3-pytest \
>> python3-unittest-automake-output \
>> "
>> -
>> +BBCLASSEXTEND = "native nativesdk"
>> --
>> 2.34.1
>>
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#110943):
>> https://lists.openembedded.org/g/openembedded-devel/message/110943
>> <https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-devel/message/110943__;!!AjveYdw8EvQ!aw5nRqXmGOpTn-N6VdrwlGFDwCLEV6UZpm4RkeZQPm1ZwM19UTcOiQ_RMZ0yqELoYvkazy3jSHZJsRdaJIdgGQ$>
>> Mute This Topic:
>> https://lists.openembedded.org/mt/106727475/924729
>> <https://urldefense.com/v3/__https://lists.openembedded.org/mt/106727475/924729__;!!AjveYdw8EvQ!aw5nRqXmGOpTn-N6VdrwlGFDwCLEV6UZpm4RkeZQPm1ZwM19UTcOiQ_RMZ0yqELoYvkazy3jSHZJsRd-fviFOQ$>
>> Group Owner: openembedded-devel+owner@lists.openembedded.org
>> <mailto:openembedded-devel%2Bowner@lists.openembedded.org>
>> Unsubscribe:
>> https://lists.openembedded.org/g/openembedded-devel/unsub
>> <https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-devel/unsub__;!!AjveYdw8EvQ!aw5nRqXmGOpTn-N6VdrwlGFDwCLEV6UZpm4RkeZQPm1ZwM19UTcOiQ_RMZ0yqELoYvkazy3jSHZJsRd659LC0Q$>
>> [ticotimo@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>
>
> --
> # Randy MacLeod
> # Wind River Linux
--
# Randy MacLeod
# Wind River Linux
[-- Attachment #2: Type: text/html, Size: 11205 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [oe] [meta-python][scarthgap][PATCH] python3-pyyaml-include: support native and nativesdk build
2024-06-18 23:55 ` Randy MacLeod
@ 2024-06-19 0:34 ` Tim Orling
0 siblings, 0 replies; 5+ messages in thread
From: Tim Orling @ 2024-06-19 0:34 UTC (permalink / raw)
To: Randy MacLeod; +Cc: akuster808, openembedded-devel, Trevor Gamblin
[-- Attachment #1: Type: text/plain, Size: 7412 bytes --]
On Tue, Jun 18, 2024 at 4:55 PM Randy MacLeod <randy.macleod@windriver.com>
wrote:
> On 2024-06-17 9:22 p.m., Randy MacLeod wrote:
>
> On 2024-06-17 7:36 p.m., Tim Orling wrote:
>
> Master already has this, so it is a backport request.
>
> Randy, I assume you verified both targets build without issue.
>
> I did test on master but didn't for scarthgap since it would "obviously
> work"!
>
> Famous last words...
>
> On my PopOS (ubu-22.04 - ish) host:
>
> |
> /media/rmacleod/gitter/rmacleod/src/distro/yocto/b/inc-nat/tmp/work/x86_64-linux/cmake-native/3.28.3/build/Bootstrap.cmk/cmake:
> /media/rmacleod/gitter/rmacleod/src/distro/yocto/b/inc-nat/tmp/sysroots-uninative/x86_64-linux/usr/lib/libstdc++.so.6:
> version `CXXABI_1.3.15' not found (required by
> /media/rmacleod/gitter/rmacleod/src/distro/yocto/b/inc-nat/tmp/work/x86_64-linux/cmake-native/3.28.3/build/Bootstrap.cmk/cmake)
> | ---------------------------------------------
> | Error when bootstrapping CMake:
> | Problem while running initial CMake
> | ---------------------------------------------
> | WARNING: exit code 11 from a shell command.
> ERROR: Task
> (/media/rmacleod/gitter/rmacleod/src/distro/yocto/poky.git/meta/recipes-devtools/cmake/cmake-native_3.28.3.bb:do_configure)
> failed with exit code '1'
> NOTE: Tasks Summary: Attempted 485 tasks of which 0 didn't need to be
> rerun and 1 failed.
>
>
> Summary:
>
> 1. both native and nativesdk build fine when I remove a custom native
> toolchain!
> 2. The commit for master hasn't merged yet so I'll wait for that before
> sending v2.
>
Thank you for the due diligence. Makes sense to me.
>
> Details for Tim with one question:
>
> That -native build problem was due to having a custom gcc in /usr/local.
> Oops!
>
> python3-pyyaml-include-native builds fine using the distro's gcc :
>
> ❯ /usr/bin/gcc --version
> gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
>
>
> The nativesdk- python3-pyyaml-include build succeeds too but there was one
> warning that I'm unsure about:
>
> Building target platforms: x86_64_nativesdk-pokysdk-linux
> Building for target x86_64_nativesdk-pokysdk-linux
> Processing files:
> nativesdk-python3-pyyaml-include-1.3.2-r0.x86_64_nativesdk
> warning: Ignoring invalid regex
> ^((${prefix}/=LIB=|usr/share)/pkgconfig/.*.pc|usr/bin/pkg-config)$
> <----
> Finding Provides:
> Finding Requires(interp):
> Finding Requires(rpmlib):
> ...
>
>
> That happens when running rpmbuild... ah, here's the source:
>
> ❯ rg pkgconfig
> /.../tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3-pyyaml-include/1.3.2/recipe-sysroot-native/usr/bin/../../usr/lib/rpm/fileattrs
>
> /.../tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3-pyyaml-include/1.3.2/recipe-sysroot-native/usr/bin/../../usr/lib/rpm/fileattrs/pkgconfig.attr
> 1:%__pkgconfig_provides %{_rpmconfigdir}/pkgconfigdeps.sh --provides
> 2:%__pkgconfig_requires %{_rpmconfigdir}/pkgconfigdeps.sh --requires
> 3:%__pkgconfig_path
> ^((%{_libdir}|%{_datadir})/pkgconfig/.*\.pc|%{_bindir}/pkg-config)$
>
> which is likely from rpm-native/usr/lib/rpm/fileattrs/pkgconfig.attr
>
> and so not specific to this change it would seem.
>
> We should still fix it, but the pkgconfig.attr line has been around in rpm
> for > 10 years.
>
> Tim,
>
> I'm out of time for today.
> Is it easy for you to find out if this warning is something that works
> well in Fedora but generates a warning in YP?
>
Perhaps, I can run it in a container or VM. Maybe tgamblin is a better fit,
since he still runs Fedora as his daily driver.
CC: Trevor Gamblin
>
>
> I don't usually worry about how rpm packaging works in detail so this was
> fun and I got to use strace! ;-)
>
Getting to the bottom of something that has been around for 10 years and
not necessarily perfect yet is always fun.
>
>
> ../Randy
>
>
> I'll try that on a supported distro and re-submit adding a comment about
> it being a backport.
> I'm busy most of the week so it may be a while.
>
> Thanks for asking Tim and sorry for the noise.
>
> ../Randy
>
>
>
> On Mon, Jun 17, 2024 at 12:13 PM Randy MacLeod via lists.openembedded.org
> <https://urldefense.com/v3/__http://lists.openembedded.org__;!!AjveYdw8EvQ!aw5nRqXmGOpTn-N6VdrwlGFDwCLEV6UZpm4RkeZQPm1ZwM19UTcOiQ_RMZ0yqELoYvkazy3jSHZJsReCax2W-Q$>
> <randy.macleod=windriver.com@lists.openembedded.org> wrote:
>
>> From: Randy MacLeod <Randy.MacLeod@windriver.com>
>>
>> Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>> ---
>> .../recipes-devtools/python/python3-pyyaml-include_1.3.2.bb
>> <https://urldefense.com/v3/__http://python3-pyyaml-include_1.3.2.bb__;!!AjveYdw8EvQ!aw5nRqXmGOpTn-N6VdrwlGFDwCLEV6UZpm4RkeZQPm1ZwM19UTcOiQ_RMZ0yqELoYvkazy3jSHZJsRdX0IWwxQ$>
>> | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta-python/recipes-devtools/python/
>> python3-pyyaml-include_1.3.2.bb
>> <https://urldefense.com/v3/__http://python3-pyyaml-include_1.3.2.bb__;!!AjveYdw8EvQ!aw5nRqXmGOpTn-N6VdrwlGFDwCLEV6UZpm4RkeZQPm1ZwM19UTcOiQ_RMZ0yqELoYvkazy3jSHZJsRdX0IWwxQ$>
>> b/meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb
>> <https://urldefense.com/v3/__http://python3-pyyaml-include_1.3.2.bb__;!!AjveYdw8EvQ!aw5nRqXmGOpTn-N6VdrwlGFDwCLEV6UZpm4RkeZQPm1ZwM19UTcOiQ_RMZ0yqELoYvkazy3jSHZJsRdX0IWwxQ$>
>> index 3a5bd99a7..309d0ac59 100644
>> --- a/meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb
>> <https://urldefense.com/v3/__http://python3-pyyaml-include_1.3.2.bb__;!!AjveYdw8EvQ!aw5nRqXmGOpTn-N6VdrwlGFDwCLEV6UZpm4RkeZQPm1ZwM19UTcOiQ_RMZ0yqELoYvkazy3jSHZJsRdX0IWwxQ$>
>> +++ b/meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb
>> <https://urldefense.com/v3/__http://python3-pyyaml-include_1.3.2.bb__;!!AjveYdw8EvQ!aw5nRqXmGOpTn-N6VdrwlGFDwCLEV6UZpm4RkeZQPm1ZwM19UTcOiQ_RMZ0yqELoYvkazy3jSHZJsRdX0IWwxQ$>
>> @@ -26,4 +26,4 @@ RDEPENDS:${PN}-ptest += " \
>> python3-pytest \
>> python3-unittest-automake-output \
>> "
>> -
>> +BBCLASSEXTEND = "native nativesdk"
>> --
>> 2.34.1
>>
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#110943):
>> https://lists.openembedded.org/g/openembedded-devel/message/110943
>> <https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-devel/message/110943__;!!AjveYdw8EvQ!aw5nRqXmGOpTn-N6VdrwlGFDwCLEV6UZpm4RkeZQPm1ZwM19UTcOiQ_RMZ0yqELoYvkazy3jSHZJsRdaJIdgGQ$>
>> Mute This Topic: https://lists.openembedded.org/mt/106727475/924729
>> <https://urldefense.com/v3/__https://lists.openembedded.org/mt/106727475/924729__;!!AjveYdw8EvQ!aw5nRqXmGOpTn-N6VdrwlGFDwCLEV6UZpm4RkeZQPm1ZwM19UTcOiQ_RMZ0yqELoYvkazy3jSHZJsRd-fviFOQ$>
>> Group Owner: openembedded-devel+owner@lists.openembedded.org
>> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
>> <https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-devel/unsub__;!!AjveYdw8EvQ!aw5nRqXmGOpTn-N6VdrwlGFDwCLEV6UZpm4RkeZQPm1ZwM19UTcOiQ_RMZ0yqELoYvkazy3jSHZJsRd659LC0Q$>
>> [ticotimo@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>
>>
> --
> # Randy MacLeod
> # Wind River Linux
>
>
> --
> # Randy MacLeod
> # Wind River Linux
>
>
[-- Attachment #2: Type: text/html, Size: 11352 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-06-19 0:34 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-17 19:13 [meta-python][scarthgap][PATCH] python3-pyyaml-include: support native and nativesdk build Randy.MacLeod
2024-06-17 23:36 ` [oe] " Tim Orling
2024-06-18 1:22 ` Randy MacLeod
2024-06-18 23:55 ` Randy MacLeod
2024-06-19 0:34 ` Tim Orling
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.