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 MakeMaker omits Alien::Build::MM install directory arguments

Đã đóng
#1,633 3 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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
72/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
perl
Lĩnh vực
build-system

Hướng nghiên cứu

Start by locating where PerlOnJava generates the MakeMaker recipe containing jperl -MAlien::Build::MM=cmd -e prefix site; compare its arguments with the system-Perl-generated command shown in the issue. Reproduce the failure with the named Alien-Ninja or Alien-Meson installation if possible. Done means the generated command supplies the required install directories and the CPAN installation proceeds past the prefix step.

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

Mô tả

area:cpan-port bug

Summary

PerlOnJava's generated MakeMaker recipe omits the install-directory arguments expected by Alien::Build::MM. This prevents installation of Alien::Ninja and Alien::Meson under CPAN, even though their upstream tests pass under system Perl.

Reproduction

CPAN run 20261005-091352-31215 failed while installing Alien-Ninja-0.03 as a configure prerequisite of Alien-libui-0.03 (it also failed for Alien-Meson-0.06). The generated command was:

jperl -MAlien::Build::MM=cmd -e prefix site

Alien::Build::MM expects the install directories after site. With no directory argument, it passes an undefined value to Path::Tiny, producing:

Path::Tiny paths require defined, positive-length parts

The system-Perl-generated Makefile includes $(INSTALLARCHLIB) $(INSTALLSITEARCH) $(INSTALLVENDORARCH) in this command, and the exact Alien-Ninja-0.03 distribution installs successfully with system Perl.

Results

  • System Perl 5.42.2: isolated installation of the exact distribution and missing prerequisites completed; upstream suite passed (2 files, 5 tests).
  • PerlOnJava JVM backend: make fails at the Alien::Build::MM prefix step in run 20261005-091352-31215.
  • PerlOnJava interpreter backend: not tested.
  • Environment: macOS 15.6, arm64, Java 24.0.2. Current PerlOnJava checkout version: a0b6a6256 (issue observed in the archived CPAN run).

Expected

The PerlOnJava-generated Makefile should pass all required install-directory values to Alien::Build::MM, allowing these pure-Perl Alien distributions to finish installation and proceed to their tests.

Ngôn ngữ chính
Perl
Star
64
Fork
7
Merge trung bình
4 giờ 56 phút
Pull request đã merge (30 ngày)
181

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.