[MacPorts] #56249: doxygen @1.8.13_2 (textproc, devel) Installation failure

MacPorts noreply at macports.org
Sun Apr 8 09:11:24 UTC 2018


#56249: doxygen @1.8.13_2 (textproc, devel) Installation failure
----------------------+--------------------
  Reporter:  fusionx  |      Owner:  (none)
      Type:  defect   |     Status:  closed
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.4.2
Resolution:  invalid  |   Keywords:
      Port:           |
----------------------+--------------------
Changes (by ryandesign):

 * cc: ryandesign (added)
 * status:  new => closed
 * resolution:   => invalid


Comment:

 Installing software in /usr/local can interfere with MacPorts ports and
 other software compiled from source, so we recommend uninstalling anything
 you've installed there. See wiki:FAQ#usrlocal. After you do that, clean
 the affected port (`sudo port clean doxygen`) and try again.

 Replying to [ticket:56249 fusionx]:
 > {{{
 > :info:build In file included from
 /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19:
 > :info:build In file included from
 /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:43:
 > :info:build In file included from
 /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:72:
 > :info:build /usr/local/include/Block.h:16:3: error: Never include this
 file directly. Use <lzma.h> instead.
 > :info:build #       error Never include this file directly. Use <lzma.h>
 instead.
 > :info:build         ^
 > }}}

 In this case, you appear to have installed a copy of
 [https://tukaani.org/xz/ xz] in /usr/local, and for some reason (maybe it
 is an old version, or maybe it was packaged in an unusual way) its headers
 are directly in /usr/local/include rather than in an lzma subdirectory
 where they usually are. Because of this, and the fact that your file
 system is case-insensitive (which is the default on macOS), the xz header
 block.h is interfering with (i.e. being found instead of) the operating
 system header /usr/include/Block.h

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


More information about the macports-tickets mailing list