Build Errors yocto poky linux(pyro)
Hi,
I have been trying to build yocto poky linux(pyro) on host PC(ubuntus16.04.4 on VirtualBox).
But it has finished building with following errors ,so I could not get builded image.
#
ERROR: linux-intel-4.9.81+gitAUTOINC+a2dfb1610d_c249d8e0ca-r0.1 do_unpack: Fetcher failure: Fetch command export [...my environment variable...]; git -c core.fsyncobjectfiles=0 checkout -B yocto-4.9 a2dfb1610d9dad34652a3c27c6c9d8751ed67af6 failed with exit code 128, output:
fatal: reference is not a tree: a2dfb1610d9dad34652a3c27c6c9d8751ed67af6
ERROR: linux-intel-4.9.81+gitAUTOINC+a2dfb1610d_c249d8e0ca-r0.1 do_unpack: Function failed: base_do_unpack
ERROR: Logfile of failure stored in: /home/apn/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-intel/4.9.81+gitAUTOINC+a2dfb1610d_c249d8e0ca-r0.1/temp/log.do_unpack.8177
ERROR: Task ([...my home directry path...]/poky/meta-intel/common/recipes-kernel/linux/linux-intel_4.9.bb:do_unpack) failed with exit code '1'
#
I have used following procedure for building yocto poky linux(pyoro):
#
git clone -b pyro git://git.yoctoproject.org/poky.git
cd poky
git clone -b pyro git://git.yoctoproject.org/meta-intel.git
git clone -b pyro git://git.openembedded.org/meta-openembedded
git clone -b pyro https://github.com/emutex/meta-up-board
TEMPLATECONF=meta-up-board/conf source oe-init-build-env
bitbake upboard-image-sato
#
Is threre any mistake or missing procedure in my procedure?
I would appreciate any sort of help with this issue.
Comments
-
Hi @Hideki ,
Your procedure looks fine as I can see: https://github.com/emutex/meta-up-board/tree/pyro
You could try to use that recipe to build your Yocto project:
1. Install the repo utility:
mkdir ~/bin
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
export PATH=$PATH:$HOME/bin
2. Download the BSP source:
mkdir aaeonc-yocto-bsp
cd aaeonc-yocto-bsp
repo init -u https://github.com/emutex/aaeonc-yocto-bsp.git -b pyro
repo sync
3. Build an Image
TEMPLATECONF=meta-aaeonc/conf source oe-init-build-env
bitbake core-image-satoCheers!!
-
Hi @ccalde ,
I had tried to that way of your comment, but I got some errors.
(1) an error in repo init
I had installed repo tool and I run following commad:repo init -u https://github.com/emutex/aaeonc-yocto-bsp.git -b pyro
I got error message :
fatal: repository 'https://github.com/emutex/aaeonc-yocto-bsp.git/' not found
I had tried to access to the above url with web browser also, I got 404 not found.
Is that repository(aaeonc-yocto-bsp) is right ?(2)Error in build an image
Avoiding repo init error, I used upboard-yocto-bsp repository instead of aaeonc-yocto-bsp, as following.repo init -u https://github.com/emutex/upboard-yocto-bsp.git -b pyro
I 'had got finished downloading bsp source successfly.
next, I had build an image, I had got same error in building an image without repo.Is there any information?
-
Hi @Hideki ,
That's strange. Your error looks like an unpack fail...
Are you update with the Yocto build utilities?
https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#ubuntu-packagesCheers!
-
Hi @ccalde ,
Are you update with the Yocto build utilities?
https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#ubuntu-packagesYes.
I had installed and updated yocto build utilities before downloading source and building image.- Installed package :
Required packages of "Essentials" and "Graphical and Eclipse Plug-In Extras" in mega-manual.
thanks,
- Installed package :
-
Hi Hideki,
I am also facing the same issue ( do_unpack: Fetcher failure) error. How did you solved the issue?
Can you please help me...Thanks,
Anirudh