Dear Experts,
I am new to Yocto and Linux environment.
Almost spent a month of time but failed to build
Could you please confirm the following installation procedure which i performed
Kindly do correct me.
Thank You!
Essentials:
$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \
xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \
xterm
$ sudo zypper install dblatex xmlto
Git 1.8.3.1 or greater
tar 1.27 or greater
Python 3.4.0 or greater
1.3.1. Downloading a Pre-Built buildtools Tarball
Locate and download the *.sh at http://downloads.yoctoproject.org/releases/yocto/yocto-2.7.1/buildtools/.
Execute the installation script. Here is an example:
$ sh ~/Downloads/x86_64-buildtools-nativesdk-standalone-2.7.1.sh
Execute the installation script. Here is an example:
$ sh ~/Downloads/x86_64-buildtools-nativesdk-standalone-2.7.1.sh
During execution, a prompt appears that allows you to choose the installation directory. For example, you could choose the following:
/home/your-username/buildtools
source /home/your_username/buildtools/environment-setup-x86-64-poky-linux
Essential Yocto Project host packages are:
$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
build-essential chrpath socat libsdl1.2-dev
$ mkdir ~/bin
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repov
$ chmod a+x ~/bin/repo
$ PATH-${PATH}:~/bin
Yocto Project Setup
$ git config --global user.name "Your Name"
$ git config --global user.email "Your Email"
$ git config --list8
$ mkdir imx-yocto-bsp
$ cd imx-yocto-bsp
$ repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-sumo -m
imx-4.14.98-2.0.0_ga.xml
$ repo sync
$ DISTRO=fsl-imx-xwayland MACHINE=imx8qxpmek source fsl-setup-release.sh -b build-xwayland
$ bitbake fsl-image-qt5-validation-imx
Hi bhanurajesh.bhadry@valeo.com,
You Just need to follow the steps provided in the document that is attached by you. Step 3 and Step 4 are not part of the Yocto Project User Guide. Can you please only follow the steps mentioned in the guide and let us know the error logs.
Regards,
Kunal
HI Kunal,
I skip steps 3 & 4...getting the following error with build brek
NOTE: Your conf/bblayers.conf has been automatically updated.
Parsing recipes: 100% |######################################################################################################################################################################| Time: 0:01:13
Parsing of 2562 .bb files complete (0 cached, 2562 parsed). 3483 targets, 221 skipped, 8 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Multiple providers are available for runtime ptpd (ptpd, ptpd-qoriq)
Consider defining a PREFERRED_RPROVIDER entry to match ptpd
NOTE: Multiple providers are available for runtime ptpd-dev (ptpd, ptpd-qoriq)
Consider defining a PREFERRED_RPROVIDER entry to match ptpd-dev
Build Configuration:
BB_VERSION = "1.38.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-16.04"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8qxpmek"
DISTRO = "fsl-imx-xwayland"
DISTRO_VERSION = "4.14-sumo"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta
meta-poky = "HEAD:c9bd4984f8f471ca2c43052714f4413ba99cf171"
meta-oe
meta-multimedia = "HEAD:8760facba1bceb299b3613b8955621ddaa3d4c3f"
meta-freescale = "HEAD:27ca94f8a4336790ba117b4298566f6820e7e74c"
meta-freescale-3rdparty = "HEAD:82037216280a39957fb4272581637abec734ad50"
meta-freescale-distro = "HEAD:f7e2216e93aff14ac32728a13637a48df436b7f4"
meta-bsp
meta-sdk = "HEAD:8eeb420fad668b733ab95b460895e1c337c66b25"
meta-browser = "HEAD:75640e14e325479c076b6272b646be7a239c18aa"
meta-gnome
meta-networking
meta-python
meta-filesystems = "HEAD:8760facba1bceb299b3613b8955621ddaa3d4c3f"
meta-qt5 = "HEAD:d4e7f73d04e8448d326b6f89908701e304e37d65"
Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:06
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: quilt-native-0.65-r0 do_compile: oe_runmake failed
ERROR: quilt-native-0.65-r0 do_compile: Function failed: do_compile (log file is located at /home/valeo-isc/imx-yocto-bsp/build-xwayland/tmp/work/x86_64-linux/quilt-native/0.65-r0/temp/log.do_compile.11442)
ERROR: Logfile of failure stored in: /home/valeo-isc/imx-yocto-bsp/build-xwayland/tmp/work/x86_64-linux/quilt-native/0.65-r0/temp/log.do_compile.11442
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8
| bin/quilt.in -> bin/quilt
| bin/guards.in -> bin/guards
| quilt/grep.in -> quilt/grep
| quilt/upgrade.in -> quilt/upgrade
| quilt/refresh.in -> quilt/refresh
| quilt/fold.in -> quilt/fold
| quilt/revert.in -> quilt/revert
| quilt/pop.in -> quilt/pop
| quilt/header.in -> quilt/header
| quilt/remove.in -> quilt/remove
| quilt/annotate.in -> quilt/annotate
| quilt/diff.in -> quilt/diff
| quilt/graph.in -> quilt/graph
| quilt/edit.in -> quilt/edit
| quilt/mail.in -> quilt/mail
| quilt/fork.in -> quilt/fork
| quilt/add.in -> quilt/add
| quilt/top.in -> quilt/top
| quilt/push.in -> quilt/push
| quilt/new.in -> quilt/new
| quilt/applied.in -> quilt/applied
| quilt/import.in -> quilt/import
| quilt/previous.in -> quilt/previous
| quilt/next.in -> quilt/next
| quilt/series.in -> quilt/series
| quilt/delete.in -> quilt/delete
| quilt/patches.in -> quilt/patches
| quilt/snapshot.in -> quilt/snapshot
| quilt/files.in -> quilt/files
| quilt/setup.in -> quilt/setup
| quilt/rename.in -> quilt/rename
| quilt/unapplied.in -> quilt/unapplied
| quilt/scripts/patchfns.in -> quilt/scripts/patchfns
| quilt/scripts/dependency-graph.in -> quilt/scripts/dependency-graph
| quilt/scripts/inspect-wrapper.in -> quilt/scripts/inspect-wrapper
| quilt/scripts/edmail.in -> quilt/scripts/edmail
| Segmentation fault (core dumped)
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/valeo-isc/imx-yocto-bsp/build-xwayland/tmp/work/x86_64-linux/quilt-native/0.65-r0/temp/log.do_compile.11442)
ERROR: Task (/home/valeo-isc/imx-yocto-bsp/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 20 tasks of which 0 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/valeo-isc/imx-yocto-bsp/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
HI Kunal the following is the error log file
Thank You
DEBUG: Executing shell function do_compile
NOTE: make -j 8
bin/quilt.in -> bin/quilt
bin/guards.in -> bin/guards
quilt/grep.in -> quilt/grep
quilt/upgrade.in -> quilt/upgrade
quilt/refresh.in -> quilt/refresh
quilt/fold.in -> quilt/fold
quilt/revert.in -> quilt/revert
quilt/pop.in -> quilt/pop
quilt/header.in -> quilt/header
quilt/remove.in -> quilt/remove
quilt/annotate.in -> quilt/annotate
quilt/diff.in -> quilt/diff
quilt/graph.in -> quilt/graph
quilt/edit.in -> quilt/edit
quilt/mail.in -> quilt/mail
quilt/fork.in -> quilt/fork
quilt/add.in -> quilt/add
quilt/top.in -> quilt/top
quilt/push.in -> quilt/push
quilt/new.in -> quilt/new
quilt/applied.in -> quilt/applied
quilt/import.in -> quilt/import
quilt/previous.in -> quilt/previous
quilt/next.in -> quilt/next
quilt/series.in -> quilt/series
quilt/delete.in -> quilt/delete
quilt/patches.in -> quilt/patches
quilt/snapshot.in -> quilt/snapshot
quilt/files.in -> quilt/files
quilt/setup.in -> quilt/setup
quilt/rename.in -> quilt/rename
quilt/unapplied.in -> quilt/unapplied
quilt/scripts/patchfns.in -> quilt/scripts/patchfns
quilt/scripts/dependency-graph.in -> quilt/scripts/dependency-graph
quilt/scripts/inspect-wrapper.in -> quilt/scripts/inspect-wrapper
quilt/scripts/edmail.in -> quilt/scripts/edmail
Segmentation fault (core dumped)
ERROR: oe_runmake failed
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_compile (log file is located at /home/valeo-isc/imx-yocto-bsp/build-xwayland/tmp/work/x86_64-linux/quilt-native/0.65-r0/temp/log.do_compile.11442)
Hi bhanurajesh.bhadry@valeo.com,
We are able to build it successfully by following your mentioned steps no. 1,2,5,6,7,8.(skip the steps 3 and 4 which is not required). So, Can you please try to build by only following the steps no. 1,2,5,6,7,8.
Regards,
Kunal
Hi,
Seems the problem is with Mouse Laptop.
Built on ASUS Laptop build successfully.
Thank You!