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
octave: Try to use build with Qt5 #57950
Conversation
@matthiasbeyer I can build octave from your PR. And, as for many qt5 applications, I need to intsall it properly before I can run it: $ git checkout pr/57950
$ nix-build -A octaveFull
[…]
$ ./result/bin/octave
[1] 3887 abort ./result/bin/octave
$ octave
command not found: ocatve
$ nix-env -i ./result
$ octave --gui
[octave gui launched here] |
You are my hero! It starts for me, too! Awesome! Now I guess I have to bring this PR here in shape for inclusion, right? |
What I would do: I would add two packages where octave is build with Qt5.12 instead of Qt4 and add them to the top-level as Comments on this idea? |
Okay, so what I have right now is:
So I assume I should package it with 5.11 and do what I suggested above. I will do that tomorrow, though. |
8b6cc87
to
1d82393
Compare
This builds for me, so lets see whether it builds for @GrahamcOfBorg build octaveQt5Full |
Hm, eval failure seems related to this PR |
How can I reproduce this failure? I just rebased this branch on master and rebuild the attribute and it worked fine in my environment (centos7 in a VM, no sandboxing). |
@GrahamcOfBorg eval |
@matthiasbeyer Are you able to continue with this PR and address comments from @7c6f434c? |
This needs tests with the new octave 5.2.0. |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
1d82393
to
78b6d26
Compare
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
@matthiasbeyer I'm working on enabling qt5 at these very moments. Since qt4 is deprecated both in Nixpkgs and upstream, I decided to drop the qt4 support and use qt5 or nothing by default. Plus, I'm trying to add a build with JIT enabled. Would you like to chat / join forces for this? |
@doronbehar well, actually no, sorry. Building octave with qt5 was (at the time I started this PR) just a proof of concept for my professional job, that it could be done and "just work". I do not feel comfortable investing time into this direction in nixpkgs, as I am not actually using any qt applications myself (besides pavucontrol maybe) and am not knowledgeable about qt at all... So I do not feel qualified for this, but I also do not have that much private time that I could invest in this topic to actually contribute somem real value to it. |
Don't mind it @matthewbauer. I've just finished my semester so I've just gained a lot of free time. I'll quote you when my PR will be ready so you could subscribe :). |
Motivation for this change
Tackling #57900
This is very much work in progress.
Right now I can build
octaveFull
with this patch applied, but it crashes at startup (signal 6).strace
output:Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)