Git问题Bitbake陷入了do_fetch?

时间:2017-12-18 11:15:52

标签: git yocto bitbake imx6

这些是我的git2文件夹的内容:

rama@RRCH21:~/repositories/oe-core/build/downloads/git2$ ls
anongit.freedesktop.org.pkg-config                 git.kernel.org.pub.scm.utils.dtc.dtc.git.done
anongit.freedesktop.org.pkg-config.done            git.kernel.org.pub.scm.utils.kernel.kmod.kmod.git
anonscm.debian.org.collab-maint.ncurses.git        git.kernel.org.pub.scm.utils.kernel.kmod.kmod.git.done
anonscm.debian.org.collab-maint.ncurses.git.done   git.linaro.org.toolchain.binutils-gdb.git
git.denx.de.u-boot.git                             git.linaro.org.toolchain.binutils-gdb.git.done
git.denx.de.u-boot.git.done                        git.linaro.org.toolchain.gcc.git
github.com.Cyan4973.lz4.git                        git.linaro.org.toolchain.gcc.git.done
github.com.Cyan4973.lz4.git.done                   git.sv.gnu.org.config.git
github.com.file.file.git                           git.sv.gnu.org.config.git.done
github.com.file.file.git.done                      git.toradex.com.linux-toradex.git.lock
github.com.mendersoftware.mender                   git.toradex.com.u-boot-toradex.git
github.com.mendersoftware.mender.done              git.toradex.com.u-boot-toradex.git.done
github.com.philb.update-rc.d.git                   git.yoctoproject.org.opkg-utils
github.com.philb.update-rc.d.git.done              git.yoctoproject.org.opkg-utils.done
github.com.systemd.systemd.git                     git.yoctoproject.org.prelink-cross.git
github.com.systemd.systemd.git.done                git.yoctoproject.org.prelink-cross.git.done
git.infradead.org.mtd-utils.git                    git.yoctoproject.org.yocto-kernel-tools.git
git.infradead.org.mtd-utils.git.done               git.yoctoproject.org.yocto-kernel-tools.git.done
git.kernel.org.pub.scm.fs.ext2.e2fsprogs.git       sourceware.org.git.glibc.git
git.kernel.org.pub.scm.fs.ext2.e2fsprogs.git.done  sourceware.org.git.glibc.git.done
git.kernel.org.pub.scm.utils.dtc.dtc.git

在你建议的bitbake命令中,我没有看到任何linux名称文件(git.lock文件除外),我等了5分钟再次检查。  它再次被困在这里:

Initialising tasks: 100% |###########################################################################################| Time: 0:00:01
NOTE: Executing RunQueue Tasks
Currently  1 running tasks (64 of 65)  96% |####################################################################################   |
0: linux-toradex-4.1-2.0.x-2.7.5 do_fetch (pid 1125)  26% |###############

当我尝试通过以下设置尝试bit-core-image-minimal时:

NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.32.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "arm-angstrom-linux-gnueabi"
MACHINE           = "apalis-imx6"
DISTRO            = "angstrom"
DISTRO_VERSION    = "v2016.12"
TUNE_FEATURES     = "arm armv7a vfp thumb neon       callconvention-hard"
TARGET_FPU        = "hard"
meta-angstrom     = "HEAD:9625910bb4bb48b3f4d87a1e9ff3576d40bd656a"
meta-toradex-nxp  = "HEAD:c4f34b34bf34f44b974a7add623cafff17d880ad"
meta-freescale    = "HEAD:05681fdf8298bb441c15135eae424c7601b07e98"
meta-freescale-3rdparty = "HEAD:e55167c3c2770c07a475342f99cc2a3a23fbfa0c"
meta-toradex-tegra = "HEAD:8deaad62384fbe4f4079f62bb7fdfa70ef199236"
meta-jetson-tk1   = "HEAD:e8b87fe8da7c6fcffa37ab245f50082953cc1ee1"
meta-toradex-bsp-common = "HEAD:bb3fafea5a3094909c8d7fb3216c37210fcfc339"
meta-snappy       = "HEAD:f6df6a63756d9976bcccb5fefdbc64e5cc794c99"
meta-linaro-toolchain = "HEAD:5d2cb685217794293ea2bab18d7e62019c329d06"
meta-oe           
meta-efl          
meta-gpe          
meta-gnome        
meta-xfce         
meta-initramfs    
meta-systemd      
meta-networking   
meta-multimedia   
meta-python       = "HEAD:b40116cf457b88a2db14b86fda9627fb34d56ae6"
meta-lxde         = "HEAD:1bd36a4d0f7e1e9fdea9c4c991188bc1dc9da421"
meta-browser      = "HEAD:1569eeb9cc1b87632abbf35fbb05f4ac4eeb3987"
meta-qt4          = "HEAD:f389368dc86e745df14cab9eeb9a94bc02bd273e"
meta-qt5          = "HEAD:2c9f0e4eb0e9097f6f872ec1e1d81768a8ab5f1b"
meta-freescale-distro = "HEAD:cd5c7a2539f40004f74126e9fdf08254fd9a6390"
meta-toradex-demos = "HEAD:a08f1a3164e9ce16fca09f1f1c016b81eb1fcfaa"
meta              = "HEAD:93b7f83a4212409a55ddf568a34468d4f6ef2c06"
oe-meta-go        = "master:514b2a80a2a4235687e92fb28328bb3e7c2d6c74"

Initialising tasks: 100% |##########################################################################################################| Time: 0:00:04
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
Currently  1 running tasks (716 of 2038)  35% |##################################                                                                 |
0: linux-toradex-4.1-2.0.x-2.7.5 do_fetch (pid 2686)  26% |###################

它总是被困在(如上所示)linux toradex的26%,永远不会是那样的。我试过清理,清空tmp文件夹,像这样卡住了。任何可行的解决方案?

感谢。

1 个答案:

答案 0 :(得分:1)

打开路径git rebase -i HEAD~5中的linux-toradex-4.1-2.0.x-2.7.5.bb文件。然后获取meta-toradex/recipes-kernel/linux变量中的git链接 然后转到其他命令链接并让SRC_URI检查克隆git clone <git site >所花费的时间。它将显示速度和数据,然后您将了解linux repo编译是否卡住 例如:bitbake