Skip to content

flake: configure the engine with --libdir=lib - #66

Merged
lacraig2 merged 1 commit into
mainfrom
engine-libdir
Nov 13, 2026
Merged

lacraig2 merged 1 commit into
mainfrom
engine-libdir

Conversation

@lacraig2

Copy link
Copy Markdown
Member

The nightly guest suite has failed since 2026-11-10 while building the engine on the self-hosted runners:

cp: cannot create regular file '/nix/store/…-panda-engine-0.0.0.dev0/lib/': Not a directory

Without --libdir, meson picks the library directory from the build host. On a Debian-like host it uses lib/<triplet>, if dpkg-architecture runs. Otherwise it uses lib64 when /usr/lib64 is a real directory, which it is on Ubuntu. A sandboxed build sees neither and installs into lib. An unsandboxed build on an Ubuntu runner installs into $out/lib64, so the install phase's cp … $out/lib/ fails. The hosted CI runners build sandboxed and never hit this.

Testing

  • Sandboxed nix build .#python: builds.
  • tests/smoke.py x86_64: passes.
  • Not yet run on the self-hosted runners, which is where the bug shows; the next nightly guest suite will be the first run there.

Without --libdir, meson chooses the library directory from the build
host: lib64 when /usr/lib64 is a directory, or lib/<triplet> on Debian
hosts with dpkg-architecture. A sandboxed build sees neither and uses
lib. An unsandboxed build on an Ubuntu runner installs into $out/lib64,
and the install phase's copy into $out/lib fails with "Not a
directory".
@lacraig2
lacraig2 merged commit bc42556 into main Nov 13, 2026
9 of 10 checks passed
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