I'm happy to say that svn version 13819M builds fine on FreeBSD 13 using

configure --prefix=/opt/texmacs/2.1-svn --with-qt

and with the default compiler, clang 11. Now a report on how it is working.

First, it's great to see that C-x b finally works!

Second, the main problem is that all plugins segfault immediately upon
invocation.
The simplest example is the shell plugin.  I found that the call

QProcess::start(utf8_to_qstring(cmd))

in src/src/Plugins/Qt/QTMPipeLink.cpp is what causes the segfault.  [There is no
problem with utf8_to_qstring(cmd).]

In trying to fix this, I fixed a couple of deprecation warnings: in
QTMPipeLink.cpp it seems that

QStringList args = {};
QProcess::start(utf8_to_qstring(cmd), args);

is now needed (also with #include <QStringList>).

And in src/src/Plugins/Qt/qt_pipe_link.cpp:150 we need

Q_PID pid = PipeLink.processId ();

But these didn't solve the problem.

The Qt pipe code is complicated.   I know that FreeBSD is not a supported
platform, 
but any suggestions for debugging this process/pipe problem would be greatly
appreciated.

 Kostas
_______________________________________________
Texmacs-dev mailing list
Texmacs-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to