Toaster failing
A message that is not in the archive (sent off-list or not yet received): 3ee004b6c31c97b9918bc03d2f702229cd74ab7a.camel@linuxfoundation.org
I tried this with the master branch and it seems like its working.
Some questions:
1.) When is Kirkstone planned for release?
2.) Are these bugfixes backported to Honister and Hardknott?
Thanks a lot!
Nico
Quoted 1 line · mail via lists.yoctoproject.org
I tried this with the master branch and it seems like its working.
Great, thanks for testing.
Quoted 2 lines
Some questions:
1.) When is Kirkstone planned for release?
We're about to make a release candidate build and the final release would ship in around 1-3 weeks after that depending on how things go.
Quoted 1 line
2.) Are these bugfixes backported to Honister and Hardknott?
They weren't but a few of us talked about this today and they are merged back to those branches now so things might hopefully work better there.
Cheers,
Richard
Quoted 12 lines · Richard Purdie
Quoted 1 line · mail via lists.yoctoproject.org
I tried this with the master branch and it seems like its working.
Great, thanks for testing.
Quoted 2 lines
Some questions:
1.) When is Kirkstone planned for release?We're about to make a release candidate build and the final release would ship
in around 1-3 weeks after that depending on how things go.
Quoted 7 lines
Quoted 1 line
2.) Are these bugfixes backported to Honister and Hardknott?
They weren't but a few of us talked about this today and they are merged back to
those branches now so things might hopefully work better there.With the patches RP backported and the patches I sent to fix the
orm/fixtures you should be able to build a "hardknott" project on the "hardknott" branch ("master" will not work due to breaking variable renaming changes which are too invasive to back port for a branch nearing end-of-life). You should also be able to build a "hardknott" or "honister" project on the "honister" branch (patches already merged).
Quoted 16 lines
Cheers,
Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#5795):
https://lists.yoctoproject.org/g/toaster/message/5795
Mute This Topic: https://lists.yoctoproject.org/mt/90241149/924729
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/toaster/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
@Richard Purdie
Thank you very much for your support, thats good news :)
I am taking a look at the backports tomorrow due to connectivity issues with regards to Yocto / Git downloads (see below).
@Tim Orling
Thanks for the information, I'd love to try this right now in the office, but sadly due to firewall restrictions, downloads of Git repos via ssh (git://) are blocked. Sadly I have never found a feature in Toaster to just "fallback" to the (mostly available) https links - and so I cannot use Yocto in my office, even though thats what its products will be used later. I know, its stupid, but the only way around is to go to home office and build the images there... Maybe just a stupid remark that such an option would be beyond awesome (forcing both ssh and https download links for any repo and making a option in toaster to make it either auto choose between both or forcing one of them if its known that restrictive firewalls will block one of them...). Currently for such tests I checkout via https (e.g. git clone -b honister http://git.yoctoproject.org/poky.git) and then have to manually rewrite every repo as soon as an error pops up. But as toaster fetches all repos at the beginning of a build (which is good!) - it does quickly break the process ;).
Regarding toaster:
honister repo:
"Create a new repo" has now the options Local, Dunfell, Hardknott, Honister, master
hardknott repo:
"Create a new repo" has now the options Local, Dunfell, Hardknott, master
I think a week ago both repos only had Local, Dunfell, Gatesgarth and master as build options, so this looks like a lot better :)!
I am going to try tomorrow in home office (due to the problem described above) to start building both and report back on how it went.
Thanks a lot for all your effort!
Cheers,
Nico
So, the promised intel, from today:
Trying to always build RPi 4B 64 bit with the core-image-minimal recepie
Hardknott repo with Hardknott as project choosen did work, only did show following warning at the end
Quoted 5 lines
/home/user/yocto_hardknott/poky/bitbake/lib/bb/ui/uievent.py:47:
DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working ifisinstance(ret, collections.Iterable):
Honister repo with Honister as project choosen did NOT work, showing this error:
Traceback (most recent call last):
File "/home/user/yocto_honister/poky/bitbake/bin/bitbake", line 38, in <module>cookerdata.CookerConfiguration()))
File "/home/user/yocto_honister/poky/bitbake/lib/bb/main.py", line 379, in bitbake_main
configParams)
File "/home/user/yocto_honister/poky/bitbake/lib/bb/ui/toasterui.py", line 135, in mainparams.updateToServer(server, os.environ.copy())
File "/home/user/yocto_honister/poky/bitbake/lib/bb/cookerdata.py", line 75, in updateToServer
raise Exception("Unable to update the server configuration with local parameters: %s" % error)
Exception: Unable to update the server configuration with local parameters: bb.BBHandledException()
Traceback (most recent call last):
File "/home/user/yocto_honister/poky/_toaster_clones/_git___git.yoctoproject.org_poky_honister/bitbake/lib/bb/cookerdata.py", line 274, in parseBaseConfiguration bb.event.fire(bb.event.ConfigParsed(), self.data)
File "/home/user/yocto_honister/poky/_toaster_clones/_git___git.yoctoproject.org_poky_honister/bitbake/lib/bb/event.py", line 216, in fire fire_class_handlers(event, d)
File "/home/user/yocto_honister/poky/_toaster_clones/_git___git.yoctoproject.org_poky_honister/bitbake/lib/bb/event.py", line 123, in fire_class_handlers execute_handler(name, handler, event, d)
File "/home/user/yocto_honister/poky/_toaster_clones/_git___git.yoctoproject.org_poky_honister/bitbake/lib/bb/event.py", line 93, in execute_handler ret = handler(event)
File "/home/user/yocto_honister/poky/_toaster_clones/_git___git.yoctoproject.org_poky_honister/meta/classes/base.bbclass", line 243, in defaultbase_eventhandler setup_hosttools_dir(d.getVar('HOSTTOOLS_DIR'), 'HOSTTOOLS', d)
File "/home/user/yocto_honister/poky/_toaster_clones/_git___git.yoctoproject.org_poky_honister/meta/classes/base.bbclass", line 146, in setup_hosttools_dir bb.fatal("The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:\n %s" % " ".join(notfound)) File "/home/user/yocto_honister/poky/_toaster_clones/_git___git.yoctoproject.org_poky_honister/bitbake/lib/bb/__init__.py", line 165, in fatal raise BBHandledException()
bb.BBHandledException
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/user/yocto_honister/poky/_toaster_clones/_git___git.yoctoproject.org_poky_honister/bitbake/lib/bb/command.py", line 90, in runCommand result = command_method(self, commandline)
File "/home/user/yocto_honister/poky/_toaster_clones/_git___git.yoctoproject.org_poky_honister/bitbake/lib/bb/command.py", line 286, in updateConfig command.cooker.updateConfigOpts(options, environment, cmdline)
File "/home/user/yocto_honister/poky/_toaster_clones/_git___git.yoctoproject.org_poky_honister/bitbake/lib/bb/cooker.py", line 506, in updateConfigOpts self.reset()
File "/home/user/yocto_honister/poky/_toaster_clones/_git___git.yoctoproject.org_poky_honister/bitbake/lib/bb/cooker.py", line 1738, in reset self.initConfigurationData()
File "/home/user/yocto_honister/poky/_toaster_clones/_git___git.yoctoproject.org_poky_honister/bitbake/lib/bb/cooker.py", line 360, in initConfigurationData self.databuilder.parseBaseConfiguration()
File "/home/user/yocto_honister/poky/_toaster_clones/_git___git.yoctoproject.org_poky_honister/bitbake/lib/bb/cookerdata.py", line 305, in parseBaseConfiguration raise bb.BBHandledException()
bb.BBHandledException
Master, with Kirkstone choosen did not work (nothing available), which was to be expected Master, with Yocto Project Master choosen did crash upon build with this error
2022-04-07 12:57:41,255 DEBUG Saving error Bitbake crash
Traceback (most recent call last):
File "/home/user/yocto_master/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/command.py", line 90, in runCommand result = command_method(self, commandline)
File "/home/user/yocto_master/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/command.py", line 286, in updateConfig command.cooker.updateConfigOpts(options, environment, cmdline)
File "/home/user/yocto_master/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 536, in updateConfigOpts self.reset()
File "/home/user/yocto_master/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 1776, in reset self.initConfigurationData()
File "/home/user/yocto_master/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 389, in initConfigurationData self.databuilder = bb.cookerdata.CookerDataBuilder(self.configuration, False)
File "/home/user/yocto_master/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cookerdata.py", line 252, in __init__ bb.fatal("Exiting to allow enviroment variables to be corrected")
File "/home/user/yocto_master/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/__init__.py", line 178, in fatal raise BBHandledException()
bb.BBHandledException
So currently only Hardknott works.
Cheers,
Nico
Hey there,
I just saw Kirkstone 4.0 was released, congrats to that :)!
I cloned the kirkstone repo, fired up toaster and tried to create a project with "Yocto Project 3.5 Kirkstone" as release (wondering about the 3.5, but its what it says :)), however, there is the usual info that no machines are available in the project configuration (Toaster has no machine information for this project. Sadly, machine information cannot be obtained from builds, so this page will remain empty.). Only choosing the "Yocto Project master" allows to choose a machine / add BSPs. Trying to build an image results in the usual error. Any idea on how to fix that?
Thank you very much for your help!
Bitbake crash
Traceback (most recent call last):
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/command.py", line 90, in runCommand
result = command_method(self, commandline)
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/command.py", line 286, in updateConfig
command.cooker.updateConfigOpts(options, environment, cmdline)
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 536, in updateConfigOpts
self.reset()
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 1775, in reset
self.initConfigurationData()
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 390, in initConfigurationData
self.databuilder.parseBaseConfiguration()
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cookerdata.py", line 305, in parseBaseConfiguration
raise bb.BBHandledException()
bb.BBHandledException
I tested the other repos as well, so a short info:
// 3.1.15 dunfell 2022-03-23
git clone -b dunfell https://git.yoctoproject.org/git/poky
-> Can choose and build Dunfell
// 3.4.3 honister 2022-03-29
git clone -b honister git://git.yoctoproject.org/poky.git
-> Cannot choose Honister (not available as release, only Hardknott). Hardknott seems to be building
// 4.0.0 kirkstone 2022-04-26
git clone -b kirkstone git://git.yoctoproject.org/poky.git
-> Can choose Kirkstone, but no machines available. Choosing master does crash the build
Todays clone of kirkstone and start of the toaster had kirkstone als project available and also machines available! But sadly a fast RPi 4B+/64bit build of core-image-minimal resulted in the usual error
Bitbake crash
Traceback (most recent call last):
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_kirkstone/bitbake/lib/bb/command.py", line 90, in runCommand
result = command_method(self, commandline)
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_kirkstone/bitbake/lib/bb/command.py", line 286, in updateConfig
command.cooker.updateConfigOpts(options, environment, cmdline)
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_kirkstone/bitbake/lib/bb/cooker.py", line 536, in updateConfigOpts
self.reset()
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_kirkstone/bitbake/lib/bb/cooker.py", line 1776, in reset
self.initConfigurationData()
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_kirkstone/bitbake/lib/bb/cooker.py", line 390, in initConfigurationData
self.databuilder.parseBaseConfiguration()
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_kirkstone/bitbake/lib/bb/cookerdata.py", line 305, in parseBaseConfiguration
raise bb.BBHandledException()
bb.BBHandledException
Hi Nico,
Could you provide the exact settings you used for this build?
I do not normally test Toaster against the RPi. There seems to be a bitbake event that is different from what Toaster expects.
David
From: [email protected] <[email protected]> On Behalf Of mail via lists.yoctoproject.org
Sent: Friday, April 29, 2022 5:21 AM
To: [email protected]
Subject: Re: [Toaster] Toaster failing
Todays clone of kirkstone and start of the toaster had kirkstone als project available and also machines available! But sadly a fast RPi 4B+/64bit build of core-image-minimal resulted in the usual error
Bitbake crash
Traceback (most recent call last):
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_kirkstone/bitbake/lib/bb/command.py", line 90, in runCommand
result = command_method(self, commandline)
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_kirkstone/bitbake/lib/bb/command.py", line 286, in updateConfig
command.cooker.updateConfigOpts(options, environment, cmdline)
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_kirkstone/bitbake/lib/bb/cooker.py", line 536, in updateConfigOpts
self.reset()
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_kirkstone/bitbake/lib/bb/cooker.py", line 1776, in reset
self.initConfigurationData()
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_kirkstone/bitbake/lib/bb/cooker.py", line 390, in initConfigurationData
self.databuilder.parseBaseConfiguration()
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_kirkstone/bitbake/lib/bb/cookerdata.py", line 305, in parseBaseConfiguration
raise bb.BBHandledException()
bb.BBHandledException
Hi Nico,
Toaster is waiting for the Layer Index to be populated for this very new release. Typically it takes a while for all the layers to catch up.
As you observed, you can use “master” in the meantime since the divergence is minimal at this time.
As per the event parsing error, I just sent a different email asking for the reproducer details.
Thanks,
David
From: [email protected] <[email protected]> On Behalf Of mail via lists.yoctoproject.org
Sent: Tuesday, April 26, 2022 11:07 PM
To: [email protected]
Subject: Re: [Toaster] Toaster failing
Hey there,
I just saw Kirkstone 4.0 was released, congrats to that :)!
I cloned the kirkstone repo, fired up toaster and tried to create a project with "Yocto Project 3.5 Kirkstone" as release (wondering about the 3.5, but its what it says :)), however, there is the usual info that no machines are available in the project configuration (Toaster has no machine information for this project. Sadly, machine information cannot be obtained from builds, so this page will remain empty.). Only choosing the "Yocto Project master" allows to choose a machine / add BSPs. Trying to build an image results in the usual error. Any idea on how to fix that?
Thank you very much for your help!
Bitbake crash
Traceback (most recent call last):
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/command.py", line 90, in runCommand
result = command_method(self, commandline)
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/command.py", line 286, in updateConfig
command.cooker.updateConfigOpts(options, environment, cmdline)
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 536, in updateConfigOpts
self.reset()
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 1775, in reset
self.initConfigurationData()
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 390, in initConfigurationData
self.databuilder.parseBaseConfiguration()
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cookerdata.py", line 305, in parseBaseConfiguration
raise bb.BBHandledException()
bb.BBHandledException
Quoted 1 line
“(wondering about the 3.5, but its what it says :)),”
Yeah, when I committed the updated release table for Toaster, Kirkstone was still listed as 3.5.
I will need to update that value for 4.1 going forward.
David
From: Reyna, David
Sent: Sunday, May 1, 2022 2:16 PM
To: [email protected]; [email protected]
Subject: RE: [Toaster] Toaster failing
Hi Nico,
Toaster is waiting for the Layer Index to be populated for this very new release. Typically it takes a while for all the layers to catch up.
As you observed, you can use “master” in the meantime since the divergence is minimal at this time.
As per the event parsing error, I just sent a different email asking for the reproducer details.
Thanks,
David
From: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> On Behalf Of mail via lists.yoctoproject.org
Sent: Tuesday, April 26, 2022 11:07 PM
To: [email protected]<mailto:[email protected]>
Subject: Re: [Toaster] Toaster failing
Hey there,
I just saw Kirkstone 4.0 was released, congrats to that :)!
I cloned the kirkstone repo, fired up toaster and tried to create a project with "Yocto Project 3.5 Kirkstone" as release (wondering about the 3.5, but its what it says :)), however, there is the usual info that no machines are available in the project configuration (Toaster has no machine information for this project. Sadly, machine information cannot be obtained from builds, so this page will remain empty.). Only choosing the "Yocto Project master" allows to choose a machine / add BSPs. Trying to build an image results in the usual error. Any idea on how to fix that?
Thank you very much for your help!
Bitbake crash
Traceback (most recent call last):
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/command.py", line 90, in runCommand
result = command_method(self, commandline)
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/command.py", line 286, in updateConfig
command.cooker.updateConfigOpts(options, environment, cmdline)
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 536, in updateConfigOpts
self.reset()
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 1775, in reset
self.initConfigurationData()
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 390, in initConfigurationData
self.databuilder.parseBaseConfiguration()
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cookerdata.py", line 305, in parseBaseConfiguration
raise bb.BBHandledException()
bb.BBHandledException
I am running the overall setup on a current Debian 10 installation.
Setup:
git clone -b kirkstone git://git.yoctoproject.org/poky.git
cd poky/
pip3 install --user -r bitbake/toaster-requirements.txt source oe-init-build-env
source toaster start
Create new project in Toaster:
Project name: test
Project type: New project
Release: Yocto Project 3.5 "Kirkstone"
Merged Toaster settings is turned OFF.
Adding Machine: raspberrypi4-64
(also tried raspberrypi0-2w-64, getting the same error)
Layers are
openembedded-core
meta-poky
meta-yocto-bsp
meta-raspberrypi
Distro: poky
Build recipe: core-image-minimal
(also tried rpi-test-image, getting the same error)
Bitbake crash
Traceback (most recent call last):
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_kirkstone/bitbake/lib/bb/command.py", line 90, in runCommand result = command_method(self, commandline)
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_kirkstone/bitbake/lib/bb/command.py", line 286, in updateConfig command.cooker.updateConfigOpts(options, environment, cmdline)
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_kirkstone/bitbake/lib/bb/cooker.py", line 536, in updateConfigOpts self.reset()
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_kirkstone/bitbake/lib/bb/cooker.py", line 1776, in reset self.initConfigurationData()
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_kirkstone/bitbake/lib/bb/cooker.py", line 390, in initConfigurationData self.databuilder.parseBaseConfiguration()
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_kirkstone/bitbake/lib/bb/cookerdata.py", line 305, in parseBaseConfiguration raise bb.BBHandledException()
bb.BBHandledException
I tried to build a toaster image / core-image-minimal with just default settings (qemux86 as machine) - but this did also fail with the same error.
When I create a new project and choose as Release the "Yocto Project Master", it will also fail, but at least for Raspberry Pi builds the meta-oe Layer will be added. Adding the meta-oe layer myself to the "Kirkstone" release projects does also not change anything, it will all fail with the same error shown above.
Thanks a lot for your help :)
Nico
Hi,
FYI, I have replicated the error and I am now tracing it.
David
From: [email protected] <[email protected]> On Behalf Of mail via lists.yoctoproject.org
Sent: Monday, May 2, 2022 9:12 AM
To: [email protected]
Subject: Re: [Toaster] Toaster failing
I am running the overall setup on a current Debian 10 installation.
Setup:
git clone -b kirkstone git://git.yoctoproject.org/poky.git
cd poky/
pip3 install --user -r bitbake/toaster-requirements.txt source oe-init-build-env
source toaster start
Create new project in Toaster:
Project name: test
Project type: New project
Release: Yocto Project 3.5 "Kirkstone"
Merged Toaster settings is turned OFF.
Adding Machine: raspberrypi4-64
(also tried raspberrypi0-2w-64, getting the same error)
Layers are
openembedded-core
meta-poky
meta-yocto-bsp
meta-raspberrypi
Distro: poky
Build recipe: core-image-minimal
(also tried rpi-test-image, getting the same error)
Bitbake crash
Traceback (most recent call last):
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_kirkstone/bitbake/lib/bb/command.py", line 90, in runCommand
result = command_method(self, commandline)
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_kirkstone/bitbake/lib/bb/command.py", line 286, in updateConfig
command.cooker.updateConfigOpts(options, environment, cmdline)
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_kirkstone/bitbake/lib/bb/cooker.py", line 536, in updateConfigOpts
self.reset()
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_kirkstone/bitbake/lib/bb/cooker.py", line 1776, in reset
self.initConfigurationData()
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_kirkstone/bitbake/lib/bb/cooker.py", line 390, in initConfigurationData
self.databuilder.parseBaseConfiguration()
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_kirkstone/bitbake/lib/bb/cookerdata.py", line 305, in parseBaseConfiguration
raise bb.BBHandledException()
bb.BBHandledException
I tried to build a toaster image / core-image-minimal with just default settings (qemux86 as machine) - but this did also fail with the same error.
When I create a new project and choose as Release the "Yocto Project Master", it will also fail, but at least for Raspberry Pi builds the meta-oe Layer will be added. Adding the meta-oe layer myself to the "Kirkstone" release projects does also not change anything, it will all fail with the same error shown above.
Thanks a lot for your help :)
Nico
Hey David,
that is great news. Thank you so much!
Best regards,
Nico
Hey David,
anything new?
Thanks a lot,
Nico
Hi Nico,
Sorry, I am head deep preparing for next week’s YP Summit as I am one of the organizers and presenters. I will have results as soon as that is over.
David
From: [email protected] <[email protected]> On Behalf Of mail via lists.yoctoproject.org
Sent: Wednesday, May 11, 2022 5:22 AM
To: [email protected]
Subject: Re: [Toaster] Toaster failing
Hey David,
anything new?
Thanks a lot,
Nico
Thank you very much and all the best for the YP summit and your presentations :)
Nico
Hi there,
just tried the latest Kirkstone release and sadly it is still failing with the usual error:
Bitbake crash
Traceback (most recent call last):
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/command.py", line 90, in runCommand
result = command_method(self, commandline)
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/command.py", line 286, in updateConfig
command.cooker.updateConfigOpts(options, environment, cmdline)
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 536, in updateConfigOpts
self.reset()
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 1775, in reset
self.initConfigurationData()
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 390, in initConfigurationData
self.databuilder.parseBaseConfiguration()
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cookerdata.py", line 305, in parseBaseConfiguration
raise bb.BBHandledException()
bb.BBHandledException
Hi Nico,
This issue is still on my list. I can file a formal defect so tht it is properly tracked. I should have some answers soon.
David
From: [email protected] <[email protected]> On Behalf Of mail via lists.yoctoproject.org
Sent: Thursday, June 2, 2022 3:50 AM
To: [email protected]
Subject: Re: [Toaster] Toaster failing
Hi there,
just tried the latest Kirkstone release and sadly it is still failing with the usual error:
Bitbake crash
Traceback (most recent call last):
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/command.py", line 90, in runCommand
result = command_method(self, commandline)
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/command.py", line 286, in updateConfig
command.cooker.updateConfigOpts(options, environment, cmdline)
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 536, in updateConfigOpts
self.reset()
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 1775, in reset
self.initConfigurationData()
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 390, in initConfigurationData
self.databuilder.parseBaseConfiguration()
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cookerdata.py", line 305, in parseBaseConfiguration
raise bb.BBHandledException()
bb.BBHandledException
Hi Nico,
I have created this bug to track the issue, and assigned it to M2.
Bug 14833<https://bugzilla.yoctoproject.org/show_bug.cgi?id=14833> - 'parseBaseConfiguration' exception for Toaster build
David
From: [email protected] <[email protected]> On Behalf Of mail via lists.yoctoproject.org
Sent: Thursday, June 2, 2022 3:50 AM
To: [email protected]
Subject: Re: [Toaster] Toaster failing
Hi there,
just tried the latest Kirkstone release and sadly it is still failing with the usual error:
Bitbake crash
Traceback (most recent call last):
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/command.py", line 90, in runCommand
result = command_method(self, commandline)
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/command.py", line 286, in updateConfig
command.cooker.updateConfigOpts(options, environment, cmdline)
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 536, in updateConfigOpts
self.reset()
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 1775, in reset
self.initConfigurationData()
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 390, in initConfigurationData
self.databuilder.parseBaseConfiguration()
File "/home/user/yocto_kirkstone/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cookerdata.py", line 305, in parseBaseConfiguration
raise bb.BBHandledException()
bb.BBHandledException
Thank you very much David!
I am very much looking forward to get this solved! Thanks for your kind support,
Nico
Hey David - anything new?
Thanks a lot,
Nico
Some other user just mailed me instead of answering in this forum that he just tried and found out it does not work yet.
Quoted 72 lines
---------- Forwarded message ---------
Von: < [email protected] >
Date: Di., 8. Nov. 2022 um 09:01 Uhr
Subject: Private: Re: [Toaster] Build never finishes [with log, error found]
To:I download poky on new folder. I use Toaster to build my first poky project, all settings is by default.
git clone
git://git.yoctoproject.org/poky (
http://git.yoctoproject.org/poky )cd poky
source oe-init-build-env
source toaster start
On my default poky project "Merged Toaster settings" is switched off by default. But I get error
NOTE: Tasks Summary: Attempted 2875 tasks of which 0 didn't need to be rerun and all succeeded.
NOTE: Toaster does not add kernel module dependencies to packages (v86d,kernel-module-uvesafb)
NOTE: Toaster does not add kernel module dependencies to packages (v86d,kernel-module-uvesafb)
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 1 seconds
ERROR: expected string or bytes-like object
Traceback (most recent call last):
File "
/home/a/YP/poky/bitbake/lib/bb/ui/toasterui.py", line 362, in main
buildinfohelper.scan_image_artifacts()File "
/home/a/YP/poky/bitbake/lib/bb/ui/buildinfohelper.py", line 1782, inscan_image_artifacts
real_image_name= re.sub(r'^defaultpkgname', image_target.target,File "
/usr/lib/python3.10/re.py", line 209, in subreturn
_compile(pattern, flags).sub(repl, string, count)TypeError: expected string or bytes-like object
And also I got warning:
poky/bitbake/lib/bb/ui/uievent.py:68: DeprecationWarning:setDaemon()is deprecated, set the daemon attribute insteadself.t.setDaemon(True)How I can build default example proj using Toaster?