[MacPorts] #61521: xemacs @21.4.22: error: implicitly declaring library function 'exit' (was: xemacs-21.4.22: configure:2412:10: fatal error: 'features.h' file not found)

MacPorts noreply at macports.org
Tue Nov 17 07:53:21 UTC 2020


#61521: xemacs @21.4.22: error: implicitly declaring library function 'exit'
---------------------------+--------------------
  Reporter:  wealthychef1  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.6.4
Resolution:                |   Keywords:
      Port:  xemacs        |
---------------------------+--------------------
Changes (by ryandesign):

 * port:  xemacs-21.4.22 => xemacs


Comment:

 It is perfectly fine and accurate that features.h is not found. configure
 scripts test for the presence of various files and features to decide how
 to build on your system. Because it could not find features.h, it inferred
 that your system is not a GNU libc system, which is correct; macOS does
 not use glibc.

 The real problem is that the writers of the configure script forgot to
 include essential headers, like those that define the `exit()` function,
 hence some later test fail unintentionally with `error: implicitly
 declaring library function 'exit'`. That's what needs to be fixed.

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


More information about the macports-tickets mailing list