[MacPorts] #69029: dav1d @1.3.0: fatal error: 'malloc.h' file not found

MacPorts noreply at macports.org
Thu Jan 4 00:58:54 UTC 2024


#69029: dav1d @1.3.0: fatal error: 'malloc.h' file not found
-------------------------+------------------------
 Reporter:  ryandesign   |      Owner:  ctreleaven
     Type:  defect       |     Status:  assigned
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.8.1
 Keywords:  snowleopard  |       Port:  dav1d
-------------------------+------------------------
 https://build.macports.org/builders/ports-10.6_x86_64-builder/builds/183738/steps
 /install-port/logs/stdio
 {{{
 In file included from ../dav1d_1.3.0/src/cdef_apply_tmpl.c:34:
 In file included from ../dav1d_1.3.0/src/cdef_apply.h:33:
 In file included from ../dav1d_1.3.0/src/internal.h:43:
 In file included from ../dav1d_1.3.0/src/cdf.h:34:
 In file included from ../dav1d_1.3.0/src/ref.h:33:
 ../dav1d_1.3.0/src/mem.h:36:10: fatal error: 'malloc.h' file not found
 #include <malloc.h>
          ^~~~~~~~~~
 1 error generated.
 }}}
 That oughtta be <stdlib.h> (on all operating systems everywhere).
 <malloc.h> is a Linux-specific header that doesn't belong in portable
 software.

 Oddly, this build failure is only occurring on 10.6 x86_64, not on 10.6
 i386.

-- 
Ticket URL: <https://trac.macports.org/ticket/69029>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list