Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1F988C3DA41 for ; Thu, 11 Jul 2024 08:13:00 +0000 (UTC) Subject: Re: [PATCH] bluez5: upgrade 5.72 -> 5.77 To: openembedded-core@lists.openembedded.org From: =?UTF-8?B?R3XDsG5pIE3DoXIgR2lsYmVydA==?= X-Originating-Location: Kopavogur, Capital Region, IS (81.15.100.92) X-Originating-Platform: Windows Chrome 126 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Thu, 11 Jul 2024 01:12:51 -0700 References: <28985.1720633665101112847@lists.openembedded.org> In-Reply-To: <28985.1720633665101112847@lists.openembedded.org> Message-ID: <18500.1720685571712510299@lists.openembedded.org> Content-Type: multipart/alternative; boundary="qu6IKOcS4HsmWwkHITh7" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 11 Jul 2024 08:13:00 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/201768 --qu6IKOcS4HsmWwkHITh7 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable I'm seeing a very weird bug in Bitbake and I'm not sure if it is just my en= vironment. Sharing this in case anyone knows what is going on... I've isola= ted the issue to something between when *do_install* finishes and when Bitb= ake worker teardown process starts. For whatever reason, after running *bitbake -v -DD -c do_install bluez5* , = the permission for the /etc/bluetooth folder is changed to 755 when it shou= ld be 555. The owner also changes from root to user (in my case 'builder').= I've ruled out the BlueZ recipe and the make build. The make file correctl= y installs the directory with 555 permissions. I've been trying to debug this by adding: try: logger.debug("HELLO") logger.debug("HELLO WORLD") logger.debug(subprocess.check_output(['/usr/bin/ls -la /home/builder/yocto/= build/tmp-musl/work/core2-64-oe-linux-musl/bluez5/5.77/image/etc/bluetooth'= ], stderr=3Dsubprocess.STDOUT, shell=3DTrue).decode('ascii')) except Exception as e: pass next to various bitbake logs to track down the issue. I'm open for any ideas / suggestions to debug this further. I'm thinking ab= out adding to my docker container tools to watch the directory somehow... I'm using the latest master branch for everything at the time of writing th= is. --qu6IKOcS4HsmWwkHITh7 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable I'm seeing a very weird bug in Bitbake and I'm not sure if it is just my en= vironment. Sharing this in case anyone knows what is going on... I've isola= ted the issue to something between when do_install finishe= s and when Bitbake worker teardown process starts.

For whatever = reason, after running bitbake -v -DD -c do_install bluez5,= the permission for the /etc/bluetooth folder is changed to 755 wh= en it should be 555. The owner also changes from root to user (in my case '= builder'). I've ruled out the BlueZ recipe and the make build. The make fil= e correctly installs the directory with 555 permissions.

I've be= en trying to debug this by adding:

        t= ry:
            logger.debug("HELLO")            logger.debug("HELLO WORLD")            logger.debug(subprocess.check_= output(['/usr/bin/ls -la /home/builder/yocto/build/tmp-musl/work/core2-64-o= e-linux-musl/bluez5/5.77/image/etc/bluetooth'], stderr=3Dsubprocess.STDOUT,= shell=3DTrue).decode('ascii'))
        except Exc= eption as e:
            pass

next to various bitbake logs to track down the issue.

I'm open = for any ideas / suggestions to debug this further. I'm thinking about addin= g to my docker container tools to watch the directory somehow...

I'm using the latest master branch for everything at the time of writing t= his.

--qu6IKOcS4HsmWwkHITh7--