Re: [GM-announce] GraphicsMagick 1.3.27a is available

Bob Friesenhahn <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.help
Message-ID <[email protected]>
On Mon, 1 Jan 2018, Marco Atzeri wrote:
>
> The Perl tests fail on cygwin
>
>
> "/usr/bin/perl.exe" -MExtUtils::Command::MM -e 'cp_nonempty' -- Magick.bs 
> blib/arch/auto/Graphics/Magick/Magick.bs 644
> PERL_DL_NONLAZY=1 "/usr/bin/perl.exe" "-MExtUtils::Command::MM" 
> "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 
> 'blib/lib', 'blib/arch')" t/*.t t/bzlib/*.t t/jbig/*.t t/jng/*.t t/jp2/*.t 
> t/jpeg/*.t t/png/*.t t/ps/*.t t/tiff/*.t t/ttf/*.t t/wmf/*.t t/x/*.t 
> t/xfig/*.t t/zlib/*.t
> Invalid version format (non-numeric data) at 
> /usr/lib/perl5/5.26/x86_64-cygwin-threads/DynaLoader.pm line 210.
> Compilation failed in require at t/blob.t line 15.
> BEGIN failed--compilation aborted at t/blob.t line 15.
> t/blob.t ..........
> 1..1
> not ok 1
>
> It seems a test issue only.

I learned about the problem after the fact.

See Mercurial changeset 15302:52e1a731f85e (default) or 
15300:a0b1d7439cbc (GraphicsMagick-1_3) for a small patch.

The alternative is to patch the generated Magick.pm Makefile.PL.in to 
remove the 'a' from the VERSION string.

Perl's MakeMaker and test harness are rather obtuse and fragile.

Bob
-- 
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.