On Wed Mar 04 15:25:41 2015, SREZIC wrote:
Show quoted text> On 2015-03-03 04:34:06, SZABGAB wrote:
> > cpanm (App::cpanminus) 1.6937 on perl 5.020001 built for darwin-
> > thread-multi-2level
> > Work directory is /Users/gabor/.cpanm/work/1425374990.16942
> > You have make /usr/bin/make
> > You have LWP 6.08
> > You have /usr/bin/tar: bsdtar 2.8.3 - libarchive 2.8.3
> > You have /usr/bin/unzip
> > Searching Image::Magick on cpanmetadb ...
> > --> Working on Image::Magick
> > Fetching
http://www.cpan.org/authors/id/J/JC/JCRISTY/PerlMagick-6.89-
> > 1.tar.gz
> > -> OK
> > Unpacking PerlMagick-6.89-1.tar.gz
> > Entering PerlMagick-6.89
> > META.yml/json not found. Creating skelton for it.
> > Configuring PerlMagick-6.89-1
> > Running Makefile.PL
> > Checking if your kit is complete...
> > Looks good
> > Warning (mostly harmless): No library found for -lperl
> > Generating a Unix-style Makefile
> > Writing Makefile for Image::Magick
> > Writing MYMETA.yml and MYMETA.json
> > -> OK
> > Checking dependencies from MYMETA.json ...
> > Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.98)
> > Building and testing Image-Magick-6.89
> > cp Magick.pm blib/lib/Image/Magick.pm
> > AutoSplitting blib/lib/Image/Magick.pm (blib/lib/auto/Image/Magick)
> > Running Mkbootstrap for Image::Magick ()
> > chmod 644 Magick.bs
> > /Users/gabor/perl5/perlbrew/perls/perl-5.20.1_WITH_THREADS/bin/perl
> > /Users/gabor/perl5/perlbrew/perls/perl-
> > 5.20.1_WITH_THREADS/lib/5.20.1/ExtUtils/xsubpp -typemap
> > /Users/gabor/perl5/perlbrew/perls/perl-
> > 5.20.1_WITH_THREADS/lib/5.20.1/ExtUtils/typemap -typemap typemap
> > Magick.xs > Magick.xsc && mv Magick.xsc Magick.c
> > cc -c -I/usr/local/include/ImageMagick-6 -DMAGICKCORE_HDRI_ENABLE=0
> > -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/libxml2
> > -I"/usr/include/ImageMagick-6" -fno-common -DPERL_DARWIN -fno-strict-
> > aliasing -pipe -fstack-protector -I/usr/local/include
> > -I/usr/include/freetype2 -g -O2 -Wall -pthread
> > -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -O3
> > -DVERSION=\"6.89\" -DXS_VERSION=\"6.89\" "-
> > I/Users/gabor/perl5/perlbrew/perls/perl-
> > 5.20.1_WITH_THREADS/lib/5.20.1/darwin-thread-multi-2level/CORE"
> > -D_LARGE_FILES=1 -DHAVE_CONFIG_H Magick.c
> > rm -f blib/arch/auto/Image/Magick/Magick.bundle
> > LD_RUN_PATH="/usr/local/lib" env MACOSX_DEPLOYMENT_TARGET=10.3 cc
> > -L/usr/local/lib -lMagickCore-6.Q16 -bundle -undefined
> > dynamic_lookup
> > -L/usr/local/lib -fstack-protector Magick.o -o
> > blib/arch/auto/Image/Magick/Magick.bundle \
> > -L/usr/local/lib -lMagickCore-6.Q16 -lm \
> >
> > chmod 755 blib/arch/auto/Image/Magick/Magick.bundle
> > /Users/gabor/perl5/perlbrew/perls/perl-5.20.1_WITH_THREADS/bin/perl
> > -MExtUtils::Command::MM -e 'cp_nonempty' -- Magick.bs
> > blib/arch/auto/Image/Magick/Magick.bs 644
> > Manifying blib/man3/Image::Magick.3
> > Running Mkbootstrap for Image::Magick ()
> > chmod 644 Magick.bs
> > PERL_DL_NONLAZY=1 /Users/gabor/perl5/perlbrew/perls/perl-
> > 5.20.1_WITH_THREADS/bin/perl "-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/mpeg/*.t t/png/*.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/mpeg/read.t .....
> > Failed 2/2 subtests
> > 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/write.t ......... ok
> > t/zlib/read.t ..... ok
> > t/zlib/write.t .... ok
> >
> > Test Summary Report
> > -------------------
> > t/mpeg/read.t (Wstat: 0 Tests: 2 Failed: 2)
> > Failed tests: 1-2
> > Files=22, Tests=329, 3 wallclock secs ( 0.17 usr 0.06 sys + 1.93
> > cusr 0.41 csys = 2.57 CPU)
> > Result: FAIL
> > Failed 1/22 test programs. 2/329 subtests failed.
> > make: *** [test_dynamic] Error 255
> >
> > on OSX
>
> I see the same problem on FreeBSD 9 systems with ImageMagick 6.8.9-10.
> Additionally to the failure, interactive windows pop up which have to
> be closed using the Q key.
The same t/mpeg/read.t test(s) fail on my setup; Fedora 25 x86_64, Perlbrew 0.78 w/ Perl 5.22.3. Specific error messages:
githyanki:~/.cpanm/latest-build/PerlMagick-6.89$ perl -I blib/lib -I blib/arch/ t/mpeg/read.t
1..2
testing reading from file "input.m2v" ...
ReadImage input.m2v: Exception 435: unable to open image `/tmp/magick-15223ceMiFuEb0jPK.pam': No such file or directory @ error/blob.c/OpenBlob/2702
testing reading from BLOB with magick ""...
BlobToImage input.m2v: Exception 435: unable to open image `/tmp/magick-15223n9GdUOSWqtMw.pam': No such file or directory @ error/blob.c/OpenBlob/2702
not ok 1
testing reading from file "input.mpg" ...
ReadImage input.mpg: Exception 435: unable to open image `/tmp/magick-152231VuAI37Ar8LW.pam': No such file or directory @ error/blob.c/OpenBlob/2702
testing reading from BLOB with magick ""...
BlobToImage input.mpg: Exception 435: unable to open image `/tmp/magick-15223kt54V9f1scOI.pam': No such file or directory @ error/blob.c/OpenBlob/2702
not ok 2
githyanki:~/.cpanm/latest-build/PerlMagick-6.89$
I found this post on the ImageMagick forums which said the solution was installing ffmpeg:
http://imagemagick.org/discourse-server/viewtopic.php?f=3&t=24476&start=15
However, installing the ffmpeg-devel RPM (v3.1.6) from rpmfusion and rebuilding Image::Magick didn't resolve the issue
githyanki:~/.cpanm/latest-build/PerlMagick-6.89$ perlbrew info
Current perl:
Name: perl-5.22.3
Path: /home/username/perl5/perlbrew/perls/perl-5.22.3/bin/perl
Config: -de -Dprefix=/home/username/perl5/perlbrew/perls/perl-5.22.3 -Aeval:scriptdir=/home/username/perl5/perlbrew/perls/perl-5.22.3/bin
Compiled at: Jan 19 2017 10:09:32
perlbrew:
version: 0.78
ENV:
PERLBREW_ROOT: /home/username/perl5/perlbrew
PERLBREW_HOME:
PERLBREW_PATH: /home/username/perl5/perlbrew/bin:/home/username/perl5/perlbrew/perls/perl-5.22.3/bin
PERLBREW_MANPATH: /home/username/perl5/perlbrew/perls/perl-5.22.3/man
githyanki:~/.cpanm/latest-build/PerlMagick-6.89$ perl -V
Summary of my perl5 (revision 5 version 22 subversion 3) configuration:
Platform:
osname=linux, osvers=4.9.3-200.fc25.x86_64, archname=x86_64-linux
uname='linux githyanki.localdomain 4.9.3-200.fc25.x86_64 #1 smp fri jan 13 01:01:13 utc 2017 x86_64 x86_64 x86_64 gnulinux '
config_args='-de -Dprefix=/home/username/perl5/perlbrew/perls/perl-5.22.3 -Aeval:scriptdir=/home/username/perl5/perlbrew/perls/perl-5.22.3/bin'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
ccversion='', gccversion='6.3.1 20161221 (Red Hat 6.3.1-1)', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678, doublekind=3
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16, longdblkind=3
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector-strong -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib /lib/../lib64 /usr/lib/../lib64 /lib /lib64 /usr/lib64 /usr/local/lib64
libs=-lpthread -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
libc=libc-2.24.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.24'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector-strong'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP
PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES
USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_PERLIO
USE_PERL_ATOF
Locally applied patches:
Devel::PatchPerl 1.46
Built under linux
Compiled at Jan 19 2017 10:09:32
%ENV:
PERL5LIB=""
PERLBREW_LIB=""
PERLBREW_MANPATH="/home/username/perl5/perlbrew/perls/perl-5.22.3/man"
PERLBREW_PATH="/home/username/perl5/perlbrew/bin:/home/username/perl5/perlbrew/perls/perl-5.22.3/bin"
PERLBREW_PERL="perl-5.22.3"
PERLBREW_ROOT="/home/username/perl5/perlbrew"
PERLBREW_SKIP_INIT="1"
PERLBREW_VERSION="0.78"
PERL_LOCAL_LIB_ROOT=""
@INC:
/home/username/perl5/perlbrew/perls/perl-5.22.3/lib/site_perl/5.22.3/x86_64-linux
/home/username/perl5/perlbrew/perls/perl-5.22.3/lib/site_perl/5.22.3
/home/username/perl5/perlbrew/perls/perl-5.22.3/lib/5.22.3/x86_64-linux
/home/username/perl5/perlbrew/perls/perl-5.22.3/lib/5.22.3
.
githyanki:~/.cpanm/latest-build/PerlMagick-6.89$ uname -ar
Linux githyanki 4.9.6-200.fc25.x86_64 #1 SMP Thu Jan 26 10:17:45 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
githyanki:~/.cpanm/latest-build/PerlMagick-6.89$ perl ./Makefile.PL
Generating a Unix-style Makefile
Writing Makefile for Image::Magick
Writing MYMETA.yml and MYMETA.json
githyanki:~/.cpanm/latest-build/PerlMagick-6.89$ make
Skip blib/lib/Image/Magick.pm (unchanged)
Running Mkbootstrap for Image::Magick ()
chmod 644 "Magick.bs"
cc -c -I/usr/local/include/ImageMagick-6 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/libxml2 -I"/usr/include/ImageMagick-6" -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/freetype2 -g -O2 -Wall -pthread -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -O2 -DVERSION=\"6.89\" -DXS_VERSION=\"6.89\" -fPIC "-I/home/username/perl5/perlbrew/perls/perl-5.22.3/lib/5.22.3/x86_64-linux/CORE" -D_LARGE_FILES=1 -DHAVE_CONFIG_H Magick.c
rm -f blib/arch/auto/Image/Magick/Magick.so
LD_RUN_PATH="/lib/../lib64" cc -L/usr/local/lib -lMagickCore-6.Q16 -shared -O2 -L/usr/local/lib -fstack-protector-strong Magick.o -o blib/arch/auto/Image/Magick/Magick.so \
-L/usr/local/lib -lMagickCore-6.Q16 -lperl -lm \
chmod 755 blib/arch/auto/Image/Magick/Magick.so
"/home/username/perl5/perlbrew/perls/perl-5.22.3/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Magick.bs blib/arch/auto/Image/Magick/Magick.bs 644
Manifying 1 pod document
githyanki:~/.cpanm/latest-build/PerlMagick-6.89$ perl -I blib/lib -I blbib/arch t/mpeg/read.t
1..2
testing reading from file "input.m2v" ...
ReadImage input.m2v: Exception 435: unable to open image `/tmp/magick-16991QHg1dekhjpE1.pam': No such file or directory @ error/blob.c/OpenBlob/2702
testing reading from BLOB with magick ""...
BlobToImage input.m2v: Exception 435: unable to open image `/tmp/magick-16991MsMCoDUrpBAE.pam': No such file or directory @ error/blob.c/OpenBlob/2702
not ok 1
testing reading from file "input.mpg" ...
ReadImage input.mpg: Exception 435: unable to open image `/tmp/magick-16991DxN7bqFAvKam.pam': No such file or directory @ error/blob.c/OpenBlob/2702
testing reading from BLOB with magick ""...
BlobToImage input.mpg: Exception 435: unable to open image `/tmp/magick-16991QzSWRCoQ5TbZ.pam': No such file or directory @ error/blob.c/OpenBlob/2702
not ok 2
githyanki:~/.cpanm/latest-build/PerlMagick-6.89$
gstreamer-ffmpeg-0.10.13-16.fc25.x86_64
ImageMagick-perl-6.9.3.0-3.fc25.x86_64
ImageMagick-libs-6.9.3.0-3.fc25.x86_64
ffmpeg-devel-3.1.6-1.fc25.x86_64
ImageMagick-6.9.3.0-3.fc25.x86_64
ImageMagick-devel-6.9.3.0-3.fc25.x86_64
GraphicsMagick-1.3.25-1.fc25.x86_64
ffmpeg-libs-3.1.6-1.fc25.x86_64
githyanki:~/.cpanm/latest-build/perlmagick-6.89$