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!

取消
显示结果 
搜索替代 
您的意思是: 
Highlighted
Adventurer
Adventurer
322 次查看
注册日期: ‎04-05-2018

petalinux-build --sdk失败,petalinux2018.3

转到解答

使用petalinux2018.3运行命令

petalinux-build --sdk

失败,错误如下:

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'

log在附件。

请问大家知道怎么解决吗?

0 项奖励
1 个已接受解答

已接受的解答
Xilinx Employee
Xilinx Employee
279 次查看
注册日期: ‎04-15-2011

回复: petalinux-build --sdk失败,petalinux2018.3

转到解答

@hgtcs 

你的编译环境有连接网络吗?build sdk的时候,需要更多的库及其源代码,而通常这些库及源码并不包含在ssate cache里,所以需要连接网络下载。

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 项奖励
2 条回复2
Xilinx Employee
Xilinx Employee
280 次查看
注册日期: ‎04-15-2011

回复: petalinux-build --sdk失败,petalinux2018.3

转到解答

@hgtcs 

你的编译环境有连接网络吗?build sdk的时候,需要更多的库及其源代码,而通常这些库及源码并不包含在ssate cache里,所以需要连接网络下载。

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 项奖励
Adventurer
Adventurer
82 次查看
注册日期: ‎03-16-2013

回复: petalinux-build --sdk失败,petalinux2018.3

转到解答

请问, petalinux-build --sdk这个步骤是必须的吗,我再petalinux2017.4里没看到这个步骤

0 项奖励