Skip to content

Build failure: libpeas2 cannot find lua lgi package #301380

@astratagem

Description

@astratagem

Steps To Reproduce

Steps to reproduce the behavior:

  • Build libpeas2 on nixos-unstable
NOTE: an earlier version of this report contained misleading info, preserved for posterity within the collapsed content

Unclear to me.

I have only been able to reproduce this error as a dependency of my (flake-based) NixOS system configuration on aarch64-linux.

None of these alone result in an error:

# IGNORE THESE! SEE ABOVE UPDATE FOR CORRECT INFO
# nix build nixpkgs#libpeas
# nix build nixpkgs#gnome-builder

Build log

Full: https://gist.github.com/montchr/bdfd613a3b747a33f32bb669a30ed265

Excerpt of nixos-rebuild build --verbose output (removed unrelated lines):

building '/nix/store/d9qijlw975ag76bj5vv82j6l94srcg62-libpeas-2.0.1.drv'...
error: builder for '/nix/store/d9qijlw975ag76bj5vv82j6l94srcg62-libpeas-2.0.1.drv' failed with exit code 1;
       last 10 log lines:
       > Compiler for C supports link arguments -Wl,-z,relro: YES
       > Compiler for C supports link arguments -Wl,-z,now: YES
       > Compiler for C supports link arguments -Wl,-Bsymbolic: YES
       > Compiler for C supports link arguments -fno-plt: YES
       > Compiler for C supports arguments -fvisibility=hidden: YES
       > Configuring config.h using configuration
       >
       > meson.build:404:2: ERROR: Problem encountered: Lua51 requested but failed to locate suitable Lua51 and LGI support
       >
       > A full log can be found at /build/libpeas-2.0.1/build/meson-logs/meson-log.txt
       For full logs, run 'nix log /nix/store/d9qijlw975ag76bj5vv82j6l94srcg62-libpeas-2.0.1.drv'.
error: 1 dependencies of derivation '/nix/store/zhishld4zw0dg7wh8zipbzq29ilwyvyi-gnome-builder-45.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/bjidb7n0krz58w16rwavz966g4p55yg9-gnome-builder-45.0_fish-completions.drv' failed to build
error: 1 dependencies of derivation '/nix/store/kdjyyxmaxni2pk1q2n3z6i3gmkva4abg-man-paths.drv' failed to build
building '/nix/store/vm6dm6wzasgvh7y6mcxgqzd6x51d9h87-nnn-4.9.drv'...
error: 1 dependencies of derivation '/nix/store/5y654pcc4swqsf6sy1wr4g54nc9gcj5b-system-path.drv' failed to build
...
error: 1 dependencies of derivation '/nix/store/4l71d3j310ipbi29nglnlnjp8215hi1r-nixos-system-tuvok-24.05.20240403.08b9151.drv' failed to build

Additional context

Flake-based configuration for Asahi (Apple Silicon) system tracking nixos-unstable (08b9151)

[Update]:

After further searching, I found this upstream issue and fix from 4 years ago:

https://gitlab.gnome.org/GNOME/libpeas/-/issues/33
https://gitlab.gnome.org/GNOME/libpeas/-/merge_requests/20

I am not sure what to do with that, however.

Notify maintainers

@NixOS/gnome

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"aarch64-linux"`
 - host os: `Linux 6.6.0-asahi, NixOS, 24.05 (Uakari), 24.05.20240323.44d0940`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - nixpkgs: `/nix/store/06b0vfbjzpnn5qdar7yw83c6gzqsz5yd-amxd2p02wx78nyaa4bkb0hjvgwhz1dq7-source`

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: build failureA package fails to build6.topic: luaLua is a powerful, efficient, lightweight, embeddable scripting language.
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions