Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-551

RCar Gen2: Build error on gstreamer1.0-plugins-* when building 'from scratch' (no sstate cache)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • Dab
    • Dab
    • Multimedia
    • Build for Porter board.on Corei7 with 6 cores (12 logical cores)

      When building from scratch agl-demo-platform for Porter board (master branch), we get a build failure that probably depends on bitbake scheduling on SMP systems:

      ERROR: gstreamer1.0-plugins-base-1.2.3-r0 do_patch: Function failed: autogennoconf (log file is located at /xdt/build/tmp/work/armv7ahf-neon-agl-linux-gnueabi/gstreamer1.0-plugins-base/1.2.3-r0/temp/log.do_patch.13254)
      ERROR: Logfile of failure stored in: /xdt/build/tmp/work/armv7ahf-neon-agl-linux-gnueabi/gstreamer1.0-plugins-base/1.2.3-r0/temp/log.do_patch.13254
      Log data follows:
      | DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
      | DEBUG: Executing shell function autogennoconf
      | + Setting up common submodule
      | Submodule 'common' (git://anongit.freedesktop.org/gstreamer/common) registered for path 'common'
      | Cloning into 'common'...
      | Submodule path 'common': checked out '7412249950b9fb00f78feb26277f84233fa4e4b4'
      | + configure run disabled
      | + check for build tools
      |   checking for autoconf >= 2.68 ... found 2.69, ok.
      |   checking for automake >= 1.11 ... found 1.15, ok.
      |   checking for autopoint >= 0.17 ... autopoint not found !
      | You must have autopoint installed to compile gst-plugins-base.
      | Download the appropriate package for your distribution,
      | or get the source tarball at ftp://ftp.gnu.org/pub/gnu/gettext/
      |   checking for libtoolize >= 2.2.6 ...   checking for glibtoolize >= 2.2.6 ... libtoolize not found !
      | You must have libtoolize installed to compile gst-plugins-base.
      | Download the appropriate package for your distribution,
      | or get the source tarball at ftp://ftp.gnu.org/pub/gnu/libtool/
      |   checking for pkg-config >= 0.8.0 ... found 0.28, ok.
      | 
      | - Please get the right tools before proceeding.
      | - Alternatively, if you're sure we're wrong, run with --nocheck.
      | WARNING: exit code 1 from a shell command.
      | ERROR: Function failed: autogennoconf (log file is located at /xdt/build/tmp/work/armv7ahf-neon-agl-linux-gnueabi/gstreamer1.0-plugins-base/1.2.3-r0/temp/log.do_patch.13254)
      ERROR: Task (/xdt/meta/meta-renesas/common/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.2.3.bb:do_patch) failed with exit code '1'
      

      This error log shows that at patch time, some native tool is missing: that is probably due to a missing dependency used in the "strange" function 'autogennoconf' in meta-renesas/common/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc which requires some tools at do_patch time (dependencies are resolved for later tasks)

      This problem already occurred in the past and a fix has been pushed for that:
      https://gerrit.automotivelinux.org/gerrit/#/c/8175/

      It seems that the fix is not stronger enough as we now depend on the libtoolize tool.

        # Subject Branch Project Status CR V

            ronan ronan Le Martret
            sdesneux Stephane Desneux
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: