Fail to build Legato-Dist-Source-mdm9x15-SWI9X15Y_07.12.09.00

Hello,

I’ve downloaded Legato-Dist-Source-mdm9x15-SWI9X15Y_07.12.09.00 and try to build it without any modification.

First, I get this warning:

WARNING: Host distribution “Ubuntu-16.10” has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.

I tried to find which is the recommended host version without success. I supposed I didn’t find the right page.

I tried to build it on Ubuntu 16.10 anyway but I got this huge log on failure.
Based on the build log attached, could you tell me what’s wrong please ?
Makefile:18: “Legato: build disabled since ‘/home/me/yocto/legato/’ does not exist”
“meta-swi-extras/build.sh” -p poky/ -o meta-openembedded/ -l meta-swi -x “kernel/.git” -j 9 -t 9 -a “SDKPATH_PREFIX=” -M -a “MANGOH_WIFI_REPO=”/home/me/yocto/mangOH/WiFi"" -m swi-mdm9x15 -a KBRANCH_DEFAULT_MDM9X15=standard/swi-mdm9x15-yocto-1.7-swi-le55 -a KMETA_DEFAULT_MDM9X15=meta-yocto-1.7-swi-le55 -q -b build_bin
Poky dir: /home/me/yocto/poky
OE meta: /home/me/yocto/meta-openembedded
SWI meta dir: /home/me/yocto/meta-swi
Linux repo dir: /home/me/yocto/kernel/.git
Number of make threads 9
Number of bitbake tasks 9
Extra options added - SDKPATH_PREFIX=
With mangOH
Extra options added - MANGOH_WIFI_REPO=/home/me/yocto/mangOH/WiFi
SWI machine: swi-mdm9x15
Extra options added - KBRANCH_DEFAULT_MDM9X15=standard/swi-mdm9x15-yocto-1.7-swi-le55
Extra options added - KMETA_DEFAULT_MDM9X15=meta-yocto-1.7-swi-le55
Enable Qualcomm Proprietary bin
Build dir: /home/me/yocto/build_bin

### Shell environment set up for builds. ###

You can now run 'bitbake <target>'

Common targets are:
    core-image-minimal
    core-image-sato
    meta-toolchain
    adt-installer
    meta-ide-support

You can also run generated qemu images with a command like 'runqemu qemux86'
+ layer: meta-swi-mdm9xxx
+ layer: meta-swi-mdm9x15
+ layer: meta-swi
+ layer: meta-oe
+ layer: meta-networking
+ layer: meta-python
+ layer: meta-swi-bin
+ layer: meta-swi-extras/common
+ layer: meta-mangoh
Updating LEGATO_BUILD to false
Updating ROOTFS_VERSION to 
Updating SDKPATH_PREFIX to 
Updating MANGOH_WIFI_REPO to /home/me/yocto/mangOH/WiFi
Updating KBRANCH_DEFAULT_MDM9X15 to standard/swi-mdm9x15-yocto-1.7-swi-le55
Updating KMETA_DEFAULT_MDM9X15 to meta-yocto-1.7-swi-le55
Build image of minimal rootfs (for swi-mdm9x15).
WARNING: Host distribution "Ubuntu-16.10" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
WARNING: Unable to get checksum for embms-kernel SRC_URI entry embms_kernel: file could not be found                                      | ETA:  00:00:33
Parsing recipes: 100% |###################################################################################################################| Time: 00:01:01
Parsing of 1601 .bb files complete (0 cached, 1601 parsed). 2075 targets, 200 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.24.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-16.10"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "swi-mdm9x15"
DISTRO            = "poky-swi-ext"
DISTRO_VERSION    = "1.7.3"
TUNE_FEATURES     = "arm armv7a vfp neon"
TARGET_FPU        = "vfp-neon"
meta              
meta-yocto        
meta-yocto-bsp    = "(nobranch):c282df8993828bd7b1d50cfcf637a477eaf481a1"
meta-mangoh       = "(nobranch):b58ad3c6a4e4d0f2d563e8af86c46f96f8ba3bb6"
meta-python       
meta-networking   
meta-oe           = "(nobranch):70beecb2716bca1b9dfbc7d6a264233e1f05e82b"
meta-swi          
meta-swi-mdm9xxx  
meta-swi-mdm9x15  = "master:e65c639d1ed800bbaf37cd5c2d2d857544ae890f"
common            
meta-swi-bin      = "master:796df54a6bcb5e9deb73f438ca6e245854c88adf"

NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
Currently 3 running tasks (514 of 2457):
0: binutils-cross-arm-2.24-r0 do_compile (pid 9462)
1: kconfig-frontends-native-3.12.0.0-r0 do_configure (pid 5800)
2: file-native-5.18-r0 do_configure (pid 6624)
ERROR: Function failed: do_compile (log file is located at /home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/temp/log.do_compile.13487)
ERROR: Logfile of failure stored in: /home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/temp/log.do_compile.13487
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4
| make  all-recursive
| make[1]: Entering directory '/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/build'
| Making all in config
| make[2]: Entering directory '/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/build/config'
| make[2]: Nothing to be done for 'all'.
| make[2]: Leaving directory '/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/build/config'
| Making all in m4
| make[2]: Entering directory '/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/build/m4'
| make[2]: Nothing to be done for 'all'.
| make[2]: Leaving directory '/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/build/m4'
| Making all in lib
| make[2]: Entering directory '/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/build/lib'
| gcc  -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/home/me/yocto/build_bin/tmp/sysroots/x86_64-linux/usr/share/locale"' -I. -I/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/lib -I..  -I. -I/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/lib -I/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/lib -I.. -I/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/lib/../libelf -isystem/home/me/yocto/build_bin/tmp/sysroots/x86_64-linux/usr/include -std=gnu99 -Wall -Wshadow -Wunused -Wextra -fgnu89-inline -Wformat=2  -Werror  -fpic -isystem/home/me/yocto/build_bin/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o xstrdup.o /home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/lib/xstrdup.c


etc, etc, etc,



| rm -f libeu.a
| ar cru libeu.a xstrdup.o xstrndup.o xmalloc.o next_prime.o crc32.o crc32_file.o md5.o sha1.o color.o
| ar: `u' modifier ignored since `D' is the default (see `U')
| ranlib libeu.a
| make[2]: Leaving directory '/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/build/lib'
| Making all in libelf
| make[2]: Entering directory '/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/build/libelf'
| gcc  -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/home/me/yocto/build_bin/tmp/sysroots/x86_64-linux/usr/share/locale"' -I. -I/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/libelf -I..  -I. -I/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/libelf -I/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/lib -I.. -isystem/home/me/yocto/build_bin/tmp/sysroots/x86_64-linux/usr/include -std=gnu99 -Wall -Wshadow -Wunused -Wextra -fgnu89-inline -Wformat=2  -Werror   -isystem/home/me/yocto/build_bin/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o elf_version.o /home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/libelf/elf_version.c
| rm -f libelf.a
| ar cru libelf.a elf_version.o elf_hash.o elf_error.o elf_fill.o elf_begin.o elf_next.o elf_rand.o elf_end.o elf_kind.o gelf_getclass.o elf_getbase.o elf_getident.o elf32_fsize.o elf64_fsize.o gelf_fsize.o elf32_xlatetof.o elf32_xlatetom.o elf64_xlatetof.o elf64_xlatetom.o gelf_xlate.o elf32_getehdr.o elf64_getehdr.o gelf_getehdr.o elf32_newehdr.o elf64_newehdr.o gelf_newehdr.o gelf_update_ehdr.o elf32_getphdr.o elf64_getphdr.o gelf_getphdr.o elf32_newphdr.o elf64_newphdr.o gelf_newphdr.o gelf_update_phdr.o elf_getarhdr.o elf_getarsym.o elf_rawfile.o elf_readall.o elf_cntl.o elf_getscn.o elf_nextscn.o elf_ndxscn.o elf_newscn.o elf32_getshdr.o elf64_getshdr.o gelf_getshdr.o gelf_update_shdr.o elf_strptr.o elf_rawdata.o elf_getdata.o elf_newdata.o elf_getdata_rawchunk.o elf_flagelf.o elf_flagehdr.o elf_flagphdr.o elf_flagscn.o elf_flagshdr.o elf_flagdata.o elf_memory.o elf_update.o elf32_updatenull.o elf64_updatenull.o elf32_updatefile.o elf64_updatefile.o gelf_getsym.o gelf_update_sym.o gelf_getversym.o gelf_getverneed.o gelf_getvernaux.o gelf_getverdef.o gelf_getverdaux.o gelf_getrel.o gelf_getrela.o gelf_update_rel.o gelf_update_rela.o gelf_getdyn.o gelf_update_dyn.o gelf_getmove.o gelf_update_move.o gelf_getsyminfo.o gelf_update_syminfo.o gelf_getauxv.o gelf_update_auxv.o gelf_getnote.o gelf_xlatetof.o gelf_xlatetom.o nlist.o gelf_getsymshndx.o gelf_update_symshndx.o gelf_update_versym.o gelf_update_verneed.o gelf_update_vernaux.o gelf_update_verdef.o gelf_update_verdaux.o elf_getphdrnum.o elf_getshdrnum.o elf_getshdrstrndx.o gelf_checksum.o elf32_checksum.o elf64_checksum.o libelf_crc32.o libelf_next_prime.o elf_clone.o gelf_getlib.o gelf_update_lib.o elf32_offscn.o elf64_offscn.o gelf_offscn.o elf_getaroff.o elf_gnu_hash.o elf_scnshndx.o
| ar: `u' modifier ignored since `D' is the default (see `U')
| ranlib libelf.a
| rm -f libelf_pic.a
| ar cru libelf_pic.a elf_version.os elf_hash.os elf_error.os elf_fill.os elf_begin.os elf_next.os elf_rand.os elf_end.os elf_kind.os gelf_getclass.os elf_getbase.os elf_getident.os elf32_fsize.os elf64_fsize.os gelf_fsize.os elf32_xlatetof.os elf32_xlatetom.os elf64_xlatetof.os elf64_xlatetom.os gelf_xlate.os elf32_getehdr.os elf64_getehdr.os gelf_getehdr.os elf32_newehdr.os elf64_newehdr.os gelf_newehdr.os gelf_update_ehdr.os elf32_getphdr.os elf64_getphdr.os gelf_getphdr.os elf32_newphdr.os elf64_newphdr.os gelf_newphdr.os gelf_update_phdr.os elf_getarhdr.os elf_getarsym.os elf_rawfile.os elf_readall.os elf_cntl.os elf_getscn.os elf_nextscn.os elf_ndxscn.os elf_newscn.os elf32_getshdr.os elf64_getshdr.os gelf_getshdr.os gelf_update_shdr.os elf_strptr.os elf_rawdata.os elf_getdata.os elf_newdata.os elf_getdata_rawchunk.os elf_flagelf.os elf_flagehdr.os elf_flagphdr.os elf_flagscn.os elf_flagshdr.os elf_flagdata.os elf_memory.os elf_update.os elf32_updatenull.os elf64_updatenull.os elf32_updatefile.os elf64_updatefile.os gelf_getsym.os gelf_update_sym.os gelf_getversym.os gelf_getverneed.os gelf_getvernaux.os gelf_getverdef.os gelf_getverdaux.os gelf_getrel.os gelf_getrela.os gelf_update_rel.os gelf_update_rela.os gelf_getdyn.os gelf_update_dyn.os gelf_getmove.os gelf_update_move.os gelf_getsyminfo.os gelf_update_syminfo.os gelf_getauxv.os gelf_update_auxv.os gelf_getnote.os gelf_xlatetof.os gelf_xlatetom.os nlist.os gelf_getsymshndx.os gelf_update_symshndx.os gelf_update_versym.os gelf_update_verneed.os gelf_update_vernaux.os gelf_update_verdef.os gelf_update_verdaux.os elf_getphdrnum.os elf_getshdrnum.os elf_getshdrstrndx.os gelf_checksum.os elf32_checksum.os elf64_checksum.os libelf_crc32.os libelf_next_prime.os elf_clone.os gelf_getlib.os gelf_update_lib.os elf32_offscn.os elf64_offscn.os gelf_offscn.os elf_getaroff.os elf_gnu_hash.os elf_scnshndx.os
| ar: `u' modifier ignored since `D' is the default (see `U')
| ranlib libelf_pic.a
| gcc  -std=gnu99 -Wall -Wshadow -Wunused -Wextra -fgnu89-inline -Wformat=2  -Werror   -isystem/home/me/yocto/build_bin/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe  -L/home/me/yocto/build_bin/tmp/sysroots/x86_64-linux/usr/lib -L/home/me/yocto/build_bin/tmp/sysroots/x86_64-linux/lib -Wl,-rpath-link,/home/me/yocto/build_bin/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/me/yocto/build_bin/tmp/sysroots/x86_64-linux/lib -Wl,-rpath,/home/me/yocto/build_bin/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/me/yocto/build_bin/tmp/sysroots/x86_64-linux/lib -Wl,-O1 -o libelf.so -shared -o libelf.so -Wl,--whole-archive,libelf_pic.a,--no-whole-archive \
| 	-Wl,--version-script,/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/libelf/libelf.map,--no-undefined \
| 	-Wl,--soname,libelf.so.1,-z,defs,-z,relro
| if readelf -d libelf.so | fgrep -q TEXTREL; then exit 1; fi
| ln -fs libelf.so libelf.so.1
| make[2]: Leaving directory '/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/build/libelf'
| Making all in libebl
| make[2]: Entering directory '/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/build/libebl'
| gcc  -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/home/me/yocto/build_bin/tmp/sysroots/x86_64-linux/usr/share/locale"' -I. -I/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/libebl -I..  -I. -I/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/libebl -I/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/lib -I.. -I/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/libebl/../libelf -I/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/libebl/../libdw -I/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/libebl/../libasm -isystem/home/me/yocto/build_bin/tmp/sysroots/x86_64-linux/usr/include -std=gnu99 -Wall -Wshadow -Wunused -Wextra -fgnu89-inline -Wformat=2  -Werror  -fpic -isystem/home/me/yocto/build_bin/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o eblopenbackend.o /home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/libebl/eblopenbackend.c

