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

Modrinth Freezes at pnpm build #352586

Closed
Eveeifyeve opened this issue Oct 31, 2024 · 8 comments
Closed

Modrinth Freezes at pnpm build #352586

Eveeifyeve opened this issue Oct 31, 2024 · 8 comments
Labels
0.kind: bug Something is broken 2.status: duplicate This is a duplicate of another issue or PR

Comments

@Eveeifyeve
Copy link
Contributor

Describe the bug

Basically pnpm goes stuck at builiding vite and according to btop it is sleeping.

My config files are here
That if you wanted to checkout what is freazing.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Add modrinth to home manager packages.
  2. Rebuild your flake config using sudo nixos-rebuild switch --flake <path>
  3. Open btop and it says pnpm is sleeping

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

Btop:
image

Nh Build
image

If applicable, add screenshots to help explain your problem.

Additional context

Just to note it's not a nh problem I have tried it without nh and the same thing happens.

Notify maintainers

@getchoo

Metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.58, NixOS, 24.11 (Vicuna), 24.11.20241027.0fcb98a`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.9`
 - nixpkgs: `/nix/store/93haqkb7bl8l90vpfqgkygrd5l13gafm-source`


Add a 👍 reaction to issues you find important.

@Eveeifyeve Eveeifyeve added the 0.kind: bug Something is broken label Oct 31, 2024
@gepbird
Copy link
Contributor

gepbird commented Nov 5, 2024

I couldn't reproduce the issue with NIXPKGS_ALLOW_UNFREE=1 nom build nixpkgs/2d2a9ddbe3f2c00747398f3dc9b05f7f2ebb0f53#modrinth-app --impure (commit rev taken from your dotfiles flake update), if you try again it should download it from the binary cache rather than build it locally.

I have no idea why pnpm/turbo was just doing nothing.

@FliegendeWurst
Copy link
Member

Duplicate of #353709, I think. That issue has more details, so I'm closing this one.

@FliegendeWurst FliegendeWurst closed this as not planned Won't fix, can't repro, duplicate, stale Nov 5, 2024
@gador
Copy link
Member

gador commented Nov 5, 2024

I couldn't reproduce the issue with NIXPKGS_ALLOW_UNFREE=1 nom build nixpkgs/2d2a9ddbe3f2c00747398f3dc9b05f7f2ebb0f53#modrinth-app --impure (commit rev taken from your dotfiles flake update), if you try again it should download it from the binary cache rather than build it locally.

I have no idea why pnpm/turbo was just doing nothing.

This depends on the build machine, not on the derivation. This is why this fails/builds on some machines, but not on others. As @FliegendeWurst said, the other issue has more info

@Eveeifyeve
Copy link
Contributor Author

I couldn't reproduce the issue with NIXPKGS_ALLOW_UNFREE=1 nom build nixpkgs/2d2a9ddbe3f2c00747398f3dc9b05f7f2ebb0f53#modrinth-app --impure (commit rev taken from your dotfiles flake update), if you try again it should download it from the binary cache rather than build it locally.
I have no idea why pnpm/turbo was just doing nothing.

This depends on the build machine, not on the derivation. This is why this fails/builds on some machines, but not on others. As @FliegendeWurst said, the other issue has more info

Specs are:

CPU: AMD Ryzen 3 3200g.
Motherboard: B450 MH dash
Disk: Seagate ST2000DM008 2TB 3.5-inch Hard Drive BarraCuda HDD 3.5"

@gador
Copy link
Member

gador commented Nov 6, 2024

@Eveeifyeve your build machine specs do not matter. Please read the linked bug report

@Eveeifyeve
Copy link
Contributor Author

Eveeifyeve commented Dec 6, 2024

This is occurring in kernel 6.6.59 which is two versions after the patch, I think it already reported but I don't know if this is a modrinth-app package issue or #359376

@Eveeifyeve Eveeifyeve reopened this Dec 6, 2024
@FliegendeWurst
Copy link
Member

You need 6.6.60

@Eveeifyeve
Copy link
Contributor Author

Fixed at kernal 6.6.60.

@Eveeifyeve Eveeifyeve added the 2.status: duplicate This is a duplicate of another issue or PR label Dec 7, 2024
@Eveeifyeve Eveeifyeve closed this as not planned Won't fix, can't repro, duplicate, stale Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken 2.status: duplicate This is a duplicate of another issue or PR
Projects
None yet
Development

No branches or pull requests

4 participants