make check - 2 of 48 tests failed

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
magpit
Posts: 7
Joined: 2011-04-05T07:20:31-07:00
Authentication code: 8675308

make check - 2 of 48 tests failed

Post by magpit »

Hello again,
I've still problems with make check and cannot find the reason why.

First my pc's data:
  • uname -a -> Linux mypc 2.6.35-27-generic #48-Ubuntu SMP Tue Feb 22 20:25:29 UTC 2011 i686 GNU/Linux
    os -> Ubuntu 10.10 - »Maverick Meerkat«
    gdm -> Gnome - Version: 2.32.0
Ghostscript is a prerequisite, otherwise the EPS, PS, and PDF tests will fail. Note that due to differences between the developer's environment and your own it is possible that a few tests may fail even though the results are ok. Differences between the developer's environment environment and your own may include the compiler, the CPU type, and the library versions used. The ImageMagick developers use the current release of all dependent libraries.
As in advanced-unix-installation.php is written, I've downloaded the latest Ghostscript.
  • Downloaded ghostscript-9.02.tar.gz
    Unpacked with Archive Manager -> ./ghostscript-9.02
    cd ghostscript-9.02
    ./configure
    make
    sudo make install
    >>> no errors seen <<<
Then I've seen that a brandnew version of ImageMagick is available.
  • Downloaded ImageMagick-6.6.9-4.7z
    Unpacked with Archive Manager -> ./ImageMagick-6.6.9-4--000
    cd ImageMagick-6.6.9-4--000
    ./configure (config.log)
    make
    sudo make install
    make check (test-suite.log)
    >>> 2 of 48 tests failed <<<
The two tests which failed are:
  • validate-formats-in-memory.log :

    FAIL: tests/validate-formats-in-memory.sh (exit: 139)
    =====================================================

    Version: ImageMagick 6.6.9-4 2011-04-13 Q16 http://www.imagemagick.org
    Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC

    ImageMagick Validation Suite (FormatsInMemory)

    validate image formats in memory:
    test 0: ART/Undefined/TrueColor/8-bits... pass.
    :
    :
    test 446: PICT/Undefined/Palette/8-bits... pass.
    test 447: PICT/Undefined/PaletteMatte/8-bits... fail (with distortion 2.67702e+58).
    test 448: PICT/Undefined/PaletteBilevelMatte/8-bits... pass.
    :
    :
    test 959: PDF/Fax/TrueColor/10-bits... pass.
    test 960: PDF/Fax/TrueCol **** Warning: An error occurred while reading an XREF table.
    **** The file has been damaged. This may have been caused
    **** by a problem while converting or transfering the file.
    **** Ghostscript will attempt to recover the data.

    **** This file had errors that were repaired or ignored.
    **** The file was produced by:
    **** >>>> ImageMagick 6.6.9-4 2011-04-13 Q16 http://www.imagemagick.org <<<<
    **** Please notify the author of the software that produced this
    **** file that it does not conform to Adobe's published PDF
    **** specification.
    :
    :
    Segmentation fault
    <eof>
and
  • validate-formats-on-disk.log :

    FAIL: tests/validate-formats-on-disk.sh (exit: 139)
    ===================================================

    Version: ImageMagick 6.6.9-4 2011-04-13 Q16 http://www.imagemagick.org
    Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC

    ImageMagick Validation Suite (FormatsOnDisk)

    validate image formats on disk:
    test 0: ART/Undefined/TrueColor/8-bits... pass.
    :
    :
    test 960: PDF/Fax/TrueColor/12-bits... pass.
    test 961: PD **** Warning: An error occurred while reading an XREF table.
    **** The file has been damaged. This may have been caused
    **** by a problem while converting or transfering the file.
    **** Ghostscript will attempt to recover the data.

    **** This file had errors that were repaired or ignored.
    **** The file was produced by:
    **** >>>> ImageMagick 6.6.9-4 2011-04-13 Q16 http://www.imagemagick.org <<<<
    **** Please notify the author of the software that produced this
    **** file that it does not conform to Adobe's published PDF
    **** specification.
    :
    :
    Segmentation fault
    <eof>
The config.log is:

Code: Select all

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by ImageMagick configure 6.6.9, which was
generated by GNU Autoconf 2.68.  Invocation command line was

  $ ./configure --prefix=/usr --with-modules=yes --enable-hdri --with-gslib=yes LDFLAGS=-L/usr/lib -R/usr/lib

## --------- ##
## Platform. ##
## --------- ##

hostname = mypc
uname -m = i686
uname -r = 2.6.35-27-generic
uname -s = Linux
uname -v = #48-Ubuntu SMP Tue Feb 22 20:25:29 UTC 2011

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:3328: checking build system type
:
: <<< sorry the other 17.000 lines aren't accepted here and I don't know how to append them as a zip file !!! >>>
:
#define XML_DELEGATE 1
#define LIBRARY_RELATIVE_PATH "ImageMagick-6.6.9"
#define EXECUTABLE_PATH "/usr/bin/"
#define LIBRARY_PATH "/usr/lib/ImageMagick-6.6.9/"
#define CODER_RELATIVE_PATH "ImageMagick-6.6.9/modules-Q16/coders"
#define CODER_PATH "/usr/lib/ImageMagick-6.6.9/modules-Q16/coders/"
#define FILTER_RELATIVE_PATH "ImageMagick-6.6.9/modules-Q16/filters"
#define FILTER_PATH "/usr/lib/ImageMagick-6.6.9/modules-Q16/filters/"
#define DOCUMENTATION_PATH "/usr/share/doc/ImageMagick-6.6.9//"
#define CONFIGURE_RELATIVE_PATH "ImageMagick"
#define CONFIGURE_PATH "/usr/etc/ImageMagick/"
#define SHARE_RELATIVE_PATH "ImageMagick-6.6.9"
#define SHARE_PATH "/usr/share/ImageMagick-6.6.9/"

configure: exit 0
The test-suite.log is:

Code: Select all

=========================================
   ImageMagick 6.6.9: ./test-suite.log
=========================================

2 of 48 tests failed.

.. contents:: :depth: 2


FAIL: tests/validate-formats-in-memory.sh (exit: 139)
=====================================================

Version: ImageMagick 6.6.9-4 2011-04-13 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC

ImageMagick Validation Suite (FormatsInMemory)

validate image formats in memory:
  test 0: ART/Undefined/TrueColor/8-bits... pass.
:
: <<< sorry the other 2.500 lines aren't accepted here and I don't know how to append them as a zip file !!! >>>
:
   **** Warning:  An error occurred while reading an XREF table.
   **** The file has been damaged.  This may have been caused
   **** by a problem while converting or transfering the file.
   **** Ghostscript will attempt to recover the data.

   **** This file had errors that were repaired or ignored.
   **** The file was produced by:
   **** >>>> ImageMagick 6.6.9-4 2011-04-13 Q16 http://www.imagemagick.org <<<<
   **** Please notify the author of the software that produced this
   **** file that it does not conform to Adobe's published PDF
   **** specification.

Segmentation fault
My thread make check - 48 of 48 tests failed is obsolete because this is a new situation with the latest version of ImageMagick.

It would be kindly if anybody has a hint, how these two fails can be solved. If further information is necessary tell me please what and how (appending zip files) I can it offer here.

Thank You
magpit
magpit
Posts: 7
Joined: 2011-04-05T07:20:31-07:00
Authentication code: 8675308

Re: make check - 2 of 48 tests failed

Post by magpit »

If configure is invoked without specific parameters the 48 test pass without fails:

Code: Select all

./configure --prefix=/usr --with-modules=yes --enable-hdri --with-gslib=yes LDFLAGS=-L/usr/lib -R/usr/lib
will produce the 2 of 48 tests failed.

Code: Select all

./configure --prefix=/usr LDFLAGS=-L/usr/lib -R/usr/lib
lets pass all tests without any failure.

Without --prefix=/usr 48 of 48 tests failed (see earlier thread).

See also the thread make check failure with --enable-hdri which describes this fault.

I think this thread can be closed.

Thanks
magpit.
Post Reply