BitBake Failed oe_runmake failed

Hello all,

I am having issues now moving from angstrom 2.8b2 to 2.8.7. For starters, this is supposed to be a console only image with the RT-kernel, Vivante disabled, and CONNMAN removed. I have been able to build this just fine on 2.8b2, but I have several questions about 2.8.7. First, is the patch provided here for patching the rt-kernel no longer needed? Attempting to apply it before or after the first build both failed. Second, attempting to build results in this error:

mmorgan@acu3dev:~/oe-core/build$ bitbake -k console-tdx-image
Parsing recipes: 100% |#########################################################################################| Time: 0:01:43
Parsing of 3046 .bb files complete (0 cached, 3046 parsed). 3916 targets, 508 skipped, 1 masked, 0 errors.
WARNING: No recipes available for:
  /home/mmorgan/oe-core/build/../layers/meta-freescale/dynamic-layers/browser-layer/recipes-browser/chromium/chromium-wayland_48.0.2548.0.bbappend
  /home/mmorgan/oe-core/build/../layers/meta-freescale/dynamic-layers/browser-layer/recipes-browser/chromium/chromium_52.0.2743.76.bbappend
  /home/mmorgan/oe-core/build/../layers/meta-toradex-tegra/recipes-graphics/wayland/weston_1.%.bbappend
  /home/mmorgan/oe-core/build/../layers/meta-toradex-tegra/jetson-tk1/recipes-graphics/xorg-xserver/xserver-xorg_1.17.2.bbappend
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.36.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-16.04"
TARGET_SYS           = "arm-angstrom-linux-gnueabi"
MACHINE              = "apalis-imx6"
DISTRO               = "angstrom"
DISTRO_VERSION       = "v2017.12"
TUNE_FEATURES        = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU           = "hard"
meta-angstrom        = "HEAD:4318892e08ea9102d29bdd92af83539bea985e4b"
meta-toradex-nxp     = "HEAD:dcb75200b15086bcd69f7ff396da7caf413ffb93"
meta-freescale       = "HEAD:1d40ea34fc2c06af79fc59f6ea54f2e9335d61d6"
meta-freescale-3rdparty = "HEAD:9056f60d81abacc2d8ee0f83ef0f70dfeedc76c7"
meta-toradex-tegra   = "HEAD:16b6bd18785a7cc8d9024a071d3fbc968ff63e83"
meta-jetson-tk1      = "HEAD:b430756e711b6b29381c8467185f475f5a505f96"
meta-toradex-bsp-common = "HEAD:362865913ed40f6cadeaf9111cf83269dc111248"
meta-oe              
meta-filesystems     
meta-gnome           
meta-xfce            
meta-initramfs       
meta-networking      
meta-multimedia      
meta-webserver       
meta-python          = "HEAD:eae996301d9c097bcbeb8046f08041dc82bb62f8"
meta-lxde            = "HEAD:f436137fcc4ac700dc5c1b5e31e5b3c27568fc3e"
meta-browser         = "HEAD:75640e14e325479c076b6272b646be7a239c18aa"
meta-qt4             = "HEAD:e290738759ef3f39c9e079eaa9b606a62107e5ba"
meta-qt5             = "HEAD:180edd66444db330301f22266cac7d588fd48c6a"
meta-qt5-extra       = "HEAD:c16ba209a93c3e55f5aef07fbb1d584e228765b3"
meta-freescale-distro = "HEAD:51756d1c2058139c8a21f89b86cfd8007b71b7f0"
meta-toradex-demos   = "HEAD:c73893a3377ebb557b0fb41f75b26dff40da4442"
meta                 = "HEAD:3638cb32ba9ba32b4d498fc31ab7fdf82f0d2495"

Initialising tasks: 100% |######################################################################################| Time: 0:00:18
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: backports-5.4-r0 do_compile: oe_runmake failed
ERROR: backports-5.4-r0 do_compile: Function failed: do_compile (log file is located at /home/mmorgan/oe-core/build/tmp-glibc/work/apalis_imx6-angstrom-linux-gnueabi/backports/5.4-r0/temp/log.do_compile.4619)
ERROR: Logfile of failure stored in: /home/mmorgan/oe-core/build/tmp-glibc/work/apalis_imx6-angstrom-linux-gnueabi/backports/5.4-r0/temp/log.do_compile.4619
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 6 KLIB_BUILD=/home/mmorgan/oe-core/build/tmp-glibc/work-shared/apalis-imx6/kernel-build-artifacts KLIB=/home/mmorgan/oe-core/build/tmp-glibc/work-shared/apalis-imx6/kernel-source
| make[4]: *** No rule to make target 'modules'.  Stop.
| Makefile.build:13: recipe for target 'modules' failed
| make[3]: *** [modules] Error 2
| Makefile.real:88: recipe for target 'modules' failed
| make[2]: *** [modules] Error 2
| Makefile:40: recipe for target 'modules' failed
| make[1]: *** [modules] Error 2
| Makefile:30: recipe for target 'default' failed
| make: *** [default] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/mmorgan/oe-core/build/tmp-glibc/work/apalis_imx6-angstrom-linux-gnueabi/backports/5.4-r0/temp/log.do_compile.4619)
ERROR: Task (/home/mmorgan/oe-core/build/../layers/meta-toradex-bsp-common/recipes-kernel/backports/backports_5.4.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5668 tasks of which 5667 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory

Summary: 1 task failed:
  /home/mmorgan/oe-core/build/../layers/meta-toradex-bsp-common/recipes-kernel/backports/backports_5.4.bb:do_compile
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Any thoughts as to what might be causing the build to fail? Thanks!!

Looks like building backports fails for you. If you do not need any kind of Wi-Fi functionality just removing any kind of backports in the following file may be the easiest:

http://git.toradex.com/cgit/meta-toradex-demos.git/tree/recipes-images/images/tdx-extra.inc?h=rocko

For RT-kernel support no further patches should be needed.

Please do not hesitate to contact us again should you have any further questions or comments. Thanks!

@marcel.tx

That worked beautifully, thank you. I am fairly new to OpenEmbedded, well embedded Linux in general so I have a million questions. But I will try not to bother you guys with things that I can attempt to figure out on my own.

I do however have a question, that is posted here, that I am still waiting on some kind of guess on.

Thanks again!

hi @mmorgan1361

Perfect that your build is working. For the open question, the discussion will be continued there.

Best regards,
Jaski