[oe] [meta-oe][PATCH] imagemagick: upgrade from 7.0.5 to 7.0.6p4

Randy MacLeod randy.macleod at windriver.com
Wed Aug 2 19:57:55 UTC 2017


On 2017-08-02 01:21 PM, Koen Kooi wrote:
> Oops, I could’ve sworn I have submitted it to meta-oe :/ Thanks for looking into this!
> 
>> It's not working for me on qemux86 since python-wand
>> is looking for:
>>    libMagickWand-6.Q16HDRI and
>>    libMagickWand-7.Q16HDRI is the current version.
>> If I soft link to work-around that problem, there's another issue:
>>    ImportError: MagickWand shared library not found.
>>
>> python-wand hasn't released a version newer than 0.4.4.
>> I'm not really interested in trying the git repo.
> I’ll have a look at trying the git repo with your patch to update imagemagick and hopefully get it working well enough to get it into oe-core :)
> 

Err,
The meta-yocto version is actually still on 0.4.3.
I updated to 0.4.4 and that didn't help.

A simple patch to require imagemagick version 7 does
get me one more step to:

AttributeError: /usr/lib/libMagickWand-7.Q16HDRI.so.3: undefined symbol: 
MagickGetImageChannelDepth

At first I thought this was due to the imagemagick .so being
striped when packaged but it's a bunch of function renames from 6 to 7
based on git. I asked if that had be fixed on the wand irc channel
and it hasn't. Known misbehaving wand:
   https://github.com/dahlia/wand/issues/287

../Randy



 >>> from wand.image import Image
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "/usr/lib/python2.7/site-packages/wand/image.py", line 20, in 
<module>
     from .api import MagickPixelPacket, libc, libmagick, library
   File "/usr/lib/python2.7/site-packages/wand/api.py", line 1394, in 
<module>
     traceback.format_exc())
ImportError: MagickWand shared library not found or incompatible
Original exception was raised in:
Traceback (most recent call last):
   File "/usr/lib/python2.7/site-packages/wand/api.py", line 370, in 
<module>
     ctypes.c_int]
   File "/usr/lib/python2.7/ctypes/__init__.py", line 375, in __getattr__
     func = self.__getitem__(name)
   File "/usr/lib/python2.7/ctypes/__init__.py", line 380, in __getitem__
     func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/lib/libMagickWand-7.Q16HDRI.so.3: undefined symbol: 
MagickGetImageChannelDepth

 >>>



[15:46] <vmeson> Hey, I'm trying to get wand to work with 
imagemagick-7.0.6p4 (in Yocto) -- several api have changed such as 
MagickGetImageChannelDepth -> MagickGetImageDepth or maybe just 
GetImageDepth
[15:47] <vmeson> I've got the git repo and I'm working through it but I 
wonder if anyone has done this already and if a new tag is forthcoming 
to support imagemagick-7
[15:47] * vmeson searchs for/in the email list.
[15:47] <hongminh1e> No one did that yet
[15:48] <hongminh1e> Afaik
[15:48] <vmeson> hongminh1e: thanks for the info. I might take a stab at 
it but it's not a high priority for me right now.





-- 
# Randy MacLeod. SMTS, Linux, Wind River
Direct: 613.963.1350 | 350 Terry Fox Drive, Suite 200, Ottawa, ON, 
Canada, K2K 2W5
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-python-wand-require-imagemagick-version-7.patch
Type: text/x-patch
Size: 2369 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20170802/eae834b6/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-python-wand-upgrade-from-0.4.3-to-0.4.4.patch
Type: text/x-patch
Size: 1198 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20170802/eae834b6/attachment-0005.bin>


More information about the Openembedded-devel mailing list