MangOH build Error with new VM Ubuntu 18.04 and Legato 18.03


#1

Hello all,

On the new VM 18.4, the legato version is 18.04 but I would like to build for 18.03.

I do the following step :

$ cfglegato

$ cd $LEGATO_ROOT/…

$ mv legato legato_18.04 --> this step to backup the actual version

$ repo init -u git://github.com/legatoproject/
manifest -m legato/releases/18.03.0/legato.xml

$ repo sync

$ make wp76xx

the build is finished sucessfully.

I want now to build the mangOH red system

cd ~/mangOH git pull && git submodule update --init
$ make red_wp76xx

The build failed, see the log:

make[2]: Leaving directory ‘/home/mangoh/legato_framework/legato’
make[1]: Leaving directory ‘/home/mangoh/legato_framework/legato’
TOOLCHAIN_DIR=/opt/swi/y22-ext-wp76xx/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi
TOOLCHAIN_PREFIX=arm-poky-linux-gnueabi-
MANGOH_BOARD=RED
mksys -t wp76xx --object-dir=build/red_wp76xx --output-dir=build/update_files/red mangOH.sdef
** ERROR:
/home/mangoh/mangOH/mangOH.sdef:85:15: error: Unrecognized section name ‘componentSearch’.
Makefile:82: recipe for target ‘red_wp76xx’ failed
make: *** [red_wp76xx] Error 1

any idea ??

when I use the old legato build (18.04) it’s OK.

Thanks Francis


#2

The componentSearch feature used in the mangOH.sdef was introduced in Legato 18.04.0. If there is a reason why you must use Legato 18.03.0, then you can look at the change that introduced the usage of componentSearch and revert it. Make sense?


#3

@dfrey

Ok thank I would like to use 18.03 because it’s the version validate by Sierra with R9 firmware but I will move to 18.04.

Can you have a look to Developper studio? I can’t debug application. I not found any document to hew set the debug session.

For the moment I use VM 16.04. the problem is came with Ubuntu 18.04. I try to import my developper studio from my VM16.04 without success.

Francis