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

MacPorts noreply at macports.org
Wed Oct 11 18:19:18 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 kencu):

 I am working on the qt5 move now.

 The build is failing with this (arm64 mac, sonoma, Xcode 15):

 {{{
 src/sshprocess.cpp:143:71: error: invalid operands to binary expression
 ('__bind<unsigned int &, sockaddr *, unsigned long>' and 'int')
     if (bind(serverSocket,(struct sockaddr*) &address,sizeof(address))!=0)
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ~
 /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qchar.h:69:30: note:
 candidate function not viable: no known conversion from '__bind<unsigned
 int &, sockaddr *, unsigned long>' to 'QLatin1Char' for 1st argument
 Q_DECL_CONSTEXPR inline bool operator!=(QLatin1Char lhs, char rhs)
 noexcept { return lhs.toLatin1() != rhs; }
                              ^
 /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qchar.h:651:30: note:
 candidate function not viable: no known conversion from '__bind<unsigned
 int &, sockaddr *, unsigned long>' to 'QChar' for 1st argument
 Q_DECL_CONSTEXPR inline bool operator!=(QChar lhs, std::nullptr_t)
 noexcept { return !operator==(lhs, nullptr); }
                              ^
 /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qbytearray.h:692:13:
 note: candidate function not viable: no known conversion from
 '__bind<unsigned int &, sockaddr *, unsigned long>' to 'const QByteArray'
 for 1st argument
 }}}

 any ideas about that one? You're the C++ guru around here!

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


More information about the macports-tickets mailing list