All of lore.kernel.org
 help / color / mirror / Atom feed
* #bitbake Can't use 'bitbake -g <image-name> -u taskdep
@ 2021-04-16 11:27 keydi
  2021-04-22 16:00 ` keydi
  0 siblings, 1 reply; 5+ messages in thread
From: keydi @ 2021-04-16 11:27 UTC (permalink / raw)
  To: yocto

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

Hi,
Myself had to ask web search engine for usage of Task Dependency Explorer taskexp as I didn't succeed on search in Yocto materials.
Hence, the way I try to use taskexp might be not right.

In the fashion as I try to start Task Dependency Explorer it does not work.
Invocation completes with error in __init__.py  -> require_version figures out lack of Gtk namespace.
Which is build-area Gtk is missed? Image, distribution, yet another?
Which way of fixing should I aim to resolve error?

File "/mnt/..../meta/poky/bitbake/lib/bb/ui/taskexp.py", line 22, in <module>
gi.require_version('Gtk', '3.0')
File "/usr/lib/python3/dist-packages/gi/__init__.py", line 130, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Gtk not available

Best Regards
keydi

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

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

* Re: #bitbake Can't use 'bitbake -g <image-name> -u taskdep
  2021-04-16 11:27 #bitbake Can't use 'bitbake -g <image-name> -u taskdep keydi
@ 2021-04-22 16:00 ` keydi
  2021-04-22 16:04   ` keydi
  2021-04-22 16:38   ` [yocto] " Ross Burton
  0 siblings, 2 replies; 5+ messages in thread
From: keydi @ 2021-04-22 16:00 UTC (permalink / raw)
  To: yocto

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

Myself wonders if the answer is just to enable a recipe building native package gtk of version 3.0.

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

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

* Re: #bitbake Can't use 'bitbake -g <image-name> -u taskdep
  2021-04-22 16:00 ` keydi
@ 2021-04-22 16:04   ` keydi
  2021-04-22 16:38   ` [yocto] " Ross Burton
  1 sibling, 0 replies; 5+ messages in thread
From: keydi @ 2021-04-22 16:04 UTC (permalink / raw)
  To: yocto

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

If yes, me wonders how to force Bitbake to build that recipe, if for target system gtk is not built, there is actually no target depending on gtk. Hence, I add such recipe Bitbake might ignore it as target system image does not order, nor any other target depends on.

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

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

* Re: [yocto] #bitbake Can't use 'bitbake -g <image-name> -u taskdep
  2021-04-22 16:00 ` keydi
  2021-04-22 16:04   ` keydi
@ 2021-04-22 16:38   ` Ross Burton
  2021-04-23 10:13     ` keydi
  1 sibling, 1 reply; 5+ messages in thread
From: Ross Burton @ 2021-04-22 16:38 UTC (permalink / raw)
  To: keydi; +Cc: yocto

Basically, taskdep needs gobject-introspection and gtk3 on the host.
You're most likely missing the GTK3 gir files.

Ross

On Thu, 22 Apr 2021 at 17:00, keydi <krzysztof.dudziak@thalesgroup.com> wrote:
>
> Myself wonders if the answer is just to enable a recipe building native package gtk of version 3.0.
> 
>

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

* Re: #bitbake Can't use 'bitbake -g <image-name> -u taskdep
  2021-04-22 16:38   ` [yocto] " Ross Burton
@ 2021-04-23 10:13     ` keydi
  0 siblings, 0 replies; 5+ messages in thread
From: keydi @ 2021-04-23 10:13 UTC (permalink / raw)
  To: yocto

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

As for project here Poky operates on headless server. Developers use SSH to interact with Poky, to handle its input data, and to access build results. Must gtk3 be installed locally to Poky or will taskexp be able to connect to gtk3 operating on ssh client? As of time being Poky host has gtk not installed. Installation of gtk on Poky host will need approval of latter's administrator.

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

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

end of thread, other threads:[~2021-04-23 10:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-16 11:27 #bitbake Can't use 'bitbake -g <image-name> -u taskdep keydi
2021-04-22 16:00 ` keydi
2021-04-22 16:04   ` keydi
2021-04-22 16:38   ` [yocto] " Ross Burton
2021-04-23 10:13     ` keydi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.