Uploaded image for project: 'GENIVI Development Platform'
  1. GENIVI Development Platform
  2. GDP-598

optee-os fails compilation on GDP Master / Renesas M3 due to ImageMagick

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: GDP Master
    • Labels:
      None
    • Sprint:
      1920_Tach

      Description

      This has happened several times.

      Full log is attached. Relevant lines:

      21:04:23.513 | Traceback (most recent call last):
      21:04:23.513 | File "scripts/render_font.py", line 29, in <module>
      21:04:23.513 | from wand.image import Image
      21:04:23.513 | File "/var/lib/go-agent/pipelines/GDP-Yocto-r-car-m3-starter-kit/gdp-src-build/tmp/sysroots/x86_64-linux/usr/lib/python2.7/site-packages/wand/image.py", line 20, in <module>
      21:04:23.513 | from .api import MagickPixelPacket, libc, libmagick, library
      21:04:23.513 | File "/var/lib/go-agent/pipelines/GDP-Yocto-r-car-m3-starter-kit/gdp-src-build/tmp/sysroots/x86_64-linux/usr/lib/python2.7/site-packages/wand/api.py", line 206, in <module>
      21:04:23.513 | 'Try to install:\n ' + msg)
      21:04:23.513 | ImportError: MagickWand shared library not found.
      21:04:23.513 | You probably had not installed ImageMagick library.
      21:04:23.513 | Try to install:
      21:04:23.513 | apt-get install libmagickwand-dev
      21:04:23.513 | mk/subdir.mk:150: recipe for target 'out/arm-plat-rcar/ta_arm64-lib/libutee/tui/default_regular.c' failed
      21:04:23.513 | make: *** [out/arm-plat-rcar/ta_arm64-lib/libutee/tui/default_regular.c] Error 1
      21:04:23.513 | make: *** Waiting for unfinished jobs....
      21:04:23.513 | Traceback (most recent call last):
      21:04:23.513 | File "scripts/render_font.py", line 29, in <module>
      21:04:23.513 | from wand.image import Image
      21:04:23.513 | File "/var/lib/go-agent/pipelines/GDP-Yocto-r-car-m3-starter-kit/gdp-src-build/tmp/sysroots/x86_64-linux/usr/lib/python2.7/site-packages/wand/image.py", line 20, in <module>
      21:04:23.514 | from .api import MagickPixelPacket, libc, libmagick, library
      21:04:23.514 | File "/var/lib/go-agent/pipelines/GDP-Yocto-r-car-m3-starter-kit/gdp-src-build/tmp/sysroots/x86_64-linux/usr/lib/python2.7/site-packages/wand/api.py", line 206, in <module>
      21:04:23.514 | 'Try to install:\n ' + msg)
      21:04:23.514 | ImportError: MagickWand shared library not found.
      21:04:23.514 | You probably had not installed ImageMagick library.
      21:04:23.514 | Try to install:
      21:04:23.514 | apt-get install libmagickwand-dev
      21:04:23.514 | mk/subdir.mk:150: recipe for target 'out/arm-plat-rcar/ta_arm64-lib/libutee/tui/default_bold.c' failed

      The recipe depends on libmagick-native, which builds. From what I can tell that does not build any library named libmagickwand.so
      However, a typical distro installation of "ImageMagick" includes the library (I checked Fedora 25).

      The build agents do not have this package installed since it's not listed as a Yocto prerequisite.

      A hypothesis is therefore that somehow the host installation of ImageMagick is leaking into the build when this build succeeds, and that it always fails otherwise on a machine that does not have extra installs in addition to the yocto prerequisites?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stephen.lawrence Stephen Lawrence
              Reporter:
              Gunnar Gunnar Andersson (old account, disabled) (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: