Changes between Initial Version and Version 1 of Ticket #67499


Ignore:
Timestamp:
May 25, 2023, 1:02:00 PM (12 months ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

I'm not sure if I can remove -Werror with macports.

Ports should not use -Werror. However, Xcode 12 and later consider implicit declaration of functions to be an error even without -Werror, and it looks like Xcode 14.3 may have become even more picky about this kind of thing. The code will need to be fixed.

Probably we should try updating the port to 0.10.5 first. The problem may already have been fixed there.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #67499

    • Property Status changed from new to assigned
    • Property Owner set to Ionic
    • Property Summary changed from libssh-0.10.4_0+kerberos5+universal fails to build: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] to libssh @0.10.4_0+kerberos5+universal: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
    • Property Port libssh added
  • Ticket #67499 – Description

    initial v1  
     1{{{
    12:debug:main Starting logging for libssh @0.10.4_0+kerberos5+universal
    23:debug:sysinfo macOS 13.4 (darwin/22.5.0) arch arm
     
    56:debug:sysinfo SDK 13
    67:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 13.0
    7 
     8}}}
    89
    910I'm actually trying to build x2goclient, which pulls in libssh-0.10.4_0+kerberos5+universal.
     
    1112libssh build fails with:
    1213
     14{{{
    1315:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libssh/libssh/work/libssh-0.10.4/examples/sshnetcat.c:241:18: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
     16}}}
    1417
    15 I'm not sure if I can remove -Werror with macports.
     18I'm not sure if I can remove `-Werror` with macports.
    1619
    1720I'm attaching the full bld log.