Opened 4 months ago

Closed 4 months ago

#69029 closed defect (fixed)

dav1d @1.3.0: fatal error: 'malloc.h' file not found

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: ctreleaven (Craig Treleaven)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: snowleopard Cc:
Port: dav1d

Description

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.

Change History (3)

comment:1 Changed 4 months ago by kencu (Ken)

this error appears due to a messed-up meson installation, as per:

https://github.com/macports/macports-ports/pull/22016

and it was hoped it would be fixed by:

[0acc832eb868cde46b1878e3f360f1d36c3157e7/macports-ports]

The buildbots have been down a bit lately. I requeued a dav1d rebuild to follow the meson fix, but haven’t seen the result of this yet.

Last edited 4 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 in reply to:  1 Changed 4 months ago by ryandesign (Ryan Carsten Schmidt)

Replying to kencu:

this error appears due to a messed-up meson installation, as per:

https://github.com/macports/macports-ports/pull/22016

and it was hoped it would be fixed by:

[0acc832eb868cde46b1878e3f360f1d36c3157e7/macports-ports]

Ahhh ok.

The buildbots have been down a bit lately. I requeued a dav1d rebuild to follow the meson fix, but haven’t seen the result of this yet.

Yes, apologies for all the outages lately. They have been due to internet service provider outages, and I am looking for a new ISP.

comment:3 Changed 4 months ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.