Skip to content

Conversation

@joas8211
Copy link

@joas8211 joas8211 commented Dec 23, 2025

The build for xkbcommon was failing for me without the changes in this PR.

Changes

  • Remove usage of not existing xkb-base option
  • Embed xkeyboard-config-2 to /usr/share/X11/xkb because there was a symlink which was not being followed

Fixed errors

  1. With xkb-base option present the following error is printed:
meson.build:1:0: ERROR: Unknown option: "xkb-base".
  1. Without embedding xkeyboard-config-2:
[37/37] Linking static target libxkbcommon.a
Nothing to do!
emcc: error: '/home/joas/files/projects/greenfield/libs/compositor-wasm/emsdk/upstream/emscripten/tools/file_packager ../../src/libxkbcommon.data --from-emcc --embed /home/joas/files/projects/greenfield/libs/compositor-wasm/xkbcommon/repo/share/X11@/usr/share/X11 --no-node --obj-output=/tmp/emscripten_temp_mbknamxq/embedded_files.o' failed (returned 1)
  1. When embedding /usr/share/X11 with the symlink and also embedding /usr/share/xkeyboard-config-2 there was a FS error when running Compositor Shell in Firefox

- Remove usage of deprecated xkb-base option
- Embed also /usr/share/xkeyboard-config-2 which is symlinked from /usr/share/X11
This avoids the symlink which doesn't seem to be supported by the runtime.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant