[MacPorts] #59804: libfilezilla @0.19.1: error: use of undeclared identifier 'AT_SYMLINK_NOFOLLOW'

MacPorts noreply at macports.org
Tue Dec 3 15:43:24 UTC 2019


#59804: libfilezilla @0.19.1: error: use of undeclared identifier
'AT_SYMLINK_NOFOLLOW'
------------------------+--------------------------
 Reporter:  ryandesign  |      Owner:  lhaeger
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.6.2
 Keywords:              |       Port:  libfilezilla
------------------------+--------------------------
 [https://build.macports.org/builders/ports-10.9_x86_64-builder/builds/107241/steps
 /install-port/logs/stdio libfilezilla] fails to build on 10.9 and earlier:

 {{{
 local_filesys.cpp:171:55: error: use of undeclared identifier
 'AT_SYMLINK_NOFOLLOW'
                 return fstatat(dirfd(dir), path, &buf, follow ? 0 :
 AT_SYMLINK_NOFOLLOW);
                                                                     ^
 local_filesys.cpp:173:9: error: no matching function for call to
 'get_file_info_impl'
         return get_file_info_impl(do_stat, path, dir, is_link, size,
 modification_time, mode);
                ^~~~~~~~~~~~~~~~~~
 local_filesys.cpp:104:21: note: candidate function not viable: no known
 conversion from '(lambda at local_filesys.cpp:169:17)' to 'int (*)(struct
 stat &, const char *, DIR *, bool)' for 1st argument
 local_filesys::type get_file_info_impl(int(*do_stat)(struct stat & buf,
 char const* path, DIR* dir, bool follow), char const* path, DIR* dir, bool
 &is_link, int64_t* size, datetime* modification_time, int *mode)
                     ^
 2 errors generated.
 make[1]: *** [libfilezilla_la-local_filesys.lo] Error 1
 }}}

 The legacysupport portgroup should help with the first error at least.

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


More information about the macports-tickets mailing list