[MacPorts] #57195: bladeRF @20180927: fatal error: 'malloc.h' file not found

MacPorts noreply at macports.org
Fri Oct 5 18:38:26 UTC 2018


#57195: bladeRF @20180927: fatal error: 'malloc.h' file not found
------------------------------+-----------------------
  Reporter:  BitBangingBytes  |      Owner:  michaelld
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.5.3
Resolution:                   |   Keywords:
      Port:  bladeRF          |
------------------------------+-----------------------

Comment (by kencu):

 The failing file has this weird bit:
 {{{
 #if 0 == BLADERF_OS_FREEBSD
 #include <malloc.h>
 #endif // BLADERF_OS_FREEBSD
 }}}
 which apparently stupidly evaluates to TRUE, ergo the failure. Removing
 that chunk completely fixes build:
 {{{
 $ port -v installed bladerf
 The following ports are currently installed:
   bladeRF @20180914_0+tecla (active) platform='darwin 18' archs='x86_64'
 date='2018-10-05T11:37:43-0700'
 }}}

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


More information about the macports-tickets mailing list