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: Use qt5 and other improvements #79864
Conversation
Looks like ofBorg failure is a real build failure for |
Funny I haven't noticed that when writing the PR. Now everything is fixed, including a fix to the sundials version - now we use 2.7.0 instead of 2.7.5. |
f4f4336
to
5768189
Compare
Oof, is there a reason why we need to use such an old version of sundials? IIRC, |
I couldn't get any other newer version of sundials to satisfy the I honestly tried drilling into Octave's bug reports but I couldn't get a clear view as for the status of it, see https://savannah.gnu.org/search/?words=sundials&type_of_search=bugs&Search=Search&exact=1 . I'll glad to get some help regarding this if you'd care so much to insist. |
@doronbehar it's not me insisting being extremely picky here, but linking old packages to upstream issues ensures we're not stuck with that old version forever, and know where to check for compatibility. https://savannah.gnu.org/bugs/?func=detailitem&item_id=52475 suggests we should be able to build with sundials 3.1.0 at least with I don't see a bug report for latest sundials version, and if it doesn't work with that, would encourage to open one. |
@flokli this thread (https://savannah.gnu.org/bugs/?func=detailitem&item_id=52475 ) is from 13 March 2019 - meaning octave 5.2.0 should include the linked patch http://hg.savannah.gnu.org/hgweb/octave/rev/d94876e7a0aa .
You are totally right, I've submitted the following bug report on octave's end: https://savannah.gnu.org/bugs/index.php?57854 |
Update: Upstream confirms my findings - that octave 5.x is compatible with sundials 2.x only: https://savannah.gnu.org/bugs/?57854#comment1 :
We'll wait for octave 6 and see what's up with sundials 5.x then. |
Thanks for asking back upstream - In that case, I propose to just go with an explicit |
FYI, |
@doronbehar with #80540 merged, can you give this a rebase and apply the |
This reverts commit 3beeacfd58239bb6e95aa716dedddae17716b6eb.
77225d4
to
f93a438
Compare
Sure, rebased and cleaned up the git log a little bit. |
I feel like comments in all-packages.nix isn't really a good idea because it gets mangled frequently, and not convenient or an immediately obvious place to look for documentation. |
I tend to agree @worldofpeace . Where do you think would be a better place to place these comments? I think they are better put somewhere then nowhere :) |
Maybe explicitly passing all the options is better than passing only the non-default options and also writing this full printout? The explanations of the options naturally live in |
@doronbehar I believe what @7c6f434c said sounds correct. |
Instead of in all-packages.nix .
Agree, sent a fix. |
Motivation for this change
Things done
Sundials was added a new version
2.7.52.7.0 namedsundials_2
- this is the version GNU octave needs so it'll be able to solve ODEs, according to the configure report.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)ccs: