Skip to contentSkip to conversation

imagemagick: upgrade from 7.0.5 to 7.0.6p4

PATCH In review Randy MacLeod 5 participants 12 messages Aug 1, 2017 – Aug 9, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 imagemagick: upgrade from 7.0.5 to 7.0.6p4

---
 .../imagemagick/{imagemagick_7.0.5.bb => imagemagick_7.0.6.bb}      | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-support/imagemagick/{imagemagick_7.0.5.bb => imagemagick_7.0.6.bb} (96%)
meta-oe/recipes-support/imagemagick/imagemagick_7.0.6.bb renamed from meta-oe/recipes-support/imagemagick/imagemagick_7.0.5.bb +3 -3
similarity index 96%
rename from meta-oe/recipes-support/imagemagick/imagemagick_7.0.5.bb
rename to meta-oe/recipes-support/imagemagick/imagemagick_7.0.6.bb
index b8ee6e7be..6f967c3a1 100644
@@ -8,11 +8,11 @@ DEPENDS = "lcms bzip2 jpeg libpng librsvg tiff zlib fftw freetype"
 # Important note: tarballs for all patchsets within a version are deleted when
 # a new pachset is created. To avoid multiple patches for each patchset, try to
 # update to the last pachset of a version
-PATCHSET = "6"
+PATCHSET = "4"
 SRC_URI = "http://www.imagemagick.org/download/releases/ImageMagick-${PV}-${PATCHSET}.tar.xz \
 "
-SRC_URI[md5sum] = "dfaa2bd61f65d67ea8d5307ed6cd197f"
-SRC_URI[sha256sum] = "f60c3e3466ccbf9a0e643284ffec3467363edf9611f16a98387f927a974b49ab"
+SRC_URI[md5sum] = "079a857268536862148b00efcf3ad75a"
+SRC_URI[sha256sum] = "5fe1ce7d78befb5c8aa7f8ae69710d0f78063d2e3a35c656521a3ce468ea733b"
 
 S = "${WORKDIR}/ImageMagick-${PV}-${PATCHSET}"
 
Signature · 1 line
2.11.0
#1 lore raw

Op 01-08-17 om 19:01 schreef Randy MacLeod:

Quoted 1 line

Does python-wand work with this version?

Quoted 15 lines

--- .../imagemagick/{imagemagick_7.0.5.bb => imagemagick_7.0.6.bb} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename
meta-oe/recipes-support/imagemagick/{imagemagick_7.0.5.bb => imagemagick_7.0.6.bb} (96%)

meta-oe/recipes-support/imagemagick/imagemagick_7.0.6.bb similarity index 96% rename from renamed from meta-oe/recipes-support/imagemagick/imagemagick_7.0.5.bb +0 -0

meta-oe/recipes-support/imagemagick/imagemagick_7.0.5.bb rename to meta-oe/recipes-support/imagemagick/imagemagick_7.0.6.bb index b8ee6e7be..6f967c3a1 100644 --- a/meta-oe/recipes-support/imagemagick/imagemagick_7.0.5.bb +++ b/meta-oe/recipes-support/imagemagick/imagemagick_7.0.6.bb @@ -8,11 +8,11 @@ DEPENDS = "lcms bzip2 jpeg libpng librsvg tiff zlib fftw freetype" # Important note: tarballs for all patchsets within a version are deleted when # a new pachset is created. To avoid multiple patches for each patchset, try to # update to the last pachset of a version -PATCHSET = "6" +PATCHSET = "4" SRC_URI = "http://www.imagemagick.org/download/releases/ImageMagick-${PV}-${PATCHSET}.tar.xz \ " -SRC_URI[md5sum] = "dfaa2bd61f65d67ea8d5307ed6cd197f" -SRC_URI[sha256sum] = "f60c3e3466ccbf9a0e643284ffec3467363edf9611f16a98387f927a974b49ab" +SRC_URI[md5sum] = "079a857268536862148b00efcf3ad75a" +SRC_URI[sha256sum] = "5fe1ce7d78befb5c8aa7f8ae69710d0f78063d2e3a35c656521a3ce468ea733b"

S = "${WORKDIR}/ImageMagick-${PV}-${PATCHSET}"

#2 lore raw
Quoted 4 lines · Koen Kooi

Op 01-08-17 om 19:01 schreef Randy MacLeod:

Quoted 1 line

Does python-wand work with this version?

Well, that's in meta-linaro but I took a look anyway... ;-)

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.

More unstructured logs below largely for me to reference should I come back to testing this package.

../Randy

First there are a bunch of dependencies missing from the wand recipe, which I started fixing like this:

-DEPENDS += " imagemagick-native"
+DEPENDS += " imagemagick-native python-ctypes"

but then ditched to doing:

$ grep wand conf/local.conf
IMAGE_INSTALL_append = " \
   python-ctypes python-numbers python-contextlib \
   python-io python-subprocess python-wand imagemagick"

qemux86 login: root

root@qemux86:~# python
Python 2.7.13 (default, Aug  1 2017, 17:41:39)
[GCC 7.1.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Quoted 1 line
Quoted 1 line
Quoted 1 line

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 206, in
<module>
'Try to install:\n ' + msg)
ImportError: MagickWand shared library not found.
You probably had not installed ImageMagick library.
Try to install:
http://docs.wand-py.org/en/latest/guide/install.html

Quoted 1 line
Quoted 1 line
Quoted 1 line
root@qemux86:~# find /usr -name "*agick*so*"
/usr/lib/libMagickWand-7.Q16HDRI.so.3
/usr/lib/libMagickCore-7.Q16HDRI.so.3
/usr/lib/libMagickWand-7.Q16HDRI.so.3.0.0
/usr/lib/libMagick++-7.Q16HDRI.so.3
/usr/lib/libMagick++-7.Q16HDRI.so.3.0.0
/usr/lib/libMagickCore-7.Q16HDRI.so.3.0.0
root@qemux86:~# QEMU 2.8.1.1 monitor - type 'help' for more information
(qemu) q
Cleanup
rmacleod@ala-lpggp2$find tmp-glibc/work/core2-64-oe-linux/imagemagick/7.0.6-r0/packages-split/ -name "*MagickWand*" | grep so
tmp-glibc/work/core2-64-oe-linux/imagemagick/7.0.6-r0/packages-split/imagemagick-dbg/usr/lib/.debug/libMagickWand-7.Q16HDRI.so.3.0.0
tmp-glibc/work/core2-64-oe-linux/imagemagick/7.0.6-r0/packages-split/imagemagick-dev/usr/lib/libMagickWand-7.Q16HDRI.so
tmp-glibc/work/core2-64-oe-linux/imagemagick/7.0.6-r0/packages-split/imagemagick-doc/usr/share/doc/ImageMagick-7/www/api/MagickWand/MagickWand_8h-source.html
tmp-glibc/work/core2-64-oe-linux/imagemagick/7.0.6-r0/packages-split/imagemagick/usr/lib/libMagickWand-7.Q16HDRI.so.3.0.0
tmp-glibc/work/core2-64-oe-linux/imagemagick/7.0.6-r0/packages-split/imagemagick/usr/lib/libMagickWand-7.Q16HDRI.so.3
root@qemux86:~# cd /usr/lib/
root@qemux86:/usr/lib# ln -s libMagickWand-7.Q16HDRI.so.3 libMagickWand-6.Q16HDRI.so.3
root@qemux86:/usr/lib# ln -s libMagickWand-7.Q16HDRI.so.3.0.0 libMagickWand-6.Q16HDRI.so.3.0.0
root@qemux86:/usr/lib# python
Python 2.7.13 (default, Aug  1 2017, 17:41:39)
[GCC 7.1.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Quoted 1 line
Quoted 1 line
Quoted 1 line

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 206, in
<module>
'Try to install:\n ' + msg)
ImportError: MagickWand shared library not found.
You probably had not installed ImageMagick library.
Try to install:
http://docs.wand-py.org/en/latest/guide/install.html

Quoted 19 lines
Quoted 17 lines

--- .../imagemagick/{imagemagick_7.0.5.bb => imagemagick_7.0.6.bb} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename
meta-oe/recipes-support/imagemagick/{imagemagick_7.0.5.bb => imagemagick_7.0.6.bb} (96%)

meta-oe/recipes-support/imagemagick/imagemagick_7.0.6.bb similarity index 96% rename from renamed from meta-oe/recipes-support/imagemagick/imagemagick_7.0.5.bb +0 -0

meta-oe/recipes-support/imagemagick/imagemagick_7.0.5.bb rename to meta-oe/recipes-support/imagemagick/imagemagick_7.0.6.bb index b8ee6e7be..6f967c3a1 100644 --- a/meta-oe/recipes-support/imagemagick/imagemagick_7.0.5.bb +++ b/meta-oe/recipes-support/imagemagick/imagemagick_7.0.6.bb @@ -8,11 +8,11 @@ DEPENDS = "lcms bzip2 jpeg libpng librsvg tiff zlib fftw freetype" # Important note: tarballs for all patchsets within a version are deleted when # a new pachset is created. To avoid multiple patches for each patchset, try to # update to the last pachset of a version -PATCHSET = "6" +PATCHSET = "4" SRC_URI = "http://www.imagemagick.org/download/releases/ImageMagick-${PV}-${PATCHSET}.tar.xz \ " -SRC_URI[md5sum] = "dfaa2bd61f65d67ea8d5307ed6cd197f" -SRC_URI[sha256sum] = "f60c3e3466ccbf9a0e643284ffec3467363edf9611f16a98387f927a974b49ab" +SRC_URI[md5sum] = "079a857268536862148b00efcf3ad75a" +SRC_URI[sha256sum] = "5fe1ce7d78befb5c8aa7f8ae69710d0f78063d2e3a35c656521a3ce468ea733b"

S = "${WORKDIR}/ImageMagick-${PV}-${PATCHSET}"

Signature · 2 lines
# Randy MacLeod. SMTS, Linux, Wind River
Direct: 613.963.1350 | 350 Terry Fox Drive, Suite 200, Ottawa, ON, Canada, K2K 2W5
#3 lore raw
Quoted 11 lines

Op 2 aug. 2017, om 17:29 heeft Randy MacLeod <[email protected]> het volgende geschreven:

Quoted 3 lines · Koen Kooi

Op 01-08-17 om 19:01 schreef Randy MacLeod:

Quoted 1 line

Does python-wand work with this version?

Well, that's in meta-linaro but I took a look anyway... ;-)

Oops, I could’ve sworn I have submitted it to meta-oe :/ Thanks for looking into this!

Quoted 10 lines

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 :)

Quoted 100 lines

More unstructured logs below largely for me to reference should I come back to testing this package.

../Randy

First there are a bunch of dependencies missing from the wand recipe, which I started fixing like this:

(quoted diff) +1 -1
-DEPENDS += " imagemagick-native"
+DEPENDS += " imagemagick-native python-ctypes"

but then ditched to doing:

$ grep wand conf/local.conf
IMAGE_INSTALL_append = " \
  python-ctypes python-numbers python-contextlib \
  python-io python-subprocess python-wand imagemagick"

qemux86 login: root

root@qemux86:~# python
Python 2.7.13 (default, Aug  1 2017, 17:41:39)
[GCC 7.1.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Quoted 1 line
Quoted 1 line
Quoted 1 line

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 206, in <module>
'Try to install:\n ' + msg)
ImportError: MagickWand shared library not found.
You probably had not installed ImageMagick library.
Try to install:
http://docs.wand-py.org/en/latest/guide/install.html

Quoted 1 line
Quoted 1 line
Quoted 1 line
root@qemux86:~# find /usr -name "*agick*so*"
/usr/lib/libMagickWand-7.Q16HDRI.so.3
/usr/lib/libMagickCore-7.Q16HDRI.so.3
/usr/lib/libMagickWand-7.Q16HDRI.so.3.0.0
/usr/lib/libMagick++-7.Q16HDRI.so.3
/usr/lib/libMagick++-7.Q16HDRI.so.3.0.0
/usr/lib/libMagickCore-7.Q16HDRI.so.3.0.0
root@qemux86:~# QEMU 2.8.1.1 monitor - type 'help' for more information
(qemu) q
Cleanup
rmacleod@ala-lpggp2$find tmp-glibc/work/core2-64-oe-linux/imagemagick/7.0.6-r0/packages-split/ -name "*MagickWand*" | grep so
tmp-glibc/work/core2-64-oe-linux/imagemagick/7.0.6-r0/packages-split/imagemagick-dbg/usr/lib/.debug/libMagickWand-7.Q16HDRI.so.3.0.0
tmp-glibc/work/core2-64-oe-linux/imagemagick/7.0.6-r0/packages-split/imagemagick-dev/usr/lib/libMagickWand-7.Q16HDRI.so
tmp-glibc/work/core2-64-oe-linux/imagemagick/7.0.6-r0/packages-split/imagemagick-doc/usr/share/doc/ImageMagick-7/www/api/MagickWand/MagickWand_8h-source.html
tmp-glibc/work/core2-64-oe-linux/imagemagick/7.0.6-r0/packages-split/imagemagick/usr/lib/libMagickWand-7.Q16HDRI.so.3.0.0
tmp-glibc/work/core2-64-oe-linux/imagemagick/7.0.6-r0/packages-split/imagemagick/usr/lib/libMagickWand-7.Q16HDRI.so.3
root@qemux86:~# cd /usr/lib/
root@qemux86:/usr/lib# ln -s libMagickWand-7.Q16HDRI.so.3 libMagickWand-6.Q16HDRI.so.3
root@qemux86:/usr/lib# ln -s libMagickWand-7.Q16HDRI.so.3.0.0 libMagickWand-6.Q16HDRI.so.3.0.0
root@qemux86:/usr/lib# python
Python 2.7.13 (default, Aug  1 2017, 17:41:39)
[GCC 7.1.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Quoted 1 line
Quoted 1 line
Quoted 1 line

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 206, in <module>
'Try to install:\n ' + msg)
ImportError: MagickWand shared library not found.
You probably had not installed ImageMagick library.
Try to install:
http://docs.wand-py.org/en/latest/guide/install.html

Quoted 15 lines
Quoted 15 lines

--- .../imagemagick/{imagemagick_7.0.5.bb => imagemagick_7.0.6.bb} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename
meta-oe/recipes-support/imagemagick/{imagemagick_7.0.5.bb => imagemagick_7.0.6.bb} (96%)

meta-oe/recipes-support/imagemagick/imagemagick_7.0.6.bb similarity index 96% rename from renamed from meta-oe/recipes-support/imagemagick/imagemagick_7.0.5.bb +0 -0

meta-oe/recipes-support/imagemagick/imagemagick_7.0.5.bb rename to meta-oe/recipes-support/imagemagick/imagemagick_7.0.6.bb index b8ee6e7be..6f967c3a1 100644 --- a/meta-oe/recipes-support/imagemagick/imagemagick_7.0.5.bb +++ b/meta-oe/recipes-support/imagemagick/imagemagick_7.0.6.bb @@ -8,11 +8,11 @@ DEPENDS = "lcms bzip2 jpeg libpng librsvg tiff zlib fftw freetype" # Important note: tarballs for all patchsets within a version are deleted when # a new pachset is created. To avoid multiple patches for each patchset, try to # update to the last pachset of a version -PATCHSET = "6" +PATCHSET = "4" SRC_URI = "http://www.imagemagick.org/download/releases/ImageMagick-${PV}-${PATCHSET}.tar.xz \ " -SRC_URI[md5sum] = "dfaa2bd61f65d67ea8d5307ed6cd197f" -SRC_URI[sha256sum] = "f60c3e3466ccbf9a0e643284ffec3467363edf9611f16a98387f927a974b49ab" +SRC_URI[md5sum] = "079a857268536862148b00efcf3ad75a" +SRC_URI[sha256sum] = "5fe1ce7d78befb5c8aa7f8ae69710d0f78063d2e3a35c656521a3ce468ea733b"

S = "${WORKDIR}/ImageMagick-${PV}-${PATCHSET}"

Signature · 2 lines
# Randy MacLeod. SMTS, Linux, Wind River
Direct: 613.963.1350 | 350 Terry Fox Drive, Suite 200, Ottawa, ON, Canada, K2K 2W5
#4 lore raw
Quoted 9 lines · Koen Kooi

Oops, I could’ve sworn I have submitted it to meta-oe :/ Thanks for looking into this!

Quoted 7 lines

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.

Quoted 4 lines
Quoted 2 lines

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

Quoted 1 line
Quoted 1 line
Quoted 1 line

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

Quoted 1 line
Quoted 1 line
Quoted 1 line

[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.

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

From cb6e77b7eacc70627d29d49375e3bcc802038171 Mon Sep 17 00:00:00 2001
From: Randy MacLeod <[email protected]>
Date: Wed, 2 Aug 2017 11:41:16 -0700
Subject: [PATCH 2/2] python-wand: require imagemagick version 7

---
 .../0001-Require-imagemagick-version-7.patch       | 26 ++++++++++++++++++++++
 .../recipes-devtools/python/python-wand_0.4.4.bb   |  4 +++-
 2 files changed, 29 insertions(+), 1 deletion(-)
 create mode 100644 meta-optee/recipes-devtools/python/python-wand/0001-Require-imagemagick-version-7.patch
meta-optee/recipes-devtools/python/python-wand/0001-Require-imagemagick-version-7.patch new file +26 -0
new file mode 100644
index 0000000..8c82a58
@@ -0,0 +1,26 @@
+From 417dc68e0c370350d2936190e504abb27e287912 Mon Sep 17 00:00:00 2001
+From: Randy MacLeod <[email protected]>
+Date: Wed, 2 Aug 2017 13:21:28 -0400
+Subject: [PATCH] Require imagemagick version 7
+
+Signed-off-by: Randy MacLeod <[email protected]>
+---
+ wand/api.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/wand/api.py b/wand/api.py
+index 2c18513..651fb3f 100644
+--- a/wand/api.py
++++ b/wand/api.py
+@@ -55,7 +55,7 @@ def library_paths():
+     """
+     libwand = None
+     libmagick = None
+-    versions = '', '-6', '-Q16', '-Q8', '-6.Q16'
++    versions = '', '-7', '-Q16', '-Q8', '-7.Q16'
+     options = '', 'HDRI', 'HDRI-2'
+     system = platform.system()
+     magick_home = os.environ.get('MAGICK_HOME')
+-- 
+2.9.3
+
meta-optee/recipes-devtools/python/python-wand_0.4.4.bb +3 -1
index 1043987..9687998 100644
@@ -6,7 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=170eafd687d4a2b950819cd5e067e6d5"
 
 SRCNAME = "wand"
 
-SRC_URI = "git://github.com/dahlia/wand.git;tag=${PV}"
+SRC_URI = "git://github.com/dahlia/wand.git;tag=${PV} \
+          file://0001-Require-imagemagick-version-7.patch \
+          "
 S = "${WORKDIR}/git"
 
 inherit setuptools
Signature · 1 line
2.11.0

From 2b24f26397522c1fdb1c21f30f61a4e09fb6819e Mon Sep 17 00:00:00 2001
From: Randy MacLeod <[email protected]>
Date: Wed, 2 Aug 2017 11:37:04 -0700
Subject: [PATCH 1/2] python-wand: upgrade from 0.4.3 to 0.4.4

---
 .../python/{python-wand_0.4.3.bb => python-wand_0.4.4.bb}               | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-optee/recipes-devtools/python/{python-wand_0.4.3.bb => python-wand_0.4.4.bb} (86%)
meta-optee/recipes-devtools/python/python-wand_0.4.4.bb renamed from meta-optee/recipes-devtools/python/python-wand_0.4.3.bb +1 -1
similarity index 86%
rename from meta-optee/recipes-devtools/python/python-wand_0.4.3.bb
rename to meta-optee/recipes-devtools/python/python-wand_0.4.4.bb
index cc91892..1043987 100644
@@ -1,5 +1,5 @@
 DESCRIPTION = "Magic wand library"
-HOMEPAGE = "http://docs.wand-py.org/en/0.4.3/"
+HOMEPAGE = "http://docs.wand-py.org/en/0.4.4/"
 
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=170eafd687d4a2b950819cd5e067e6d5"
Signature · 1 line
2.11.0
#5 lore raw

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

Quoted 94 lines · Randy MacLeod
Quoted 11 lines · Koen Kooi

Oops, I could’ve sworn I have submitted it to meta-oe :/ Thanks for looking into this!

Quoted 7 lines

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.

Quoted 7 lines
Quoted 2 lines

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

Quoted 1 line
Quoted 1 line
Quoted 1 line

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

Quoted 1 line
Quoted 1 line
Quoted 1 line

[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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#6 lore raw
Quoted 12 lines · Khem Raj

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.
Quoted 6 lines

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

Quoted 97 lines
Quoted 94 lines · Randy MacLeod
Quoted 11 lines · Koen Kooi

Oops, I could’ve sworn I have submitted it to meta-oe :/ Thanks for looking into this!

Quoted 7 lines

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.

Quoted 7 lines
Quoted 2 lines

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

Quoted 1 line
Quoted 1 line
Quoted 1 line

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

Quoted 1 line
Quoted 1 line
Quoted 1 line

[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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Signature · 2 lines
# Randy MacLeod. SMTS, Linux, Wind River
Direct: 613.963.1350 | 350 Terry Fox Drive, Suite 200, Ottawa, ON, Canada, K2K 2W5
#7 lore raw
Quoted 27 lines · Randy MacLeod
Quoted 14 lines · Khem Raj

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.
Quoted 7 lines

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

Quoted 8 lines

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

Yes and they will do it again until 7-0.7.x comes up :(

Andreas

#8 lore raw
Quoted 33 lines · Andreas Müller
Quoted 31 lines · Randy MacLeod
Quoted 14 lines · Khem Raj

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.
Quoted 7 lines

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.

Quoted 5 lines
Quoted 4 lines

Thanks for the heads up.

../Randy

Yes and they will do it again until 7-0.7.x comes up :(

I think we should copy the tarballs to source.openembedded.org before accepting imagemagick updates.

Quoted 2 lines

Andreas

#9 lore raw
Quoted 35 lines · Khem Raj
Quoted 33 lines · Andreas Müller
Quoted 31 lines · Randy MacLeod
Quoted 14 lines · Khem Raj

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.
Quoted 7 lines

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.

Quoted 8 lines
Quoted 5 lines
Quoted 4 lines

Thanks for the heads up.

../Randy

Yes and they will do it again until 7-0.7.x comes up :(

I think we should copy the tarballs to source.openembedded.org before accepting imagemagick updates.

That's what my jenkins builds do (or at least should do) once they build this.

Quoted 8 lines
Quoted 3 lines

Andreas

Signature · 4 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#10 lore raw

And jenkins builds won't populate it, because it failed there as well already:
http://errors.yoctoproject.org/Errors/Details/150176/

I'll drop it from master-next in next update.

Quoted 65 lines · Martin Jansa
Quoted 10 lines · Khem Raj
Quoted 8 lines · Andreas Müller
Quoted 6 lines · Randy MacLeod
Quoted 5 lines · Khem Raj

I am seeing

downloads 'http://www.imagemagick.org/download/releases/ImageMagick-

7.0.6-4.tar.xz'

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

--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

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

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'.

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

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

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

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

7.0.6-5.tar.gz

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

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.

Quoted 8 lines
Quoted 5 lines
Quoted 4 lines

Thanks for the heads up.

../Randy

Yes and they will do it again until 7-0.7.x comes up :(

I think we should copy the tarballs to source.openembedded.org before accepting imagemagick updates.

That's what my jenkins builds do (or at least should do) once they build this.

Quoted 8 lines
Quoted 3 lines

Andreas

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
Martin 'JaMa' Jansa jabber: [email protected]

#11 lore raw
Quoted 5 lines · Martin Jansa

And jenkins builds won't populate it, because it failed there as well already:
http://errors.yoctoproject.org/Errors/Details/150176/

I'll drop it from master-next in next update.

I have the simple update to P5 done and I'm confirming that there are no build problems before submitting it.

There really isn't an alternative source that I've found other than github and various people have seen that the github checksums change on occasion.
See the tail of this thread:
https://www.imagemagick.org/discourse-server/viewtopic.php?t=26962

The mirrors are not a good alternative since they follow the 'delete all but most recent tarball' policy of the main site.

Should I just stay on top of it until the 7.0.6 version stops churning or should we point the SRC_URI explicitly to
source.openembedded.org

../Randy

Quoted 69 lines
Quoted 65 lines · Martin Jansa
Quoted 10 lines · Khem Raj
Quoted 8 lines · Andreas Müller
Quoted 6 lines · Randy MacLeod
Quoted 5 lines · Khem Raj

I am seeing

downloads 'http://www.imagemagick.org/download/releases/ImageMagick-

7.0.6-4.tar.xz'

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

--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

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

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'.

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

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

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

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

7.0.6-5.tar.gz

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

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.

Quoted 8 lines
Quoted 5 lines
Quoted 4 lines

Thanks for the heads up.

../Randy

Yes and they will do it again until 7-0.7.x comes up :(

I think we should copy the tarballs to source.openembedded.org before accepting imagemagick updates.

That's what my jenkins builds do (or at least should do) once they build this.

Quoted 8 lines
Quoted 3 lines

Andreas

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
Martin 'JaMa' Jansa jabber: [email protected]

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