[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:41:02 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 `#pragme` failures:

 {{{
 make[1]: Entering 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/example'
   CC       direct_tcpip.o
 direct_tcpip.c: In function ‘main’:
 direct_tcpip.c:252: error: #pragma GCC diagnostic not allowed inside
 functions
 direct_tcpip.c:253: error: #pragma GCC diagnostic not allowed inside
 functions
 direct_tcpip.c:257: error: #pragma GCC diagnostic not allowed inside
 functions
 direct_tcpip.c:267: error: #pragma GCC diagnostic not allowed inside
 functions
 direct_tcpip.c:268: error: #pragma GCC diagnostic not allowed inside
 functions
 direct_tcpip.c:272: error: #pragma GCC diagnostic not allowed inside
 functions
 make[1]: *** [direct_tcpip.o] Error 1
 make[1]: 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/example'
 }}}

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


More information about the macports-tickets mailing list