[MacPorts] #62853: dash @0.5.11.3: error: variable has incomplete type 'struct stat64'

MacPorts noreply at macports.org
Wed May 12 07:57:37 UTC 2021


#62853: dash @0.5.11.3: error: variable has incomplete type 'struct stat64'
-------------------------+---------------------------------------
  Reporter:  ryandesign  |      Owner:  Mathias.Laurin+macports@…
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.4
Resolution:              |   Keywords:  bigsur arm64
      Port:  dash        |
-------------------------+---------------------------------------

Comment (by saagarjha):

 Actually, dash has a check for stat64:


 {{{
 dnl Check for stat64 (dietlibc/klibc).
 AC_CHECK_FUNC(stat64,, [
         AC_DEFINE(fstat64, fstat, [64-bit operations are the same as
 32-bit])
         AC_DEFINE(lstat64, lstat, [64-bit operations are the same as
 32-bit])
         AC_DEFINE(stat64, stat, [64-bit operations are the same as
 32-bit])
 ])
 }}}

 This check is succeeding on arm64, as per the build logs:

 {{{
 checking for stat64... yes
 }}}

 Should it?

-- 
Ticket URL: <https://trac.macports.org/ticket/62853#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list