Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
KorvinSzanto opened this issue Dec 15, 2022 · 3 comments
Open

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

KorvinSzanto opened this issue Dec 15, 2022 · 3 comments

Comments

@KorvinSzanto
Copy link

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

@mlocati
Copy link
Collaborator

mlocati commented Dec 15, 2022

Does the same error occur also when using pecl? If so, I'd report it to the xdebug maintainer: he may have a clue about what's going wrong

@KorvinSzanto
Copy link
Author

No PECL installs fine mlocati/docker-php-extension-installer#674 (comment)

@mlocati
Copy link
Collaborator

mlocati commented Dec 22, 2022

Yet another good reason to drop pickle and keep using pecl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants