Opened 4 years ago

Closed 3 years ago

#61599 closed defect (fixed)

fluent-bit @1.6.5: fatal error: 'malloc.h' file not found

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: herbygillot (Herby Gillot)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: arm64 Cc: l2dy (Zero King)
Port: fluent-bit

Description

https://build.macports.org/builders/ports-11_arm64-builder/builds/723/steps/install-port/logs/stdio

/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_sysutils_fluent-bit/fluent-bit/work/fluent-bit-1.6.5/lib/flb_libco/aarch64.c:16:10: fatal error: 'malloc.h' file not found
#include <malloc.h>
         ^~~~~~~~~~
1 error generated.

stdlib.h should always be included instead of malloc.h.

Change History (3)

comment:1 Changed 4 years ago by jmroot (Joshua Root)

Cc: l2dy added

comment:3 Changed 3 years ago by herbygillot (Herby Gillot)

Resolution: fixed
Status: assignedclosed

In 56659e9375b5a1bf99ee81b1f9004cf2f94a0e69/macports-ports (master):

fluent-bit: update to 1.8.12

  • add patches for building on arm64

Fixes: #61599

Note: See TracTickets for help on using tickets.