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
Gns3: fix build and crash #90631
Gns3: fix build and crash #90631
Conversation
It needs 3.2.0 now
qt5Full may not be installed on users' systems and the gns3-gui depends on it explicitly
It needs jsonschema==3.2.0 and aiofiles==0.4.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR. I had to push the changes manually, because:
- 9698a56 is already in staging-next: 8c3e931
- 93deb26: A modified version is now in staging-next: 06aec42
- b368758: It's probably best to wait with this until staging-next is merged into master.
Note: I only selected request changes so that no one merges this PR on accident, but no actions are required.
Thanks! It might be a good idea to merge the qt5Full patch despite the build still being broken as it's a very trivial fix and could then be cherry-picked to 20.03 whose (working) builds are also affected by the crash. |
Yes, that would be nice. However, a problem is that GNS3 doesn't always crash (even when |
The reason it doesn't crash sometimes might be due to the missing QT5 dependency being accessible system-wide already because of another package the user installed. IMO having to download 1.5GiB (though I only had to download a few MiB) is a lot better than having the application crash on you, needing to google a Nixpkgs issue with a solution and then having to install qt5Full manually. If we find the actual dependency later, we can reduce the closure size again. |
Yeah and in my case it probably only crashed when those dependencies where incompatible or something like that.
Agreed, I'm mostly concerned that the whole packaging is a bit broken atm (
Yeah, that'd be best. But since I also lack time to investigate atm I pushed your commit for now: 0eaec4d (and backported in 6460602). Closing this PR then as all changes are merged. Thanks! |
Motivation for this change
Builds broke in trunk-combined and it would crash on startup in my system
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)