[MacPorts] #71127: libssh2 @1.11.1 does not build on PPC Leopard, Mac OS X 10.5.8, because of a faulty patch

MacPorts noreply at macports.org
Sat Oct 19 13:15:48 UTC 2024


#71127: libssh2 @1.11.1  does not build on PPC Leopard, Mac OS X 10.5.8, because of
a faulty patch
------------------------+-------------------------
  Reporter:  ballapete  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.10.2
Resolution:             |   Keywords:  leopard ppc
      Port:  libssh2    |
------------------------+-------------------------

Comment (by ballapete):

 New problem now:

 {{{
 In file included from session.c:42:
 libssh2_priv.h:49: warning: unknown option after '#pragma GCC diagnostic'
 kind
 session.c:572: warning: expected [error|warning|ignored] after '#pragma
 GCC diagnostic'
 session.c:573: warning: unknown option after '#pragma GCC diagnostic' kind
 session.c:585: warning: expected [error|warning|ignored] after '#pragma
 GCC diagnostic'
 session.c: In function '_libssh2_wait_socket':
 session.c:679: error: #pragma GCC diagnostic not allowed inside functions
 session.c:680: error: #pragma GCC diagnostic not allowed inside functions
 session.c:684: error: #pragma GCC diagnostic not allowed inside functions
 session.c:692: error: #pragma GCC diagnostic not allowed inside functions
 session.c:693: error: #pragma GCC diagnostic not allowed inside functions
 session.c:697: error: #pragma GCC diagnostic not allowed inside functions
 session.c: In function 'libssh2_poll':
 session.c:1659: error: #pragma GCC diagnostic not allowed inside functions
 session.c:1660: error: #pragma GCC diagnostic not allowed inside functions
 session.c:1664: error: #pragma GCC diagnostic not allowed inside functions
 session.c:1671: error: #pragma GCC diagnostic not allowed inside functions
 session.c:1672: error: #pragma GCC diagnostic not allowed inside functions
 session.c:1676: error: #pragma GCC diagnostic not allowed inside functions
 session.c:1685: error: #pragma GCC diagnostic not allowed inside functions
 session.c:1686: error: #pragma GCC diagnostic not allowed inside functions
 session.c:1690: error: #pragma GCC diagnostic not allowed inside functions
 session.c:1700: error: #pragma GCC diagnostic not allowed inside functions
 session.c:1701: error: #pragma GCC diagnostic not allowed inside functions
 session.c:1705: error: #pragma GCC diagnostic not allowed inside functions
 session.c:1884: error: #pragma GCC diagnostic not allowed inside functions
 session.c:1885: error: #pragma GCC diagnostic not allowed inside functions
 session.c:1897: error: #pragma GCC diagnostic not allowed inside functions
 make[2]: *** [session.lo] Error 1
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_libssh2/libssh2/work/libssh2-1.11.1/src'
 }}}

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


More information about the macports-tickets mailing list