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 A5AC7C4332F for ; Wed, 13 Dec 2023 18:36:54 +0000 (UTC) Subject: Re: [yocto] do_rootfs failed To: Alex Kiernan ,yocto@lists.yoctoproject.org From: daniele.lugli@gmail.com X-Originating-Location: Marina di Ravenna, Emilia-Romagna, IT (176.246.31.108) X-Originating-Platform: Windows Opera 105 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Wed, 13 Dec 2023 10:36:45 -0800 References: In-Reply-To: Message-ID: <16371.1702492605626772973@lists.yoctoproject.org> Content-Type: multipart/alternative; boundary="zK8toC2XEPE6JUz1JmEP" 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 ; Wed, 13 Dec 2023 18:36:54 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/61883 --zK8toC2XEPE6JUz1JmEP Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Thank you Alex. git branch --contains in poky/meta-realtime does not find the SRCREV 17be45= 48c4260b80be623e0e1317e98a770dea7a in any branch Anyway I added=C2=A0;branch=3Dmaster;protocol=3Dhttps to the SRC_URI in rt-= app.bb and the warnings disappeared. Good! Khem: I added DEPENDS:append =3D " qemuwrapper-cross" in core-image-rt-extended.bb and I have no more failure in the postinstall intercept hook; log.do_rootfs= is now clean. Good! Unluckily this isn't yet the conclusion. What I get now is: | ERROR: A native program mkfs.ext4 required to build the image was not fou= nd (see details above). | Please make sure wic-tools have e2fsprogs-native in its DEPENDS, build it= with 'bitbake wic-tools' and try again ERROR: Task (/home/vboxuser/Documents/poky/meta-realtime/recipes-extended/i= mages/core-image-rt-extended.bb:do_image_wic) failed with exit code '1' I verified that poky/meta/recipes-core/meta/wic-tools.bb already has=C2=A0e= 2fsprogs-native in its dependecncies, issued 'bitbake wic-tools' then again= 'bitbake core-image-rt-extended' but mkfs.ext4 is still not found. I will now try a clean bitbake by removing sstate-cache and tmp. Any suggestion is appreciated. My best regards -- Daniele Lugli General Logic srl Viale Curreno, 41 10133 Torino Italy tel +39 329 3933041 www.general-logic.com ( http://www.general-logic.com/ ) www.linkedin.com/in/daniele- lugli ( http://www.linkedin.com/in/daniele-lug= li ) --zK8toC2XEPE6JUz1JmEP Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Thank you Alex.
git branch --contains in poky/meta-realtime does not f= ind the SRCREV 17be4548c4260b80be623e0e1317e98a770dea7a in any branch
= Anyway I added ;branch=3Dmaster;protocol=3Dhttps to the SRC_URI in rt-= app.bb and the warnings disappeared. Good!

Khem: 
I added
DEPENDS:append =3D " qemuwrapper-cros= s"
in core-image-rt-extended.bb
and I have no more failure= in the postinstall intercept hook; log.do_rootfs is now clean. Good!
=
Unluckily this isn't yet the conclusion. What I get now is:

| ERROR: A = native program mkfs.ext4 required to build the image was not found (see det= ails above).
| Please ma= ke sure wic-tools have e2fsprogs-native in its DEPENDS, build it with 'bitb= ake wic-tools' and try again
ERROR: Task= (/home/vboxuser/Documents/poky/meta-realtime/recipes-extended/images/core-= image-rt-extended.bb:do_image_wic) failed with exit code '1'

I verified that poky/meta/recipes-core/meta/wic-tools.bb already= has e2fsprogs-native in its dependecncies, issued 'bitbake wic-tools'= then again 'bitbake core-image-rt-extended' but mkfs.ext4 is still not fou= nd.

I will now try a clean bitbake by removing sstate-cache and = tmp.

Any suggestion is appreciated.

My best regards
--
Daniele Lugli
General Logic srl
Viale Curreno, 41
10133 Torino
Italy
tel +39 329 3933041
--zK8toC2XEPE6JUz1JmEP--