toaster.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
* Toaster failing
@ 2022-04-04 13:12 mail
  0 siblings, 0 replies; 15+ messages in thread
From: mail @ 2022-04-04 13:12 UTC (permalink / raw)
  To: toaster

[-- Attachment #1: Type: text/plain, Size: 7703 bytes --]

Toaster is currently failing bitbaking with Hardknott and Honister releases

What do I do?
On a updated Debian 10 which was using Yocto some months ago successfully, checking out hardknott...

cd ~
mkdir yocto
cd yocto
git clone -b hardknott git://git.yoctoproject.org/poky.git
cd ~/yocto/poky
pip3 install --user -r bitbake/toaster-requirements.txt
cd ~/yocto/poky
source oe-init-build-env
source toaster start

Go into toaster, create a new project from Yocto Project master (both Hardknott and Honister are not available as options in their respective Yocto branches, only local and Master and older releases...), trying to build a "core-image-minimal" with all default settings does keep toaster hanging at "Tasks starting".

yocto/poky/build/toaster_runbuilds.log

2022-04-04 13:06:51,931 INFO runbuilds: starting build Project object (3) in progress, environment BuildEnvironment object (1)
2022-04-04 13:06:51,933 DEBUG localhostbecontroller, our git repos are {('git://git.yoctoproject.org/poky', 'master'): [('bitbake', 'bitbake', 0),
('openembedded-core',
'meta',
0),
('meta-poky', 'meta-poky', 1),
('meta-yocto-bsp',
'meta-yocto-bsp',
2)]}
2022-04-04 13:06:51,933 DEBUG lbc_shellcmd: (/home/user/yocto/poky) git remote -v
2022-04-04 13:06:51,936 DEBUG localhostbecontroller: shellcmd success
2022-04-04 13:06:51,936 INFO Using pre-checked out source for layer {'git://git.yoctoproject.org/poky.git': '/home/user/yocto/poky'}
2022-04-04 13:06:51,939 DEBUG localhostbecontroller: giturl git://git.yoctoproject.org/poky:master checking out in current directory /home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master
2022-04-04 13:06:51,939 DEBUG lbc_shellcmd: (/home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master) git remote -v
2022-04-04 13:06:51,941 DEBUG localhostbecontroller: shellcmd success
2022-04-04 13:06:51,942 DEBUG localhostbecontroller: checking out commit master to /home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master
2022-04-04 13:06:51,942 DEBUG lbc_shellcmd: (/home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master) git fetch && git reset --hard "origin/master"
2022-04-04 13:06:52,965 DEBUG localhostbecontroller: shellcmd success
2022-04-04 13:06:52,965 DEBUG localhostbecontroller: selected poky dir name /home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master
2022-04-04 13:06:52,965 DEBUG localhostbecontroller: localdirpath expects '/home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake'
2022-04-04 13:06:52,965 DEBUG localhostbecontroller: localdirpath expects '/home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/meta'
2022-04-04 13:06:52,965 DEBUG localhostbecontroller: localdirpath expects '/home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/meta-poky'
2022-04-04 13:06:52,965 DEBUG localhostbecontroller: localdirpath expects '/home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/meta-yocto-bsp'
2022-04-04 13:06:52,966 DEBUG localhostbecontroller: current layer list ['000:/home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/meta',
'001:/home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/meta-poky',
'002:/home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/meta-yocto-bsp']
2022-04-04 13:06:52,968 DEBUG

set layers gives this list ['000:/home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/meta',
'001:/home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/meta-poky',
'002:/home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/meta-yocto-bsp']
2022-04-04 13:06:52,968 DEBUG lbc_shellcmd: (/home/user/yocto/poky) bash -c 'source /home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/oe-init-build-env /home/user/yocto/poky/build-toaster-3'
2022-04-04 13:06:53,004 DEBUG localhostbecontroller: shellcmd success
2022-04-04 13:06:53,005 DEBUG lbc_shellcmd: (/home/user/yocto/poky) unset BBPATH; bash -c "source /home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/oe-init-build-env /home/user/yocto/poky/build-toaster-3; BITBAKE_UI="knotty" /home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/bin/bitbake --read /home/user/yocto/poky/build-toaster-3/conf/toaster.conf --read /home/user/yocto/poky/build-toaster-3/conf/toaster-bblayers.conf --server-only -B 0.0.0.0:0"
2022-04-04 13:06:53,452 DEBUG localhostbecontroller: shellcmd success
2022-04-04 13:06:53,453 DEBUG localhostbecontroller: bitbake port 38709
2022-04-04 13:06:53,454 DEBUG lbc_shellcmd: (/home/user/yocto/poky/build-toaster-3) ['unset BBPATH; bash -c "(TOASTER_BRBE="3:1" BBSERVER="0.0.0.0:38709" /home/user/yocto/poky/bitbake/bin/bitbake core-image-minimal  -u toasterui  --read /home/user/yocto/poky/build-toaster-3/conf/toaster.conf --read /home/user/yocto/poky/build-toaster-3/conf/toaster-bblayers.conf --token="" >>/home/user/yocto/poky/build-toaster-3/toaster_ui.log 2>&1;BITBAKE_UI="knotty" BBSERVER=0.0.0.0:38709 /home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/bin/bitbake -m)&"']
2022-04-04 13:06:53,456 DEBUG localhostbecontroller: Build launched, exiting. Follow build logs at /home/user/yocto/poky/build-toaster-3/toaster_ui.log

yocto/poky/build-toaster-3/toaster_ui.log

Traceback (most recent call last):
File "/home/user/yocto/poky/bitbake/bin/bitbake", line 36, in <module>
cookerdata.CookerConfiguration()))
File "/home/user/yocto/poky/bitbake/lib/bb/main.py", line 386, in bitbake_main
configParams)
File "/home/user/yocto/poky/bitbake/lib/bb/ui/toasterui.py", line 135, in main
params.updateToServer(server, os.environ.copy())
File "/home/user/yocto/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/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/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/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 536, in updateConfigOpts
self.reset()
File "/home/user/yocto/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 1776, in reset
self.initConfigurationData()
File "/home/user/yocto/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/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/poky/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/__init__.py", line 178, in fatal
raise BBHandledException()
bb.BBHandledException

