Yocto make image_bin error

exars@exars-IStNX3-15HP038:~/workspace/boardSupport/yocto$ make image_bin
Makefile:57: "Legato: build disabled since '/home/exars/workspace/boardSupport/yocto/legato/' does not exist"
"meta-swi/build.sh" -p poky/ -o meta-openembedded/ -l meta-swi -x "kernel" -j 9 -t 9          -a "LK_REPO="/home/exars/workspace/boardSupport/yocto/lk"" -m swi-mdm9x28 -P wp  -b build_bin -q
Poky dir: /home/exars/workspace/boardSupport/yocto/poky
OE meta: /home/exars/workspace/boardSupport/yocto/meta-openembedded
SWI meta dir: /home/exars/workspace/boardSupport/yocto/meta-swi
Linux repo dir: /home/exars/workspace/boardSupport/yocto/kernel
Number of make threads 9
Number of bitbake tasks 9
Extra options added -  LK_REPO=/home/exars/workspace/boardSupport/yocto/lk
SWI machine: swi-mdm9x28
SWI product: wp
Build dir: /home/exars/workspace/boardSupport/yocto/build_bin
Enable Qualcomm Proprietary bin
You had no conf/local.conf file. This configuration file has therefore been
created for you with some default values. You may wish to edit it to, for
example, select a different MACHINE (target hardware). See conf/local.conf
for more information as common configuration options are commented.

You had no conf/bblayers.conf file. This configuration file has therefore been
created for you with some default values. To add additional metadata layers
into your configuration please add entries to conf/bblayers.conf.

The Yocto Project has extensive documentation about OE including a reference
manual which can be found at:
    http://yoctoproject.org/documentation

For more information about OpenEmbedded see their website:
    http://www.openembedded.org/


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

You can now run 'bitbake <target>'

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:255: recipe for target 'image_bin' failed
make: *** [image_bin] Error 1

You can see here

how about this ?

1 Like

still error

can you do the following in your PC?

git clone git://codeaurora.org/quic/la/platform/external/bluetooth/bluez git/codeaurora/bluez

it have the same error as before but cannot use
"git config --global url.“https://github.com/”.insteadOf git://github.com/ "
or
“git clone GitHub - angular/angular-phonecat: Tutorial on building an angular application.”

as pic below

you need to open a new folder to test

have same error

exars@exars-IStNX3-15HP038:~/workspace/boardSupport$ cd yocto
exars@exars-IStNX3-15HP038:~/workspace/boardSupport/yocto$ git clone git://source.codeaurora.org/quic/la/platform/external/bluetooth/bluez git/codeaurora/bluez
Cloning into 'git/codeaurora/bluez'...
remote: Enumerating objects: 144935, done.
remote: Total 144935 (delta 0), reused 0 (delta 0), pack-reused 144935
Receiving objects: 100% (144935/144935), 27.73 MiB | 1.61 MiB/s, done.
Resolving deltas: 100% (107585/107585), done.
exars@exars-IStNX3-15HP038:~/workspace/boardSupport/yocto$ make image_bin
Makefile:57: "Legato: build disabled since '/home/exars/workspace/boardSupport/yocto/legato/' does not exist"
"meta-swi/build.sh" -p poky/ -o meta-openembedded/ -l meta-swi -x "kernel" -j 9 -t 9          -a "LK_REPO="/home/exars/workspace/boardSupport/yocto/lk"" -m swi-mdm9x28 -P wp  -b build_bin -q
Poky dir: /home/exars/workspace/boardSupport/yocto/poky
OE meta: /home/exars/workspace/boardSupport/yocto/meta-openembedded
SWI meta dir: /home/exars/workspace/boardSupport/yocto/meta-swi
Linux repo dir: /home/exars/workspace/boardSupport/yocto/kernel
Number of make threads 9
Number of bitbake tasks 9
Extra options added -  LK_REPO=/home/exars/workspace/boardSupport/yocto/lk
SWI machine: swi-mdm9x28
.
.
.
ERROR: ExpansionError during parsing /home/exars/workspace/boardSupport/yocto/meta-swi/meta-swi-mdm9xxx/recipes-bsp/android-signing/android-signing-native.bb
Traceback (most recent call last):
bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus,guid=dac5238484263ebf22ea44326305a994"; export SSH_AGENT_PID="1586"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/exars/workspace/boardSupport/yocto/poky/scripts/native-intercept:/home/exars/workspace/boardSupport/yocto/poky/scripts:/home/exars/workspace/boardSupport/yocto/build_bin/tmp/work/x86_64-linux/android-signing-native/1.0-r1/recipe-sysroot-native/usr/bin/x86_64-linux:/home/exars/workspace/boardSupport/yocto/build_bin/tmp/work/x86_64-linux/android-signing-native/1.0-r1/recipe-sysroot-native/usr/bin:/home/exars/workspace/boardSupport/yocto/build_bin/tmp/work/x86_64-linux/android-signing-native/1.0-r1/recipe-sysroot-native/usr/sbin:/home/exars/workspace/boardSupport/yocto/build_bin/tmp/work/x86_64-linux/android-signing-native/1.0-r1/recipe-sysroot-native/usr/bin:/home/exars/workspace/boardSupport/yocto/build_bin/tmp/work/x86_64-linux/android-signing-native/1.0-r1/recipe-sysroot-native/sbin:/home/exars/workspace/boardSupport/yocto/build_bin/tmp/work/x86_64-linux/android-signing-native/1.0-r1/recipe-sysroot-native/bin:/home/exars/workspace/boardSupport/yocto/poky/bitbake/bin:/home/exars/workspace/boardSupport/yocto/build_bin/tmp/hosttools"; export HOME="/home/exars"; git -c core.fsyncobjectfiles=0 ls-remote git://github.com/braddu/android-signing.git  failed with exit code 128, output:
fatal: I don't handle protocol '“https'



Summary: There were 30 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Makefile:255: recipe for target 

can you try the yocto source of R16.0.1?

https://source.sierrawireless.com/resources/airprime/software/wp76xx/wp76xx-firmware-release-16,-d-,0,-d-,1-components/#sthash.KFGymtuk.PDFM66vD.dpbs

BTW, i don’t see problem:

owner@ubuntu:~/test$ git clone git://codeaurora.org/quic/la/platform/external/bluetooth/bluez git/codeaurora/bluez
Cloning into 'git/codeaurora/bluez'...
remote: Enumerating objects: 144935, done.
remote: Total 144935 (delta 0), reused 0 (delta 0), pack-reused 144935
Receiving objects: 100% (144935/144935), 27.10 MiB | 627.00 KiB/s, done.
Resolving deltas: 100% (107653/107653), done.

Seems your PC has some problem…

it said the link is not found

no idea as i don’t see such problem in Ubuntu 18.
You can try another PC and see if it is the same result

I also tried on another PC with Ubuntu 16, no problem is found:


owner@CNHKG-EX-001367:~/test$ git clone git://codeaurora.org/quic/la/platform/external/bluetooth/bluez git/codeaurora/bluez
Cloning into 'git/codeaurora/bluez'...
remote: Enumerating objects: 144935, done.
remote: Total 144935 (delta 0), reused 0 (delta 0), pack-reused 144935
Receiving objects: 100% (144935/144935), 27.10 MiB | 80.00 KiB/s, done.
Resolving deltas: 100% (107653/107653), done.
owner@CNHKG-EX-001367:~/test$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.7 LTS
Release:	16.04
Codename:	xenial

Seems your PC has some problem…

I have use other PC to run it also cannot build yocto
before build yocto do I have to install anything??(at the first time for build)

is it same error as before?

You can also see here:

got this one

no idea , never saw this before…

I have build yocto for R16 but while building 50% PC is auto restart.
How can I fix it??

you should check with PC manufacturer