Created attachment 325122 [details] build/app-office/texmacs-1.0.7.16-r1:20120927-095955.log Known build failure, according to Andrey Grozin: “TeXmacs cannot be compiled with guile-2, and there are no plans to change this (upstreem even considers switching to some other scheme implementation, but not to guile-2). Therefore, I have >=scheme-2 masked on my system. As long as 1.8 remains in the tree, slotting should be OK for TeXmacs.” So we have to found a way to force texmacs to build against guile:12 (there are guil*-1.8 binaries on the system that should be use). This bug is a remainder for myself, to propose solutions for this issue before adding herds and maintainers.
Created attachment 336912 [details, diff] patch for forcing texmacs to use guile-1.8 at compile-time Here is a patch in testing in the lisp overlay. It requires guile-1.8 to be correctly slotted, and thus it needs to change how guile is built. http://git.overlays.gentoo.org/gitweb/?p=proj/lisp.git;a=commit;h=4bb1f7f0af85caa6f07fd7c46e3bbee3c8540ee4
(In reply to comment #1) > Here is a patch in testing in the lisp overlay. It requires guile-1.8 to be > correctly slotted, and thus it needs to change how guile is built. I cannot test this patch because I have unslotted guile installed, but it looks OK. Could you please check one thing: start texmacs, click the icon which looks like a computer monitor, choose Scheme from the drop-down menu. Then, at the prompt Scheme], type (version) <enter>. What does it say?
(In reply to comment #2) > I cannot test this patch because I have unslotted guile installed, but it > looks OK. Could you please check one thing: start texmacs, click the icon > which looks like a computer monitor, choose Scheme from the drop-down menu. > Then, at the prompt Scheme], type (version) <enter>. What does it say? It reports "1.8.8".
Looks like RedHat solved this problem https://bugzilla.redhat.com/show_bug.cgi?id=704515
There are sources (patches) for this package in Fedora rawhide https://apps.fedoraproject.org/packages/TeXmacs/sources/#
Here are the patches to selectively build texmacs against guile-1.8: http://pkgs.fedoraproject.org/cgit/rpms/TeXmacs.git/commit/?h=master&id=a541fc654cc3d92c14f81d52d6703ef35a50d317
(In reply to Anton Kochkov from comment #6) > Here are the patches to selectively build texmacs against guile-1.8: > http://pkgs.fedoraproject.org/cgit/rpms/TeXmacs.git/commit/ > ?h=master&id=a541fc654cc3d92c14f81d52d6703ef35a50d317 This builds for me with guile-2.0.12 if --enable-guile2=yes is used with econf.
But the patch was reverted as it was causing crashes, also, guile-2 is officially not supported :/ http://www.texmacs.org/tmweb/download/sources.en.html
*** Bug 647580 has been marked as a duplicate of this bug. ***
Created attachment 578662 [details, diff] texmacs-1.99.9-guile-remove-deprecated.patch I've been working on this a bit, and I've gotten to the point where TeXmacs successfully compiles with Guile 2.0 and 2.2. However, I'm a bit stuck now with this: $ texmacs Backtrace: 4 (apply-smob/1 #<catch-closure 564b9276f000>) In ice-9/boot-9.scm: 2312:4 3 (save-module-excursion #<procedure 564b929b63e0 at ice-…>) In ice-9/eval-string.scm: 38:6 2 (read-and-eval #<input: string 564b92a074d0> #:lang _) In ice-9/boot-9.scm: 3084:0 1 (debug-enable . _) In unknown file: 0 (debug-options-interface (debug show-file-name #t # # …)) ERROR: In procedure debug-options-interface: In procedure debug-options-interface: Unknown option name: debug
Created attachment 578664 [details] texmacs-1.99.9.ebuild
This is what Massimiliano Gubinelli, one of the (few) active TeXmacs developers, wrote on Sun, 19 May 2019 to the mailing list texmacs-dev@gnu.org: > Also: I’m right now working on Guile 2 support and can bootstrap all the scheme code right now but TeXmacs is still not working, there seems to be some bug remaining, maybe introduced by my modifications. I’m working on them. The problem is far from trivial, the amount of scheme code in TeXmacs is huge. The only thing that remains to us is to wait.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1df68a843aef2b2853ecf35269afe1486ec7182 commit d1df68a843aef2b2853ecf35269afe1486ec7182 Author: Andrey Grozin <grozin@gentoo.org> AuthorDate: 2019-06-19 04:43:20 +0000 Commit: Andrey Grozin <grozin@gentoo.org> CommitDate: 2019-06-19 04:43:20 +0000 app-office/texmacs: bump to 1.99.9 Thanks to Aaron W. Swenson for the ebuild Suggested-by: Aaron W. Swenson <titanofold@gentoo.org> Bug: https://bugs.gentoo.org/show_bug.cgi?id=436400 Closes: https://bugs.gentoo.org/show_bug.cgi?id=666470 Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Andrey Grozin <grozin@gentoo.org> app-office/texmacs/Manifest | 1 + .../texmacs-1.99.9-guile-remove-deprecated.patch | 295 +++++++++++++++++++++ app-office/texmacs/texmacs-1.99.9.ebuild | 72 +++++ 3 files changed, 368 insertions(+)
(In reply to Aaron W. Swenson from comment #11) > Created attachment 578664 [details] > texmacs-1.99.9.ebuild Many thanks for the ebuild and the patch. I've committed them, but kept the dependency on guile-1.8. Massimiliano Gubinelli has written on Fri, 14 Jun 2019: > As for Guile 2.0, at the moment I’m trying to look at the remaining bugs which are a bit subtle since they are generated by the different evaluation strategy wrt 1.8.
Is there any progress? I've masked all packages that are incompatible with guile-2 for removal, except for texmacs.
The version 2.1 is expected in September. However, Joris van der Hoeven, the main author of TeXmacs, writes in the dev mailing list today: ======== For the sake of stability, TeXmacs 2.1 will be based on Qt4 and Guile 1.8. Massimiliano made a lot of progress on Qt5 and Guile 2, but this will require a significant amount of testing before it will become stable. That will be our next major objective for version 2.2, which will hopefully be released in 2020. ======== In another email, he writes: ======== The point with Guile 2 is that it basically has nothing to do with Guile 1, so the most of the interface has to be rewritten and retested. At a first stage, we plan to run Guile 2 in interpreter mode. This causes a slow-down with respect to Guile 1, but it will at least enable us to track down potential problems. During a second stage, we should move to the compiled version, but this will again require a lot of work and testing. ========
You might want to investigate bug 689408 (slotting guile). It certainly doesn't seem like Amy is going to do it.
I propose that when all other reverse dependencies of guile-1.8 are removed (Sept 1) that we package.mask app-office/texmacs and <dev-scheme/guile-2.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e09fe196a13f2faa4b184b1bf5d7f961c4c8b8b0 commit e09fe196a13f2faa4b184b1bf5d7f961c4c8b8b0 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2019-09-01 19:16:42 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2019-09-01 19:19:03 +0000 profiles: Mask dev-scheme/guile < 2 and app-office/texmacs Bug: https://bugs.gentoo.org/436400 Signed-off-by: Matt Turner <mattst88@gentoo.org> profiles/base/use.mask | 4 ++++ profiles/package.mask | 7 +++++++ 2 files changed, 11 insertions(+)
ping
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1900dae050e2275c8b6e57977c4ad019b20ef5a commit b1900dae050e2275c8b6e57977c4ad019b20ef5a Author: Kacper Słomiński <kacper.slominski72@gmail.com> AuthorDate: 2024-09-23 04:06:45 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-09-24 03:59:45 +0000 app-office/texmacs: add 2.1-r100 Bug: https://bugs.gentoo.org/436400 Signed-off-by: Kacper Słomiński <kacper.slominski72@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> app-office/texmacs/texmacs-2.1-r100.ebuild | 62 ++++++++++++++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 63 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=549cdd3ac1db8f08ca7cab1aff9244a2acb5a340 commit 549cdd3ac1db8f08ca7cab1aff9244a2acb5a340 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-09-27 15:04:37 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-09-27 15:04:58 +0000 profiles: drop legacy guile masks too Missed in b1875a96f478b575e0387f097ae0575d548ba09c. Bug: https://bugs.gentoo.org/436400 Bug: https://bugs.gentoo.org/689408 Bug: https://bugs.gentoo.org/705554 Signed-off-by: Sam James <sam@gentoo.org> profiles/package.mask | 14 -------------- 1 file changed, 14 deletions(-)
All done, with massive thanks to Arsen, parona, and qookie.