[MacPorts] #70378: ncftp: build failure: io_put.c:178:62: error: expected ')'

MacPorts noreply at macports.org
Mon Jul 15 01:16:28 UTC 2024


#70378: ncftp: build failure: io_put.c:178:62: error: expected ')'
------------------------+--------------------
 Reporter:  i0ntempest  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:
------------------------+--------------------
 The patch needs to be updated to patch a few occurences of `main()` to
 `int main()`, and then configure would succeed but build would fail with a
 bunch of missing closing brace errors.

 There is also 3.2.7 available, the configure patch can be dropped for this
 version but it fails with a different error:
 {{{
 :info:build   /usr/bin/clang -D_REENTRANT -D_LARGEFILE64_SOURCE -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64
 -Wno-format-y2k -DMACO
 :info:build   SX -DHAVE_CONFIG_H -DMACOSX
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_ncftp/ncft
 :info:build   p/work/ncftp-3.2.7
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_ncftp/ncftp/work/nc
 :info:build   ftp-3.2.7/libncftp
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_ncftp/ncftp/work/nc
 :info:build   ftp-3.2.7/sio
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_ncftp/ncftp/work/ncftp-3
 :info:build   .2.7/Strn -I/oIn file included from Dynscpy.c:1:
 :info:build   In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_ncftp/ncftp/work/n
 :info:build   cftp-3.2.7/Strn/syshdrs.h:64:
 :info:build   In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/stdlib.h:66:
 :info:build   In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/wait.h:109:
 :info:build   In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/signal.h:82:
 :info:build   In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/machine/signal.h:34:
 :info:build
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/arm/signal.h:17:13:
 error: cannot combine with previous 'int' declaration specifier
 :info:build   typedef int sig_atomic_t;
 :info:build               ^
 }}}
 I have both logs attached.

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


More information about the macports-tickets mailing list