在使用 Yocto 构建 Linux 图像时,pathspec 'gnulib' 与 git 已知的任何文件都不匹配

pathspec 'gnulib' did not match any file(s) known to git while building Linux image with Yocto

我正在 Ubuntu 16.04 上使用 Yocto SDK 为 QorIQ T1042 PowerPC 处理器构建一个 Linux 图像。

我的问题是,当我尝试使用 "bitbake fsl-image-full" 构建完整图像时,出现错误 "pathspec 'gnulib' did not match any file(s) known to git."

我研究了很多论坛,但找不到任何答案。这是来自终端的完整日志。

|./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:

此问题已在 3 年多前在元嵌入式中修复:https://git.openembedded.org/meta-openembedded/commit/?id=093942197237a0b79802d20ebcf3ae0ea35a66bc

考虑更新您的图层(或者如果它们来自供应商,请要求他们更新 SDK)或向后移植补丁。