(none) imager-devel
/ help / lists / applications / search /
 

Imager 0.43 and OS X

From: Barry Hoggard (
12712@xyz.molar.is)
Date: Wed 15 Sep 2004 - 02:35:31 GMT

  • Next message: Tony Cook: "Re: Imager 0.43 and OS X"

    I'm trying to use Imager on OS X (10.3.5) with my own compiled Perl,
    and some of the tests are failing:

    $ make test
    make[1]: Nothing to be done for `all'.
    PERL_DL_NONLAZY=1 /opt/perl/bin/perl "-MExtUtils::Command::MM" "-e"
    "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
    t/t00basic........ok
    t/t01introvert....ok
    t/t020masked......ok
    t/t021sixteen.....ok
    t/t022double......ok
    t/t05error........ok
    t/t07iolayer......ok
    t/t101jpeg........ok
    t/t102png.........ok
    t/t103raw.........ok
    t/t104ppm.........ok
    t/t105gif.........ok
             60/60 skipped: no gif support
    t/t106tiff........TIFFClientOpen: One of the client procedures are NULL
    pointer.
    t/t106tiff........ok 1/71Use of uninitialized value in subroutine entry
    at t/t106tiff.t line 51.
    im2 is not of type Imager::ImgRaw at t/t106tiff.t line 51.
    t/t106tiff........dubious
         Test returned status 255 (wstat 65280, 0xff00)
    DIED. FAILED tests 2-71
         Failed 70/71 tests, 1.41% okay
    t/t107bmp.........ok
    t/t108tga.........ok
    t/t15color........ok
    t/t16matrix.......ok
    t/t20fill.........ok
    t/t21draw.........ok
    t/t30t1font.......ok
    t/t35ttfont.......ok
             34/35 skipped: freetype 1.x unavailable or disabled
    t/t36oofont.......ok
             10/20 skipped: FT1.x missing or disabled
    t/t37w32font......ok
             4/5 skipped: not MS Windows
    t/t38ft2font......ok
             115/116 skipped: No freetype2 library found
    t/t40scale........ok
    t/t50basicoo......Use of uninitialized value in subroutine entry at
    t/t50basicoo.t line 113.
    im1 is not of type Imager::ImgRaw at t/t50basicoo.t line 113.
    t/t50basicoo......dubious
         Test returned status 2 (wstat 512, 0x200)
    DIED. FAILED tests 52, 54-55, 60-193
         Failed 137/193 tests, 29.02% okay (less 1 skipped test: 55 okay,
    28.50%)
    t/t55trans........ok
    t/t56postfix......ok
    t/t57infix........ok
    t/t58trans2.......ok
    t/t59assem........ok
    t/t60dyntest......ok
    t/t61filters......ok
    t/t64copyflip.....ok
    t/t65crop.........ok
    t/t66paste........ok
    t/t67convert......ok
    t/t68map..........ok
    t/t69rubthru......ok
    t/t70newgif.......ok
             22/24 skipped: no gif support
    t/t75polyaa.......ok
    t/t80texttools....ok
             9/11 skipped: Need Freetype 1.x or 2.x to test
    t/t90cc...........ok
    Failed Test Stat Wstat Total Fail Failed List of Failed
    ------------------------------------------------------------------------
    ------------------------------------------------------------------------
    -----
    t/t106tiff.t 255 65280 71 140 197.18% 2-71
    t/t50basicoo.t 2 512 193 271 140.41% 52 54-55 60-193
    255 subtests skipped.
    Failed 2/43 test scripts, 95.35% okay. 207/1154 subtests failed, 82.06%
    okay.
    make: *** [test_dynamic] Error 2

    --
    

    Here is the verbose output for t106tiff.t and t50basicoo.t:

    t/t106tiff........1..71 TIFFClientOpen: One of the client procedures are NULL pointer. ok 1 Use of uninitialized value in subroutine entry at t/t106tiff.t line 51. im2 is not of type Imager::ImgRaw at t/t106tiff.t line 51. dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2-71 Failed 70/71 tests, 1.41% okay

    --

    t/t50basicoo......Use of uninitialized value in subroutine entry at t/t50basicoo.t line 113. im1 is not of type Imager::ImgRaw at t/t50basicoo.t line 113. 1..193 # avaliable formats: # png # bmp # tiff # pnm # t1 # tga # ifs # rgb # jpeg # raw # type jpeg #opening Format: jpeg, options: file=>testout/t101.jpg ok 1 # reading from file ok 2 # opening testout/t101.jpg ok 3 # read from fh ok 4 # seek after read ok 5 # read from fh ok 6 # image comparison after fh read ok 7 # seek after read ok 8 # read from fd ok 9 # image comparistion after fd read ok 10 # seek after fd read ok 11 # close fh after reads ok 12 # read from buffer ok 13 # comparing buffer read image ok 14 # read from callback min ok 15 # comparing mincb image ok 16 # read from callback max ok 17 # comparing maxcb image # type png #opening Format: png, options: file=>testout/t102.png ok 18 # reading from file ok 19 # opening testout/t102.png ok 20 # read from fh ok 21 # seek after read ok 22 # read from fh ok 23 # image comparison after fh read ok 24 # seek after read ok 25 # read from fd ok 26 # image comparistion after fd read ok 27 # seek after fd read ok 28 # close fh after reads ok 29 # read from buffer ok 30 # comparing buffer read image ok 31 # read from callback min ok 32 # comparing mincb image ok 33 # read from callback max ok 34 # comparing maxcb image # type raw #opening Format: raw, options: ysize=>150 xsize=>150 file=>testout/t103.raw type=>raw ok 35 # reading from file ok 36 # opening testout/t103.raw ok 37 # read from fh ok 38 # seek after read ok 39 # read from fh ok 40 # image comparison after fh read ok 41 # seek after read ok 42 # read from fd ok 43 # image comparistion after fd read ok 44 # seek after fd read ok 45 # close fh after reads ok 46 # read from buffer ok 47 # comparing buffer read image ok 48 # read from callback min ok 49 # comparing mincb image ok 48 # read from callback min ok 49 # comparing mincb image ok 50 # read from callback max ok 51 # comparing maxcb image # type tiff #opening Format: tiff, options: file=>testout/t106.tiff not ok 52 # line 63: reading from file: type parameter missing and not possible to guess from extension ok 53 # opening testout/t106.tiff not ok 54 # line 74: read from fh not ok 55 # line 88: read from fd ok 56 # skipped no image to compare ok 57 # seek after fd read ok 58 # close fh after reads ok 59 # Imager=HASH(0x80c300) dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 52, 54-55, 60-193 Failed 137/193 tests, 29.02% okay (less 1 skipped test: 55 okay, 28.50%)

    --

    My Perl:

    Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration: Platform: osname=darwin, osvers=7.3.0, archname=darwin-2level uname='darwin puck.local 7.3.0 darwin kernel version 7.3.0: fri mar 5 14:22:55 pst 2004; root:xnuxnu-517.3.15.obj~4release_ppc power macintosh powerpc ' config_args='-Dprefix=/opt/perl-5.8.3 -des' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing', optimize='-Os', cppflags='-no-cpp-precomp -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing' ccversion='', gccversion='3.3 20030304 (Apple Computer, Inc. build 1495)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags ='' libpth=/usr/lib libs=-ldbm -ldl -lm -lc perllibs=-ldl -lm -lc libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup'

    Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under darwin Compiled at Apr 3 2004 14:47:02 %ENV: PERL5LIB="/home/httpd/dev/artcat/lib:/home/httpd/dev/pastry/lib" @INC: /home/httpd/dev/artcat/lib /home/httpd/dev/pastry/lib /opt/perl-5.8.3/lib/5.8.3/darwin-2level /opt/perl-5.8.3/lib/5.8.3 /opt/perl-5.8.3/lib/site_perl/5.8.3/darwin-2level /opt/perl-5.8.3/lib/site_perl/5.8.3 /opt/perl-5.8.3/lib/site_perl .

    -- Barry Hoggard Tristan Media LLC w: www.tristanmedia.com aim: hoggardb



  •