Skip to content
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: localsend #276774

Closed
kacperwyczawski opened this issue Dec 25, 2023 · 4 comments
Closed

Build failure: localsend #276774

kacperwyczawski opened this issue Dec 25, 2023 · 4 comments

Comments

@kacperwyczawski
Copy link

kacperwyczawski commented Dec 25, 2023

Steps To Reproduce

Steps to reproduce the behavior:

  1. build localsend

Build log

error: builder for '/nix/store/72bjd7x50y8f95hsvjhnbphjk5xgcykd-localsend-1.12.0-dart-deps-list.json.drv' failed with exit code 1;
       last 10 log lines:
       > unpacking source archive /nix/store/xmirdp6khwp3caxkf1wg6pp5l2fj5rx0-source
       > source root is source/app
       > Running phase: patchPhase
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase
       > Resolving dependencies...
       > ! permission_handler_windows 0.1.2 from git https://github.com/localsend/permission_handler_windows_noop.git at fc09b7 (overridden)
       > Got dependencies!
       > Running phase: buildPhase
       > The Flutter SDK is not available.
       For full logs, run 'nix log /nix/store/72bjd7x50y8f95hsvjhnbphjk5xgcykd-localsend-1.12.0-dart-deps-list.json.drv'.
error: 1 dependencies of derivation '/nix/store/vlmrbmpdh0siizgr5mh2pcmqs26dcs7x-localsend-1.12.0.drv' failed to build

Additional context

Localsend 1.12.0 release

Notify maintainers

@sikmir

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: `"x86_64-linux"`
 - host os: `Linux 6.1.68, NixOS, 24.05 (Uakari), 24.05.20231219.54aac08`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Add a 👍 reaction to issues you find important.

@kacperwyczawski kacperwyczawski changed the title Build failure: localsend Build failure: localsend Dec 26, 2023
@MikaelFangel
Copy link
Contributor

MikaelFangel commented Dec 26, 2023

Can you try to update your system because it builds fine on my system and from the master branch?

nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.68, NixOS, 24.05 (Uakari), 24.05.20231222.6df37dc`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - nixpkgs: `/nix/store/50bgi74d890mpkp90w1jwc5g0dw4dccr-source`

EDIT:
I get the same build error now on my system, but not on master.

@kacperwyczawski
Copy link
Author

kacperwyczawski commented Dec 27, 2023

kacper in nixos🔒 on  main took 3s 
❯ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.69, NixOS, 24.05 (Uakari), 24.05.20231222.6df37dc`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`


kacper in nixos🔒 on  main took 2s 
❯ sudo nixos-rebuild switch
warning: Git tree '/etc/nixos' is dirty
building the system configuration...
warning: Git tree '/etc/nixos' is dirty
error: builder for '/nix/store/72bjd7x50y8f95hsvjhnbphjk5xgcykd-localsend-1.12.0-dart-deps-list.json.drv' failed with exit code 1;
       last 10 log lines:
       > unpacking source archive /nix/store/xmirdp6khwp3caxkf1wg6pp5l2fj5rx0-source
       > source root is source/app
       > Running phase: patchPhase
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase
       > Resolving dependencies...
       > ! permission_handler_windows 0.1.2 from git https://github.com/localsend/permission_handler_windows_noop.git at fc09b7 (overridden)
       > Got dependencies!
       > Running phase: buildPhase
       > The Flutter SDK is not available.
       For full logs, run 'nix log /nix/store/72bjd7x50y8f95hsvjhnbphjk5xgcykd-localsend-1.12.0-dart-deps-list.json.drv'.
error: 1 dependencies of derivation '/nix/store/vlmrbmpdh0siizgr5mh2pcmqs26dcs7x-localsend-1.12.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/8x7h9gn7gb293jf9kx14ilvnlr1w3kj3-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/ncf46mbbwm44vwvf32m5z5qlc2vs4sm7-nixos-system-nixos-24.05.20231224.5f64a12.drv' failed to build

Still failing 😕

Edit: When I use nix run nixpkgs#localsend it works correctly. Maybe I'm doing something wrong?

@devraza
Copy link

devraza commented Dec 27, 2023

Don't think you're doing anything wrong, I updated my flake with nix flake update today and rebuilt with sudo nixos-rebuild switch --upgrade-all (as usual) and I encountered the same The Flutter SDK is not available error with building localsend

@MikaelFangel
Copy link
Contributor

Researched it a bit more and found that this is closed by: #276414

Follow the status here.

Feel free to reopen this issue if you disagree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants