update_gio_module_cache warning when building yocto-sdk

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

update_gio_module_cache warning when building yocto-sdk

2,306 Views
ollivinho
Contributor I

Dear,

Is there a solution for the following warning in Yocto:

WARNING: fsl-image-networking-1.0-r0 do_rootfs: The postinstall intercept hook 'update_gio_module_cache' failed


Log:

NOTE: Installing complementary packages ...
NOTE: Running ['oe-pkgdata-util', '-p', '/home/sandbox/qoriq-sdk-test/build_t1042d4rdb-64b/tmp/pkgdata/t1042d4rdb-64b', 'glob', '/tmp/installed-pkgscdugdaze', '']
NOTE: Running intercept scripts:
NOTE: > Executing update_gio_module_cache intercept ...
WARNING: The postinstall intercept hook 'update_gio_module_cache' failed, details in /home/sandbox/qoriq-sdk-test/build_t1042d4rdb-64b/tmp/work/t1042d4rdb_64b-fsl-linux/fsl-image-networking/1.0-r0/temp/log.do_rootfs
NOTE: Exit code 127. Output:
/home/sandbox/qoriq-sdk-test/build_t1042d4rdb-64b/tmp/work/t1042d4rdb_64b-fsl-linux/fsl-image-networking/1.0-r0/recipe-sysroot/usr/bin/crossscripts/qemuwrapper: 2: /home/sandbox/qoriq-sdk-test/build_t1042d4rdb-64b/tmp/work/t1042d4rdb_64b-fsl-linux/fsl-image-networking/1.0-r0/recipe-sysroot/usr/bin/crossscripts/qemuwrapper: qemu-ppc64: not found


Steps to reproduce:

repo init -u https://source.codeaurora.org/external/qoriq/qoriq-components/yocto-sdk -b sumo

repo sync --no-clone-bundle

. ./setup-env -m t1042d4rdb-64b

bitbake fsl-image-networking

Best regards,
Oliver Talevski

Labels (1)
0 Kudos
Reply
1 Reply

1,793 Views
Pavel
NXP Employee
NXP Employee

Do not use Ubuntu 16.

Usually the following command sequence is used for SDK installing under Ubuntu 14.04:

  1. sudo apt-get install ubuntu-minimal ubuntu-standard patch vim-common sed wget subversion git-core coreutils libbonobo2-common unzip texi2html texinfo libsdl1.2-dev docbook-utils gawk python-pysqlite2 diffstat make gcc build-essential xz-utils g++ desktop-file-utils chrpath libgl1-mesa-dev libglu1-mesa-dev autoconf automake groff libtool xterm libncurses5-dev cvs tofrodos

 

  1. a) command: ls -l /bin/sh

                Message:  /bin/sh -> dash

  1. b) command: sudo dpkg-reconfigure dash

                Answer after password – No

                Message:

                Removing 'diversion of /bin/sh to /bin/sh.distrib by dash'

                Adding 'diversion of /bin/sh to /bin/sh.distrib by bash'

                Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash'

                Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash'

  1. c) command for checking: ls -l /bin/sh

                Message: /bin/sh -> bash

 

  1. mount SDK 2.0 .iso file
  2. cd <sdk-install-dir>.
  3. ./sources/meta-freescale/scripts/host-prepare.sh

Usually Linux recommends also run the following command: sudo usr/sbin/visudo

  1. install SDK 2.0-1703
  2. bitbake fsl-image-minimal

 

Do you use the similar command sequence?


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply