in reply to perlbrew clone-modules fails to install lots of modules

> Despite your assertion to the contrary, in many cases your "unclonable" modules are missing prerequisites.

Thank you monks! I see what you guys mean about the prerequisites by checking a bunch of the build.log files. Sorry for doubting you. Things like App::perlfind and Astro::Catalog and Astro::SpaceTrack require LWP::Protocol::https and did finally install once I forced Net::SSLeay. There are a couple of others that had these problems:

  • Acme::Tools - forced install
    #   Failed test at t/02_general.t line 188.
    #          got: 'server-3-163-125-2.lax54.r.cloudfront.net'
    #     expected: 'www.vg.no'
    
    #   Failed test at t/02_general.t line 189.
    #          got: 'server-3-163-125-2.lax54.r.cloudfront.net'
    #     expected: 'www.vg.no'
    
  • Alien::CFITSIO - can't figure this out
    -> FAIL Installing Alien::curl failed.
    
  • Alien::Plotly::Kaleido - needed an outbound firewall rule
  • Astro::FITS::CFITSIO - can't figure this out
    ! Installing Alien::curl failed.
    
  • CGI-Kwiki - had to install as CGI::Kwiki
  • Chart::GGPlot - needed an outbound firewall rule
  • Color::RGB - removed from CPAN
  • Devel::Chitin - can't figure this out
  • Devel::hdb - depends on Devel::Chitin
  • EV - fails many tests, install hangs
  • File::Fingerprint - removed from CPAN
  • Geo::Compass::Variation - Calculation model is expired: 2020-2024
  • HTML-TableExtract - had to install as HTML::TableExtract
  • Imager::File::GIF - GIF libraries or headers not found ***
  • Module-Overview - had to install as Module::Overview
  • Module::XSOrPP - failed tests
  • Syntax - Pod file describing syntax understood by Language::Basic module
  • URI::ws - removed from CPAN? unknown
  • pod2pdf - had to install as App::pod2pdf

    *** Imager::File::GIF installed by referencing my old node at Imager support for PNG, JPEG and GIF on macOS Sonoma:

    perl Makefile.PL -v --incpath=/opt/homebrew/include --libpath=/opt/hom +ebrew/var/homebrew/linked/giflib/lib
    • Comment on Re: perlbrew clone-modules fails to install lots of modules SOLVED!
    • Download Code
  • Replies are listed 'Best First'.
    Re^2: perlbrew clone-modules fails to install lots of modules SOLVED!
    by hippo (Archbishop) on Jan 11, 2026 at 16:28 UTC
      URI::ws - removed from CPAN? unknown

      That is still on CPAN but note that it is part of the URI dist.


      🦛

        URI::ws ended up on my list because I used list-modules and diff to find out which modules were missing to make my list that was posted here. Something is not right with perlbrew (I guess it's perlbrew but who knows)! Check this out:
        % perlbrew use perl-5.38.2                    
        % perlbrew list-modules | grep 'URI'
        URI
        URI::Find
        URI::Find::Delimited
        URI::ws
        
        % perlbrew use perl-5.42.0                    
        % perlbrew list-modules | grep 'URI'
        URI
        URI::Find
        URI::Find::Delimited
        
    Re^2: perlbrew clone-modules fails to install lots of modules SOLVED!
    by Arunbear (Prior) on Jan 12, 2026 at 16:10 UTC
      There is still Color::Rgb on CPAN (note the spelling).
        > There is still Color::Rgb on CPAN (note the spelling).

        When I noticed modules were missing from doing

        perlbrew clone-modules perl-5.38.2 perl-5.42.0                                                            
        
        I put the results of list-modules for both versions into respective text files and ran diff. Perlbrew listed the Color::Rgb in 5.38 as Color::RGB which caused clone-modules to fail for that module. I just tried to install Color::RGB manually on 5.42 and it failed of course. So I installed Color::Rgb into 5.42 and ran list-modules again and sure enough perlbrew reports that module as Color::RGB! When I went to CPAN and saw
        Color::Rgb - Simple rgb.txt parsing class
        Color::RGB::Util - Utilities related to RGB colors
        
        I didn't know what to think, maybe it got renamed? But I checked out the changes and it did not so I don't know what is going on with perlbrew. Try it yourself:
        % cpanm -v Color::Rgb
        % perlbrew list-modules | grep -i 'color::rgb'
        Color::RGB
        
          I revisited the github issue and decided to take a look at what ExtUtils::Installed has to say about Color::Rgb:
          % perl -MExtUtils::Installed -le '@_=ExtUtils::Installed->new->modules;@_=grep/color::rgb/i,@_;print for@_'
          Color::RGB
          Color::RGB::Util
          
          What about the packlist?
          % perl -MExtUtils::Installed -le 'print ExtUtils::Installed->new->packlist("Color::RGB")->packlist_file'
          /perl5/perlbrew/perls/perl-5.42.0/lib/site_perl/5.42.0/darwin-2level/auto/Color/RGB/.packlist
          
          Inside the packlist?
          % cat /perl5/perlbrew/perls/perl-5.42.0/lib/site_perl/5.42.0/darwin-2level/auto/Color/RGB/.packlist
          /perl5/perlbrew/perls/perl-5.42.0/lib/site_perl/5.42.0/Color/Rgb.pm
          /perl5/perlbrew/perls/perl-5.42.0/man/man3/Color::Rgb.3
          
          The source of this issue still eludes me but I don't think perlbrew is the problem anymore. The output of Module::Metadata shows nothing unusual, module is reported as Color::Rgb.