[MacPorts] #68461: kdelibs4 fails with undefined _inotify* symbols when building on 10.6 PowerPC using gcc-4.2

MacPorts noreply at macports.org
Sat Jan 13 13:05:50 UTC 2024


#68461: kdelibs4 fails with undefined _inotify* symbols when building on 10.6
PowerPC using gcc-4.2
---------------------------+---------------------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:  powerpc snowleopard
      Port:  kdelibs4      |
---------------------------+---------------------------------

Comment (by barracuda156):

 It looks like `sys/inotify.h` does not exist on macOS (and nothing
 specific to either PPC or 10.6 of any sort):
 https://gitlab.freedesktop.org/mesa/mesa/-/issues/8101

 However, `kdelibs4` configure detects as if it is, setting this:
 {{{
 //Have include sys/inotify.h
 SYS_INOTIFY_H_FOUND:INTERNAL=1
 }}}

 Which results in usage of those symbols due to related code in
 `kdecore/io/kdirwatch.cpp`.

 Apparently, this happens because something installed `inotify.h` into
 Macports prefix for me. (Quite possible that this was not from existing
 ports, but from something I built locally and did not submit since it was
 not ready yet.)

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


More information about the macports-tickets mailing list