pathspec 'gnulib' did not match any file(s) known to git while building Linux image with QorIQ-SDK-2.0-yocto.

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

pathspec 'gnulib' did not match any file(s) known to git while building Linux image with QorIQ-SDK-2.0-yocto.

Jump to solution
1,150 Views
yusufalti333
Contributor IV

I am building a Linux image using Yocto SDK for QorIQ T1042 PowerPC processor on my Ubuntu 16.04.

My problem is, when I try to build a full image using "bitbake fsl-image-full", there is an error says "pathspec 'gnulib' did not match any file(s) known to git."

I researched many forums but couldn't find any answer. Here is the full log from terminal.

|./bootstrap: Bootstrapping from checked-out netcf sources...  | ./bootstrap: consider installing git-merge-changelog from gnulib  | ./bootstrap: getting gnulib files...  | error: pathspec 'gnulib' did not match any file(s) known to git.  | WARNING: /media/hwlab/depo/CalismaBolgesi/YoctoInstallationPoint/yocto/build_mpx1042/tmp/work/ppce5500-fsl-linux/netcf/0.2.8+gitAUTOINC+9158278ad3-r0/temp/run.do_configure.24998:1 exit 1 from  |   ./bootstrap --force  | ERROR: Function failed: do_configure (log file is located at /media/hwlab/depo/CalismaBolgesi/YoctoInstallationPoint/yocto/build_mpx1042/tmp/work/ppce5500-fsl-linux/netcf/0.2.8+gitAUTOINC+9158278ad3-r0/temp/log.do_configure.24998)  ERROR: Task 4195 (/media/hwlab/depo/CalismaBolgesi/YoctoInstallationPoint/yocto/sources/meta-openembedded/meta-networking/recipes-support/netcf/netcf_git.bb, do_configure) failed with exit code '1'  NOTE: Tasks Summary: Attempted 2036 tasks of which 2031 didn't need to be rerun and 1 failed.  Waiting for 0 running tasks to finish:
0 Kudos
1 Solution
1,001 Views
Pavel
NXP Employee
NXP Employee

Use Ubuntu 12 or Ubuntu 14. Do not use Ubuntu 16 or Ubuntu 18.

Usually the following command sequence is used for SDK 2.0 installing under Ubuntu 14.04 64-bit:

  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 source .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. Change directory to SDK Yocto. Usually is the following:

/QorIQ-SDK-V2.0-20160527-yocto

  1. . fsl-setup-env -m b4860qds
  2. bitbake fsl-image-minimal

Have a great day,
Pavel Chubakov

 

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

View solution in original post

0 Kudos
1 Reply
1,002 Views
Pavel
NXP Employee
NXP Employee

Use Ubuntu 12 or Ubuntu 14. Do not use Ubuntu 16 or Ubuntu 18.

Usually the following command sequence is used for SDK 2.0 installing under Ubuntu 14.04 64-bit:

  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 source .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. Change directory to SDK Yocto. Usually is the following:

/QorIQ-SDK-V2.0-20160527-yocto

  1. . fsl-setup-env -m b4860qds
  2. bitbake fsl-image-minimal

Have a great day,
Pavel Chubakov

 

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

0 Kudos