Skip to content

php85-mongodb fails to build #1862

@BjarneDMat

Description

@BjarneDMat

Bug Report

implicit function decaration in src/contrib/php_array_api.h
:info:build /opt/local/var/macports/build/php85-mongodb-823678e6/work/mongodb-2.1.1/src/contrib/php_array_api.h:353:15: error: call to undeclared function 'IS_INTERNED'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
:info:build 353 | *pfree = ! IS_INTERNED(Z_STR(c));

Environment

debug:main Starting logging for php85-mongodb @2.1.1_0
:debug:sysinfo macOS 14.7.6 (darwin/23.6.0) arch i386
:debug:sysinfo MacPorts 2.11.3
:debug:sysinfo Xcode 16.2, CLT 16.2.0.0.1.1733547573
:debug:sysinfo SDK 14
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 14.0

Test Script

Expected and Actual Behavior

Debug Log

full log here : https://macports.mathiesen.info/logs/php/php-mongodb/php85-main.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions