-
-
Notifications
You must be signed in to change notification settings - Fork 491
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
Upgrade to Tachyon 0.99.5 #23712
Comments
comment:1
None of our 4 patches does apply. I do not know if they should be removed or rebased. New commits:
|
Commit: |
Branch: public/23712 |
comment:2
there are quite a few doctests failing with this branch. Presumably the interface might have changed a bit. |
comment:3
Replying to @dimpase:
That's what I remember. Are all the failing doctests in doc? I realised yesterday that I have lost the ability to test those in sage-on-gentoo recently (for some reason .rst files get installed as .rst.txt and then they are not tested). So I miss all broken doctests from rst files at the moment. For the record I don't seem to have any (repeatable) failures on the stuff I doctest in sage-on-gentoo. |
comment:4
This is what I get with ptestlong:
Typically it's something about PNG interface:
Running the corresponding lines at the Sage prompt works and shows a meaningful plot.
|
comment:5
In fact, ldd says that tachyon is not linked to libpng - no wonder it cannot do PNG. |
comment:6
I see that Debian has a set of patches to this version, including autotoolisation! Should we use them, rather than keep wrestling with patches to Makefiles? |
comment:7
Probably. The linking problem would also explain why I don't see those failures in s-o-g. |
comment:8
That's a lot of patches https://anonscm.debian.org/cgit/debian-science/packages/tachyon.git/tree/debian/patches but most of them will probably be handy. Are you up to write a |
comment:9
Replying to @kiwifb:
I have a problem with them at the moment: namely, applying these patches and invoking
Note that
This can be remedied by adding to
but I don't quite see what So this looks like a bug in Debian patches (namely in |
comment:10
And I also don't get how to configure and run make to create a |
Changed keywords from none to upgrade, tachyon |
This comment has been minimized.
This comment has been minimized.
comment:12
Ticket retargeted after milestone closed (if you don't believe this ticket is appropriate for the Sage 8.8 release please retarget manually) |
comment:13
As the Sage-8.8 release milestone is pending, we should delete the sage-8.8 milestone for tickets that are not actively being worked on or that still require significant work to move forward. If you feel that this ticket should be included in the next Sage release at the soonest please set its milestone to the next release milestone (sage-8.9). |
comment:14
For what it's worth I'm just fixing up aarch64 sage on nixos and I get no doctest failures with tachyon 0.99b2 (the version we ship). There are some transient timeout failures, but that's it. Probably not related to tachyon. |
comment:15
There's officially a new release, v0.99.2: |
This comment has been minimized.
This comment has been minimized.
I can't rename anything there, it's @vbraun who can |
@vbraun or @haraldschilly : could you please fix the upstream source file This file is available in sagemath mirror, e.g. https://mirrors.mit.edu/sage/spkg/upstream/tachyon/index.html, but it is incorrectly named This is the original file with the original timestamp that I downloaded from https://web.archive.org/web/20220523051055/http://jedi.ks.uiuc.edu/~johns/tachyon/files/0.99.5/:
As a reference, the sha256sum matches the one in archlinux and in nixpkgs. The file that it is now available in the sagemath upstream mirror is the correct one, but the filename is not the original one (neither is the timestamp). |
Let's restart this effort for Sage 10.3. Current version in Sage gives an error with conda-forge-python3.11-minimal https://github.com/sagemath/sage/actions/runs/6842945144/job/18604992673#step:11:2493
... and I'd rather debug it for the new version than for the ancient version... |
@tornaria In #36959, I have changed the |
I am running into problems with building sage on aarch64 linux due to tachyon. The buid failed with,
when trying to install tachyon-0.98.9.p7 |
@aikrahguzar - can you try the branch here? |
Or rather #36969 |
@aikrahguzar - does your OS have a tachyon package ? If so, can you install it, and tell Sage to use it (running ./configure again). Or else you can install tachyon into /usr/local, and |
I tried, this time build progresses further but still fails with,
I am attaching the full log too: |
Fedora doesn't seem to have a tachyon package. At least
I will try the manual source installation of tachyon later. |
this looks like tachyon needs a patch to build on such a system. Hopefully just a Makefile target, which would be the same as for an aarch64 linux, only named differently. |
Almost only result I could find for The build is now continuing. Edit: I am on aarch64 linux. I think Edit: I have a working build of sage now. Thanks a lot @mkoeppe and @dimpase |
@aikrahguzar - were you still using tachyon 0.98, but added this patch? or you needed it with the branch updating to 0.99.5 ? |
The later i.e. I added the patch on top of #36969 |
please add a review to #36969 mentioning this |
<!-- ^^^^^ Please provide a concise, informative and self-explanatory title. Don't put issue numbers in there, do this in the PR body below. For example, instead of "Fixes sagemath#1234" use "Introduce new method to calculate 1+1" --> <!-- Describe your changes here in detail --> Continuation of sagemath#23712 Author: @dimpase, @tornaria, @aikrahguzar <!-- Why is this change required? What problem does it solve? --> <!-- If this PR resolves an open issue, please link to it here. For example "Fixes sagemath#12345". --> Resolves sagemath#23712 <!-- If your change requires a documentation PR, please link it appropriately. --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> <!-- If your change requires a documentation PR, please link it appropriately --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> <!-- Feel free to remove irrelevant items. --> - [x] The title is concise, informative, and self-explanatory. - [ ] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on - sagemath#12345: short description why this is a dependency - sagemath#34567: ... --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: sagemath#36969 Reported by: Matthias Köppe Reviewer(s): aikrahguzar, Matthias Köppe
<!-- ^^^^^ Please provide a concise, informative and self-explanatory title. Don't put issue numbers in there, do this in the PR body below. For example, instead of "Fixes sagemath#1234" use "Introduce new method to calculate 1+1" --> <!-- Describe your changes here in detail --> Continuation of sagemath#23712 Author: @dimpase, @tornaria, @aikrahguzar <!-- Why is this change required? What problem does it solve? --> <!-- If this PR resolves an open issue, please link to it here. For example "Fixes sagemath#12345". --> Resolves sagemath#23712 <!-- If your change requires a documentation PR, please link it appropriately. --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> <!-- If your change requires a documentation PR, please link it appropriately --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> <!-- Feel free to remove irrelevant items. --> - [x] The title is concise, informative, and self-explanatory. - [ ] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on - sagemath#12345: short description why this is a dependency - sagemath#34567: ... --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: sagemath#36969 Reported by: Matthias Köppe Reviewer(s): aikrahguzar, Matthias Köppe
We currently are shipping a 12 years old tachyon (0.98.9).
0.99.2 was released Dec 2021. http://jedi.ks.uiuc.edu/~johns/raytracer/files/
This is also needed to make Sage work on arm64/aarch64, see #23687.
Many distributions are still on 0.99.beta6 - https://repology.org/project/tachyon/versions
In Debian:
CC: @slel @orlitzky @kiwifb @antonio-rojas @tscrim
Component: packages: standard
Keywords: upgrade, tachyon
Author: Dima Pasechnik, Gonzalo Tornaría
Branch/Commit: u/dimpase/packages/tachyon0992 @
d3034fc
Reviewer: Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/23712
The text was updated successfully, but these errors were encountered: