[meta-xilinx] Error on build meta-xilinx
Manjukumar Harthikote Matha
MANJUKUM at xilinx.com
Wed Sep 12 20:23:56 PDT 2018
Hi Arturo
> -----Original Message-----
> From: meta-xilinx-bounces at yoctoproject.org [mailto:meta-xilinx-
> bounces at yoctoproject.org] On Behalf Of Arturo Lara Martinez
> Sent: Monday, September 10, 2018 3:01 AM
> To: meta-xilinx at lists.yoctoproject.org
> Subject: [meta-xilinx] Error on build meta-xilinx
>
> Hi,
>
>
>
>
>
> My name is Arturo from Spain, and I'm trying to build a Yocto project for Xilinx.
>
>
>
>
> I just added meta-xilinx layer, no more layers, and I configure local.conf setting
> MACHINE to "zcu102-zynqmp" and adding the layers to the build as say the build
> readme file.
>
>
>
>
> I don't do any more and I get an error on build:
>
>
>
>
> ERROR: zynqmp-pmu-binutils-cross-microblazeel-2.31-r0 do_patch: Command Error:
> 'quilt --quiltrc /home/arturo/source/poky/build/tmp/work/x86_64-linux/zynqmp-
> pmu-binutils-cross-microblazeel/2.31-r0/recipe-sysroot-native/etc/quiltrc push'
> exited with 0 Output:
> Applying patch 0003-Disable-the-warning-message-for-eh_frame_hdr.patch
> patching file bfd/elf-eh-frame.c
> Hunk #1 FAILED at 1042.
> 1 out of 1 hunk FAILED -- rejects in file bfd/elf-eh-frame.c Patch 0003-Disable-the-
> warning-message-for-eh_frame_hdr.patch does not apply (enforce with -f)
> ERROR: zynqmp-pmu-binutils-cross-microblazeel-2.31-r0 do_patch: Function failed:
> patch_do_patch
> ERROR: Logfile of failure stored in:
> /home/arturo/source/poky/build/tmp/work/x86_64-linux/zynqmp-pmu-binutils-
> cross-microblazeel/2.31-r0/temp/log.do_patch.20101
> ERROR: Task (virtual:zynqmp-pmu:/home/arturo/source/poky/meta/recipes-
> devtools/binutils/binutils-cross_2.31.bb:do_patch) failed with exit code '1'
>
>
> I don't know if I miss any step or is something wrong, also try to clone again repos
> form poky and meta-xilinx, but the error still there.
>
>
>
>
> what I do for prepare to build was:
>
> 1.
> sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
> build-essential chrpath socat cpio python python3 python3-pip python3-
> pexpect \
> xz-utils debianutils iputils-ping libsdl1.2-dev xterm
> 2.
> git clone git://git.yoctoproject.org/poky
> 3.
> source oe-init-build-env
> 4.
> cd ~/pokygit clone https://git.yoctoproject.org/git/meta-xilinx
> 5.
> *Add to local.conf MACHINE ?= "zcu102-zynqmp"*
>
>
> 6.
>
> bitbake-layers add-layer ../meta-xilinx/meta-xilinx-bsp/
> 7.
>
> bitbake-layers add-layer ../meta-xilinx/meta-xilinx-contrib/
> 8.
>
> bitbake core-image-minimal
>
Use a released branch like rocko or sumo instead of master
Thanks,
Manju
More information about the meta-xilinx
mailing list