The problem seems to be related to imx-test libray ...
With Ubuntu 18.04 LTS I have the sumo branch working with poky and fslc-x11 distro ... both are working (which is better? I'm little confused about the distro ..)
Adding in conf/local.con the line
IMAGE_INSTALL_append+="imx-test"
the bitbake command give to me a similar error as thud branch
fabio@fabio-HP:~/imx-yocto-bsp/build$ bitbake core-image-base
Parsing recipes: 100% |#########################################################################################################| Time: 0:01:34
Parsing of 2547 .bb files complete (0 cached, 2547 parsed). 3463 targets, 250 skipped, 5 masked, 0 errors.
Removing 5 recipes from the allarch sysroot: 100% |#############################################################################| Time: 0:00:02
Removing 157 recipes from the imx6ullevk sysroot: 100% |########################################################################| Time: 0:01:51
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.38.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-fslc-linux-gnueabi"
MACHINE = "imx6ullevk"
DISTRO = "fslc-x11"
DISTRO_VERSION = "2.5"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU = "hard"
meta
meta-poky = "HEAD:64a257fa22126c4a40ff7e03424a404e360ebe1e"
meta-oe
meta-multimedia = "HEAD:2bb21ef27c4b0c9d52d30b3b2c5a0160fd02b966"
meta-freescale = "HEAD:407c6cf408969445031a492e2d25e0e2749582ea"
meta-freescale-3rdparty = "HEAD:88a29631809d1af0df618245430db29f2a7012b5"
meta-freescale-distro = "HEAD:f7e2216e93aff14ac32728a13637a48df436b7f4"
meta-bsp
meta-sdk = "HEAD:52ac01eee49b9f2f3ffec4c4037b7928d968115b"
meta-browser = "HEAD:75640e14e325479c076b6272b646be7a239c18aa"
meta-gnome
meta-networking
meta-python
meta-filesystems = "HEAD:2bb21ef27c4b0c9d52d30b3b2c5a0160fd02b966"
meta-qt5 = "HEAD:d4e7f73d04e8448d326b6f89908701e304e37d65"
Initialising tasks: 100% |######################################################################################################| Time: 0:00:02
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: libdrm-2.4.91.imx-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
The context lines in the patches can be updated with devtool:
devtool modify <recipe>
devtool finish --force-patch-refresh <recipe> <layer_path>
Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch 0001-configure.ac-Allow-explicit-enabling-of-cunit-tests.patch
patching file configure.ac
Hunk #1 succeeded at 168 (offset 31 lines).
Hunk #2 succeeded at 422 with fuzz 1 (offset 44 lines).
Hunk #3 succeeded at 447 with fuzz 2 (offset 42 lines).
Now at patch 0001-configure.ac-Allow-explicit-enabling-of-cunit-tests.patch
ERROR: imx-lib-1_git-r0 do_compile: oe_runmake failed
ERROR: imx-lib-1_git-r0 do_compile: Function failed: do_compile (log file is located at /home/fabio/imx-yocto-bsp/build/tmp/work/imx6ullevk-fslc-linux-gnueabi/imx-lib/1_git-r0/temp/log.do_compile.28971)
ERROR: Logfile of failure stored in: /home/fabio/imx-yocto-bsp/build/tmp/work/imx6ullevk-fslc-linux-gnueabi/imx-lib/1_git-r0/temp/log.do_compile.28971
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 1 CROSS_COMPILE=arm-fslc-linux-gnueabi- PLATFORM= INCLUDE=-I/home/fabio/imx-yocto-bsp/build/tmp/work-shared/imx6ullevk/kernel-source/include/uapi -I/home/fabio/imx-yocto-bsp/build/tmp/work-shared/imx6ullevk/kernel-source/include all
| make -C pxp all
| make[1]: Entering directory '/home/fabio/imx-yocto-bsp/build/tmp/work/imx6ullevk-fslc-linux-gnueabi/imx-lib/1_git-r0/git/pxp'
| arm-fslc-linux-gnueabi-gcc -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard --sysroot=/home/fabio/imx-yocto-bsp/build/tmp/work/imx6ullevk-fslc-linux-gnueabi/imx-lib/1_git-r0/recipe-sysroot -D -I/home/fabio/imx-yocto-bsp/build/tmp/work-shared/imx6ullevk/kernel-source/include/uapi -I/home/fabio/imx-yocto-bsp/build/tmp/work-shared/imx6ullevk/kernel-source/include -Wall -fPIC -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/fabio/imx-yocto-bsp/build/tmp/work/imx6ullevk-fslc-linux-gnueabi/imx-lib/1_git-r0=/usr/src/debug/imx-lib/1_git-r0 -fdebug-prefix-map=/home/fabio/imx-yocto-bsp/build/tmp/work/imx6ullevk-fslc-linux-gnueabi/imx-lib/1_git-r0/recipe-sysroot= -fdebug-prefix-map=/home/fabio/imx-yocto-bsp/build/tmp/work/imx6ullevk-fslc-linux-gnueabi/imx-lib/1_git-r0/recipe-sysroot-native= -c pxp_lib.c -o pxp_lib.o
| <command-line>:0:1: error: macro names must be identifiers
| In file included from /home/fabio/imx-yocto-bsp/build/tmp/work-shared/imx6ullevk/kernel-source/include/linux/radix-tree.h:24:0,
| from /home/fabio/imx-yocto-bsp/build/tmp/work-shared/imx6ullevk/kernel-source/include/linux/idr.h:15,
| from /home/fabio/imx-yocto-bsp/build/tmp/work-shared/imx6ullevk/kernel-source/include/linux/pxp_device.h:22,
| from pxp_lib.h:19,
| from pxp_lib.c:26:
| /home/fabio/imx-yocto-bsp/build/tmp/work-shared/imx6ullevk/kernel-source/include/linux/bitops.h:38:10: fatal error: asm/bitops.h: No such file or directory
| #include <asm/bitops.h>
| ^~~~~~~~~~~~~~
| compilation terminated.
| Makefile:30: recipe for target 'pxp_lib.o' failed
| make[1]: *** [pxp_lib.o] Error 1
| make[1]: Leaving directory '/home/fabio/imx-yocto-bsp/build/tmp/work/imx6ullevk-fslc-linux-gnueabi/imx-lib/1_git-r0/git/pxp'
| Makefile:17: recipe for target 'pxp' failed
| make: *** [pxp] 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/fabio/imx-yocto-bsp/build/tmp/work/imx6ullevk-fslc-linux-gnueabi/imx-lib/1_git-r0/temp/log.do_compile.28971)
ERROR: Task (/home/fabio/imx-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/imx-lib/imx-lib_git.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2879 tasks of which 1182 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
Summary: 1 task failed:
/home/fabio/imx-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/imx-lib/imx-lib_git.bb:do_compile
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.