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

Flutter demo image build fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • Octopus 15.0.0
    • flutter, IVI
    • None
    • Linux 5.19.0-35-generic #36~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC x86_64 x86_64 x86_64 GNU/Linux
    • Raspberry Pi 4

      Hi everyone, i am trying to run a build image for RaspberryPi4 with target: agl-ivi-demo-platform-flutter after about 70% of the operation I encountered the following error:

      ERROR: Task (virtual:native:/home/ubuntu-infotainment/AGL/octopus/external/meta-clang/recipes-devtools/clang/clang_git.bb:do_compile) failed with exit code '1'
      NOTE: Tasks Summary: Attempted 6565 tasks of which 0 didn't need to be rerun and 1 failed.

      Summary: 1 task failed:
        virtual:native:/home/ubuntu-infotainment/AGL/octopus/external/meta-clang/recipes-devtools/clang/clang_git.bb:do_compile
      Summary: There were 6 WARNING messages.
      Summary: There was 1 ERROR message, returning a non-zero exit code.

      Steps performed for env setup:

        $ repo init -b octopus -m octopus_15.0.0.xml -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo
        $ repo sync
      $ source meta-agl/scripts/aglsetup.sh -f -m raspberrypi4 -b raspberrypi4 agl-demo agl-devel 
      $ bitbake agl-ivi-demo-platform-flutter
      

      I have already tried deleting /tmp and /downloads and running the build again with bitbake.
      Also, I wanted to ask if there was any documentation for creating and adding embedded applications in Flutter. Thank you very much!

      - - - - - - UPDATE  1 - - - - - -
      Possible it is related to gcc version? 
      I am using: gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04) retrieved from <build-dir>/tmp/hosttools/gcc 

      - - - - -  UPDATE 2  - - - - -

      After cleaning the /tmp folder and /downloads I tried again with a new build but the result is the same. Attached I have retrieved the clang compile log. (
      log.do_compile.996579 )

      - - - - - - UPDATE 3  - - - - - - 

      In the console-latest file (attached) I highlighted the following compilation errors:

      ERROR: agl-service-audiomixer-2.0+gitAUTOINC+f137c6762e-r0 do_compile: ExecutionError('/home/ubuntu-infotainment/AGL/build-flutter-dashboard/tmp/work/aarch64-agl-linux/agl-service-audiomixer/2.0+gitAUTOINC+f137c6762e-r0/temp/run.do_compile.786659', 1, None, None)
      ERROR: Logfile of failure stored in: /home/ubuntu-infotainment/AGL/build-flutter-dashboard/tmp/work/aarch64-agl-linux/agl-service-audiomixer/2.0+gitAUTOINC+f137c6762e-r0/temp/log.do_compile.786659
      NOTE: recipe agl-service-audiomixer-2.0+gitAUTOINC+f137c6762e-r0: task do_compile: Failed
      ERROR: Task (/home/ubuntu-infotainment/AGL/octopus/meta-agl-demo/recipes-demo/agl-service-audiomixer/agl-service-audiomixer_git.bb:do_compile) failed with exit code '1'

      ERROR: clang-native-14.0.3-r0 do_compile: ExecutionError('/home/ubuntu-infotainment/AGL/build-flutter-dashboard/tmp/work/x86_64-linux/clang-native/14.0.3-r0/temp/run.do_compile.3381485', 1, None, None)
      ERROR: Logfile of failure stored in: /home/ubuntu-infotainment/AGL/build-flutter-dashboard/tmp/work/x86_64-linux/clang-native/14.0.3-r0/temp/log.do_compile.3381485
      NOTE: recipe clang-native-14.0.3-r0: task do_compile: Failed
      ERROR: Task (virtual:native:/home/ubuntu-infotainment/AGL/octopus/external/meta-clang/recipes-devtools/clang/clang_git.bb:do_compile) failed with exit code '1'

      log.do_compile.786659 and log.do_compile.3381485 are in attachment.

      - - - - - - UPDATE 4  - - - - - - 
      SOLUTION OOM CC1PLUS

        1. console-latest.log
          2.06 MB
        2. kernel-dmesg
          258 kB
        3. log.do_compile.3381485
          4.65 MB
        4. log.do_compile.786659
          22 kB
        5. log.do_compile.996579
          5.94 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            MicheleRuoccoKineton Michele RUOCCO (KINETON)
            MicheleRuoccoKineton Michele RUOCCO (KINETON)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: