cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor
Contributor
1,049 Views
Registered: ‎10-18-2018

petalinux2019.1 petalinux-build error

When I did petalinux-build on petalinux 2109.1, the following error occurred. Why?

sd@sd-HP-Z440-Workstation:~/TRD_HOME/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2019.1-final$ petalinux-build
[INFO] building project
[INFO] sourcing bitbake
[INFO] generating user layers
INFO: bitbake petalinux-user-image
Loading cache: 100% |#########################################################################################| Time: 0:00:00
Loaded 3814 entries from dependency cache.
Parsing recipes: 100% |#######################################################################################| Time: 0:00:03
Parsing of 2780 .bb files complete (2778 cached, 2 parsed). 3815 targets, 150 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |####################################################################################| Time: 0:00:09
Checking sstate mirror object availability: 100% |############################################################| Time: 0:00:00
Sstate summary: Wanted 326 Found 231 Missed 190 Current 1912 (70% match, 95% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: petalinux-user-image-1.0-r0 do_rootfs: The postinstall intercept hook 'update_gtk_immodules_cache' failed, details in /home/sd/TRD_HOME/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work/plnx_zynqmp-xilinx-linux/petalinux-user-image/1.0-r0/temp/log.do_rootfs
ERROR: petalinux-user-image-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /home/sd/TRD_HOME/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work/plnx_zynqmp-xilinx-linux/petalinux-user-image/1.0-r0/temp/log.do_rootfs.28949
ERROR: Task (/home/sd/TRD_HOME/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2019.1-final/project-spec/meta-plnx-generated/recipes-core/images/petalinux-user-image.bb:do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 7009 tasks of which 7008 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/sd/TRD_HOME/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2019.1-final/project-spec/meta-plnx-generated/recipes-core/images/petalinux-user-image.bb:do_rootfs
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
ERROR: Failed to build project

0 Kudos
8 Replies
Highlighted
Mentor
Mentor
1,046 Views
Registered: ‎06-16-2013

Re: petalinux2019.1 petalinux-build error

Hi @shengdishd 

 

Did you follow VCU TRD 2019.1 in Xilinx Wiki ?

 

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/112230447/Zynq+UltraScale+MPSoC+VCU+TRD+2019.1

 

I already rebuild VCU TRD 2019.1 and it sucessed.

 

Best regards,

0 Kudos
Highlighted
Contributor
Contributor
1,030 Views
Registered: ‎10-18-2018

Re: petalinux2019.1 petalinux-build error

Hi@watari

I follow VCU TRD 2019.1 in Xilinx Wiki. My computer system is  Ubuntu Linux 18.04.1 (64-bit).

What system is your computer?

0 Kudos
Highlighted
Mentor
Mentor
1,027 Views
Registered: ‎06-16-2013

Re: petalinux2019.1 petalinux-build error

Hi @shengdishd 

 

I rebuild this TRD via petalinux on CentOS 7.5 on docker.

 

Best regards,

0 Kudos
Highlighted
Contributor
Contributor
1,000 Views
Registered: ‎10-18-2018

Re: petalinux2019.1 petalinux-build error

Hi@watari

Do you have VIVADO installed on your computer?

0 Kudos
Highlighted
Mentor
Mentor
967 Views
Registered: ‎06-16-2013

Re: petalinux2019.1 petalinux-build error

Hi @shengdishd 

 

Yes. I already have prepared the followings.

 

1. Using Docker

Already installed petalinux 2019.1 on CentOS 7.5 on Docker.

Also I can use Vivado2019.1, if necessary.

 

2. Using Host

Already installed petalinux 2019.1 and VivadoHLS 20191 on CentOS 7.

 

However, I usually use petalinux on Docker. Because I'd like to use it on pure CentOS (without unnecessary package).

 

Best regards,

 

0 Kudos
Highlighted
Contributor
Contributor
947 Views
Registered: ‎10-18-2018

Re: petalinux2019.1 petalinux-build error

Have you run petalinux-build --sdk? Have error under?

ERROR: qt3d-5.11.3+gitAUTOINC+cd3e621ccf-r0 do_compile: oe_runmake failed
ERROR: qt3d-5.11.3+gitAUTOINC+cd3e621ccf-r0 do_compile: Function failed: do_compile (log file is located at /home/sd-z440/TRD_HOME/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work/aarch64-xilinx-linux/qt3d/5.11.3+gitAUTOINC+cd3e621ccf-r0/temp/log.do_compile.14367)
ERROR: Logfile of failure stored in: /home/sd-z440/TRD_HOME/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work/aarch64-xilinx-linux/qt3d/5.11.3+gitAUTOINC+cd3e621ccf-r0/temp/log.do_compile.14367

0 Kudos
Highlighted
Contributor
Contributor
849 Views
Registered: ‎12-21-2018

Re: petalinux2019.1 petalinux-build error

Hi,

I encounter the exact same issue on CentOS Linux release 7.6.1810 (Core).

Do you have found a fix, or you just have worked around by using another distro ?

jeremy

0 Kudos
Highlighted
Mentor
Mentor
807 Views
Registered: ‎06-16-2013

Re: petalinux2019.1 petalinux-build error

Hi @shengdishd , jeremy@easii-ic 

 

Sorry for my late reply.

I suggest you to make sure the followings.

 

- Real memory size. (At lease need 8GB)

- Swap memory size. (Same as real memory size, as possible as)

 

Best regards,

0 Kudos