etc, etc, etc, ....


| /home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/libebl/eblobjnote.c: In function 'ebl_object_note':
| /home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/libebl/eblobjnote.c:48:3: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
|    if (! ebl->object_note (name, type, descsz, desc))
|    ^~
| /home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/libebl/eblobjnote.c:138:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
|      switch (type)
|      ^~~~~~
| gcc  -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/home/me/yocto/build_bin/tmp/sysroots/x86_64-linux/usr/share/locale"' -I. -I/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/libebl -I..  -I. -I/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/libebl -I/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/lib -I.. -I/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/libebl/../libelf -I/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/libebl/../libdw -I/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/libebl/../libasm -isystem/home/me/yocto/build_bin/tmp/sysroots/x86_64-linux/usr/include -std=gnu99 -Wall -Wshadow -Wunused -Wextra -fgnu89-inline -Wformat=2  -Werror  -fpic -isystem/home/me/yocto/build_bin/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o eblsectionstripp.o /home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/libebl/eblsectionstripp.c
| cc1: all warnings being treated as errors
| gcc  -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/home/me/yocto/build_bin/tmp/sysroots/x86_64-linux/usr/share/locale"' -I. -I/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/libebl -I..  -I. -I/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/libebl -I/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/lib -I.. -I/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/libebl/../libelf -I/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/libebl/../libdw -I/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/libebl/../libasm -isystem/home/me/yocto/build_bin/tmp/sysroots/x86_64-linux/usr/include -std=gnu99 -Wall -Wshadow -Wunused -Wextra -fgnu89-inline -Wformat=2  -Werror  -fpic -isystem/home/me/yocto/build_bin/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o eblelfclass.o /home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/elfutils-0.158/libebl/eblelfclass.c
| Makefile:516: recipe for target 'eblobjnote.o' failed
| make[2]: *** [eblobjnote.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
| make[2]: Leaving directory '/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/build/libebl'
| Makefile:461: recipe for target 'all-recursive' failed
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory '/home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/build'
| Makefile:376: recipe for target 'all' failed
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: /home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/temp/run.do_compile.13487:1 exit 1 from
|   exit 1
| ERROR: Function failed: do_compile (log file is located at /home/me/yocto/build_bin/tmp/work/x86_64-linux/elfutils-native/0.158-r0/temp/log.do_compile.13487)
ERROR: Task 1009 (virtual:native:/home/me/yocto/poky/meta/recipes-devtools/elfutils/elfutils_0.158.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 539 tasks of which 1 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  virtual:native:/home/me/yocto/poky/meta/recipes-devtools/elfutils/elfutils_0.158.bb, do_compile
Summary: There were 2 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Makefile:137 : la recette pour la cible « image_bin » a échouée
make: *** [image_bin] Erreur 1

Regards

Hi,

It seems you can build the source code according to this thread:

Am I correct?

Hello,

Yes you are correct, I switched to Ubuntu 14.04.

But it’s still not clear what host to use to build a legato distribution.

For example, I also tried to build SWI9X15Y_07.12.09.00 (version 16.10.3), which host am I supposed to use to buils it?

Alain

Looks like the Yocto 1.7 build is broken on Ubuntu 16.10.
If you install elfutils through sudo apt-get install elfutils, Yocto might pick up the system-provided elfutils and would not build it, although I can’t confirm.

Hello CoRfr,

Thanks, I’ll try as soon as I’ll time but is there any Relationship between legato AF source version and a host version (Ubuntu ?) to build it ??

Alain

Hello @AlBo,

for legato-af (so not Yocto), it is compatible with a wide range of Linux distributions.
It should work fine with latest Ubuntu and latest Ubuntu LTS, but also Fedora, Debian …

Only thing is that we stopped supporting Ubuntu 12.04 last year as it was too behind on some dependencies.

Hello CoRfr,

But when I try to build mdm9x15-SWI9X15Y_07.12.09 on Ubuntu 16.04, it gives the following warning:

WARNING: Host distribution “Ubuntu-16.04” has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.

Alain

Hi @AlBo,

When Yocto 1.7 was created, 16.04 didn’t exist (yet) so they (= yocto.org) couldn’t validate it.

Quite a few people within SWI are building yocto 1.7 with a Ubuntu 16.04 I think and it is working fine, so this warning can be ignored IMHO.

Hello
@CoRfr ok, for this answer.

thansk a lot