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

Randy MacLeod randy.macleod at windriver.com
Wed Aug 9 02:02:58 UTC 2017


On 2017-08-08 08:42 PM, Khem Raj wrote:
> I am seeing
> 
> downloads 'http://www.imagemagick.org/download/releases/ImageMagick-7.0.6-4.tar.xz'
> --progress=dot -v failed with exit code 8, output:
> --2017-08-08 15:05:59--
> http://www.imagemagick.org/download/releases/ImageMagick-7.0.6-4.tar.xz
> Resolving www.imagemagick.org... 198.72.81.86
> Connecting to www.imagemagick.org|198.72.81.86|:80... connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2017-08-08 15:05:59 ERROR 404: Not Found.
> 
> 
> ERROR: imagemagick-7.0.6-r0 do_fetch: Fetcher failure for URL:
> 'http://www.imagemagick.org/download/releases/ImageMagick-7.0.6-4.tar.xz'.
> Unable to fetch URL from any source.
> ERROR: imagemagick-7.0.6-r0 do_fetch: Function failed: base_do_fetch
> ERROR: Logfile of failure stored in:
> /mnt/a/oe/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-gnueabi/imagemagick/7.0.6-r0/temp/log.do_fetch.17282

Ugh, the imagemagick devs have moved on to:
  http://www.imagemagick.org/download/releases/ImageMagick-7.0.6-5.tar.gz

and deleted the 7.0.6-4 tarball already!
I'll send a patch in the morning and also talk to upstream about their
archiving policy. I don't see a directory for that at the moment.

Thanks for the heads up.

../Randy

> 
> On Wed, Aug 2, 2017 at 12:57 PM, Randy MacLeod
> <randy.macleod at windriver.com> wrote:
>> 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
>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>


-- 
# Randy MacLeod. SMTS, Linux, Wind River
Direct: 613.963.1350 | 350 Terry Fox Drive, Suite 200, Ottawa, ON, 
Canada, K2K 2W5



More information about the Openembedded-devel mailing list