[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 14:19:26 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):

 Still expecting an end:
 {{{
 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
   CCLD     direct_tcpip
   CC       scp.o
   CCLD     scp
   CC       scp_nonblock.o
   CCLD     scp_nonblock
   CC       scp_write.o
   CCLD     scp_write
   CC       scp_write_nonblock.o
   CCLD     scp_write_nonblock
   CC       sftp.o
   CCLD     sftp
   CC       sftp_RW_nonblock.o
 sftp_RW_nonblock.c: In function ‘waitsocket’:
 sftp_RW_nonblock.c:60: error: #pragma GCC diagnostic not allowed inside
 functions
 sftp_RW_nonblock.c:61: error: #pragma GCC diagnostic not allowed inside
 functions
 sftp_RW_nonblock.c:65: error: #pragma GCC diagnostic not allowed inside
 functions
 sftp_RW_nonblock.c: In function ‘main’:
 sftp_RW_nonblock.c:262: error: #pragma GCC diagnostic not allowed inside
 functions
 sftp_RW_nonblock.c:263: error: #pragma GCC diagnostic not allowed inside
 functions
 sftp_RW_nonblock.c:268: error: #pragma GCC diagnostic not allowed inside
 functions
 sftp_RW_nonblock.c:333: error: #pragma GCC diagnostic not allowed inside
 functions
 sftp_RW_nonblock.c:334: error: #pragma GCC diagnostic not allowed inside
 functions
 sftp_RW_nonblock.c:339: error: #pragma GCC diagnostic not allowed inside
 functions
 make[1]: *** [sftp_RW_nonblock.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:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list