Ubuntu server 系统编译错误

按照编译文档 直接make到后面出现了这个错误,重复几遍还是一样,请问会是什么问题

什么编译环境?还有就是提供完整的编译log,你这截一小段看不出什么问题。

failed to open source file : /home/a311d/fenix/build/images_upgrade-dfeef5710f824069fa855236474997eddca5f983/Amlogic/logo.img

应该是make image这步出了问题,实际上这个文件是存在的 logo.img

root@zzp:/home/a311d/fenix# make image
This script requires root privileges, trying to use sudo, please enter your passowrd!

BUILD_TYPE:	develop
NO_CCACHE:	no
COMPRESS_IMAGE:	no

Info: Build host: bionic
Info: Image install type: EMMC
/home/a311d/fenix
[Msg]Pack Item[USB         ,              DDR] from (/home/a311d/fenix/build/images_upgrade-dfeef5710f824069fa855236474997eddca5f983/Amlogic/u-boot.bin),sz[0x145370]B,ft[normal]	
[Msg]Pack Item[USB         ,            UBOOT] from (/home/a311d/fenix/build/images_upgrade-dfeef5710f824069fa855236474997eddca5f983/Amlogic/u-boot.bin),Duplicated for DDR.USB

[Msg]Pack Item[PARTITION   ,         _aml_dtb] from (/home/a311d/fenix/build/images_upgrade-dfeef5710f824069fa855236474997eddca5f983/Amlogic/kvim.dtb),sz[0x15b2f]B,ft[normal]	
[Msg]Pack Item[VERIFY      ,         _aml_dtb] from (/home/a311d/fenix/build/images_upgrade-dfeef5710f824069fa855236474997eddca5f983/Amlogic/kvim.dtb),vry[sha1sum 85eac2c1438301b06c7e3557a396b663682cb4ff]	
[Msg]Pack Item[UBOOT       ,     aml_sdc_burn] from (/home/a311d/fenix/build/images_upgrade-dfeef5710f824069fa855236474997eddca5f983/Amlogic/u-boot.bin.sd.bin),sz[0x145570]B,ft[normal]	
[Msg]Pack Item[ini         ,     aml_sdc_burn] from (/home/a311d/fenix/build/images_upgrade-dfeef5710f824069fa855236474997eddca5f983/Amlogic/aml_sdc_burn.ini),sz[0x24d]B,
[Msg]Pack Item[PARTITION   ,       bootloader] from (/home/a311d/fenix/build/images_upgrade-dfeef5710f824069fa855236474997eddca5f983/Amlogic/u-boot.bin),Duplicated for DDR.USB

[Msg]Pack Item[VERIFY      ,       bootloader] from (/home/a311d/fenix/build/images_upgrade-dfeef5710f824069fa855236474997eddca5f983/Amlogic/u-boot.bin),vry[sha1sum 5d6d03e3551c1aec9d705601e921d5eb8a885a9e]	
[Msg]Pack Item[PARTITION   ,             logo] from (/home/a311d/fenix/build/images_upgrade-dfeef5710f824069fa855236474997eddca5f983/Amlogic/logo.img),[ERR]f(AmlImagePack.cpp)L1332:failed to open source file : /home/a311d/fenix/build/images_upgrade-dfeef5710f824069fa855236474997eddca5f983/Amlogic/logo.img 
Image pack FAILED
Makefile:17: recipe for target 'image' failed
make: *** [image] Error 253

pc端系统用的是Ubuntu18.04 编译

不要make image,直接make贴完整log。log不要直接回复,不好看,要用markdown语法贴代码。

编译到后面很多安装包下载不了,但是链接单独复制到浏览器下载是没问题的,比较奇怪,麻烦帮忙看下

