[MacPorts] #71667: vtk @9.4.1: error: implicit declaration of function 'getentropy' is invalid in C99 [-Werror, -Wimplicit-function-declaration]

MacPorts noreply at macports.org
Sat Dec 28 17:45:05 UTC 2024


#71667: vtk @9.4.1: error: implicit declaration of function 'getentropy' is invalid
in C99 [-Werror,-Wimplicit-function-declaration]
-------------------------+--------------------------
  Reporter:  ryandesign  |      Owner:  Dave-Allured
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.10.5
Resolution:              |   Keywords:
      Port:  vtk         |
-------------------------+--------------------------

Comment (by ryandesign):

 Replying to [comment:3 Dave-Allured]:
 > Perhaps improving the conditional for the OS version would work.

 According to the upstream bugs
 https://gitlab.gnome.org/GNOME/libxml2/-/commit/2617138d924e19211b530373162d93b8edc54eb8
 should fix it. I have not tried it.

 > I am working on shifting away from VTK bundled libraries, toward
 MacPorts versions.  Their build system is complicated and has stymied me
 so far.

 I did not see a way to use MacPorts libxml2 instead of the bundled copy.

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


More information about the macports-tickets mailing list