Boy 发表于 2022-3-27 16:47:32

RK3566 recovery编译失败

本帖最后由 Boy 于 2022-3-27 16:47 编辑

processing option: recovery
==========Start building recovery==========
TARGET_RECOVERY_CONFIG=rockchip_rk356x_recovery
========================================
config is rockchip_rk356x_recovery
found kernel image
Top of tree: /home/boy/RK356x/rk356x_linux_release_20211019
===========================================

#TARGET_BOARD=rk356x
#OUTPUT_DIR=output/rockchip_rk356x_recovery
#CONFIG=rockchip_rk356x_recovery_defconfig

===========================================
make: Entering directory '/home/boy/RK356x/rk356x_linux_release_20211019/buildroot'
GEN   /home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/Makefile
/home/boy/RK356x/rk356x_linux_release_20211019/buildroot/build/defconfig_hook.py -m /home/boy/RK356x/rk356x_linux_release_20211019/buildroot/configs/rockchip_rk356x_recovery_defconfig /home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/.rockchipconfig
BR2_DEFCONFIG='' KCONFIG_AUTOCONFIG=/home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/build/buildroot-config/auto.conf KCONFIG_AUTOHEADER=/home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/build/buildroot-config/autoconf.h KCONFIG_TRISTATE=/home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/build/buildroot-config/tristate.config BR2_CONFIG=/home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/.config HOST_GCC_VERSION="7" BUILD_DIR=/home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/build SKIP_LEGACY= BR2_DEFCONFIG=/home/boy/RK356x/rk356x_linux_release_20211019/buildroot/configs/rockchip_rk356x_recovery_defconfig /home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/build/buildroot-config/conf --defconfig=/home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/.rockchipconfig Config.in
/home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/.rockchipconfig:58:warning: override: reassigning to symbol BR2_PACKAGE_UPDATE
/home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/.rockchipconfig:59:warning: override: reassigning to symbol BR2_PACKAGE_RKSCRIPT
#
# configuration written to /home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/.config
#
make: Leaving directory '/home/boy/RK356x/rk356x_linux_release_20211019/buildroot'
====Start build rockchip_rk356x_recovery====
2022-03-27T16:40:20 >>> libcurl 7.75.0 Downloading
Done in 43s(error code: 2)
log saved on /home/boy/RK356x/rk356x_linux_release_20211019/br.log
====Build rockchip_rk356x_recovery failed!====
2022-03-27T15:49:59 patching file input-event-daemon.c
2022-03-27T15:49:59 patching file input-event-daemon.h
2022-03-27T15:49:59 >>> input-event-daemon v0.1.3 Configuring
2022-03-27T15:49:59 >>> input-event-daemon v0.1.3 Building
2022-03-27T15:49:59 touch/home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/build/input-event-daemon-v0.1.3/input-event-table.h
2022-03-27T15:49:59 PATH="/home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/host/bin:/home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /usr/bin/make -j5 CC="/home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/host/bin/aarch64-buildroot-linux-gnu-gcc" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64-Os-DUSE_RKUPDATE=ON -DSUCCESSFUL_BOOT=ON" LDFLAGS="" -C /home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/build/input-event-daemon-v0.1.3
2022-03-27T15:49:59 /home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/host/bin/aarch64-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64-Os-DUSE_RKUPDATE=ON -DSUCCESSFUL_BOOT=ON input-event-daemon.c-o input-event-daemon
2022-03-27T15:50:00 >>> input-event-daemon v0.1.3 Installing to target
2022-03-27T15:50:00 /usr/bin/install -m 755 -D /home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/build/input-event-daemon-v0.1.3/input-event-daemon /home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/target/usr/bin/input-event-daemon
2022-03-27T15:50:00 /usr/bin/install -m 644 -D /home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/build/input-event-daemon-v0.1.3/docs/sample.conf /home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/target/etc/input-event-daemon.conf
2022-03-27T15:50:00 /usr/bin/install -m 0755 -D package/input-event-daemon/S99input-event-daemon /home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/target/etc/init.d/S99input-event-daemon
2022-03-27T15:50:00 >>> libcurl 7.75.0 Downloading
2022-03-27T15:50:01 --2022-03-27 15:50:01--https://curl.haxx.se/download/curl-7.75.0.tar.xz
2022-03-27T15:50:01 Resolving curl.haxx.se (curl.haxx.se)... 151.101.230.49, 2a04:4e42:11::561
2022-03-27T15:50:01 Connecting to curl.haxx.se (curl.haxx.se)|151.101.230.49|:443... connected.
2022-03-27T15:50:04 HTTP request sent, awaiting response... 301 Moved Permanently
2022-03-27T15:50:04 Location: https://curl.se/download/curl-7.75.0.tar.xz
2022-03-27T15:50:04 --2022-03-27 15:50:04--https://curl.se/download/curl-7.75.0.tar.xz
2022-03-27T15:50:04 Resolving curl.se (curl.se)... 151.101.194.49, 151.101.130.49, 151.101.66.49, ...
2022-03-27T15:50:04 Connecting to curl.se (curl.se)|151.101.194.49|:443... connected.
2022-03-27T15:50:39 Unable to establish SSL connection.
2022-03-27T15:50:39 --2022-03-27 15:50:39--http://sources.buildroot.net/curl-7.75.0.tar.xz
2022-03-27T15:50:39 Resolving sources.buildroot.net (sources.buildroot.net)... 172.67.72.56, 104.26.0.37, 104.26.1.37, ...
2022-03-27T15:50:39 Connecting to sources.buildroot.net (sources.buildroot.net)|172.67.72.56|:80... connected.
2022-03-27T15:50:39 HTTP request sent, awaiting response... 404 Not Found
2022-03-27T15:50:39 2022-03-27 15:50:39 ERROR 404: Not Found.
2022-03-27T15:50:39
2022-03-27T15:50:39 package/pkg-generic.mk:138: recipe for target '/home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/build/libcurl-7.75.0/.stamp_downloaded' failed
2022-03-27T15:50:39 make: *** Error 1
2022-03-27T15:50:41 /home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/Makefile:16: recipe for target '_all' failed
2022-03-27T15:50:41 make: *** Error 2
2022-03-27T16:02:12 umask 0022 && make -C /home/boy/RK356x/rk356x_linux_release_20211019/buildroot O=/home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery
2022-03-27T16:02:20 /usr/bin/make -j1 O=/home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" silentoldconfig
2022-03-27T16:02:20 GEN   /home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/Makefile
2022-03-27T16:02:21 >>> libcurl 7.75.0 Downloading
2022-03-27T16:02:21 --2022-03-27 16:02:21--https://curl.haxx.se/download/curl-7.75.0.tar.xz
2022-03-27T16:02:21 Resolving curl.haxx.se (curl.haxx.se)... 151.101.74.49, 2a04:4e42:1a::561
2022-03-27T16:02:21 Connecting to curl.haxx.se (curl.haxx.se)|151.101.74.49|:443... connected.
2022-03-27T16:02:23 HTTP request sent, awaiting response... 301 Moved Permanently
2022-03-27T16:02:23 Location: https://curl.se/download/curl-7.75.0.tar.xz
2022-03-27T16:02:23 --2022-03-27 16:02:23--https://curl.se/download/curl-7.75.0.tar.xz
2022-03-27T16:02:23 Resolving curl.se (curl.se)... 151.101.194.49, 2a04:4e42:200::561, 2a04:4e42:600::561, ...
2022-03-27T16:02:24 Connecting to curl.se (curl.se)|151.101.194.49|:443... connected.
2022-03-27T16:03:00 Unable to establish SSL connection.
2022-03-27T16:03:00 --2022-03-27 16:03:00--http://sources.buildroot.net/curl-7.75.0.tar.xz
2022-03-27T16:03:00 Resolving sources.buildroot.net (sources.buildroot.net)... 104.26.0.37, 172.67.72.56, 104.26.1.37, ...
2022-03-27T16:03:00 Connecting to sources.buildroot.net (sources.buildroot.net)|104.26.0.37|:80... connected.
2022-03-27T16:03:01 HTTP request sent, awaiting response... 404 Not Found
2022-03-27T16:03:01 2022-03-27 16:03:01 ERROR 404: Not Found.
2022-03-27T16:03:01
2022-03-27T16:03:01 package/pkg-generic.mk:138: recipe for target '/home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/build/libcurl-7.75.0/.stamp_downloaded' failed
2022-03-27T16:03:01 make: *** Error 1
2022-03-27T16:03:01 /home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/Makefile:16: recipe for target '_all' failed
2022-03-27T16:03:01 make: *** Error 2
2022-03-27T16:17:39 umask 0022 && make -C /home/boy/RK356x/rk356x_linux_release_20211019/buildroot O=/home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery
2022-03-27T16:17:44 /usr/bin/make -j1 O=/home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" silentoldconfig
2022-03-27T16:17:45 GEN   /home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/Makefile
2022-03-27T16:17:45 >>> libcurl 7.75.0 Downloading
2022-03-27T16:17:45 --2022-03-27 16:17:45--https://curl.haxx.se/download/curl-7.75.0.tar.xz
2022-03-27T16:17:45 Resolving curl.haxx.se (curl.haxx.se)... 151.101.110.49, 2a04:4e42:11::561
2022-03-27T16:17:45 Connecting to curl.haxx.se (curl.haxx.se)|151.101.110.49|:443... connected.
2022-03-27T16:17:46 HTTP request sent, awaiting response... 301 Moved Permanently
2022-03-27T16:17:46 Location: https://curl.se/download/curl-7.75.0.tar.xz
2022-03-27T16:17:46 --2022-03-27 16:17:46--https://curl.se/download/curl-7.75.0.tar.xz
2022-03-27T16:17:46 Resolving curl.se (curl.se)... 151.101.194.49, 2a04:4e42:600::561, 2a04:4e42::561, ...
2022-03-27T16:17:47 Connecting to curl.se (curl.se)|151.101.194.49|:443... connected.
2022-03-27T16:18:18 Unable to establish SSL connection.
2022-03-27T16:18:18 --2022-03-27 16:18:18--http://sources.buildroot.net/curl-7.75.0.tar.xz
2022-03-27T16:18:19 Resolving sources.buildroot.net (sources.buildroot.net)... 172.67.72.56, 104.26.1.37, 104.26.0.37, ...
2022-03-27T16:18:19 Connecting to sources.buildroot.net (sources.buildroot.net)|172.67.72.56|:80... connected.
2022-03-27T16:18:19 HTTP request sent, awaiting response... 404 Not Found
2022-03-27T16:18:19 2022-03-27 16:18:19 ERROR 404: Not Found.
2022-03-27T16:18:19
2022-03-27T16:18:19 package/pkg-generic.mk:138: recipe for target '/home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/build/libcurl-7.75.0/.stamp_downloaded' failed
2022-03-27T16:18:19 make: *** Error 1
2022-03-27T16:18:19 /home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/Makefile:16: recipe for target '_all' failed
2022-03-27T16:18:19 make: *** Error 2
2022-03-27T16:40:12 umask 0022 && make -C /home/boy/RK356x/rk356x_linux_release_20211019/buildroot O=/home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery
2022-03-27T16:40:20 /usr/bin/make -j1 O=/home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" silentoldconfig
2022-03-27T16:40:20 GEN   /home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/Makefile
2022-03-27T16:40:20 >>> libcurl 7.75.0 Downloading
2022-03-27T16:40:20 --2022-03-27 16:40:20--https://curl.haxx.se/download/curl-7.75.0.tar.xz
2022-03-27T16:40:20 Resolving curl.haxx.se (curl.haxx.se)... 151.101.110.49, 2a04:4e42:11::561
2022-03-27T16:40:20 Connecting to curl.haxx.se (curl.haxx.se)|151.101.110.49|:443... connected.
2022-03-27T16:40:22 HTTP request sent, awaiting response... 301 Moved Permanently
2022-03-27T16:40:22 Location: https://curl.se/download/curl-7.75.0.tar.xz
2022-03-27T16:40:22 --2022-03-27 16:40:22--https://curl.se/download/curl-7.75.0.tar.xz
2022-03-27T16:40:22 Resolving curl.se (curl.se)... 151.101.194.49, 2a04:4e42:600::561, 2a04:4e42::561, ...
2022-03-27T16:40:22 Connecting to curl.se (curl.se)|151.101.194.49|:443... connected.
2022-03-27T16:40:54 Unable to establish SSL connection.
2022-03-27T16:40:54 --2022-03-27 16:40:54--http://sources.buildroot.net/curl-7.75.0.tar.xz
2022-03-27T16:40:55 Resolving sources.buildroot.net (sources.buildroot.net)... 172.67.72.56, 104.26.0.37, 104.26.1.37, ...
2022-03-27T16:40:55 Connecting to sources.buildroot.net (sources.buildroot.net)|172.67.72.56|:80... connected.
2022-03-27T16:40:55 HTTP request sent, awaiting response... 404 Not Found
2022-03-27T16:40:55 2022-03-27 16:40:55 ERROR 404: Not Found.
2022-03-27T16:40:55
2022-03-27T16:40:55 package/pkg-generic.mk:138: recipe for target '/home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/build/libcurl-7.75.0/.stamp_downloaded' failed
2022-03-27T16:40:55 make: *** Error 1
2022-03-27T16:40:55 /home/boy/RK356x/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/Makefile:16: recipe for target '_all' failed
2022-03-27T16:40:55 make: *** Error 2
Command exited with non-zero status 1
you take 0:44.06 to build recovery
ERROR: Running build_recovery failed!
ERROR: exit code 1 from line 936:
    /usr/bin/time -f "you take %E to build recovery" $COMMON_DIR/mk-ramdisk.sh recovery.img $RK_CFG_RECOVERY


Boy 发表于 2022-3-27 19:32:37

把服务器换为中国的服务器就可以了,因为服务器下载不了那个软件包
页: [1]
查看完整版本: RK3566 recovery编译失败