PIE checksum fails with Ubuntu PHP 8.1.2 package
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- php
- Lĩnh vực
- build-system, security
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- PHP
- Star
- 2k
- Fork
- 74
- Merge trung bình
- 6 giờ 7 phút
- Pull request đã merge (30 ngày)
- 13
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của php/pie
-
Do not duplicate an ext in pie show output for dev versionsCó thể đã có người làm @asgrim đã nhận 7 ngày trước. Đang mởenhancement maintainer investigating
php/pie#746 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add self-update feature for executable PIEsCó thể đã có người làm @asgrim đã nhận 18 ngày trước. Đang mởenhancement maintainer investigating
php/pie#739 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Allow building from existing sources on diskCó thể đã có người làm @asgrim đã nhận 18 ngày trước. Đang mởenhancement maintainer investigating
php/pie#738 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Optionally remove build-only dependencies and bloat after installCó thể làm lại được @asgrim đã nhận 139 ngày trước và không có pull request nào đang mở. Đang mởenhancement maintainer investigating
php/pie#618 · 2 bình luận · 3 reaction · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Display number of downloads/stars when results are shownCó thể làm lại được @asgrim đã nhận 166 ngày trước và không có pull request nào đang mở. Đang mởenhancement maintainer investigating
php/pie#592 · 1 bình luận · 1 reaction · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
awslabs/aidlc-workflows#1879 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug customer-reported
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
MagnaCapax/PMSS#1011 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
Talk Review
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
socallinuxexpo/scale-drupal#351 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
code4romania/cpc#47 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Bug Status: Needs Triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày