[MacPorts] #67499: 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]

MacPorts noreply at macports.org
Thu May 25 11:29:38 UTC 2023


#67499: 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]
------------------------+--------------------
 Reporter:  ashterenli  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:
------------------------+--------------------
 :debug:main Starting logging for libssh @0.10.4_0+kerberos5+universal
 :debug:sysinfo macOS 13.4 (darwin/22.5.0) arch arm
 :debug:sysinfo MacPorts 2.8.1
 :debug:sysinfo Xcode 14.3, CLT 14.3.0.0.1.1679647830
 :debug:sysinfo SDK 13
 :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 13.0


 I'm actually trying to build x2goclient, which pulls in
 libssh-0.10.4_0+kerberos5+universal.

 libssh build fails with:

 :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]

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

 I'm attaching the full bld log.

-- 
Ticket URL: <https://trac.macports.org/ticket/67499>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list