Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt5 yocto build for RPi 3B fails
Forum Updated to NodeBB v4.3 + New Features

Qt5 yocto build for RPi 3B fails

Scheduled Pinned Locked Moved Solved Mobile and Embedded
2 Posts 1 Posters 308 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MartinD
    wrote on 26 Oct 2023, 09:33 last edited by MartinD
    #1

    Hi,
    I'm Yocto (Dunfell) building Qt5 for Raspberry Pi 3B on Ubuntu 18.04 and it fails when building Qt:

    | Makefile:47: recipe for target 'sub-auto-make_first' failed
    | make: *** [sub-auto-make_first] Error 2
    | ERROR: oe_runmake failed
    | WARNING: exit code 1 from a shell command.
    | ERROR: Execution of '/home/martin/Downloads/yocto/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtbase/5.14.2+gitAUTOINC+3a6d8df521-r0/temp/run.do_compile_ptest_base.29914' failed with exit code 1
    ERROR: Task (/home/martin/Downloads/yocto/build/../sources/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_compile_ptest_base) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 3598 tasks of which 3597 didn't need to be rerun and 1 failed.
    
    

    I only added this to local.conf:

    IMAGE_INSTALL += " \
                     ${Qt_UTILS} \
    		"
    
    Qt_UTILS = " \
    		qtbase \
    		qtbase-tools \
    		qtdeclarative \
    		qtquickcontrols \
    		qtquickcontrols2 \
    		"
    

    Any idea how to fix it?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      MartinD
      wrote on 26 Oct 2023, 10:04 last edited by
      #2

      The issue was probably insufficient RAM on my VirtualBox machine.

      1 Reply Last reply
      1
      • M MartinD has marked this topic as solved on 26 Oct 2023, 10:04

      1/2

      26 Oct 2023, 09:33

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved