[MacPorts] #68413: x2goclient - segfault - how to debug?

MacPorts noreply at macports.org
Thu Oct 12 20:22:54 UTC 2023


#68413: x2goclient - segfault - how to debug?
-------------------------+----------------------
  Reporter:  ashterenli  |      Owner:  Ionic
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  x2goclient  |
-------------------------+----------------------

Comment (by Ionic):

 Ugh, no, I don't want stuff to be built in the top-level directory, that's
 what the client_build dir is for. Otherwise, the top-level Makefile is
 getting overwritten, which is exactly what this is trying to avoid.


 For the error: two approaches:
   - Try patching the `src/sshprocess.cpp` file and changing `bind` to
 `::bind` on this line (only).
   - Alternatively, we might (additionally) need `#include <sys/socket.h>`
 in the non-Windows-section on line 29, but it would be really weird if
 `netinet/tcp.h` wouldn't also include `sys/socket.h`.

-- 
Ticket URL: <https://trac.macports.org/ticket/68413#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list