In FreeBSD, maxima was dependent on sbcl. However, when sbcl upgraded/updated, it seems that maxima also compiled again based on the new sbcl. However, maxima would not be updated by pkg. Thus, when invoking maxima after upgrading/updating sbcl, maxima always stop to work. Then, I have to delete maxima, reinstall it, and then it works. Is it possible to reinstall maxima, when update/upgrading sbcl?
I think in this case the solution is that Maxima's maintainer should bump PORTREVISION's value. Maxima is not maintained at the moment. I asked to take maintainership and provided and update to version 5.42.1, but the bug report is still waiting for a committer: if you are interested, see #bug 232118. No bumping of PORTREVISION is needed for my patch since PORTVERSION is already higher that ports tree's PORTVERSION.
Kirill (krion) is lang/sblc's MAINTAINER, perhaps he can help here (CC'd).
After the latest maxima updates, does this problem still exist ?
I tested wxMaxima with the recent maxima, and it seems to work, so closing this ticket.
(In reply to Kurt Jaeger from comment #3) After sbcl updated to sbcl-1.5.2,1, I run maxima, and I got the following message: fatal error encountered in SBCL pid 6026(tid 0x800727000): core was built for runtime "120amd64-default-job-21-root-2019-03-09-01-15-04" but this is "120amd64-default-job-21-root-2019-05-11-01-15-11" I think it means that the maxima I used was not compiled using the that latest sbcl. Yes, it's the fact. The maxima not updated by pkg when it upgraded sbcl. So I have to remove maxima, and install maxima again, and then maxima works. The original bug report, I might not describe the problem clearly. Best, Jinsong
Thanks for the heads-up and that the problem is solved!
Created attachment 204397 [details] maxima - portrevision bump Apparently when sbcl is updated maxima needs a PORTREVISION bump. Here is the patch for this time. I will follow sbcl updates and try to bump PORTREVISION as soon as possible, but if for some reason I am late and you need to report again, please open a new PR so we do not have to reopen the same PR multiple times. Thank you.
(In reply to Kurt Jaeger from comment #6) I think jszhao is now reporting a new similar problem: look at the dates. The PR was opened 2018-12-04 09:40:04 UTC but in last post the oldest sbcl version was 120amd64-default-job-21-root-2019-03-09-01-15-04 . A PORTREVISION bump is probably needed now.
Thanks for investigating it, I will bump maxima portrevision while upgrading sbcl for new releases.