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

Unable to install ddtrace on Debian Bookworm #813

Closed
TomKeur opened this issue Oct 10, 2023 · 0 comments · Fixed by #814
Closed

Unable to install ddtrace on Debian Bookworm #813

TomKeur opened this issue Oct 10, 2023 · 0 comments · Fixed by #814
Labels
bug Something isn't working

Comments

@TomKeur
Copy link

TomKeur commented Oct 10, 2023

Version of install-php-extensions

latest

Error description

When running php:8.2.11-fpm-bookworm we're seeing issues with ddtrace.

error: package `regex v1.10.0` cannot be built because it requires rustc 1.65 or newer, while the currently active rustc version is 1.63.0
Either upgrade to rustc 1.65 or newer, or use
cargo update -p regex@1.10.0 --precise ver
where `ver` is the latest version of `regex` supporting rustc 1.63.0
strip: '/tmp/pear/temp/pear-build-defaultusernTOPAo/datadog_trace-0.89.0/target/debug/libddtrace_php.a': No such file
make: *** [Makefile:211: /tmp/pear/temp/pear-build-defaultusernTOPAo/datadog_trace-0.89.0/target/debug/libddtrace_php.a] Error 1
ERROR: `make -j10' failed
------
failed to solve: process "/bin/sh -c set -xe     && install-php-extensions ddtrace did not complete successfully: exit code: 1

Is there anything we can do to fix this? Seems like this all started when the ddtrace extension needed cargo.

Docker image

php:8.2.11-fpm-bookworm

Minimal Dockerfile

FROM php:8.2.11-fpm-bookworm AS base

ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/

RUN set -xe \
    && install-php-extensions ddtrace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant