astoller has asked for the wisdom of the Perl Monks concerning the following question:

Environment: Issue Build Output Initial Question

Replies are listed 'Best First'.
Re: XML::Atom on MacOS Catalina
by marto (Cardinal) on Dec 16, 2020 at 17:05 UTC

    Take a look at this issue, that patch and the workaround.

    Update: s/loom/look/

      As near as I can tell, every time I try to build the module with cpan it creates a new directory for the code

      ~ > find .cpan -type f -name "31-external-entities-libxml.t" -ls | awk '{print $8" "$9" "$10" "$11}'
      May 12 2017 .cpan/build/XML-Atom-0.42-4/t/31-external-entities-libxml.t
      May 12 2017 .cpan/build/XML-Atom-0.42-3/t/31-external-entities-libxml.t
      May 12 2017 .cpan/build/XML-Atom-0.42-2/t/31-external-entities-libxml.t
      May 12 2017 .cpan/build/XML-Atom-0.42-5/t/31-external-entities-libxml.t
      May 12 2017 .cpan/build/XML-Atom-0.42-0/t/31-external-entities-libxml.t
      May 12 2017 .cpan/build/XML-Atom-0.42-6/t/31-external-entities-libxml.t
      May 12 2017 .cpan/build/XML-Atom-0.42-1/t/31-external-entities-libxml.t

      So - what's the process for patching the file and building it? Do I just run make install in the .cpan/build/XML-Atom-0.42-4 directory or is there something more involved that I need to do?

        Go into one of those directories, change that one line as mentioned in the issue.

        perl Makefile.PL make make test make install

Re: XML::Atom on MacOS Catalina
by 1nickt (Canon) on Dec 16, 2020 at 16:58 UTC

    Hi, I tried installing this module into a brand new Perl 5.30.2, on Catalina. My install failed at the same test yours did.

    I see at CPANTesters that the module has a large number of failures for the current version (https://www.cpantesters.org/distro/X/XML-Atom.html?oncpan=1&distmat=1&version=0.42&grade=3)

    There are no failures *reported* with the previous version (0.41), but installation failed at the same test for me.

    Sorry, hope this helps!


    The way forward always starts with a minimal test.

      Well... it helps to know it's not just me :-)

      Hopefully someone with (more) in-depth knowledge of the module code will be able to help both of us....

Re: XML::Atom on MacOS Catalina
by astoller (Novice) on Dec 16, 2020 at 18:49 UTC

    Thanks much to marto - XML::Atom now appears to build / install on Catalina

    Unfortunately, Net::Google::DataAPI still fails - I'll create a separate thread for that.