[MacPorts] #65327: putty @0.77 fails to build on mavericks: "error: use of undeclared identifier 'AT_SYMLINK_NOFOLLOW'"

MacPorts noreply at macports.org
Fri Jun 10 13:37:14 UTC 2022


#65327: putty @0.77 fails to build on mavericks: "error: use of undeclared
identifier 'AT_SYMLINK_NOFOLLOW'"
--------------------+--------------------
 Reporter:  tehcog  |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.7.2
 Keywords:          |       Port:  putty
--------------------+--------------------
 Please see attached main.log

 {{{
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_putty/putty/work/putty-0.77/unix/sftpserver.c:607:14:
 warning: implicit declaration of function 'fstatat' is invalid in C99
 [-Wimplicit-function-declaration]
 :info:build         if (!fstatat(dirfd(udh->dp), de->d_name, &st,
 AT_SYMLINK_NOFOLLOW)) {
 :info:build              ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_putty/putty/work/putty-0.77/unix/sftpserver.c:607:55:
 error: use of undeclared identifier 'AT_SYMLINK_NOFOLLOW'
 :info:build         if (!fstatat(dirfd(udh->dp), de->d_name, &st,
 AT_SYMLINK_NOFOLLOW)) {
 :info:build                                                       ^
 :info:build 1 warning and 1 error generated.
 :info:build make[2]: ***
 [ssh/CMakeFiles/sshserver.dir/__/unix/sftpserver.c.o] Error 1
 :info:build make[2]: *** Waiting for unfinished jobs....
 }}}

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


More information about the macports-tickets mailing list