Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

CPAN: Lingua-ZH-Romanize-Pinyin build skips generated dictionaries and rejects $] test guard

Đang mở
#1,919 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@fglock đang làm issue này rồi.

Từ ngày 29/10/2026.

  • #1920 của @fglock — đang mở

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/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ệ
perl
Lĩnh vực
build-system, testing

Hướng nghiên cứu

Start with PerlOnJava's MakeMaker handling and the archived run 20261028-144340-47138; compare its build output with the successful system Perl make test run. Trace why custom postamble targets and generated PM mappings do not place Pinyin.store and Cantonese.store in blib/lib, then investigate parsing the $] guard in both UTF-8 tests. Done means both generated stores load and all five test programs pass.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

area:cpan-port area:parser bug

CPAN failure

Lingua-ZH-Romanize-Pinyin 0.23 fails its test suite under PerlOnJava. A fresh extraction passes all 77 tests under system Perl.

Archived run 20261028-144340-47138 reported:

  • The two dictionary tests could not load Pinyin.store and Cantonese.store from blib/lib.
  • Both UTF-8 tests failed to parse the guard unless ( $] >= 5.008001 ).

Confirmed behavior

The distribution's Makefile.PL adds custom MakeMaker postamble rules that generate the two .store files, and maps those files into blib/lib. With system Perl, make test runs both generation recipes, copies both files, and passes all five test programs (77 tests). In the archived PerlOnJava run, MakeMaker reported a successful build but the stores were absent from blib/lib when tests started. This points to PerlOnJava's MakeMaker/build handling of custom postamble targets or generated PM mappings.

The parser failure is independently reproducible from the archived log at the $] comparison in the two UTF-8 test files; system Perl accepts these expressions.

Expected result

PerlOnJava's MakeMaker build should execute custom postamble generation targets and copy their generated files into blib/lib, and its parser should accept the Perl version comparison used by these tests.

Evidence

  • CPAN run: 20261028-144340-47138, distribution Lingua-ZH-Romanize-Pinyin-0.23
  • System Perl fresh extraction: make test, PASS, 5 files / 77 tests
  • PerlOnJava: archived run FAIL, 4/5 test programs
Ngôn ngữ chính
Perl
Star
65
Fork
8
Merge trung bình
6 giờ 6 phút
Pull request đã merge (30 ngày)
185

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của fglock/PerlOnJava

Tất cả issue của fglock/PerlOnJava

Issue tương tự

Thêm issue về Perl

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.