This happens with both Honister and Hardknott, Gatesgarth and Dunfell are working fine.
How to resolve this issue?

Thanks a lot!

Nico

[-- Attachment #2: Type: text/html, Size: 10503 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Toaster failing
  2022-08-01 10:17   ` mail
@ 2022-11-09  6:03     ` mail
  0 siblings, 0 replies; 15+ messages in thread
From: mail @ 2022-11-09  6:03 UTC (permalink / raw)
  To: toaster

[-- Attachment #1: Type: text/plain, Size: 2012 bytes --]

Some other user just mailed me instead of answering in this forum that he just tried and found out it does not work yet.

> 
> 
> 
> ---------- Forwarded message ---------
> Von: < glscene2010@gmail.com >
> 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,
> in scan_image_artifacts
> 
>     real_image_name = re.sub(r'^defaultpkgname', image_target.target,
> 
>   File "/usr/lib/python3.10/re.py", line 209, in sub
> 
>     return _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 instead  self.t.setDaemon(True)
> 
> How I can build default example proj using Toaster?
> 
>

[-- Attachment #2: Type: text/html, Size: 38510 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Toaster failing
  2022-06-10  7:09 ` mail
@ 2022-08-01 10:17   ` mail
  2022-11-09  6:03     ` mail
  0 siblings, 1 reply; 15+ messages in thread
From: mail @ 2022-08-01 10:17 UTC (permalink / raw)
  To: toaster

[-- Attachment #1: Type: text/plain, Size: 50 bytes --]

Hey David - anything new?

Thanks a lot,
Nico

[-- Attachment #2: Type: text/html, Size: 62 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Toaster failing
  2022-06-10  7:05 [Toaster] " Reyna, David
@ 2022-06-10  7:09 ` mail
  2022-08-01 10:17   ` mail
  0 siblings, 1 reply; 15+ messages in thread
From: mail @ 2022-06-10  7:09 UTC (permalink / raw)
  To: toaster

[-- Attachment #1: Type: text/plain, Size: 119 bytes --]

Thank you very much David!
I am very much looking forward to get this solved!
Thanks for your kind support,

Nico

[-- Attachment #2: Type: text/html, Size: 135 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Toaster failing
  2022-05-12  7:57 ` mail
@ 2022-06-02 10:49   ` mail
  0 siblings, 0 replies; 15+ messages in thread
From: mail @ 2022-06-02 10:49 UTC (permalink / raw)
  To: toaster

[-- Attachment #1: Type: text/plain, Size: 1338 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1377 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Toaster failing
  2022-05-11 16:59 [Toaster] " Reyna, David
@ 2022-05-12  7:57 ` mail
  2022-06-02 10:49   ` mail
  0 siblings, 1 reply; 15+ messages in thread
From: mail @ 2022-05-12  7:57 UTC (permalink / raw)
  To: toaster

[-- Attachment #1: Type: text/plain, Size: 90 bytes --]

Thank you very much and all the best for the YP summit and your presentations :)

Nico

[-- Attachment #2: Type: text/html, Size: 98 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Toaster failing
  2022-05-04 10:28 ` mail
@ 2022-05-11 12:21   ` mail
  0 siblings, 0 replies; 15+ messages in thread
From: mail @ 2022-05-11 12:21 UTC (permalink / raw)
  To: toaster

[-- Attachment #1: Type: text/plain, Size: 50 bytes --]

Hey David,
anything new?

Thanks a lot,
Nico

[-- Attachment #2: Type: text/html, Size: 66 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Toaster failing
  2022-05-04 10:02 [Toaster] " Reyna, David
@ 2022-05-04 10:28 ` mail
  2022-05-11 12:21   ` mail
  0 siblings, 1 reply; 15+ messages in thread
From: mail @ 2022-05-04 10:28 UTC (permalink / raw)
  To: toaster

[-- Attachment #1: Type: text/plain, Size: 79 bytes --]

Hey David,

that is great news. Thank you so much!

Best regards,

Nico

[-- Attachment #2: Type: text/html, Size: 103 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Toaster failing
  2022-05-01 21:18 [Toaster] " Reyna, David
@ 2022-05-02 16:12 ` mail
  0 siblings, 0 replies; 15+ messages in thread
From: mail @ 2022-05-02 16:12 UTC (permalink / raw)
  To: toaster

[-- Attachment #1: Type: text/plain, Size: 2431 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 3288 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Toaster failing
  2022-04-27  6:55       ` mail
@ 2022-04-29 12:20         ` mail
  0 siblings, 0 replies; 15+ messages in thread
From: mail @ 2022-04-29 12:20 UTC (permalink / raw)
  To: toaster

[-- Attachment #1: Type: text/plain, Size: 1457 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1502 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Toaster failing
  2022-04-27  6:07     ` mail
@ 2022-04-27  6:55       ` mail
  2022-04-29 12:20         ` mail
  0 siblings, 1 reply; 15+ messages in thread
From: mail @ 2022-04-27  6:55 UTC (permalink / raw)
  To: toaster

[-- Attachment #1: Type: text/plain, Size: 553 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 610 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Toaster failing
  2022-04-07 11:03   ` mail
@ 2022-04-27  6:07     ` mail
  2022-04-27  6:55       ` mail
  0 siblings, 1 reply; 15+ messages in thread
From: mail @ 2022-04-27  6:07 UTC (permalink / raw)
  To: toaster

[-- Attachment #1: Type: text/plain, Size: 1922 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1979 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Toaster failing
  2022-04-06  6:28 ` mail
@ 2022-04-07 11:03   ` mail
  2022-04-27  6:07     ` mail
  0 siblings, 1 reply; 15+ messages in thread
From: mail @ 2022-04-07 11:03 UTC (permalink / raw)
  To: toaster

[-- Attachment #1: Type: text/plain, Size: 5770 bytes --]

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

> 
> /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 
> if isinstance(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 main
params.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

[-- Attachment #2: Type: text/html, Size: 6758 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Toaster failing
  2022-04-05 20:23 [Toaster] " Tim Orling
@ 2022-04-06  6:28 ` mail
  2022-04-07 11:03   ` mail
  0 siblings, 1 reply; 15+ messages in thread
From: mail @ 2022-04-06  6:28 UTC (permalink / raw)
  To: toaster

[-- Attachment #1: Type: text/plain, Size: 1821 bytes --]

@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

[-- Attachment #2: Type: text/html, Size: 1915 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Toaster failing
       [not found] <3ee004b6c31c97b9918bc03d2f702229cd74ab7a.camel@linuxfoundation.org>
@ 2022-04-05  7:51 ` mail
  0 siblings, 0 replies; 15+ messages in thread
From: mail @ 2022-04-05  7:51 UTC (permalink / raw)
  To: toaster

[-- Attachment #1: Type: text/plain, Size: 218 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 250 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2022-11-09  6:03 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-04 13:12 Toaster failing mail
     [not found] <3ee004b6c31c97b9918bc03d2f702229cd74ab7a.camel@linuxfoundation.org>
2022-04-05  7:51 ` mail
2022-04-05 20:23 [Toaster] " Tim Orling
2022-04-06  6:28 ` mail
2022-04-07 11:03   ` mail
2022-04-27  6:07     ` mail
2022-04-27  6:55       ` mail
2022-04-29 12:20         ` mail
2022-05-01 21:18 [Toaster] " Reyna, David
2022-05-02 16:12 ` mail
2022-05-04 10:02 [Toaster] " Reyna, David
2022-05-04 10:28 ` mail
2022-05-11 12:21   ` mail
2022-05-11 16:59 [Toaster] " Reyna, David
2022-05-12  7:57 ` mail
2022-06-02 10:49   ` mail
2022-06-10  7:05 [Toaster] " Reyna, David
2022-06-10  7:09 ` mail
2022-08-01 10:17   ` mail
2022-11-09  6:03     ` mail

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).