[MacPorts] #65913: legacy-support: tests: failure due to fstatat64

MacPorts noreply at macports.org
Thu Sep 29 19:39:22 UTC 2022


#65913: legacy-support: tests: failure due to fstatat64
---------------------+----------------------------
 Reporter:  mascguy  |      Owner:  cjones051073
     Type:  defect   |     Status:  assigned
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.7.2
 Keywords:           |       Port:  legacy-support
---------------------+----------------------------
 Perhaps this varies depending on which macOS release the tests are run on.
 But at least for 10.15, they fail with the following error:

 {{{
 int     stat64(const char *, struct stat64 *)
 __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_6, __IPHONE_NA,
 __IPHONE_NA);
         ^
 test/test_fstatat64.c:93:12: error: implicit declaration of function
 'fstatat64' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
   if (0 != fstatat64 (AT_FDCWD, argv[0], &atfdcwd_stat64, 0)) {
            ^
 }}}

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


More information about the macports-tickets mailing list