diff mbox series

[meta-networking] blueman: skip buildpath error

Message ID 20240806203423.993216-1-f_l_k@t-online.de
State Under Review
Headers show
Series [meta-networking] blueman: skip buildpath error | expand

Commit Message

Markus Volk Aug. 6, 2024, 8:34 p.m. UTC
Blueman has compiled the buildpath into _blueman.so.
The underlying issue is related to the cython compiler, so theres nothing
that can be done from the blueman side.
[https://github.com/cython/cython/issues/5949]

Disable the buildpath error to keep blueman usable until the problem is fixed.
---
 meta-networking/recipes-connectivity/blueman/blueman_2.3.5.bb | 2 ++
 1 file changed, 2 insertions(+)

Comments

ChenQi Aug. 7, 2024, 8:28 a.m. UTC | #1
INSANE_SKIP is usually set on a per-package basis.
e.g.,
meta/recipes-support/vim/vim.inc:INSANE_SKIP:${PN}-tools = "file-rdeps"

And following the link you provide, it does look like a blueman issue, 
because otherwise all projects using cython will have the same problem. 
I'm not sure about it though.

Regards,
Qi


On 8/7/24 04:34, Markus Volk wrote:
> Blueman has compiled the buildpath into _blueman.so.
> The underlying issue is related to the cython compiler, so theres nothing
> that can be done from the blueman side.
> [https://github.com/cython/cython/issues/5949]
>
> Disable the buildpath error to keep blueman usable until the problem is fixed.
> ---
>   meta-networking/recipes-connectivity/blueman/blueman_2.3.5.bb | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/meta-networking/recipes-connectivity/blueman/blueman_2.3.5.bb b/meta-networking/recipes-connectivity/blueman/blueman_2.3.5.bb
> index 0374d23f0..afb97ee28 100644
> --- a/meta-networking/recipes-connectivity/blueman/blueman_2.3.5.bb
> +++ b/meta-networking/recipes-connectivity/blueman/blueman_2.3.5.bb
> @@ -86,3 +86,5 @@ do_install:append() {
>           chmod 700 ${D}/${datadir}/polkit-1/rules.d
>           chown polkitd:root ${D}/${datadir}/polkit-1/rules.d
>   }
> +
> +INSANE_SKIP = "buildpaths"
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#111598): https://lists.openembedded.org/g/openembedded-devel/message/111598
> Mute This Topic: https://lists.openembedded.org/mt/107758090/7304865
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [Qi.Chen@eng.windriver.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Markus Volk Aug. 7, 2024, 6:03 p.m. UTC | #2
I'm not absolutely sure either. But what happens is what is described 
here:
<https://github.com/cython/cython/issues/5949>

cython creates a variable in _blueman.c that stores the path where the 
blueman module was built:
static const char __pyx_k_home_flk_poky_build_hypr_tmp_wo[] = 
"/home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/blueman/2.4.3/git/module/_blueman.pyx";

So to me it looked like quite a similar issue. Infirit from blueman 
team also has no idea, why this is happening
<https://github.com/blueman-project/blueman/pull/2435>


On Wed, Aug 7 2024 at 04:28:34 PM +08:00:00, ChenQi 
<Qi.Chen@windriver.com> wrote:
> INSANE_SKIP is usually set on a per-package basis.
> e.g.,
> meta/recipes-support/vim/vim.inc:INSANE_SKIP:${PN}-tools = 
> "file-rdeps"
> 
> And following the link you provide, it does look like a blueman 
> issue, because otherwise all projects using cython will have the same 
> problem. I'm not sure about it though.
> 
> Regards,
> Qi
> 
> 
> On 8/7/24 04:34, Markus Volk wrote:
>> Blueman has compiled the buildpath into _blueman.so.
>> The underlying issue is related to the cython compiler, so theres 
>> nothing
>> that can be done from the blueman side.
>> [<https://github.com/cython/cython/issues/5949>]
>> 
>> Disable the buildpath error to keep blueman usable until the problem 
>> is fixed.
>> ---
>>   meta-networking/recipes-connectivity/blueman/blueman_2.3.5.bb | 2 
>> ++
>>   1 file changed, 2 insertions(+)
>> 
>> diff --git 
>> a/meta-networking/recipes-connectivity/blueman/blueman_2.3.5.bb 
>> b/meta-networking/recipes-connectivity/blueman/blueman_2.3.5.bb
>> index 0374d23f0..afb97ee28 100644
>> --- a/meta-networking/recipes-connectivity/blueman/blueman_2.3.5.bb
>> +++ b/meta-networking/recipes-connectivity/blueman/blueman_2.3.5.bb
>> @@ -86,3 +86,5 @@ do_install:append() {
>>           chmod 700 ${D}/${datadir}/polkit-1/rules.d
>>           chown polkitd:root ${D}/${datadir}/polkit-1/rules.d
>>   }
>> +
>> +INSANE_SKIP = "buildpaths"
>> 
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#111598): 
>> <https://lists.openembedded.org/g/openembedded-devel/message/111598>
>> Mute This Topic: 
>> <https://lists.openembedded.org/mt/107758090/7304865>
>> Group Owner: openembedded-devel+owner@lists.openembedded.org 
>> <mailto:openembedded-devel+owner@lists.openembedded.org>
>> Unsubscribe: 
>> <https://lists.openembedded.org/g/openembedded-devel/unsub> 
>> [Qi.Chen@eng.windriver.com <mailto:Qi.Chen@eng.windriver.com>]
>> -=-=-=-=-=-=-=-=-=-=-=-
>> 
>
ChenQi Aug. 8, 2024, 1:31 a.m. UTC | #3
Got it. Thanks for your further explanation.

Regards,
Qi

From: Markus Volk <f_l_k@t-online.de>
Sent: Thursday, August 8, 2024 2:04 AM
To: Chen, Qi <Qi.Chen@windriver.com>
Cc: Markus Volk <f_l_k@t-online.de>; openembedded-devel@lists.openembedded.org
Subject: Re: [oe] [meta-networking][PATCH] blueman: skip buildpath error

I'm not absolutely sure either. But what happens is what is described here:
https://github.com/cython/cython/issues/5949<https://urldefense.com/v3/__https:/github.com/cython/cython/issues/5949__;!!AjveYdw8EvQ!aik2_AyIe3IoVcD_WVNna8Zjq_GPoXpoKpU0yWxiuOvshFr0ts_TIySGwJIuzNVrKS_QE94ZJGCkT6VAm78$>

cython creates a variable in _blueman.c that stores the path where the blueman module was built:
static const char __pyx_k_home_flk_poky_build_hypr_tmp_wo[] = "/home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/blueman/2.4.3/git/module/_blueman.pyx";

So to me it looked like quite a similar issue. Infirit from blueman team also has no idea, why this is happening
https://github.com/blueman-project/blueman/pull/2435<https://urldefense.com/v3/__https:/github.com/blueman-project/blueman/pull/2435__;!!AjveYdw8EvQ!aik2_AyIe3IoVcD_WVNna8Zjq_GPoXpoKpU0yWxiuOvshFr0ts_TIySGwJIuzNVrKS_QE94ZJGCk6UxYxgE$>


On Wed, Aug 7 2024 at 04:28:34 PM +08:00:00, ChenQi <Qi.Chen@windriver.com<mailto:Qi.Chen@windriver.com>> wrote:

INSANE_SKIP is usually set on a per-package basis. e.g., meta/recipes-support/vim/vim.inc<https://urldefense.com/v3/__http:/vim.inc__;!!AjveYdw8EvQ!aik2_AyIe3IoVcD_WVNna8Zjq_GPoXpoKpU0yWxiuOvshFr0ts_TIySGwJIuzNVrKS_QE94ZJGCkNyf0PUI$>:INSANE_SKIP:${PN}-tools = "file-rdeps" And following the link you provide, it does look like a blueman issue, because otherwise all projects using cython will have the same problem. I'm not sure about it though. Regards, Qi On 8/7/24 04:34, Markus Volk wrote:
Blueman has compiled the buildpath into _blueman.so<https://urldefense.com/v3/__http:/_blueman.so__;!!AjveYdw8EvQ!aik2_AyIe3IoVcD_WVNna8Zjq_GPoXpoKpU0yWxiuOvshFr0ts_TIySGwJIuzNVrKS_QE94ZJGCkL3X3zeA$>. The underlying issue is related to the cython compiler, so theres nothing that can be done from the blueman side. [https://github.com/cython/cython/issues/5949<https://urldefense.com/v3/__https:/github.com/cython/cython/issues/5949__;!!AjveYdw8EvQ!aik2_AyIe3IoVcD_WVNna8Zjq_GPoXpoKpU0yWxiuOvshFr0ts_TIySGwJIuzNVrKS_QE94ZJGCkT6VAm78$>] Disable the buildpath error to keep blueman usable until the problem is fixed. --- meta-networking/recipes-connectivity/blueman/blueman_2.3.5.bb<https://urldefense.com/v3/__http:/blueman_2.3.5.bb__;!!AjveYdw8EvQ!aik2_AyIe3IoVcD_WVNna8Zjq_GPoXpoKpU0yWxiuOvshFr0ts_TIySGwJIuzNVrKS_QE94ZJGCkcDhfGU8$> | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-networking/recipes-connectivity/blueman/blueman_2.3.5.bb<https://urldefense.com/v3/__http:/blueman_2.3.5.bb__;!!AjveYdw8EvQ!aik2_AyIe3IoVcD_WVNna8Zjq_GPoXpoKpU0yWxiuOvshFr0ts_TIySGwJIuzNVrKS_QE94ZJGCkcDhfGU8$> b/meta-networking/recipes-connectivity/blueman/blueman_2.3.5.bb<https://urldefense.com/v3/__http:/blueman_2.3.5.bb__;!!AjveYdw8EvQ!aik2_AyIe3IoVcD_WVNna8Zjq_GPoXpoKpU0yWxiuOvshFr0ts_TIySGwJIuzNVrKS_QE94ZJGCkcDhfGU8$> index 0374d23f0..afb97ee28 100644 --- a/meta-networking/recipes-connectivity/blueman/blueman_2.3.5.bb<https://urldefense.com/v3/__http:/blueman_2.3.5.bb__;!!AjveYdw8EvQ!aik2_AyIe3IoVcD_WVNna8Zjq_GPoXpoKpU0yWxiuOvshFr0ts_TIySGwJIuzNVrKS_QE94ZJGCkcDhfGU8$> +++ b/meta-networking/recipes-connectivity/blueman/blueman_2.3.5.bb<https://urldefense.com/v3/__http:/blueman_2.3.5.bb__;!!AjveYdw8EvQ!aik2_AyIe3IoVcD_WVNna8Zjq_GPoXpoKpU0yWxiuOvshFr0ts_TIySGwJIuzNVrKS_QE94ZJGCkcDhfGU8$> @@ -86,3 +86,5 @@ do_install:append() { chmod 700 ${D}/${datadir}/polkit-1/rules.d chown polkitd:root ${D}/${datadir}/polkit-1/rules.d } + +INSANE_SKIP = "buildpaths" -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#111598): https://lists.openembedded.org/g/openembedded-devel/message/111598<https://urldefense.com/v3/__https:/lists.openembedded.org/g/openembedded-devel/message/111598__;!!AjveYdw8EvQ!aik2_AyIe3IoVcD_WVNna8Zjq_GPoXpoKpU0yWxiuOvshFr0ts_TIySGwJIuzNVrKS_QE94ZJGCkyE2gGuM$> Mute This Topic: https://lists.openembedded.org/mt/107758090/7304865<https://urldefense.com/v3/__https:/lists.openembedded.org/mt/107758090/7304865__;!!AjveYdw8EvQ!aik2_AyIe3IoVcD_WVNna8Zjq_GPoXpoKpU0yWxiuOvshFr0ts_TIySGwJIuzNVrKS_QE94ZJGCkEsN0Bqo$> Group Owner: openembedded-devel+owner@lists.openembedded.org<mailto: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!aik2_AyIe3IoVcD_WVNna8Zjq_GPoXpoKpU0yWxiuOvshFr0ts_TIySGwJIuzNVrKS_QE94ZJGCkuSguAag$> [Qi.Chen@eng.windriver.com<mailto:Qi.Chen@eng.windriver.com>] -=-=-=-=-=-=-=-=-=-=-=-
diff mbox series

Patch

diff --git a/meta-networking/recipes-connectivity/blueman/blueman_2.3.5.bb b/meta-networking/recipes-connectivity/blueman/blueman_2.3.5.bb
index 0374d23f0..afb97ee28 100644
--- a/meta-networking/recipes-connectivity/blueman/blueman_2.3.5.bb
+++ b/meta-networking/recipes-connectivity/blueman/blueman_2.3.5.bb
@@ -86,3 +86,5 @@  do_install:append() {
         chmod 700 ${D}/${datadir}/polkit-1/rules.d
         chown polkitd:root ${D}/${datadir}/polkit-1/rules.d
 }
+
+INSANE_SKIP = "buildpaths"