Conversation
…r::Phone::JP Investigate failures of jcpan -t FormValidator::Simple::Plugin:: Number::Phone::JP and document the two root causes: 1. I18N::LangTags / I18N::LangTags::Detect are upstream-core, so CPAN tries to install perl-5.42.2 itself; sources already exist in perl5/dist/I18N-LangTags/lib/ but are not bundled into src/main/perl/lib/I18N/. 2. Data::CompactReadonly's Makefile.PL gates on ~0 < 18446744073709551615 (a "is this 64-bit Perl?" check). Under jperl ~0 == 4294967295 because BitwiseOperators.bitwiseNotBinary masks to 32 bits and Config.pm reports ivsize=4/uvsize=4 to match. Plan lays out three options for #2 (go 64-bit globally, vendor a patched Data::CompactReadonly, or hybrid) and a low-risk Phase 1 to bundle the I18N::LangTags pair. Generated with [Devin](https://cli.devin.ai/docs) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Investigation + fix plan for
jcpan -t FormValidator::Simple::Plugin::Number::Phone::JP. No code changes — onlydev/modules/formvalidator_number_phone_jp.md(and the auto-updatedConfiguration.javafrommake).The leaf module is trivial; the failures live in its transitive dependency chain. Two root causes identified:
I18N::LangTags / I18N::LangTags::Detect not bundled. They live in
perl5/dist/I18N-LangTags/lib/I18N/and load fine under jperl, but are not copied intosrc/main/perl/lib/I18N/. CPAN therefore treats them as upstream-core and tries to installperl-5.42.2itself, which fails. Cheap, low-risk fix.Data::CompactReadonlyMakefile.PL gates on~0 < 18446744073709551615(a "is this 64-bit Perl?" check). Under jperl~0 == 4294967295becauseBitwiseOperators.bitwiseNotBinarymasks to 32 bits andConfig.pmreportsivsize=4 uvsize=4 use64bitint=to match. PerlOnJava actually uses Javalonginternally — this is a reporting choice that exists to keepbop.t-style reference output stable.Three options laid out for #2:
Data::CompactReadonly(surgical).Phase 1 (bundle the I18N::LangTags pair) is low-risk and can land independently.
Test plan
makepasses locally on this branch./jcpan -t FormValidator::Simple::Plugin::Number::Phone::JPshould reach the actualt/01_number_phone_jp.tinstead of dying in dependency configurationGenerated with Devin