Skip to content

Can't install Xdebug when building a php8.2 container in DIND #263

@KorvinSzanto

Description

@KorvinSzanto

I'm using docker in docker (DIND) to build my base php8.2 container and I'm running into an issue trying to install xdebug that only shows up in DIND: https://gitlab.com/portlandlabs/containers/-/jobs/3481867623

2: /tmp/xdebug/xdebug-3.2.0/src/base/filter.c:346:10: fatal error: mm.h: No such file or directory
2:   346 | #include "mm.h"
2:       |          ^~~~~~
2: compilation terminated.

This seems to be caused by base/filter.c somehow including the content of lib/str.c during compilation. See mlocati/docker-php-extension-installer#674 for more info about the issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions