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

Raspberry Pi3 agl-demo build failure on directory mismatch

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • Raspberry Pi 3, Raspbian 8

      After issuing "bitbake agl-demo-platform" for a Raspberry Pi 3 build on Raspbian 8, I receive the following:

      ERROR: Unable to parse /home/pi/dev/agl/meta-raspberry/conf/layer.conf: [Errno 2] file /home/pi/dev/agl/meta-raspberry/conf/layer.conf not found

      The error is accurate as meta-raspberry doesn't exist. However, a directory named meta-raspberrypi does exist. This appears to be a simple name mismatch populated in build/conf/bblayers.conf:

      BBLAYERS =+ "${METADIR}/meta-raspberry"
      

      ...as sourced from the Raspberry Pi 2 & 3 templates:

      $ grep meta-raspberry meta-agl/templates/machine/raspberrypi2/50_bblayers.conf.inc
      BBLAYERS =+ "${METADIR}/meta-raspberry"
      $ grep meta-raspberry meta-agl/templates/machine/raspberrypi3/50_bblayers.conf.inc
      BBLAYERS =+ "${METADIR}/meta-raspberry"
      

      For reference, here's the history of my build arguments:

      cd ~/dev/agl
      repo init -b blowfish -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo
      repo sync
      source meta-agl/scripts/aglsetup.sh -m raspberrypi3 agl-demo agl-appfw-smack
      bitbake agl-demo-platform
      

      See the attached log for console output. Issue aside, this log might be useful for seeing what's generally happening on someone else's system up to the point of the error.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            leonanavi Leon Anavi
            jsheldon Jeff Sheldon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: