All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gyorgy Sarvari <skandigraun@gmail.com>
To: matteo.orlandini@tastitalia.com, yocto@lists.yoctoproject.org
Subject: Re: [yocto] Virtual Keyboard on Wayland
Date: Thu, 26 Jun 2025 09:01:10 +0200	[thread overview]
Message-ID: <a21ba424-4cb6-4284-a022-bc43b591bbbf@gmail.com> (raw)
In-Reply-To: <11968760-1c60-42a6-88f9-5dc7c1f219b9@gmail.com>

On 6/25/25 19:18, Gyorgy Sarvari wrote:
> On 6/25/25 17:03, matteo.orlandini via Lists.Yoctoproject.Org wrote:
>> On Mon, Jun 23, 2025 at 02:48 PM, Gyorgy Sarvari wrote:
>>
>>     It seems that gnome-desktop's  x11 dependency was a relic of the past,
>>     and has been removed[1] some time ago. Maybe you could try to backport
>>     it in your layer (as local.conf or bbappend) and see what happens? (Or
>>     maybe even send a patch to the mailing list, if it works)
>>
>>     [1]:
>>     https://git.openembedded.org/meta-openembedded/commit/?id=8106d4192567233f0653242326ac3041a1233b69
>>
>> I added this .bbappend:
>> REQUIRED_DISTRO_FEATURES:remove = "x11"
>>  
>> DEPENDS:remove = "xext xrandr"
>>  
>> but now I got this error:
>> process didn't exit successfully: `rustc - --crate-name ___
>> --print=file-names -L
>> /newbuild/tmp/work/armv8a-poky-linux/squeekboard/1.19.0/recipe-sysroot/usr/lib/rustlib/aarch64-poky-linux-gnu/lib
>> --remap-path-prefix=/newbuild/tmp/work/armv8a-poky-linux/squeekboard/1.19.0=/usr/src/debug/squeekboard/1.19.0
>> --target aarch64-poky-linux --crate-type bin --crate-type rlib
>> --crate-type dylib --crate-type cdylib --crate-type staticlib
>> --crate-type proc-macro --print=sysroot --print=split-debuginfo
>> --print=crate-name --print=cfg` (exit status: 1)
>>   --- stderr
>>   error: Error loading target specification: Could not find
>> specification for target "aarch64-poky-linux". Run `rustc --print
>> target-list` for a list of built-in targets
> Which rust version, and from which layer are you using? I remember that
> meta-rust uses slightly different target names than oe-core/lts-mixins,
> which can cause some head scratching...

I think I see the problem. The scarthgap version of the recipe sets the
target to HOST_SYS, instead of RUST_HOST_SYS (which issue is very
similar to the meta-rust one)

Try adding this to a bbappend for squeekboard:

EXTRA_OEMESON = "\
   -Dcargo-flags=[\'--target\',\'${RUST_HOST_SYS}\',\'-v\'] \
   -Dtests=false \
   -Ddepdatadir=${datadir} \
   -Donline=false \
   -Dnewer=true \
"




  reply	other threads:[~2025-06-26  7:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-23 12:22 Virtual Keyboard on Wayland matteo.orlandini
2025-06-23 12:48 ` [yocto] " Gyorgy Sarvari
2025-06-23 15:04   ` matteo.orlandini
2025-06-25 15:03   ` [yocto] " matteo.orlandini
2025-06-25 17:18     ` Gyorgy Sarvari
2025-06-26  7:01       ` Gyorgy Sarvari [this message]
2025-06-26  8:13 ` Takuro Ashie
2025-06-27 14:33   ` matteo.orlandini
2025-06-27 23:02     ` Takuro Ashie
2025-06-30  7:07       ` matteo.orlandini
2025-09-16 14:06       ` matteo.orlandini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a21ba424-4cb6-4284-a022-bc43b591bbbf@gmail.com \
    --to=skandigraun@gmail.com \
    --cc=matteo.orlandini@tastitalia.com \
    --cc=yocto@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.