Yocto complication problem

hi!

i untar Legato-Dist-Source-mdm9x28-SWI9X07Y_02.18.06.00.tar.bz2
and trying to compile yocto for wp76
what’s wrong here? Please help to find out!!!

ruslans@ruslans-VirtualBox /work/work/legato/yocto $ make image_bin
Makefile:55: “Legato: build disabled since ‘/work/work/legato/yocto/legato/’ does not exist”
“meta-swi/build.sh” -p poky/ -o meta-openembedded/ -l meta-swi -x “kernel/.git” -j 9 -t 9 -a “LK_REPO=”/work/work/legato/yocto/lk"" -m swi-mdm9x28 -P wp -b build_bin -q
Poky dir: /work/work/legato/yocto/poky
OE meta: /work/work/legato/yocto/meta-openembedded
SWI meta dir: /work/work/legato/yocto/meta-swi
Linux repo dir: /work/work/legato/yocto/kernel/.git
Number of make threads 9
Number of bitbake tasks 9
Extra options added - LK_REPO=/work/work/legato/yocto/lk
SWI machine: swi-mdm9x28
SWI product: wp
Build dir: /work/work/legato/yocto/build_bin
Enable Qualcomm Proprietary bin

Shell environment set up for builds.

You can now run 'bitbake ’

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

You can also run generated qemu images with a command like ‘runqemu qemux86’
Error: bash is not set as default provider for /bin/sh
build is not guaranteed to work, aborting
Makefile:247: recipe for target ‘image_bin’ failed
make: *** [image_bin] Error 1
ruslans@ruslans-VirtualBox /work/work/legato/yocto $

sudo apt-get remove ccache
sudo dpkg-reconfigure dash
Answer “No” to the question.

hi!
its start compiling but failed please see below
i run yocto> make image_bin
why it depend on android ?
thanks you

NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: android-signing-native-1.0-r1 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS=“unix:abstract=/tmp/dbus-KQf16AQ3aB,guid=6ac2ab27f3fefe9c2ea8e6295bd02e6a”; export SSH_AGENT_PID=“2294”; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/work/work/legato/yocto/poky/scripts/native-intercept:/work/work/legato/yocto/build_bin/tmp/sysroots-uninative/x86_64-linux/usr/bin:/work/work/legato/yocto/poky/scripts:/work/work/legato/yocto/build_bin/tmp/sysroots/x86_64-linux/usr/bin/x86_64-linux:/work/work/legato/yocto/build_bin/tmp/sysroots/x86_64-linux/usr/bin:/work/work/legato/yocto/build_bin/tmp/sysroots/x86_64-linux/usr/sbin:/work/work/legato/yocto/build_bin/tmp/sysroots/x86_64-linux/usr/bin:/work/work/legato/yocto/build_bin/tmp/sysroots/x86_64-linux/sbin:/work/work/legato/yocto/build_bin/tmp/sysroots/x86_64-linux/bin:/work/work/legato/yocto/poky/scripts:/work/work/legato/yocto/poky/bitbake/bin:/usr/local/bin:/bin:/usr/bin"; export HOME="/home/ruslans"; git -c core.fsyncobjectfiles=0 ls-remote git://github.com/braddu/android-signing.git failed with exit code 128, output:
fatal: Unable to find remote helper for ‘git+https’

ERROR: android-signing-native-1.0-r1 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /work/work/legato/yocto/build_bin/tmp/work/x86_64-linux/android-signing-native/1.0-r1/temp/log.do_fetch.15273
ERROR: Task (/work/work/legato/yocto/meta-swi/meta-swi-mdm9xxx/recipes-bsp/android-signing/android-signing-native.bb:do_fetch) failed with exit code ‘1’
NOTE: Tasks Summary: Attempted 262 tasks of which 0 didn’t need to be rerun and 1 failed.

Summary: 1 task failed:
/work/work/legato/yocto/meta-swi/meta-swi-mdm9xxx/recipes-bsp/android-signing/android-signing-native.bb:do_fetch
Summary: There were 14 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Makefile:247: recipe for target ‘image_bin’ failed
make: *** [image_bin] Error 1
ruslans@ruslans-VirtualBox /work/work/legato/yocto $

Not sure if this helps, but you can have a try.

hi!

may we dont need the component ? its android we dont build android
regards

I think the easiest way is to install the following:

sudo apt-get install libcurl4-openssl-dev

hi!
i did but its fails on helper https

ROR: keyutils-1.5.10-r0 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS=“unix:abstract=/tmp/dbus-KQf16AQ3aB,guid=6ac2ab27f3fefe9c2ea8e6295bd02e6a”; export SSH_AGENT_PID=“2294”; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/work/work/legato/yocto/build_bin/tmp/sysroots-uninative/x86_64-linux/usr/bin:/work/work/legato/yocto/poky/scripts:/work/work/legato/yocto/build_bin/tmp/sysroots/x86_64-linux/usr/bin/arm-poky-linux-gnueabi:/work/work/legato/yocto/build_bin/tmp/sysroots/swi-mdm9x28-wp/usr/bin/crossscripts:/work/work/legato/yocto/build_bin/tmp/sysroots/x86_64-linux/usr/sbin:/work/work/legato/yocto/build_bin/tmp/sysroots/x86_64-linux/usr/bin:/work/work/legato/yocto/build_bin/tmp/sysroots/x86_64-linux/sbin:/work/work/legato/yocto/build_bin/tmp/sysroots/x86_64-linux/bin:/work/work/legato/yocto/poky/scripts:/work/work/legato/yocto/poky/bitbake/bin:/usr/local/bin:/bin:/usr/bin"; export HOME="/home/ruslans"; git -c core.fsyncobjectfiles=0 ls-remote https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils failed with exit code 128, output:
fatal: Unable to find remote helper for ‘https’

Someone says you need to reinstall git

hi!
i removed git
install curl and install git
its still have problem with helper on fetching https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils

Regards
Vladimir

did you find problem with the following?


owner@owner-ThinkPad-T440p:~/Documents$ git clone https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils
Cloning into ‘keyutils’…
remote: Counting objects: 1657, done.
remote: Total 1657 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (1657/1657), 314.30 KiB | 1.83 MiB/s, done.
Resolving deltas: 100% (1088/1088), done.
owner@owner-ThinkPad-T440p:~/Documents$ ls
interceptty-0.6 interceptty-0.6.tar.gz keyutils

hi!
Thanks for help
i have changed protocol type from htpps to git in bb file its compiled

i get zImage-initramfs-3.18.44-r1-swi-mdm9x28-wp-20181101132145.bin
is it image suitable for WP7607?

you should use this cwe file:
yocto/build_bin/tmp/deploy/images/swi-mdm9x28/yocto_wp76xx.4k.cwe