# Problem to compile yocto base R15 env

**URL:** <https://forum.legato.io/t/problem-to-compile-yocto-base-r15-env/6346>\
**Category:** Legato Linux distribution (Yocto project)\
**Created:** [November 23, 2022, 7:28am UTC](https://forum.legato.io/t/problem-to-compile-yocto-base-r15-env/6346 "2022-11-23T07:28:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alban.fricot](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@alban.fricot](https://forum.legato.io/u/alban.fricot)\
**Post date:** [November 23, 2022, 7:28am UTC](https://forum.legato.io/t/problem-to-compile-yocto-base-r15-env/6346/1 "2022-11-23T07:28:24Z")

</div>

Hi,

I want to include python on my FX30 release R15.  
I have downloaded with the command “leaf getsrc swi-linux” the yocto base.  
When I try to compile with the following command make PROD=fx30,  
I have the following result:

~/myWorkspace/swi-linux-src$ make PROD=fx30  
“meta-columbia-x/build.py” --poky-dir=poky/ --meta-oe-dir=meta-openembedded/ --meta-swi-dir=meta-swi --linux-repo-dir=“kernel” --make-threads=9 --bitbake-tasks=9 --enable-legato --recipe-args=“LEGATO\_WORKDIR=/home/africot/myWorkspace/swi-linux-src/legato/” --recipe-args=LK\_REPO\_DIR=“/home/africot/myWorkspace/swi-linux-src”::LK\_REPO\_NAME=“lk”::LK\_REPO=“file://lk” --machine-type=swi-mdm9x06 --recipe-args=KBRANCH\_DEFAULT\_MDM9X15= --recipe-args=KMETA\_DEFAULT\_MDM9X15= --product=fx30 --fx30-variant=catm --build-dir=build\_bin --enable-prop-bin --enable-columbia-public  
grep: .config: Aucun fichier ou dossier de ce type  
grep: .config: Aucun fichier ou dossier de ce type  
grep: .config: Aucun fichier ou dossier de ce type  
grep: .config: Aucun fichier ou dossier de ce type  
grep: .config: Aucun fichier ou dossier de ce type  
grep: .config: Aucun fichier ou dossier de ce type  
grep: .config: Aucun fichier ou dossier de ce type  
grep: .config: Aucun fichier ou dossier de ce type

meta-columbia-x/build.py: building with these options:

help: False  
poky\_dir: /home/africot/myWorkspace/swi-linux-src/poky  
meta\_oe\_dir: /home/africot/myWorkspace/swi-linux-src/meta-openembedded  
meta\_swi\_dir: /home/africot/myWorkspace/swi-linux-src/meta-swi  
linux\_repo\_dir: /home/africot/myWorkspace/swi-linux-src/kernel  
distro: poky-swi  
machine\_type: swi-mdm9x06  
product: fx30  
build\_dir: /home/africot/myWorkspace/swi-linux-src/build\_bin  
bitbake\_tasks: 9  
make\_threads: 9  
enable\_preempt\_rt: False  
enable\_legato: True  
kernel\_version: 4.14  
kernel\_provider: linux-msm  
enable\_recovery\_image: False  
enable\_extended\_image: False  
enable\_debug\_image: False  
enable\_ima: False  
ima\_config\_file:  
bitbake\_flags:  
enable\_icecc: False  
enable\_shared\_sstate: False  
enable\_prop\_bin: True  
enable\_prop\_src: False  
apps\_proc\_dir:  
firmware\_version:  
ar\_yocto\_path:  
enable\_mangoh: False  
enable\_qemu: False  
cmdline\_mode: False  
debug\_image: False  
build\_toolchain: False  
recipe\_args: [‘LEGATO\_WORKDIR=/home/africot/myWorkspace/swi-linux-src/legato/’, ‘LK\_REPO\_DIR=/home/africot/myWorkspace/swi-linux-src::LK\_REPO\_NAME=lk::LK\_REPO=file://lk’, ‘KBRANCH\_DEFAULT\_MDM9X15=’, ‘KMETA\_DEFAULT\_MDM9X15=’]  
extra\_layers:  
fx30\_variant: catm  
enable\_columbia\_public: True  
product\_family: fx  
meta-columbia-x/build.py: ERROR: build requires /bin/sh to be GNU Bash  
make: \*\*\* [meta-columbia-x/common.mk:345 : image\_bin] Erreur 1

Any idea ?

Thanks,  
Alban

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [November 23, 2022, 7:51am UTC](https://forum.legato.io/t/problem-to-compile-yocto-base-r15-env/6346/2 "2022-11-23T07:51:45Z")

</div>

you can try this:

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

```

Or you can see here:

> **[configure: error: /bin/sh must be GNU Bash\_windtakers的博客-CSDN博客](https://blog.csdn.net/fervor_heart/article/details/8668700)**
>
> 今天在做WR linux 3.0 的configure 的时候，报错configure: error: /bin/sh must be GNU Bash。百度瞬间废物，什么资料也查不到，最好google 立马解决问题，还是直接搜到了Wind River 的技术论坛：https://developer.windriver.com/thread/1195/bin/sh ne
