UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Contributor
Contributor
359 Views
Registered: ‎04-05-2018

`petalinux-build --sdk` failed, petalinux2018.3

Jump to solution

 

Run this command using petalinux2018.3,

petalinux-build --sdk

but failed,

ERROR: nativesdk-qemu-xilinx-v2.11.0-xilinx-v2018.3+gitAUTOINC+f70bd86859-r0 do_compile: oe_runmake failed
ERROR: nativesdk-qemu-xilinx-v2.11.0-xilinx-v2018.3+gitAUTOINC+f70bd86859-r0 do_compile: Function failed: do_compile (log file is located at /opt/petalinux_prj/sdirx_vcu4/build/tmp/work/x86_64-nativesdk-petalinux-linux/nativesdk-qemu-xilinx/v2.11.0-xilinx-v2018.3+gitAUTOINC+f70bd86859-r0/temp/log.do_compile.10602)
ERROR: Logfile of failure stored in: /opt/petalinux_prj/sdirx_vcu4/build/tmp/work/x86_64-nativesdk-petalinux-linux/nativesdk-qemu-xilinx/v2.11.0-xilinx-v2018.3+gitAUTOINC+f70bd86859-r0/temp/log.do_compile.10602
Log data follows:
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j 6
|   GEN     aarch64-linux-user/config-devices.mak.tmp
|   GEN     aarch64-softmmu/config-devices.mak.tmp
|   GEN     arm-linux-user/config-devices.mak.tmp
|   GEN     arm-softmmu/config-devices.mak.tmp
|   GEN     microblaze-linux-user/config-devices.mak.tmp
|   GEN     microblaze-softmmu/config-devices.mak.tmp
|   GEN     aarch64-linux-user/config-devices.mak
|   GEN     microblaze-softmmu/config-devices.mak
|   GEN     microblazeel-linux-user/config-devices.mak.tmp
|   GEN     microblazeel-softmmu/config-devices.mak.tmp
|   GEN     microblaze-linux-user/config-devices.mak
|   GEN     microblazeel-linux-user/config-devices.mak
|   GEN     arm-softmmu/config-devices.mak
|   GEN     config-host.h
|   GEN     aarch64-softmmu/config-devices.mak
|   GIT     ui/keycodemapdb capstone
|   GEN     qemu-options.def
|   GEN     microblazeel-softmmu/config-devices.mak
|   GEN     qmp-commands.h
|   GEN     qapi-types.h
|   GEN     arm-linux-user/config-devices.mak
|   GEN     qapi-visit.h
|   GEN     qapi-event.h
|   GEN     qmp-marshal.c
|   GEN     qapi-types.c
|   GEN     qapi-visit.c
|   GEN     qapi-event.c
|   GEN     qmp-introspect.h
|   GEN     qmp-introspect.c
|   GEN     trace/generated-tcg-tracers.h
|   GEN     trace/generated-helpers-wrappers.h
|   GEN     trace/generated-helpers.h
|   GEN     trace/generated-helpers.c
|   GEN     module_block.h
|   GEN     tests/test-qapi-types.h
|   GEN     tests/test-qapi-visit.h
|   GEN     tests/test-qmp-commands.h
|   GEN     tests/test-qapi-event.h
|   GEN     tests/test-qmp-introspect.h
|   GEN     trace-root.h
|   GEN     util/trace.h
|   GEN     crypto/trace.h
|   GEN     io/trace.h
|   GEN     migration/trace.h
|   GEN     block/trace.h
|   GEN     chardev/trace.h
|   GEN     hw/block/trace.h
|   GEN     hw/block/dataplane/trace.h
|   GEN     hw/char/trace.h
|   GEN     hw/intc/trace.h
|   GEN     hw/net/trace.h
|   GEN     hw/virtio/trace.h
|   GEN     hw/audio/trace.h
|   GEN     hw/misc/trace.h
|   GEN     hw/usb/trace.h
|   GEN     hw/scsi/trace.h
|   GEN     hw/nvram/trace.h
|   GEN     hw/display/trace.h
|   GEN     hw/input/trace.h
|   GEN     hw/timer/trace.h
|   GEN     hw/dma/trace.h
|   GEN     hw/sparc/trace.h
|   GEN     hw/sd/trace.h
|   GEN     hw/isa/trace.h
|   GEN     hw/mem/trace.h
|   GEN     hw/i386/trace.h
|   GEN     hw/i386/xen/trace.h
|   GEN     hw/9pfs/trace.h
|   GEN     hw/ppc/trace.h
|   GEN     hw/pci/trace.h
|   GEN     hw/s390x/trace.h
|   GEN     hw/vfio/trace.h
|   GEN     hw/acpi/trace.h
|   GEN     hw/arm/trace.h
|   GEN     hw/alpha/trace.h
|   GEN     hw/xen/trace.h
|   GEN     hw/ide/trace.h
| Submodule 'capstone' (git://git.qemu.org/capstone.git) registered for path 'capstone'
| Submodule 'ui/keycodemapdb' (git://git.qemu.org/keycodemapdb.git) registered for path 'ui/keycodemapdb'
|   GEN     ui/trace.h
|   GEN     audio/trace.h
|   GEN     net/trace.h
|   GEN     target/arm/trace.h
|   GEN     target/i386/trace.h
|   GEN     target/mips/trace.h
| Cloning into '/opt/petalinux_prj/sdirx_vcu4/build/tmp/work/x86_64-nativesdk-petalinux-linux/nativesdk-qemu-xilinx/v2.11.0-xilinx-v2018.3+gitAUTOINC+f70bd86859-r0/git/capstone'...
|   GEN     target/sparc/trace.h
|   GEN     target/s390x/trace.h
|   GEN     target/ppc/trace.h
|   GEN     qom/trace.h
|   GEN     linux-user/trace.h
|   GEN     qapi/trace.h
|   GEN     accel/tcg/trace.h
|   GEN     accel/kvm/trace.h
| fatal: unable to access 'http://git.qemu.or/git/capstone.git/': Could not resolve host: git.qemu.or
| fatal: clone of 'git://git.qemu.org/capstone.git' into submodule path '/opt/petalinux_prj/sdirx_vcu4/build/tmp/work/x86_64-nativesdk-petalinux-linux/nativesdk-qemu-xilinx/v2.11.0-xilinx-v2018.3+gitAUTOINC+f70bd86859-r0/git/capstone' failed
| Failed to clone 'capstone'. Retry scheduled
|   GEN     nbd/trace.h
|   GEN     scsi/trace.h
|   GEN     trace-root.c
| Cloning into '/opt/petalinux_prj/sdirx_vcu4/build/tmp/work/x86_64-nativesdk-petalinux-linux/nativesdk-qemu-xilinx/v2.11.0-xilinx-v2018.3+gitAUTOINC+f70bd86859-r0/git/ui/keycodemapdb'...
|   GEN     util/trace.c
|   GEN     crypto/trace.c
|   GEN     io/trace.c
|   GEN     migration/trace.c
|   GEN     block/trace.c
|   GEN     chardev/trace.c
|   GEN     hw/block/trace.c
|   GEN     hw/block/dataplane/trace.c
|   GEN     hw/char/trace.c
|   GEN     hw/intc/trace.c
|   GEN     hw/net/trace.c
|   GEN     hw/virtio/trace.c
|   GEN     hw/audio/trace.c
|   GEN     hw/misc/trace.c
|   GEN     hw/usb/trace.c
|   GEN     hw/scsi/trace.c
|   GEN     hw/nvram/trace.c
|   GEN     hw/display/trace.c
|   GEN     hw/input/trace.c
|   GEN     hw/timer/trace.c
|   GEN     hw/dma/trace.c
|   GEN     hw/sparc/trace.c
|   GEN     hw/sd/trace.c
|   GEN     hw/isa/trace.c
|   GEN     hw/mem/trace.c
|   GEN     hw/i386/trace.c
|   GEN     hw/i386/xen/trace.c
|   GEN     hw/9pfs/trace.c
|   GEN     hw/ppc/trace.c
|   GEN     hw/pci/trace.c
|   GEN     hw/s390x/trace.c
|   GEN     hw/vfio/trace.c
|   GEN     hw/acpi/trace.c
|   GEN     hw/arm/trace.c
|   GEN     hw/alpha/trace.c
|   GEN     hw/xen/trace.c
|   GEN     hw/ide/trace.c
|   GEN     ui/trace.c
|   GEN     audio/trace.c
|   GEN     net/trace.c
|   GEN     target/arm/trace.c
|   GEN     target/i386/trace.c
|   GEN     target/mips/trace.c
|   GEN     target/sparc/trace.c
|   GEN     target/s390x/trace.c
|   GEN     target/ppc/trace.c
|   GEN     qom/trace.c
|   GEN     linux-user/trace.c
|   GEN     qapi/trace.c
|   GEN     accel/tcg/trace.c
|   GEN     accel/kvm/trace.c
|   GEN     nbd/trace.c
|   GEN     scsi/trace.c
|   GEN     config-all-devices.mak
| fatal: unable to access 'http://git.qemu.or/git/keycodemapdb.git/': Failed to connect to git.qemu.or port 80: Connection timed out
| fatal: clone of 'git://git.qemu.org/keycodemapdb.git' into submodule path '/opt/petalinux_prj/sdirx_vcu4/build/tmp/work/x86_64-nativesdk-petalinux-linux/nativesdk-qemu-xilinx/v2.11.0-xilinx-v2018.3+gitAUTOINC+f70bd86859-r0/git/ui/keycodemapdb' failed
| Failed to clone 'ui/keycodemapdb'. Retry scheduled
| Cloning into '/opt/petalinux_prj/sdirx_vcu4/build/tmp/work/x86_64-nativesdk-petalinux-linux/nativesdk-qemu-xilinx/v2.11.0-xilinx-v2018.3+gitAUTOINC+f70bd86859-r0/git/capstone'...
| fatal: unable to access 'http://git.qemu.or/git/capstone.git/': Failed to connect to git.qemu.or port 80: Connection timed out
| fatal: clone of 'git://git.qemu.org/capstone.git' into submodule path '/opt/petalinux_prj/sdirx_vcu4/build/tmp/work/x86_64-nativesdk-petalinux-linux/nativesdk-qemu-xilinx/v2.11.0-xilinx-v2018.3+gitAUTOINC+f70bd86859-r0/git/capstone' failed
| ERROR: oe_runmake failed
| Failed to clone 'capstone' a second time, aborting
| ./scripts/git-submodule.sh: failed to update modules
| 
| Unable to automatically checkout GIT submodules ' ui/keycodemapdb capstone'.
| If you require use of an alternative GIT binary (for example to
| enable use of a transparent proxy), then please specify it by
| running configure by with the '--with-git' argument. e.g.
| 
|  $ ./configure --with-git='tsocks git'
| 
| Alternatively you may disable automatic GIT submodule checkout
| with:
| 
|  $ ./configure --disable-git-update'
| 
| and then manually update submodules prior to running make, with:
| 
|  $ scripts/git-sbumodule.sh update  ui/keycodemapdb capstone
| 
| make: *** [Makefile:39: git-submodule-update] Error 1
| WARNING: /opt/petalinux_prj/sdirx_vcu4/build/tmp/work/x86_64-nativesdk-petalinux-linux/nativesdk-qemu-xilinx/v2.11.0-xilinx-v2018.3+gitAUTOINC+f70bd86859-r0/temp/run.do_compile.10602:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_compile (log file is located at /opt/petalinux_prj/sdirx_vcu4/build/tmp/work/x86_64-nativesdk-petalinux-linux/nativesdk-qemu-xilinx/v2.11.0-xilinx-v2018.3+gitAUTOINC+f70bd86859-r0/temp/log.do_compile.10602)
ERROR: Task (virtual:nativesdk:/media/scw/ubuntu16.04/ubuntu/software/petalinux1803/components/yocto/source/aarch64/layers/meta-xilinx/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx_2018.3.bb:do_compile) failed with exit code '1'

Does anyone know how to solve it? Or who can give me some advice?

Thank you!

hgtcs

 

0 Kudos
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
315 Views
Registered: ‎10-12-2018

Re: `petalinux-build --sdk` failed, petalinux2018.3

Jump to solution

Hi @hgtcs ,

Please check this forum post, if you haven't referred already. Hope it helps you.

https://forums.xilinx.com/t5/Embedded-Linux/Failed-to-petalinux-build-sdk-with-2018-3/td-p/932961

Thanks & Regards

Anil B

Thanks & Regards
Anil B
-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
1 Reply
Xilinx Employee
Xilinx Employee
316 Views
Registered: ‎10-12-2018

Re: `petalinux-build --sdk` failed, petalinux2018.3

Jump to solution

Hi @hgtcs ,

Please check this forum post, if you haven't referred already. Hope it helps you.

https://forums.xilinx.com/t5/Embedded-Linux/Failed-to-petalinux-build-sdk-with-2018-3/td-p/932961

Thanks & Regards

Anil B

Thanks & Regards
Anil B
-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos