[MacPorts] #59313: asco port installation fails with 'malloc.h' file not found

MacPorts noreply at macports.org
Mon Oct 14 07:10:03 UTC 2019


#59313: asco port installation fails with 'malloc.h' file not found
-----------------------+-----------------------------
  Reporter:  hadrabap  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  mojave, Xcode11
      Port:  asco      |
-----------------------+-----------------------------

Comment (by hadrabap):

 Hello, thanks for reply. I already do have Command Line Tools installed:

 {{{
 localhost:~ petr$ cd /Library/Developer/
 .DS_Store          CommandLineTools/  CoreSimulator/     Documentation/
 PrivateFrameworks/ Toolchains/
 localhost:~ petr$ cd /Library/Developer/CommandLineTools/
 localhost:CommandLineTools petr$ la
 total 0
 drwxr-xr-x  5 root  admin  - 160 Jun  4 16:25 .
 drwxrwxr-x@ 8 root  admin  - 256 Aug 25 13:33 ..
 drwxr-xr-x  6 root  admin  - 192 Jun  4 16:25 Library
 drwxr-xr-x  6 root  wheel  - 192 Sep 21 22:08 SDKs
 drwxr-xr-x  7 root  admin  - 224 Mar 28  2019 usr
 localhost:CommandLineTools petr$ cd SDKs/
 localhost:SDKs petr$ la
 total 0
 drwxr-xr-x  6 root  wheel  - 192 Sep 21 22:08 .
 drwxr-xr-x  5 root  admin  - 160 Jun  4 16:25 ..
 lrwxr-xr-x  1 root  wheel  -  15 Sep 21 22:07 MacOSX.sdk ->
 MacOSX10.15.sdk
 drwxr-xr-x  7 root  wheel  - 224 Jun  4 16:25 MacOSX.sdk 1
 lrwxr-xr-x  1 root  wheel  -  10 Apr 18 16:57 MacOSX10.14.sdk ->
 MacOSX.sdk
 drwxr-xr-x  8 root  wheel  - 256 Sep 21 22:08 MacOSX10.15.sdk
 localhost:SDKs petr$
 }}}

 I have the latest stable version for Xcode 11 from developer.apple.com
 ({{{Command_Line_Tools_for_Xcode_11.dmg}}}).

 And the {{{malloc.h}}} exists on my filesystem:

 {{{
 localhost:SDKs petr$ mdfind -name malloc.h | grep ^/Library
 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
 1/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/malloc.h
 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
 1/usr/include/sys/malloc.h
 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
 1/usr/include/malloc/malloc.h
 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
 1/usr/include/malloc/_malloc.h
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/libkern/OSMalloc.h
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/malloc.h
 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
 1/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/libkern/OSMalloc.h
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/malloc.h
 /Library/Developer/CommandLineTools/Library/PrivateFrameworks/LLDB.framework/Versions/A/Resources/Clang/include/mm_malloc.h
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/malloc/malloc.h
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/malloc/_malloc.h
 /Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/include/mm_malloc.h
 /Library/Developer/CommandLineTools/usr/lib/tapi/11.0.0/include/mm_malloc.h
 /Library/Developer/CommandLineTools/usr/lib/llvm-
 gcc/4.2.1/include/mm_malloc.h
 localhost:SDKs petr$
 }}}

 Maybe my environment is kind of broken. :-(

 Thanks in advance,

 PETR

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


More information about the macports-tickets mailing list