E: Failed to fetch http://ports.ubuntu.com/pool/main/d/device-tree-compiler/libfdt1_1.5.1-1_arm64.deb  502  Connection closed [IP: ::1 3142]
E: Failed to fetch http://ports.ubuntu.com/pool/main/d/device-tree-compiler/device-tree-compiler_1.5.1-1_arm64.deb  502  Connection closed [IP: ::1 3142]
E: Failed to fetch http://ports.ubuntu.com/pool/universe/e/evtest/evtest_1.34-1_arm64.deb  502  Connection closed [IP: ::1 3142]
E: Failed to fetch http://ports.ubuntu.com/pool/universe/f/fake-hwclock/fake-hwclock_0.11_all.deb  502  Connection closed [IP: ::1 3142]
E: Failed to fetch http://ports.ubuntu.com/pool/universe/g/gnupg2/gnupg2_2.2.19-3ubuntu2_all.deb  502  Connection closed [IP: ::1 3142]
E: Failed to fetch http://ports.ubuntu.com/pool/universe/libd/libdc1394-22/libdc1394-22_2.2.5-2.1_arm64.deb  502  Connection closed [IP: ::1 3142]
E: Failed to fetch http://ports.ubuntu.com/pool/universe/libd/libdca/libdca0_0.0.6-1_arm64.deb  502  Connection closed [IP: ::1 3142]
E: Failed to fetch http://ports.ubuntu.com/pool/universe/g/gst-plugins-bad1.0/libgstreamer-plugins-bad1.0-0_1.16.2-2.1ubuntu1_arm64.deb  502  Connection closed [IP: ::1 3142]
E: Failed to fetch http://ports.ubuntu.com/pool/universe/o/openal-soft/libopenal1_1.19.1-1_arm64.deb  502  Connection closed [IP: ::1 3142]
E: Failed to fetch http://ports.ubuntu.com/pool/main/s/sbc/libsbc1_1.4-1_arm64.deb  502  Connection closed [IP: ::1 3142]
E: Failed to fetch http://ports.ubuntu.com/pool/universe/v/vo-aacenc/libvo-aacenc0_0.1.3-2_arm64.deb  502  Connection closed [IP: ::1 3142]
E: Failed to fetch http://ports.ubuntu.com/pool/universe/v/vo-amrwbenc/libvo-amrwbenc0_0.1.3-2_arm64.deb  502  Connection closed [IP: ::1 3142]
E: Failed to fetch http://ports.ubuntu.com/pool/universe/g/gst-plugins-bad1.0/gstreamer1.0-plugins-bad_1.16.2-2.1ubuntu1_arm64.deb  502  Connection closed [IP: ::1 3142]
E: Failed to fetch http://ports.ubuntu.com/pool/universe/h/haveged/libhavege1_1.9.1-6ubuntu1_arm64.deb  502  Connection closed [IP: ::1 3142]
E: Failed to fetch http://ports.ubuntu.com/pool/universe/h/haveged/haveged_1.9.1-6ubuntu1_arm64.deb  502  Connection closed [IP: ::1 3142]
E: Failed to fetch http://ports.ubuntu.com/pool/universe/h/hddtemp/hddtemp_0.3-beta15-53_arm64.deb  502  Connection closed [IP: ::1 3142]
E: Failed to fetch http://ports.ubuntu.com/pool/universe/i/i2c-tools/i2c-tools_4.1-2build2_arm64.deb  502  Connection closed [IP: ::1 3142]
E: Failed to fetch http://ports.ubuntu.com/pool/main/l/lirc/liblirc-client0_0.10.1-6.1ubuntu1.1_arm64.deb  502  Connection closed [IP: ::1 3142]
E: Failed to fetch http://ports.ubuntu.com/pool/main/l/lirc/liblirc0_0.10.1-6.1ubuntu1.1_arm64.deb  502  Connection closed [IP: ::1 3142]
E: Failed to fetch http://ports.ubuntu.com/pool/main/s/systemd/libnss-myhostname_245.4-4ubuntu3.2_arm64.deb  502  Connection closed [IP: ::1 3142]
E: Failed to fetch http://ports.ubuntu.com/pool/main/y/yajl/libyajl2_2.1.0-3_arm64.deb  502  Connection closed [IP: ::1 3142]

这个没什么好说的,就是网络问题。试着用国内源进行编译:

DOWNLOAD_MIRROR=china make

谢谢!编译通过了,整个VIM3_Ubuntu-server-focal_Linux-4.9_arm64_EMMC_V0.9.4-200919.img有2.7G,是正常的吧?

@zzpfox Server版本的会小很多,带桌面的比较大