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: yubioath-flutter #276412

Closed
panchoh opened this issue Dec 24, 2023 · 5 comments
Closed

Build failure: yubioath-flutter #276412

panchoh opened this issue Dec 24, 2023 · 5 comments

Comments

@panchoh
Copy link
Contributor

panchoh commented Dec 24, 2023

Steps To Reproduce

Steps to reproduce the behavior:

  1. build yubioath-flutter
    nix build nixpkgs#yubioath-flutter

Build log

❯ nix log '/nix/store/zm76i6m184h5fs9yaihjxinqym3f6vkn-yubioath-flutter-6.2.0-dart-deps-list.json.drv^*'
@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/8vm4mcm7j05jpaywqs259vgx781jxzky-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: configurePhase
'/nix/store/yhkl29rlrxvizgzw7382zzpgrvb58f7q-yubioath-flutter-6.2.0-dart-deps/pubspec/pubspec.lock' -> './pubspec.lock'
Resolving dependencies...
! intl 0.18.1 (overridden in ./pubspec_overrides.yaml)
Got dependencies!
@nix { "action": "setPhase", "phase": "buildPhase" }
Running phase: buildPhase
The Flutter SDK is not available.

Additional context

The flutter derivation has been drastically updated recently.
I think it may be related. I see no recent changes in the yubioath-flutter module.

Notify maintainers

@lukegb @hacker1024

Metadata

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

nix run nixpkgs#nix-info -- -m
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.8, NixOS, 24.05 (Uakari), 24.05.20231222.6df37dc`
 - multi-user?: `no`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - nixpkgs: `not found`

Add a 👍 reaction to issues you find important.

panchoh added a commit to panchoh/nixos that referenced this issue Dec 24, 2023
@v411e
Copy link

v411e commented Dec 25, 2023

Same here with localsend

> nix log '/nix/store/72bjd7x50y8f95hsvjhnbphjk5xgcykd-localsend-1.12.0-dart-deps-list.json.drv^*'
@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/xmirdp6khwp3caxkf1wg6pp5l2fj5rx0-source
source root is source/app
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
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!
@nix { "action": "setPhase", "phase": "buildPhase" }
Running phase: buildPhase
The Flutter SDK is not available.

@mkg20001
Copy link
Member

Should be fixed with #276414

@YaroKasear
Copy link

This is still failing for me.

- system: `"x86_64-linux"`
 - host os: `Linux 6.6.7-zen1, 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`

(This is actually not accurate, I'm using flakes that source from nixos-unstable.)

@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/8vm4mcm7j05jpaywqs259vgx781jxzky-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: configurePhase
'/nix/store/yhkl29rlrxvizgzw7382zzpgrvb58f7q-yubioath-flutter-6.2.0-dart-deps/pubspec/pubspec.lock' -> './pubspec.lock'
Resolving dependencies...
! intl 0.18.1 (overridden in ./pubspec_overrides.yaml)
Got dependencies!
@nix { "action": "setPhase", "phase": "buildPhase" }
Running phase: buildPhase
The Flutter SDK is not available.

@mkg20001 mkg20001 reopened this Dec 26, 2023
@mkg20001
Copy link
Member

I've tried building yubioath-flutter on d2e4e09 (master) and it just pulled from cache

You're using sandbox so I suspect that's not the issue.

nixos-unstable is not directly master, try with master and see if the issue still persists.

Check https://nixpk.gs/pr-tracker.html?pr=276414, nixos-unstable doesn't yet have the fix

@panchoh
Copy link
Contributor Author

panchoh commented Dec 30, 2023

[...[

nixos-unstable is not directly master, try with master and see if the issue still persists.

Check https://nixpk.gs/pr-tracker.html?pr=276414, nixos-unstable doesn't yet have the fix

The change finally percolated to nixos-unstable, yay!

Build working again, no issues.

panchoh added a commit to panchoh/nixos that referenced this issue Jan 5, 2024
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

4 participants