[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
Sun Dec 29 21:27:34 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:  haspatch
      Port:  vtk         |
-------------------------+--------------------------

Comment (by Dave-Allured):

 > And from there I found this documentation:
 >
 >
 https://gitlab.kitware.com/vtk/vtk/-/blob/master/Documentation/docs/build_instructions/build_settings.md

 Unfortunately there is a critical mistake in their listed setting for
 using external modules.  I didn't figure it out until, like you, I web
 searched for someone else's working solution.

 WRONG:     `VTK_MODULE_USE_EXTERNAL_<name>`

 CORRECT:  `VTK_MODULE_USE_EXTERNAL_VTK_<name>`

 I really should ask them about that some time.

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


More information about the macports-tickets mailing list