[MacPorts] #62838: policykit @0.116_1+universal: error: implicit declaration of function 'fdatasync' is invalid in C99

MacPorts noreply at macports.org
Sat May 8 04:40:06 UTC 2021


#62838: policykit @0.116_1+universal: error: implicit declaration of function
'fdatasync' is invalid in C99
------------------------+-----------------------
 Reporter:  ryandesign  |      Owner:  dbevans
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.6.99
 Keywords:  highsierra  |       Port:  policykit
------------------------+-----------------------
 I am not able to upgrade policykit on my machine:
 {{{
 polkitagenthelperprivate.c:138:3: error: implicit declaration of function
 'fdatasync' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
   fdatasync (fileno(stdout));
   ^
 1 error generated.
 make[4]: *** [polkit_agent_helper_1-polkitagenthelperprivate.o] Error 1
 }}}
 This is with the +universal variant.

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


More information about the macports-tickets mailing list