简体   繁体   English

Git问题Bitbake被卡在do_fetch吗?

[英]Git issue Bitbake gets stuck at do_fetch?

These are the contents of my git2 folder: 这些是我的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

I dont see any linux name files(except the git.lock file) during the bitbake command you suggested, I waited 5 minutes and checked again the same. 在您建议的bitbake命令期间,我没有看到任何Linux名称文件(git.lock文件除外),我等待了5分钟,然后再次检查了相同的文件。 and it is again stuck here : 再次卡在这里:

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% |###############

When I try to bitbake core-image-minimal with the setup below: 当我尝试使用下面的设置对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% |###################

It always gets stuck at(as seen above) linux toradex with 26%, never goes beyong that. 它总是卡在(如上所示)Linux toradex上,占26%,从来没有发生过。 I tried cleaning, emptying tmp folder, gets stuck like this. 我尝试清洁,清空tmp文件夹,像这样卡住了。 Any solution that might work? 任何可行的解决方案?

Thanks. 谢谢。

Open your linux-toradex-4.1-2.0.x-2.7.5.bb file present in the path meta-toradex/recipes-kernel/linux . 打开路径meta-toradex/recipes-kernel/linux存在的linux-toradex-4.1-2.0.x-2.7.5.bb文件。 Then take the git link present in SRC_URI variable. 然后使用SRC_URI变量中存在的git链接。
Then go to other command link and give git clone <git site > check how much time it is taking to clone the linux repo . 然后转到其他命令链接,并给git clone <git site >检查克隆linux repo需要多少时间。 It will show the speed and data then you will come to understand the bitbake compile stuck or not. 它会显示速度和数据,然后您将了解bitbake编译卡住与否。
eg: git clone -b your-branch git://git.toradex.com/linux-toradex.git 例如: git clone -b your-branch git://git.toradex.com/linux-toradex.git

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM