#71022 closed defect (fixed)
libsvg @0.1.4: error: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Reported by: | amadeus24 | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.10.2 |
Keywords: | sequoia | Cc: | |
Port: | libsvg |
Description
Reinstalling macports on an MB Pro with M1 Max, Sequoia and libsvg quit at build.
Attachments (1)
Change History (7)
Changed 6 weeks ago by amadeus24
comment:1 Changed 6 weeks ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | catalina bigsur monterey ventura sonoma sequoia added; libsvg don't build removed |
---|---|
Summary: | libsvg don't build → libsvg @0.1.4: error: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] |
comment:2 Changed 6 weeks ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | catalina bigsur monterey ventura sonoma removed |
---|---|
Version: | → 2.10.2 |
comment:3 Changed 6 weeks ago by jmroot (Joshua Root)
Owner: | set to jmroot |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:4 Changed 6 weeks ago by ryandesign (Ryan Carsten Schmidt)
Ah, that explains it. You previously reported this problem in #66971 on an earlier macOS and we fixed some of the problems then.
comment:5 Changed 6 weeks ago by jmroot (Joshua Root)
I guess maybe some other systems headers were pulling in stdlib.h previously.
Note: See
TracTickets for help on using
tickets.
The log says:
This is curious. Implicit function declarations have been forbidden since Xcode 12 so I expected this to have been broken on earlier OS versions already, but our port health indicators show successful builds on macOS 14 and earlier. Still, this version of libsvg dates back to 2005, so I would not be at all surprised if it contained such bugs.