# Source code compilation

**URL:** <https://forum.legato.io/t/source-code-compilation/1987>\
**Category:** Legato Linux distribution (Yocto project)\
**Created:** [December 1, 2014, 1:33pm UTC](https://forum.legato.io/t/source-code-compilation/1987 "2014-12-01T13:33:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ailau](https://avatars.discourse-cdn.com/v4/letter/a/f04885/32.png) [@ailau](https://forum.legato.io/u/ailau)\
**Post date:** [December 1, 2014, 1:33pm UTC](https://forum.legato.io/t/source-code-compilation/1987/1 "2014-12-01T13:33:21Z")

</div>

I’ve tried to rebuild the code Legato-Dist-Source-mdm9x15-14.10.tar.bz2 the build ./build.sh -p …/poky/ -o …/meta-openembedded/ -l …/meta-swi -m swi-mdm9x15 -d -c goes ok through but any bitbake gives error,-  
bitbake meta-toolchain-gmae  
Loading cache: 100% |###########################################################| ETA: 00:00:00  
Loaded 1023 entries from dependency cache.  
NOTE: Error during finalise of /home/ailau/SierraModem/LegatoYocto1410/poky/meta/recipes-kernel/linux/linux-yocto\_3.4.bb  
ERROR: ExpansionError during parsing /home/ailau/SierraModem/LegatoYocto1410/poky/meta/recipes-kernel/linux/linux-yocto\_3.4.bb: Failure expanding variable do\_patch: ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get\_srcrev(d)} which triggered exception MalformedUrl: The URL: ‘git://;protocol=file;branch=standard/swi-mdm9x15-yocto-1.6-swi,meta-yocto-1.6-swi;name=machine,meta’ is invalid and cannot be interpreted

Summary: There was 1 ERROR message shown, returning a non-zero exit code.

is it anything I’m missing here?

---

<div class="post-metadata">

**Author:** ![JayM2M](https://avatars.discourse-cdn.com/v4/letter/j/3d9bf3/32.png) [@JayM2M](https://forum.legato.io/u/JayM2M)\
**Post date:** [December 1, 2014, 2:55pm UTC](https://forum.legato.io/t/source-code-compilation/1987/2 "2014-12-01T14:55:04Z")

</div>

Hi,

It is better to use directly “make” instead of the “build.sh” script to build the distro.

Go in the root folder of your Yocto distro (/home/ailau/SierraModem/LegatoYocto1410) and simply run “make”.

The first time it will connect to some repositories in order to collect some meta layers and recipes.

Also, be sure that the tool chain (Legato-Toolchain-mdm9x15-14.10-x86\_64.sh) has been installed prior to build Yocto.

Let us know if it is working better using the “make” command.

Jay

---

<div class="post-metadata">

**Author:** ![ailau](https://avatars.discourse-cdn.com/v4/letter/a/f04885/32.png) [@ailau](https://forum.legato.io/u/ailau)\
**Post date:** [December 3, 2014, 8:21am UTC](https://forum.legato.io/t/source-code-compilation/1987/3 "2014-12-03T08:21:28Z")

</div>

make works fine but as soon as I try to use bitbake getting python start child process errors. I’m trying to add java with no evel for now.

ailau@ubuntu:~/SierraModem/LegatoYocto1410/build\_bin$ …/poky/bitbake/bin/bitbake oracle-jse-ejre-arm-vfp-hflt-client-headless  
Loading cache: 100% |##########################################################################################################################################################################| ETA: 00:00:00  
Loaded 1875 entries from dependency cache.  
Parsing recipes: 100% |########################################################################################################################################################################| Time: 00:00:00  
Parsing of 1444 .bb files complete (1443 cached, 1 parsed). 1875 targets, 71 skipped, 0 masked, 0 errors.  
WARNING: No bb files matched BBFILE\_PATTERN\_swi-bin ‘^/home/ailau/SierraModem/LegatoYocto1410/meta-swi-extras/meta-swi-bin/’  
NOTE: Resolving any missing task queue dependencies

Build Configuration:  
BB\_VERSION = “1.22.0”  
BUILD\_SYS = “x86\_64-linux”  
NATIVELSBSTRING = “Ubuntu-14.04”  
TARGET\_SYS = “arm-poky-linux-gnueabi”  
MACHINE = “swi-mdm9x15”  
DISTRO = “poky-swi-ext”  
DISTRO\_VERSION = “1.6.1”  
TUNE\_FEATURES = “armv7a vfp neon”  
TARGET\_FPU = “vfp-neon”  
meta  
meta-yocto  
meta-yocto-bsp = “(detachedfrombda51ee):bda51ee7821de9120f6f536fcabe592f2a0c8a37”  
meta-oracle-java = “master:d5256fe7ae592f19ffe0619c093b333eb9f92a93”  
meta-networking  
meta-oe = “(detachedfrom8e6f6e4):8e6f6e49c99a12a0382e48451f37adac0181362f”  
meta-swi  
meta-swi-mdm9x15  
meta-swi-extras  
meta-swi-bin = “:”

NOTE: Preparing runqueue  
ERROR: An uncaught exception occured in runqueue, please see the failure below:  
ERROR: Running idle function  
Traceback (most recent call last):  
File “…/poky/bitbake/lib/bb/runqueue.py”, line 1048, in RunQueue.\_execute\_runqueue():  
else:  
\> self.start\_worker()  
self.rqexe = RunQueueExecuteScenequeue(self)  
File “…/poky/bitbake/lib/bb/runqueue.py”, line 919, in RunQueue.start\_worker():  
self.teardown = False  
\> self.worker, self.workerpipe = self.\_start\_worker()

File “…/poky/bitbake/lib/bb/runqueue.py”, line 870, in RunQueue.\_start\_worker(fakeroot=False, rqexec=None):  
else:  
\> worker = subprocess.Popen([“bitbake-worker”, “decafbad”], stdout=subprocess.PIPE, stdin=subprocess.PIPE)  
bb.utils.nonblockingfd(worker.stdout)  
File “/usr/lib/python2.7/subprocess.py”, line 710, in Popen. **init** (args=[‘bitbake-worker’, ‘decafbad’], bufsize=0, executable=None, stdin=-1, stdout=-1, stderr=None, preexec\_fn=None, close\_fds=False, shell=False, cwd=None, env=None, universal\_newlines=False, startupinfo=None, creationflags=0):  
c2pread, c2pwrite,  
\> errread, errwrite)  
except Exception:  
File “/usr/lib/python2.7/subprocess.py”, line 1327, in Popen.\_execute\_child(args=[‘bitbake-worker’, ‘decafbad’], executable=‘bitbake-worker’, preexec\_fn=None, close\_fds=False, cwd=None, env=None, universal\_newlines=False, startupinfo=None, creationflags=0, shell=False, to\_close=set([20, 21]), p2cread=19, p2cwrite=20, c2pread=21, c2pwrite=22, errread=None, errwrite=None):  
child\_exception = pickle.loads(data)  
\> raise child\_exception

OSError: [Errno 2] No such file or directory

NOTE: Tasks Summary: Attempted 0 tasks of which 0 didn’t need to be rerun and all succeeded.

Summary: There was 1 WARNING message shown.  
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

---

<div class="post-metadata">

**Author:** ![JayM2M](https://avatars.discourse-cdn.com/v4/letter/j/3d9bf3/32.png) [@JayM2M](https://forum.legato.io/u/JayM2M)\
**Post date:** [December 3, 2014, 4:30pm UTC](https://forum.legato.io/t/source-code-compilation/1987/4 "2014-12-03T16:30:40Z")

</div>

May be it is easier to add Oracle Java as part of the target image recipe and then simply use “make” to rebuild the rootfs image.

In “meta-swi/meta-swi-mdm9x15/recipes-core/images/mdm9x15-image.inc”,  
add the following line:  
IMAGE\_INSTALL += “oracle-jse-ejre-arm-vfp-hflt-client-headless”

Also be sure that the meta layer “meta-oracle-java” is part of the bblayers.conf:  
BBLAYERS ?= "   
/home/xxx/LegatoYocto1410/poky/meta   
/home/xxx/LegatoYocto1410/poky/meta-yocto   
/home/xxx/LegatoYocto1410/poky/meta-yocto-bsp   
[color=#FF0000]/home/xxx/LegatoYocto1410/meta-oracle-java [/color]  
/home/xxx/LegatoYocto1410/meta-openembedded/meta-networking   
/home/xxx/LegatoYocto1410/meta-openembedded/meta-oe   
/home/xxx/LegatoYocto1410/meta-swi   
/home/xxx/LegatoYocto1410/meta-swi/meta-swi-mdm9x15   
/home/xxx/LegatoYocto1410/meta-swi-extras   
/home/xxx/LegatoYocto1410/meta-swi-extras/meta-swi-bin   
"

Jay

---

<div class="post-metadata">

**Author:** ![ailau](https://avatars.discourse-cdn.com/v4/letter/a/f04885/32.png) [@ailau](https://forum.legato.io/u/ailau)\
**Post date:** [December 5, 2014, 7:14am UTC](https://forum.legato.io/t/source-code-compilation/1987/5 "2014-12-05T07:14:46Z")

</div>

make doesn’t work ether,-  
it is a lot of file are moved/replaced/changed since last change of documentation.

Configuring reboot-daemon.  
Collected errors:

- preinst\_configure: Aborting installation of dbus-1.
- opkg\_install\_cmd: Cannot install package ppp.

ERROR: Function failed: do\_rootfs  
ERROR: Logfile of failure stored in: /home/ailau/SierraModem/LegatoYocto1410/build\_bin/tmp/work/swi\_mdm9x15-poky-linux-gnueabi/mdm9x15-image-minimal/1.0-r0.0/temp/log.do\_rootfs.4784  
ERROR: Task 7 (/home/ailau/SierraModem/LegatoYocto1410/meta-swi/meta-swi-mdm9x15/recipes-core/images/mdm9x15-image-minimal.bb, do\_rootfs) failed with exit code ‘1’  
NOTE: Tasks Summary: Attempted 2457 tasks of which 2456 didn’t need to be rerun and 1 failed.  
No currently running tasks (2456 of 2458)

Summary: 1 task failed:  
/home/ailau/SierraModem/LegatoYocto1410/meta-swi/meta-swi-mdm9x15/recipes-core/images/mdm9x15-image-minimal.bb, do\_rootfs  
Summary: There was 1 WARNING message shown.  
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.  
make: \*\*\* [image\_bin] Error 1

---

<div class="post-metadata">

**Author:** ![ailau](https://avatars.discourse-cdn.com/v4/letter/a/f04885/32.png) [@ailau](https://forum.legato.io/u/ailau)\
**Post date:** [December 9, 2014, 5:16pm UTC](https://forum.legato.io/t/source-code-compilation/1987/6 "2014-12-09T17:16:05Z")

</div>

| In file included from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23:0,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23,  
| from …/ports/sysdeps/arm/nptl/pthread\_spin\_lock.c:23:  
| …/ports/sysdeps/arm/sysdeps/…/nptl/pthread\_spin\_lock.c:23:47: error: #include nested too deeply  
| make[2]: \*\*\* [/home/ailau/SierraModem/LegatoYocto1410/build\_bin/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/eglibc/2.19-r0/build-arm-poky-linux-gnueabi/nptl/pthread\_spin\_lock.o] Error 1  
| make[2]: \*\*\* Waiting for unfinished jobs…  
| make[2]: Leaving directory `/home/ailau/SierraModem/LegatoYocto1410/build_bin/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/eglibc/2.19-r0/eglibc-2.19/libc/nptl' | make[1]: *** [nptl/subdir_lib] Error 2 | make[1]: Leaving directory `/home/ailau/SierraModem/LegatoYocto1410/build\_bin/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/eglibc/2.19-r0/eglibc-2.19/libc’  
| make: \*\*\* [install] Error 2  
| ERROR: oe\_runmake failed  
| WARNING: /home/ailau/SierraModem/LegatoYocto1410/build\_bin/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/eglibc/2.19-r0/temp/run.do\_install.29749:1 exit 1 from  
| exit 1  
| ERROR: Function failed: do\_install (log file is located at /home/ailau/SierraModem/LegatoYocto1410/build\_bin/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/eglibc/2.19-r0/temp/log.do\_install.29749)  
ERROR: Task 35 (/home/ailau/SierraModem/LegatoYocto1410/poky/meta/recipes-core/eglibc/eglibc\_2.19.bb, do\_install) failed with exit code ‘1’  
NOTE: Tasks Summary: Attempted 1334 tasks of which 1325 didn’t need to be rerun and 1 failed.  
No currently running tasks (1334 of 2446)

Summary: 1 task failed:  
/home/ailau/SierraModem/LegatoYocto1410/poky/meta/recipes-core/eglibc/eglibc\_2.19.bb, do\_install  
Summary: There were 2 WARNING messages shown.  
Summary: There was 1 ERROR message shown, returning a non-zero exit code.  
make: \*\*\* [image\_bin] Error 1

---

<div class="post-metadata">

**Author:** ![ailau](https://avatars.discourse-cdn.com/v4/letter/a/f04885/32.png) [@ailau](https://forum.legato.io/u/ailau)\
**Post date:** [December 10, 2014, 1:34pm UTC](https://forum.legato.io/t/source-code-compilation/1987/7 "2014-12-10T13:34:24Z")

</div>

by running make on just downloaded LegatoYocto1410, I’m getting warning,-

Build image of minimal rootfs.  
WARNING: Use of PRINC 1 was detected in the recipe /home/ailau/Sierrabkp/LegatoYocto1410/poky/meta/recipes-bsp/formfactor/formfactor\_0.0.bb (or one of its .bbappends)  
Use of PRINC is deprecated. The PR server should be used to automatically increment the PR. See: [wiki.yoctoproject.org/wiki/PR\_Service](https://wiki.yoctoproject.org/wiki/PR_Service).  
Parsing recipes: 100% |#########################################| Time: 00:01:08  
Parsing of 1439 .bb files complete (0 cached, 1439 parsed). 1868 targets, 71 skipped, 0 masked, 0 errors.  
WARNING: No bb files matched BBFILE\_PATTERN\_swi-bin ‘^/home/ailau/Sierrabkp/LegatoYocto1410/meta-swi-extras/meta-swi-bin/’  
NOTE: Resolving any missing task queue dependencies

is it, how it supposed to be?
