1 we've recently updated Imagemagick in NixOS from version 6.9.7-6 to
2 6.9.8-4, and this change causes the Ikiwiki test suite to fail in
5 # Failed test at t/img.t line 119.
9 # Failed test at t/img.t line 129.
13 # Failed test at t/img.t line 130.
17 # Failed test at t/img.t line 134.
21 # Failed test at t/img.t line 135.
25 # Failed test at t/img.t line 136.
29 # Failed test at t/img.t line 138.
33 # Failed test at t/img.t line 139.
37 # Failed test at t/img.t line 140.
40 # Looks like you failed 9 tests of 62.
41 t/img.t ........................
42 Dubious, test returned 9 (wstat 2304, 0x900)
45 Is this is a known problem and is there maybe a fix for this issue?
47 > This was not a known bug before your report. It looks as though every
48 > time we use `Image::Magick->Read(":foo.png")`, which is (or was)
49 > ImageMagick's syntax for opening a file of unknown type without
50 > interpreting a prefix containing `:` as a special directive instead
51 > of part of the filename, it fails.
53 > Please try re-running the test with better diagnostics using
54 > [commit 4ace7dbb7](http://source.ikiwiki.branchable.com/?p=source.git;a=commitdiff;h=4ace7dbb7)
55 > and report what it says. --[[smcv]]
57 >> I see the same issue on Fedora, with ImageMagic 6.9.9-19:
59 >> # Failed test at t/img.t line 119.
60 >> # got: 'no image: Exception 435: unable to open image `:t/tmp/out/imgconversions/10x-redsquare.png': No such file or directory @ error/blob.c/OpenBlob/2701'
61 >> # expected: '10x10'
64 >> So it seems, that an empty coder prefix is not accepted anymore. To me it seems that [this commit](https://github.com/ImageMagick/ImageMagick/commit/4bc9b6b) changed the behavior. Unfortunately, the commit message doens't tell us about the reasons behind. The commit is included from version 6.9.8-3 on.