PerlMagick missing files or not?

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Post Reply
kwm
Posts: 10
Joined: 2014-03-04T13:43:03-07:00
Authentication code: 6789

PerlMagick missing files or not?

Post by kwm » 2016-12-24T13:37:44-07:00

Hi,

I'm working on updating our IM port from 6.9.6.4 to 6.9.7.0, I ran into the problem that the Magick.so and autosplit.ix files are "missing". It doesn't apears to be a issue on my side. And since I'm not familiar with PerlMagick or Perl itself I would like to hear if this is a bug or intended behaviour, before I go ahead and update our port.

Thanks,

-Koop

6.9.6.4:
lib/perl5/site_perl/mach/5.24/Image/Magick.pm
lib/perl5/site_perl/mach/5.24/Image/Magick/Q16HDRI.pm
lib/perl5/site_perl/mach/5.24/auto/Image/Magick/.packlist
lib/perl5/site_perl/mach/5.24/auto/Image/Magick/Magick.so
lib/perl5/site_perl/mach/5.24/auto/Image/Magick/Q16HDRI/Q16HDRI.so
lib/perl5/site_perl/mach/5.24/auto/Image/Magick/Q16HDRI/autosplit.ix
lib/perl5/site_perl/mach/5.24/auto/Image/Magick/autosplit.ix
lib/perl5/site_perl/man/man3/Image::Magick.3.gz
lib/perl5/site_perl/man/man3/Image::Magick::Q16HDRI.3.gz

6.9.7.0:
lib/perl5/site_perl/mach/5.24/Image/Magick.pm
lib/perl5/site_perl/mach/5.24/Image/Magick/Q16.pm
lib/perl5/site_perl/mach/5.24/auto/Image/Magick/.packlist
lib/perl5/site_perl/mach/5.24/auto/Image/Magick/Q16/Q16.so
lib/perl5/site_perl/mach/5.24/auto/Image/Magick/Q16/autosplit.ix
lib/perl5/site_perl/man/man3/Image::Magick.3.gz
lib/perl5/site_perl/man/man3/Image::Magick::Q16.3.gz

User avatar
magick
Site Admin
Posts: 10690
Joined: 2003-05-31T11:32:55-07:00

Re: PerlMagick missing files or not?

Post by magick » 2017-01-05T17:13:59-07:00

Type (note this command stream installs in the /usr/local path):
Does the PerlMagick demo.pl script work?

kwm
Posts: 10
Joined: 2014-03-04T13:43:03-07:00
Authentication code: 6789

Re: PerlMagick missing files or not?

Post by kwm » 2017-01-11T06:58:29-07:00

Running the test suite seems to be working. Though t/tiff/read.t and t/tiff/write.t have failures, I don't know how critical those are. When running the test suite under X, I'm getting a window popup with a picture in it. But I don't know how to handle those to make the test succeed.

Thanks for the instruction.

% make test
gmake[1]: Entering directory '/home/kwm/sources/freebsd/ports/graphics/ImageMagick/work/ImageMagick-6.9.7-3/PerlMagick/default'
Manifying 1 pod document
gmake[1]: Leaving directory '/home/kwm/sources/freebsd/ports/graphics/ImageMagick/work/ImageMagick-6.9.7-3/PerlMagick/default'
gmake[1]: Entering directory '/home/kwm/sources/freebsd/ports/graphics/ImageMagick/work/ImageMagick-6.9.7-3/PerlMagick/quantum'
Manifying 1 pod document
gmake[1]: Leaving directory '/home/kwm/sources/freebsd/ports/graphics/ImageMagick/work/ImageMagick-6.9.7-3/PerlMagick/quantum'
PERL_DL_NONLAZY=1 "/usr/local/bin/perl5" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/bzlib/*.t t/jpeg/*.t t/jng/*.t t/openjp2/*.t t/png/*.t t/tiff/*.t t/wmf/*.t t/zlib/*.t
t/blob.t .......... ok
t/bzlib/read.t .... ok
t/bzlib/write.t ... ok
t/composite.t ..... ok
t/filter.t ........ ok
t/getattribute.t .. ok
t/jng/read.t ...... ok
t/jng/write.t ..... ok
t/jpeg/read.t ..... ok
t/jpeg/write.t .... ok
t/montage.t ....... ok
t/openjp2/read.t .. ok
t/ping.t .......... ok
t/png/read-16.t ... ok
t/png/read.t ...... ok
t/png/write-16.t .. ok
t/png/write.t ..... ok
t/read.t .......... ok
t/setattribute.t .. ok
t/tiff/read.t ..... Failed 2/16 subtests
t/tiff/write.t .... Failed 4/10 subtests
t/wmf/read.t ...... ok
t/write.t ......... ok
t/zlib/read.t ..... ok
t/zlib/write.t .... ok

Test Summary Report
-------------------
t/tiff/read.t (Wstat: 0 Tests: 16 Failed: 2)
Failed tests: 2-3
t/tiff/write.t (Wstat: 0 Tests: 10 Failed: 4)
Failed tests: 1, 3, 9-10
Files=25, Tests=358, 6 wallclock secs ( 0.16 usr 0.07 sys + 3.47 cusr 1.35 csys = 5.05 CPU)
Result: FAIL
Failed 2/25 test programs. 6/358 subtests failed.
*** Error code 255

Stop.
make: stopped in /home/kwm/sources/freebsd/ports/graphics/ImageMagick/work/ImageMagick-6.9.7-3/PerlMagick
kwm@crashalot:~/sources/freebsd/ports/graphics/ImageMagick/work/ImageMagick-6.9.7-3/PerlMagick %

kwm
Posts: 10
Joined: 2014-03-04T13:43:03-07:00
Authentication code: 6789

Re: PerlMagick missing files or not?

Post by kwm » 2017-01-11T09:32:33-07:00

ImageMagick 7.0.4-3 results:

So please let me know if this is acceptable. I'm willing to help if both these issues in the test suites are problematic, but please keep in mind I don't know anything about perl.

PERL_DL_NONLAZY=1 "/usr/local/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/blob.t .......... ok
t/composite.t ..... ok
t/filter.t ........ ok
t/getattribute.t .. ok
t/montage.t ....... Failed 2/19 subtests
t/ping.t .......... ok
t/read.t .......... ok
t/setattribute.t .. ok
t/write.t ......... ok

Test Summary Report
-------------------
t/montage.t (Wstat: 0 Tests: 19 Failed: 2)
Failed tests: 12-13
Files=9, Tests=273, 4 wallclock secs ( 0.13 usr 0.02 sys + 3.55 cusr 0.80 csys = 4.52 CPU)
Result: FAIL
Failed 1/9 test programs. 2/273 subtests failed.
*** Error code 255

Post Reply