PIE checksum fails with Ubuntu PHP 8.1.2 package
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 38/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- php
- 领域
- build-system, security
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- PHP
- 星标
- 2k
- 派生
- 74
- 平均合并
- 6 小时 35 分钟
- 30 天内合并 PR
- 12
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
php/pie 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 52/100
维护者通常 1 天内回复
-
Do not duplicate an ext in pie show output for dev versions可能已有人在做 @asgrim 于 8 天前认领。 未关闭enhancement maintainer investigating
维护者通常 1 天内回复
-
Add self-update feature for executable PIEs可能已有人在做 @asgrim 于 19 天前认领。 未关闭enhancement maintainer investigating
维护者通常 1 天内回复
-
Allow building from existing sources on disk可能已有人在做 @asgrim 于 19 天前认领。 未关闭enhancement maintainer investigating
php/pie#738 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Optionally remove build-only dependencies and bloat after install可能重新可做 @asgrim 于 140 天前认领,目前没有进行中的 PR。 未关闭enhancement maintainer investigating
php/pie#618 · 2 条评论 · 4 个 reaction · 已指派 1 人 ·
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
Awaiting Triage bug
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
product / databases
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 75/100
VilnaCRM-Org/user-service#525 ·
维护者通常 21 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
shukiv/jabali-panel#2029 ·
维护者通常 1 天内回复