Trying to build swi-fx30-cat1_2.0.1

Getting an error with manifest version :

** + case $BASH_VERSION in
| + echo ‘WARNING: /home/xavier/workspaceLegatoBis/swi-linux-src/build_bin/tmp/work/swi_mdm9x28_fx30-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/temp/run.do_generate_version_file.19494:1 exit 1 from ‘'‘exit 1’'’’
| WARNING: /home/xavier/workspaceLegatoBis/swi-linux-src/build_bin/tmp/work/swi_mdm9x28_fx30-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/temp/run.do_generate_version_file.19494:1 exit 1 from ‘exit 1’
| + exit 1
| DEBUG: Python function do_image finished
| ERROR: Function failed: do_generate_version_file (log file is located at /home/xavier/workspaceLegatoBis/swi-linux-src/build_bin/tmp/work/swi_mdm9x28_fx30-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/temp/log.do_image.19494)
ERROR: Task (/home/xavier/workspaceLegatoBis/swi-linux-src/meta-swi/meta-swi-mdm9x28/recipes-core/images/ failed with exit code ‘1’
NOTE: Tasks Summary: Attempted 4133 tasks of which 4132 didn’t need to be rerun and 1 failed.

Summary: 1 task failed:

Seems like date in manifest file name is not the expected one.

Also have to apply several time on source dir a : git config --global --add …


Do you find problem to build yocto of swi-fx30-cat1-2-0-0 or wp76 r16 yocto?

I try to generate swi_fx30-cat1_2.0.1 as I had problem with 2.0.0 and I have an error with the do_generate_version_file recipe.

Not sure if this is your pc problem…

Can you try to compile wp76 fw r16 yocto?,-d-,0,-d-,1-components/#sthash.KFGymtuk.PDFM66vD.dpbs

What about the do_generate_version_file problem ?

i don’t know what this is.
but i don’t see this when i compile the FW R16 yocto image.

I’m not the first one guy that has the problem (add and do _generate_version_file).

See : Yocto make image_bin error - #41 by T_a - Sierra Wireless Forum

Something went wrong during compiling but what?

Trying a fresh compil.

the user in that link is compiling WP76 FW R16…
And i don’t see problem to build this one.

Depending on the environnement, the problem can occur . I have already compile the version but after a number of hugly stages.
What I try now is to process from a fresh install and I did not succeed.
I first try with ubuntu 16 but it is like we need ubuntu 18, then I switch to ubuntu 18.
Not simple as I also faces with compiler errors during the process.
And it is so complicated to start with Visual Studio Code.
Next stage, next time.
Thanks for your reply.

what is the problem is using VS code?
I saw other users are already using VS code + leaf

For solution of my problem :

  • I did a clean of yocto using BB_LFLAGS (BB_FLAGS=“-c clean -c cleansstate -c cleanall” MACH=mdm9x28 PROD=FX30 make)
  • did a make again (MACH=mdm9x28 PROD=FX30 make)
    And it works.
    No explanation.
    Now, I will try vscode.


Try again to generate 2.0.1 :

  • Had problem with ima-setup-tools ,
  • Cannot download system-core (made a copy from 2.0.0 download).
    Then it was possible to generate system and toolchain from source but I can’t use visual studio code with it having the problem :
    **Language server onInitialize.
    An error occurred during model load.

Watching the filesystem for changes.
– /home/xavier/workspaceLegatoBis
exception: Error: ENOENT: no such file or directory, stat ‘/home/xavier/workspaceLegatoBis/swi-linux-src/build_bin/tmp/pkgdata/swi-mdm9x28-fx30/runtime-rprovides/bin/bash/target-sdk-provides-dummy’
Language server initialized.
An error occurred during model load.

Watching the filesystem for changes.
– /home/xavier/workspaceLegatoBis
[Error - 15:22:50] Notification handler ‘workspace/didChangeConfiguration’ failed with message: ENOENT: no such file or directory, stat ‘/home/xavier/workspaceLegatoBis/swi-linux-src/build_bin/tmp/pkgdata/swi-mdm9x28-fx30/runtime-rprovides/bin/bash/target-sdk-provides-dummy’

Any Idea?

do you follow this document for IMA support?

It should be working fine in WP76 R16.

It was not about configuring IMA but just errors during generation. I had git problems that I recover using workaround just for the system to compile.

I don’t see problem to build the ima image in ubuntu16 for wp76 r16

I can see the appsboot_rw_ima_wp76xx.cwe is compiled out after
IMA_BUILD=1 IMA_CONFIG=/home/owner/ima.conf make

Hello, perhaps is it a git config problem :
**workspaceLegato/swi-linux-src/build_bin/downloads/git2/home.xavier.workspaceLegato.swi-linux-src.legato.3rdParty.ima-support-tools…git --progress failed with exit code 128, output:
Cloning into bare repository ‘/home/xavier/workspaceLegato/swi-linux-src/build_bin/downloads/git2/home.xavier.workspaceLegato.swi-linux-src.legato.3rdParty.ima-support-tools…git’…
fatal: failed to start iterator over ‘/home/xavier/workspaceLegato/swi-linux-src/legato/3rdParty/ima-support-tools/.git/objects’: Not a directory
fatal: The remote end hung up unexpectedly

As you can see, bitbake complains about an .git/objects that is not a directory (it is a link).
My solution was to make a copy instead of the link and it woks.