Skip to contentSkip to conversation

gnome desktop with kirkstone #kirkstone #gnome

DISCUSSION [email protected] 3 participants 7 messages Nov 20, 2024 – Feb 11, 2025 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

HI,
I am trying to launch gnome desktop with kirkstone for riscv64(custom distro).

For trial purpose I used poky to build qemu image with gnome.

in local.conf

MACHINE ?= "qemux86-64"
DISTRO_FEATURES:append = " x11 wayland pam systemd gnome" IMAGE_INSTALL:append = " gnome-session gnome-terminal gnome-control-center gnome-shell" DISTRO_FEATURES += "polkit opengl"

and vi  meta-openembedded/meta-gnome/recipes-core/images/core-image-gnome.bb

SUMMARY = "Minimal GNOME Desktop Image"
LICENSE = "MIT"
IMAGE_FEATURES += "ssh-server-dropbear"
IMAGE_INSTALL = "\
gnome-session \
gnome-terminal \
gnome-shell \
gnome-control-center \
gdm \
"
inherit core-image

The error I am facing is,
ERROR: Task (/home/vitthal/ankita/poky/meta/recipes-sato/webkit/webkitgtk_2.36.8.bb:do_compile) failed with exit code '1'

Any suggestions for this?

Thanks,
Ankita

#1 lore raw
Quoted 2 lines · Ankita.AN via lists.yoctoproject.org

The error I am facing is,
ERROR: Task (/home/vitthal/ankita/poky/meta/recipes-sato/webkit/webkitgtk_2.36.8.bb:do_compile) failed with exit code '1'

This is not the complete error message. Please do not truncate the messages from bitbake to just what you think the error is.

You need to look at ${T}/log.do_compile for webkitgtk.

Alex

#2 lore raw
In reply to [email protected]

Hi,

Webkitgtk is pulled in by gnome-control-center to provide support for online-accounts/cloud-storage. Recent webkitgtk is still broken with webassembly/jit for riscv64, so you should downgrade that to the version that is included in oe-core

Quoted 34 lines · On Wed, Nov 20 2024 at 02:51:53 AM -08:00:00, [email protected] wrote:

HI,
I am trying to launch gnome desktop with kirkstone for riscv64(custom distro).

For trial purpose I used poky to build qemu image with gnome.

in local.conf

MACHINE ?= "qemux86-64"
DISTRO_FEATURES:append = " x11 wayland pam systemd gnome" IMAGE_INSTALL:append = " gnome-session gnome-terminal gnome-control-center gnome-shell" DISTRO_FEATURES += "polkit opengl"

and vi meta-openembedded/meta-gnome/recipes-core/images/core-image-gnome.bb

SUMMARY = "Minimal GNOME Desktop Image"
LICENSE = "MIT"
IMAGE_FEATURES += "ssh-server-dropbear"

IMAGE_INSTALL = "\
    gnome-session \
    gnome-terminal \
    gnome-shell \
    gnome-control-center \
    gdm \
    "

inherit core-image

The error I am facing is,
ERROR: Task (/home/vitthal/ankita/poky/meta/recipes-sato/webkit/webkitgtk_2.36.8.bb:do_compile) failed with exit code '1'

Any suggestions for this?

Thanks,
Ankita

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

Sorry, I wasn't looking properly, I thought you wanted to build 2.46, but kirkstone is on 2.36. So just ignore this message

Quoted 39 lines · Markus Volk

Hi,

Webkitgtk is pulled in by gnome-control-center to provide support for online-accounts/cloud-storage. Recent webkitgtk is still broken with webassembly/jit for riscv64, so you should downgrade that to the version that is included in oe-core

Quoted 34 lines · On Wed, Nov 20 2024 at 02:51:53 AM -08:00:00, [email protected] wrote:

HI,
I am trying to launch gnome desktop with kirkstone for riscv64(custom distro).

For trial purpose I used poky to build qemu image with gnome.

in local.conf

MACHINE ?= "qemux86-64"
DISTRO_FEATURES:append = " x11 wayland pam systemd gnome" IMAGE_INSTALL:append = " gnome-session gnome-terminal gnome-control-center gnome-shell" DISTRO_FEATURES += "polkit opengl"

and vi meta-openembedded/meta-gnome/recipes-core/images/core-image-gnome.bb

SUMMARY = "Minimal GNOME Desktop Image"
LICENSE = "MIT"
IMAGE_FEATURES += "ssh-server-dropbear"

IMAGE_INSTALL = "\
    gnome-session \
    gnome-terminal \
    gnome-shell \
    gnome-control-center \
    gdm \
    "

inherit core-image

The error I am facing is,
ERROR: Task (/home/vitthal/ankita/poky/meta/recipes-sato/webkit/webkitgtk_2.36.8.bb:do_compile) failed with exit code '1'

Any suggestions for this?

Thanks,
Ankita

#5 lore raw

Hi,
Sorry for reopening this conversation, again started working on it now.

PFA for error log I get while building gnome-session recipe for riscv64(kirkstone).

Could you please help me on it?

Thanks

#6 lore raw

Looking at the log.do_compile it seems that you need to include cstdint:

/home/integration-team/webkit/sources/build/tmp-glibc/work/riscv64-oe-linux/webkitgtk/2.36.8-r0/webkitgtk-2.36.8/Source/ThirdParty/ANGLE/include/GLSLANG/ShaderVars.h:19:26: error: 'uint64_t' does not name a type

  19 | using ShCompileOptions = uint64_t;
     |                          ^~~~~~~~
/home/integration-team/webkit/sources/build/tmp-glibc/work/riscv64-oe-linux/webkitgtk/2.36.8-r0/webkitgtk-2.36.8/Source/ThirdParty/ANGLE/include/GLSLANG/ShaderVars.h:17:1: note: 'uint64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
  16 | #include <vector>
 +++ |+#include <cstdint>
  17 |
Quoted 8 lines · On Mon, Feb 10 2025 at 21:36:58 -08:00:00, [email protected] wrote:

Hi,
Sorry for reopening this conversation, again started working on it now.

PFA for error log I get while building gnome-session recipe for riscv64(kirkstone).

Could you please help me on it?

Thanks

#7 lore raw

Hi,
As per https://github.com/WebKit/WebKit/blob/webkitgtk-2.36.8/Source/ThirdParty/ANGLE/include/GLSLANG/ShaderVars.h there is no #include <cstdint> added in the source.
If I add it to /home/integration-team/webkit/sources/build/tmp-glibc/work/riscv64-oe-linux/webkitgtk/2.36.8-r0/webkitgtk-2.36.8/Source/ThirdParty/ANGLE/include/GLSLANG/ShaderVars.h the recipe gets build.

How do I use it from https://www.webkitgtk.org/releases/webkitgtk-2.36.8.tar.xz directly?

Thanks