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:
Solved! Go to Solution.
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:
Message: /bin/sh -> 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'
Message: /bin/sh -> bash
Usually Linux recommends also run the following command: sudo usr/sbin/visudo
/QorIQ-SDK-V2.0-20160527-yocto
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
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:
Message: /bin/sh -> 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'
Message: /bin/sh -> bash
Usually Linux recommends also run the following command: sudo usr/sbin/visudo
/QorIQ-SDK-V2.0-20160527-yocto
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------