-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build failure: libpeas2 cannot find lua lgi package #301380
Comments
My build attempt of libpeas2 is attached: |
I was greeted with the same issue when I attempted to update |
I would like to add that I get an error in the $ nix build nixpkgs#gnome-builder
error: builder for '/nix/store/lb0wgpa45fc4lx8hica7zmy9r6dpcq3f-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/lb0wgpa45fc4lx8hica7zmy9r6dpcq3f-libpeas-2.0.1.drv'.
error: 1 dependencies of derivation '/nix/store/ghkc30l1q8zqzqw2jsac4g20rbp8jx32-gnome-builder-45.0.drv' failed to build Edit: I cannot build |
That is because I am currently bisecting it but it goes slow without timokau/nix-bisect#25. |
I added that because the original issue states that they can build |
Maybe they have cached older version of nixpkgs flake ref. |
This comment appears to state that the linked PR is what caused libpeas2 to fail to build: #289135 (comment) |
Weird. It was supposed to have been fixed by 0f6ddea, which is in nixos-unstable according to https://nixpk.gs/pr-tracker.html?pr=292500 but |
Apologies for the confusing info I provided in the opening description. I do see build failures for both [cdom@tuvok]% nix build github:nixos/nixpkgs/nixos-unstable#libpeas2
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'.
[cdom@tuvok]% nix build github:nixos/nixpkgs/nixos-unstable#gnome-builder
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'.
@jtojnar You're right, thanks. Now I know better for next time to verify stuff like this with |
Does not build here, nixpkgs @ fd281bd |
cc @lolbinarycat and @vcunat who last touched the lua stuff |
I hoped this regression should be fixed by |
- exlucde vala-language-server till NixOS/nixpkgs#301380 is fixed
For others wishing to track the status of #300905, the PR adding these commits: https://nixpk.gs/pr-tracker.html?pr=300905 Unfortunately, it looks as though the changes have been stuck on the I'm having some trouble following the chain of related PRs. @vcunat (or anyone else) do you have a better sense of when we might see those changes make it out of |
Roughly two weeks from now. |
- exlucde vala-language-server till NixOS/nixpkgs#301380 is fixed
Steps To Reproduce
Steps to reproduce the behavior:
libpeas2
onnixos-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 onaarch64-linux
.None of these alone result in an error:Build log
Full: https://gist.github.com/montchr/bdfd613a3b747a33f32bb669a30ed265
Excerpt of
nixos-rebuild build --verbose
output (removed unrelated lines):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.Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: