| Summary: | =media-gfx/imagemagick-6.8.8.2 fails tests Magick++/tests/tests.tap {2,6} and 3x undefined symbol: opj_stream_destroy_v3 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | eroen <erikdenstore+gbugs> |
| Component: | Current packages | Assignee: | Gentoo Graphics Project <graphics+disabled> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | 503692 | ||
| Bug Blocks: | |||
| Attachments: |
build.log
test-suite.log media-gfx/imagemagick-6.8.8.5 build.log media-gfx/imagemagick-6.8.8.5 test-suite.log |
||
|
Description
eroen
2014-02-07 02:37:26 UTC
Created attachment 369752 [details]
test-suite.log
/var/tmp/portage/media-gfx/imagemagick-6.8.8.2/work/ImageMagick-6.8.8-2/tests/.libs/validate: symbol lookup error: /var/tmp/portage/media-gfx/imagemagick-6.8.8.2/work/ImageMagick-6.8.8-2/coders/.libs/jp2.so: undefined symbol: opj_stream_destroy_v3
test 222: JNG/Undefined/TrueColorAlpha/8-bits... pass
test 223: JNG/Undefined/Graysnot ok
ERROR: tests/validate-formats-disk.tap - too few tests run (expected 1, got 0)
Line: 180, backgroundColor (#000000000000000000000000) is incorrect
Line: 200, backgroundColor (#00000000AAAAAB0000000000) is incorrect
Line: 266, baseFilename (xc:#000000000000000000000000) is incorrect
Testing throwing and catching exceptions. A program crash or a message
that the exception was not caught indicates a test failure. A properly
formatted exception message indicates success:
Caught exception, good!:
"attributes: unable to open image `foo': No such file or directory @ error/blob.c/OpenBlob/2643"
Line: 1074, pixelColor default (#000000000000000000000000) is not canvas color (#000000000000000000000000) as expected
4 failures
not ok
FAIL: Magick++/tests/tests.tap 2
Line: 63 Color("green") is #000000008080800000000000 rather than #000000008080810000000000
Line: 102 Conversion from #ABC is #AAAAAB00BBBBBC00CCCCCD00 rather than #AAAAAAAABBBBBBBBCCCCCCCC
Line: 102 Conversion from #AABBCC is #AAAAAB00BBBBBC00CCCCCD00 rather than #AAAAAAAABBBBBBBBCCCCCCCC
Line: 102 Conversion from #AAAABBBBCCCC is #AAAAAB00BBBBBC00CCCCCD00 rather than #AAAAAAAABBBBBBBBCCCCCCCC
4 failures
not ok
FAIL: Magick++/tests/tests.tap 6
Created attachment 370182 [details] media-gfx/imagemagick-6.8.8.5 build.log With media-gfx/imagemagick-6.8.8.5, these and more tests fail. ERROR: tests/validate-formats-disk.tap - too few tests run (expected 1, got 0) ERROR: tests/validate-formats-map.tap - too few tests run (expected 1, got 0) ERROR: tests/validate-formats-memory.tap - too few tests run (expected 1, got 0) [...] FAIL: Magick++/tests/tests.tap 2 [...] FAIL: Magick++/tests/tests.tap 6 [...] FAIL: Magick++/tests/tests.tap 9 [...] FAIL: Magick++/demo/demos.tap 3 [...] FAIL: Magick++/demo/demos.tap 8 FAIL: Magick++/demo/demos.tap 9 FAIL: Magick++/demo/demos.tap 10 FAIL: Magick++/demo/demos.tap 11 FAIL: Magick++/demo/demos.tap 12 FAIL: Magick++/demo/demos.tap 13 FAIL: Magick++/demo/demos.tap 14 FAIL: Magick++/demo/demos.tap 15 FAIL: Magick++/demo/demos.tap 16 FAIL: Magick++/demo/demos.tap 17 FAIL: Magick++/demo/demos.tap 18 FAIL: Magick++/demo/demos.tap 19 FAIL: Magick++/demo/demos.tap 20 [...] FAIL: Magick++/demo/demos.tap 23 FAIL: Magick++/demo/demos.tap 24 make[5]: Entering directory '/var/tmp/portage/media-gfx/imagemagick-6.8.8.5/work/ImageMagick-6.8.8-5' make all-recursive make[6]: Entering directory '/var/tmp/portage/media-gfx/imagemagick-6.8.8.5/work/ImageMagick-6.8.8-5' Making all in . make[7]: Entering directory '/var/tmp/portage/media-gfx/imagemagick-6.8.8.5/work/ImageMagick-6.8.8-5' make[7]: Nothing to be done for 'all-am'. make[7]: Leaving directory '/var/tmp/portage/media-gfx/imagemagick-6.8.8.5/work/ImageMagick-6.8.8-5' make[6]: Leaving directory '/var/tmp/portage/media-gfx/imagemagick-6.8.8.5/work/ImageMagick-6.8.8-5' make[5]: Leaving directory '/var/tmp/portage/media-gfx/imagemagick-6.8.8.5/work/ImageMagick-6.8.8-5' ============================================================================ Testsuite summary for ImageMagick 6.8.8 ============================================================================ # TOTAL: 76 # PASS: 54 # SKIP: 0 # XFAIL: 0 # FAIL: 19 # XPASS: 0 # ERROR: 3 ============================================================================ See ./test-suite.log Please report to http://www.imagemagick.org ============================================================================ Created attachment 370184 [details]
media-gfx/imagemagick-6.8.8.5 test-suite.log
The new errors appear to be of the form
Error when saving the profile into a file '.' @ warning/opencl.c/autoSelectDevice/2184
This should be fixed by 6.8.8-10 which has a patch from bug 503692 to replace the opj_stream_destroy_v3 with something that actually exists in OpenJPEG-2.0.0 release Also reported here: http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=25362 (In reply to eroen from comment #3) > Created attachment 370184 [details] > media-gfx/imagemagick-6.8.8.5 test-suite.log > > The new errors appear to be of the form > Error when saving the profile into a file '.' @ > warning/opencl.c/autoSelectDevice/2184 This one is also fixed in 6.8.8-10 by 2 different, but similar, solutions: 1. /etc/sandbox.d/99imagemagick file is installed with SANDBOX_PREDICT="/dev/dri/card" 2. http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/imagemagick/imagemagick-6.8.8.10.ebuild?r1=1.3&r2=1.4 So, if you are about to retest this, wait hour or two, sync, and then try with 6.8.8.10 |