** + 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/mdm9x28-image-minimal.bb:do_image) 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 safe.directory …
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.
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
Ignored.
Ignored.
Ignored.
Ignored.
Ignored.
Ignored.
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
Ignored.
Ignored.
Ignored.
Ignored.
Ignored.
Ignored.
[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’
**
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.