PIE checksum fails with Ubuntu PHP 8.1.2 package
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 38/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- php
- Área
- build-system, security
Línea de trabajo
No source files or tests are named. Start by reproducing the failure with Ubuntu's PHP 8.1.2-1ubuntu2.26 package and comparing hash_file() reflection and checksum behavior with the official PHP 8.1.34, 8.4.26, and 8.5.11 installations. Done means preserving checksum verification while handling the distribution-specific signature without dropping arguments on supported PHP versions.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Scope
This checksum failure was reproduced with Ubuntu's 8.1.2-1ubuntu2.26 PHP package in the original test container. That binary exposes a hash_file() signature with only three parameters. This should not be generalized to all PHP 8.1 builds.
PHP 8.1 API verification
The fourth array $options = [] parameter was added to native hash_file() in PHP 8.1 (PHP.Watch). The official php:8.1-cli-bookworm image (PHP 8.1.34) reflects four parameters and accepts the four-argument call.
PIE 1.5.1 also successfully built, installed, checksum-verified, and loaded the extension from a local source repository under PHP 8.1.34 with CUDA enabled. PHP 8.4.26 and 8.5.11 installs passed as well.
Follow-up
The proposed Safe PR #757 was closed because its PHP < 8.5 branch would drop a documented argument on PHP 8.1-8.4. If this Ubuntu package mismatch needs continued tracking, it should be investigated as a distribution-specific PHP build issue, potentially with runtime feature detection. Checksum verification must not be disabled.
- Lenguaje dominante
- PHP
- Estrellas
- 2k
- Forks
- 74
- Merge medio
- 6 h 35 min
- PR fusionados (30 d)
- 12
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de php/pie
-
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
Los mantenedores suelen responder en 1 día
-
Do not duplicate an ext in pie show output for dev versionsPosiblemente ocupada @asgrim la tomó hace 7 días. Abiertoenhancement maintainer investigating
Los mantenedores suelen responder en 1 día
-
Add self-update feature for executable PIEsPosiblemente ocupada @asgrim la tomó hace 18 días. Abiertoenhancement maintainer investigating
Los mantenedores suelen responder en 1 día
-
Allow building from existing sources on diskPosiblemente ocupada @asgrim la tomó hace 18 días. Abiertoenhancement maintainer investigating
php/pie#738 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Optionally remove build-only dependencies and bloat after installQuizá libre de nuevo @asgrim la tomó hace 139 días y no hay ningún pull request abierto. Abiertoenhancement maintainer investigating
php/pie#618 · 2 comentarios · 4 reacciones · 1 asignado ·
Los mantenedores suelen responder en 1 día
Issues similares
-
sync-en
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
sync-en
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
Los mantenedores suelen responder en 3 días
-
Settings Support Rotation
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
woocommerce/woocommerce#69424 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
woocommerce/woocommerce-paypal-payments#4779 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
thephpleague/commonmark#1159 ·