Firefly开源社区

打印 上一主题 下一主题

[Linux] 编译linux buildroot固件 rootfs报错

56

积分

0

威望

0

贡献

技术小白

积分
56

编译linux buildroot固件 rootfs报错

发表于 2023-8-4 16:38:23      浏览:4034 | 回复:6        打印      只看该作者   [复制链接] 楼主
问题描述及复现步骤:
根据维基教程和手册,编译linux  buildroot固件,在编译到rootfs时报错,显示没有找到SourceHanSansCN.zip这个包,请问下社区技术人员,如何解决?具体编译log信息如下:

ubuntu@ubuntu-vm:~/Desktop/project/rk3588_sdk$ ./build.sh rootfs
processing option: rootfs
rootfs dir .rootfs
==========Start building buildroot==========
TARGET_BUILDROOT_CONFIG=firefly_rk3588
=========================================
Top of tree: /home/ubuntu/Desktop/project/rk3588_sdk
make: Entering directory '/home/ubuntu/Desktop/project/rk3588_sdk/buildroot'
          GEN     /home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588/Makefile
/home/ubuntu/Desktop/project/rk3588_sdk/buildroot/build/parse_defconfig.sh /home/ubuntu/Desktop/project/rk3588_sdk/buildroot/configs/firefly_rk3588_defconfig /home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588/.config.in
Parsing defconfig: /home/ubuntu/Desktop/project/rk3588_sdk/buildroot/configs/firefly_rk3588_defconfig
Using configs/rockchip/base/kernel.config as base
Merging configs/rockchip/fs/e2fs.config
Merging configs/rockchip/base/common.config
Merging configs/rockchip/base/base.config
Merging configs/rockchip/chips/rk3588.config
Value of BR2_ROOTFS_OVERLAY is redefined by configs/rockchip/chips/rk3588.config:
Previous value:        BR2_ROOTFS_OVERLAY="board/rockchip/common/base"
Modify value:        BR2_ROOTFS_OVERLAY+="board/rockchip/rk3588/fs-overlay/"
New value:        BR2_ROOTFS_OVERLAY="board/rockchip/common/base board/rockchip/rk3588/fs-overlay/"

Merging configs/rockchip/chips/rk3588_aarch64.config
Merging configs/rockchip/font/font.config
Merging configs/rockchip/font/chinese.config
Merging configs/rockchip/fs/exfat.config
Merging configs/rockchip/fs/ntfs.config
Merging configs/rockchip/fs/vfat.config
Merging configs/rockchip/gpu/gpu.config
Merging configs/rockchip/multimedia/audio.config
Merging configs/rockchip/multimedia/camera.config
Merging configs/rockchip/multimedia/gst/audio.config
Merging configs/rockchip/multimedia/gst/camera.config
Merging configs/rockchip/multimedia/gst/rtsp.config
Merging configs/rockchip/multimedia/gst/video.config
Merging configs/rockchip/multimedia/mpp.config
Merging configs/rockchip/wifibt/bt.config
Merging configs/rockchip/wifibt/network.config
Merging configs/rockchip/wifibt/wireless.config
Merging configs/rockchip/benchmark.config
Merging configs/rockchip/chromium.config
Merging configs/rockchip/debug.config
Merging configs/rockchip/npu2.config
Merging configs/rockchip/powermanager.config
Value of BR2_ROOTFS_OVERLAY is redefined by configs/rockchip/powermanager.config:
Previous value:        BR2_ROOTFS_OVERLAY="board/rockchip/common/base board/rockchip/rk3588/fs-overlay/"
Modify value:        BR2_ROOTFS_OVERLAY+="board/rockchip/common/powermanager"
New value:        BR2_ROOTFS_OVERLAY="board/rockchip/common/base board/rockchip/rk3588/fs-overlay/ board/rockchip/common/powermanager"

Merging configs/rockchip/test.config
Merging configs/rockchip/weston.config
Merging configs/rockchip/font/font.config
Merging configs/rockchip/qt/qt5.config
Merging /home/ubuntu/Desktop/project/rk3588_sdk/buildroot/configs/firefly_rk3588_defconfig
Value of BR2_TARGET_GENERIC_ROOT_PASSWD is redefined by /home/ubuntu/Desktop/project/rk3588_sdk/buildroot/configs/firefly_rk3588_defconfig:
Previous value:        BR2_TARGET_GENERIC_ROOT_PASSWD="rockchip"
New value:        BR2_TARGET_GENERIC_ROOT_PASSWD="firefly"

Value of BR2_ROOTFS_OVERLAY is redefined by /home/ubuntu/Desktop/project/rk3588_sdk/buildroot/configs/firefly_rk3588_defconfig:
Previous value:        BR2_ROOTFS_OVERLAY="board/rockchip/common/base board/rockchip/rk3588/fs-overlay/ board/rockchip/common/powermanager"
Modify value:        BR2_ROOTFS_OVERLAY+="board/firefly/roc-rk3588s-pc board/firefly/itx-3588j board/firefly/aio-3588sjd4"
New value:        BR2_ROOTFS_OVERLAY="board/rockchip/common/base board/rockchip/rk3588/fs-overlay/ board/rockchip/common/powermanager board/firefly/roc-rk3588s-pc board/firefly/itx-3588j board/firefly/aio-3588sjd4"

#
# merged configuration written to /home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588/.config.in (needs make)
#
BR2_DEFCONFIG='' KCONFIG_AUTOCONFIG=/home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588/build/buildroot-config/auto.conf KCONFIG_AUTOHEADER=/home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588/build/buildroot-config/autoconf.h KCONFIG_TRISTATE=/home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588/build/buildroot-config/tristate.config BR2_CONFIG=/home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588/.config HOST_GCC_VERSION="9" BASE_DIR=/home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588 SKIP_LEGACY= CUSTOM_KERNEL_VERSION="5.10" BR2_DEFCONFIG=/home/ubuntu/Desktop/project/rk3588_sdk/buildroot/configs/firefly_rk3588_defconfig /home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588/build/buildroot-config/conf --defconfig=/home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588/.config.in Config.in
#
# configuration written to /home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588/.config
#
make: Leaving directory '/home/ubuntu/Desktop/project/rk3588_sdk/buildroot'
2023-08-04T16:32:33 >>> source-han-sans-cn 2.001R Downloading
Done in 10s  (error code: 2)
Failed to build /home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588/.config:
2023-08-04T16:13:14 wget --passive-ftp -nd -t 3 --no-check-certificate -O '/home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588/build/.SourceHanSansCN.zip.fUBK5X/output' 'https://raw.githubusercontent.com/adobe-fonts/source-han-sans/2.001R/SubsetOTF/SourceHanSansCN.zip'
2023-08-04T16:13:14 --2023-08-04 16:13:14--  https://raw.githubusercontent.co ... SourceHanSansCN.zip
2023-08-04T16:13:14 Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 0.0.0.0, ::
2023-08-04T16:13:14 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|0.0.0.0|:443... failed: Connection refused.
2023-08-04T16:13:14 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|::|:443... failed: Connection refused.
2023-08-04T16:13:15 wget --passive-ftp -nd -t 3 --no-check-certificate -O '/home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588/build/.SourceHanSansCN.zip.3eNPEP/output' 'http://sources.buildroot.net/source-han-sans-cn/SourceHanSansCN.zip'
2023-08-04T16:13:15 --2023-08-04 16:13:15--  http://sources.buildroot.net/sou ... SourceHanSansCN.zip
2023-08-04T16:13:15 Resolving sources.buildroot.net (sources.buildroot.net)... 104.26.1.37, 104.26.0.37, 172.67.72.56, ...
2023-08-04T16:13:15 Connecting to sources.buildroot.net (sources.buildroot.net)|104.26.1.37|:80... connected.
2023-08-04T16:13:15 HTTP request sent, awaiting response... 404 Not Found
2023-08-04T16:13:15 2023-08-04 16:13:15 ERROR 404: Not Found.
2023-08-04T16:13:15
2023-08-04T16:13:15 wget --passive-ftp -nd -t 3 --no-check-certificate -O '/home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588/build/.SourceHanSansCN.zip.Ko0Dh8/output' 'http://sources.buildroot.net/SourceHanSansCN.zip'
2023-08-04T16:13:15 --2023-08-04 16:13:15--  http://sources.buildroot.net/SourceHanSansCN.zip
2023-08-04T16:13:15 Resolving sources.buildroot.net (sources.buildroot.net)... 104.26.1.37, 172.67.72.56, 104.26.0.37, ...
2023-08-04T16:13:15 Connecting to sources.buildroot.net (sources.buildroot.net)|104.26.1.37|:80... connected.
2023-08-04T16:13:16 HTTP request sent, awaiting response... 404 Not Found
2023-08-04T16:13:16 2023-08-04 16:13:16 ERROR 404: Not Found.
2023-08-04T16:13:16
2023-08-04T16:13:16 make[1]: *** [package/pkg-generic.mk:207: /home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588/build/source-han-sans-cn-2.001R/.stamp_downloaded] Error 1
2023-08-04T16:13:16 make: *** [Makefile:110: _all] Error 2
2023-08-04T16:13:16 make: Leaving directory '/home/ubuntu/Desktop/project/rk3588_sdk/buildroot'
2023-08-04T16:17:46 make: Entering directory '/home/ubuntu/Desktop/project/rk3588_sdk/buildroot'
2023-08-04T16:17:54 /usr/bin/make -j1 O=/home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588 HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" syncconfig
2023-08-04T16:17:55 GEN     /home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588/Makefile
2023-08-04T16:17:55 >>> source-han-sans-cn 2.001R Downloading
2023-08-04T16:17:55 wget --passive-ftp -nd -t 3 --no-check-certificate -O '/home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588/build/.SourceHanSansCN.zip.Vj7b9i/output' 'https://raw.githubusercontent.com/adobe-fonts/source-han-sans/2.001R/SubsetOTF/SourceHanSansCN.zip'
2023-08-04T16:17:55 --2023-08-04 16:17:55--  https://raw.githubusercontent.co ... SourceHanSansCN.zip
2023-08-04T16:17:55 Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 0.0.0.0, ::
2023-08-04T16:17:55 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|0.0.0.0|:443... failed: Connection refused.
2023-08-04T16:17:55 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|::|:443... failed: Connection refused.
2023-08-04T16:17:55 wget --passive-ftp -nd -t 3 --no-check-certificate -O '/home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588/build/.SourceHanSansCN.zip.Z2fzvz/output' 'http://sources.buildroot.net/source-han-sans-cn/SourceHanSansCN.zip'
2023-08-04T16:17:55 --2023-08-04 16:17:55--  http://sources.buildroot.net/sou ... SourceHanSansCN.zip
2023-08-04T16:17:55 Resolving sources.buildroot.net (sources.buildroot.net)... 104.26.1.37, 172.67.72.56, 104.26.0.37, ...
2023-08-04T16:17:56 Connecting to sources.buildroot.net (sources.buildroot.net)|104.26.1.37|:80... connected.
2023-08-04T16:17:56 HTTP request sent, awaiting response... 404 Not Found
2023-08-04T16:17:56 2023-08-04 16:17:56 ERROR 404: Not Found.
2023-08-04T16:17:56
2023-08-04T16:17:56 wget --passive-ftp -nd -t 3 --no-check-certificate -O '/home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588/build/.SourceHanSansCN.zip.nlct1q/output' 'http://sources.buildroot.net/SourceHanSansCN.zip'
2023-08-04T16:17:56 --2023-08-04 16:17:56--  http://sources.buildroot.net/SourceHanSansCN.zip
2023-08-04T16:17:56 Resolving sources.buildroot.net (sources.buildroot.net)... 172.67.72.56, 104.26.0.37, 104.26.1.37, ...
2023-08-04T16:17:56 Connecting to sources.buildroot.net (sources.buildroot.net)|172.67.72.56|:80... connected.
2023-08-04T16:17:57 HTTP request sent, awaiting response... 404 Not Found
2023-08-04T16:17:57 2023-08-04 16:17:57 ERROR 404: Not Found.
2023-08-04T16:17:57
2023-08-04T16:17:57 make[1]: *** [package/pkg-generic.mk:207: /home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588/build/source-han-sans-cn-2.001R/.stamp_downloaded] Error 1
2023-08-04T16:17:57 make: *** [Makefile:110: _all] Error 2
2023-08-04T16:17:57 make: Leaving directory '/home/ubuntu/Desktop/project/rk3588_sdk/buildroot'
2023-08-04T16:19:21 make: Entering directory '/home/ubuntu/Desktop/project/rk3588_sdk/buildroot'
2023-08-04T16:19:28 /usr/bin/make -j1 O=/home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588 HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" syncconfig
2023-08-04T16:19:28 GEN     /home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588/Makefile
2023-08-04T16:19:29 >>> source-han-sans-cn 2.001R Downloading
2023-08-04T16:19:29 wget --passive-ftp -nd -t 3 --no-check-certificate -O '/home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588/build/.SourceHanSansCN.zip.sRDnh7/output' 'https://raw.githubusercontent.com/adobe-fonts/source-han-sans/2.001R/SubsetOTF/SourceHanSansCN.zip'
2023-08-04T16:19:29 --2023-08-04 16:19:29--  https://raw.githubusercontent.co ... SourceHanSansCN.zip
2023-08-04T16:19:29 Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 0.0.0.0, ::
2023-08-04T16:19:29 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|0.0.0.0|:443... failed: Connection refused.
2023-08-04T16:19:29 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|::|:443... failed: Connection refused.
2023-08-04T16:19:29 wget --passive-ftp -nd -t 3 --no-check-certificate -O '/home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588/build/.SourceHanSansCN.zip.bHl8Tx/output' 'http://sources.buildroot.net/source-han-sans-cn/SourceHanSansCN.zip'
2023-08-04T16:19:29 --2023-08-04 16:19:29--  http://sources.buildroot.net/sou ... SourceHanSansCN.zip
2023-08-04T16:19:29 Resolving sources.buildroot.net (sources.buildroot.net)... 172.67.72.56, 104.26.0.37, 104.26.1.37, ...
2023-08-04T16:19:29 Connecting to sources.buildroot.net (sources.buildroot.net)|172.67.72.56|:80... connected.
2023-08-04T16:19:29 HTTP request sent, awaiting response... 404 Not Found
2023-08-04T16:19:29 2023-08-04 16:19:29 ERROR 404: Not Found.
2023-08-04T16:19:29
2023-08-04T16:19:29 wget --passive-ftp -nd -t 3 --no-check-certificate -O '/home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588/build/.SourceHanSansCN.zip.3NNDrm/output' 'http://sources.buildroot.net/SourceHanSansCN.zip'
2023-08-04T16:19:29 --2023-08-04 16:19:29--  http://sources.buildroot.net/SourceHanSansCN.zip
2023-08-04T16:19:29 Resolving sources.buildroot.net (sources.buildroot.net)... 104.26.1.37, 104.26.0.37, 172.67.72.56, ...
2023-08-04T16:19:29 Connecting to sources.buildroot.net (sources.buildroot.net)|104.26.1.37|:80... connected.
2023-08-04T16:19:30 HTTP request sent, awaiting response... 404 Not Found
2023-08-04T16:19:30 2023-08-04 16:19:30 ERROR 404: Not Found.
2023-08-04T16:19:30
2023-08-04T16:19:30 make[1]: *** [package/pkg-generic.mk:207: /home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588/build/source-han-sans-cn-2.001R/.stamp_downloaded] Error 1
2023-08-04T16:19:30 make: *** [Makefile:110: _all] Error 2
2023-08-04T16:19:30 make: Leaving directory '/home/ubuntu/Desktop/project/rk3588_sdk/buildroot'
2023-08-04T16:32:26 make: Entering directory '/home/ubuntu/Desktop/project/rk3588_sdk/buildroot'
2023-08-04T16:32:32 /usr/bin/make -j1 O=/home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588 HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" syncconfig
2023-08-04T16:32:32 GEN     /home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588/Makefile
2023-08-04T16:32:33 >>> source-han-sans-cn 2.001R Downloading
2023-08-04T16:32:33 wget --passive-ftp -nd -t 3 --no-check-certificate -O '/home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588/build/.SourceHanSansCN.zip.TnIiOs/output' 'https://raw.githubusercontent.com/adobe-fonts/source-han-sans/2.001R/SubsetOTF/SourceHanSansCN.zip'
2023-08-04T16:32:33 --2023-08-04 16:32:33--  https://raw.githubusercontent.co ... SourceHanSansCN.zip
2023-08-04T16:32:33 Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 0.0.0.0, ::
2023-08-04T16:32:33 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|0.0.0.0|:443... failed: Connection refused.
2023-08-04T16:32:33 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|::|:443... failed: Connection refused.
2023-08-04T16:32:33 wget --passive-ftp -nd -t 3 --no-check-certificate -O '/home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588/build/.SourceHanSansCN.zip.gcmaoj/output' 'http://sources.buildroot.net/source-han-sans-cn/SourceHanSansCN.zip'
2023-08-04T16:32:33 --2023-08-04 16:32:33--  http://sources.buildroot.net/sou ... SourceHanSansCN.zip
2023-08-04T16:32:33 Resolving sources.buildroot.net (sources.buildroot.net)... 104.26.1.37, 172.67.72.56, 104.26.0.37, ...
2023-08-04T16:32:33 Connecting to sources.buildroot.net (sources.buildroot.net)|104.26.1.37|:80... connected.
2023-08-04T16:32:34 HTTP request sent, awaiting response... 404 Not Found
2023-08-04T16:32:34 2023-08-04 16:32:34 ERROR 404: Not Found.
2023-08-04T16:32:34
2023-08-04T16:32:34 wget --passive-ftp -nd -t 3 --no-check-certificate -O '/home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588/build/.SourceHanSansCN.zip.w9erWy/output' 'http://sources.buildroot.net/SourceHanSansCN.zip'
2023-08-04T16:32:34 --2023-08-04 16:32:34--  http://sources.buildroot.net/SourceHanSansCN.zip
2023-08-04T16:32:34 Resolving sources.buildroot.net (sources.buildroot.net)... 172.67.72.56, 104.26.1.37, 104.26.0.37, ...
2023-08-04T16:32:34 Connecting to sources.buildroot.net (sources.buildroot.net)|172.67.72.56|:80... connected.
2023-08-04T16:32:34 HTTP request sent, awaiting response... 404 Not Found
2023-08-04T16:32:34 2023-08-04 16:32:34 ERROR 404: Not Found.
2023-08-04T16:32:34
2023-08-04T16:32:34 make[1]: *** [package/pkg-generic.mk:207: /home/ubuntu/Desktop/project/rk3588_sdk/buildroot/output/firefly_rk3588/build/source-han-sans-cn-2.001R/.stamp_downloaded] Error 1
2023-08-04T16:32:35 make: *** [Makefile:110: _all] Error 2
2023-08-04T16:32:35 make: Leaving directory '/home/ubuntu/Desktop/project/rk3588_sdk/buildroot'
Please check details in /home/ubuntu/Desktop/project/rk3588_sdk/.buildroot/br.log
Command exited with non-zero status 1
you take 0:13.33 to build builroot
ERROR: Running build_buildroot failed!
ERROR: exit code 1 from line 1318:
    /usr/bin/time -f "you take %E to build builroot" $COMMON_DIR/mk-buildroot.sh $RK_CFG_BUILDROOT $DST_DIR




build rootfs error.zip

951 Bytes, 下载次数: 1, 下载积分: 灯泡 -1 , 经验 -1

build rootfs error.zip

2.37 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1

回复

使用道具 举报

1186

积分

1

威望

3

贡献

官方团队

Rank: 9Rank: 9Rank: 9

积分
1186
发表于 2023-8-5 09:00:05        只看该作者  沙发
有些包下载不到,可以自行下载放到sdk中,也可以换个时间段多试几次,可能就能下载
回复

使用道具 举报

56

积分

0

威望

0

贡献

技术小白

积分
56
发表于 2023-8-8 10:48:05        只看该作者  板凳
zhangzhenzhao 发表于 2023-8-5 09:00
有些包下载不到,可以自行下载放到sdk中,也可以换个时间段多试几次,可能就能下载

你好,我把这个压缩包下载了,是放在buildroot目录下,还是buildroot文件夹的其他目录下呢?
回复

使用道具 举报

1186

积分

1

威望

3

贡献

官方团队

Rank: 9Rank: 9Rank: 9

积分
1186
发表于 2023-8-8 16:06:19        只看该作者  地板
qxclby 发表于 2023-8-8 10:48
你好,我把这个压缩包下载了,是放在buildroot目录下,还是buildroot文件夹的其他目录下呢?

buildroot/dl/
回复

使用道具 举报

56

积分

0

威望

0

贡献

技术小白

积分
56
发表于 2023-8-9 10:46:28        只看该作者  5#

你好,我下载了好几个包,都提示校验错误呢,你那里有这个包吗?能发一下吗,感谢
回复

使用道具 举报

4

积分

0

威望

0

贡献

吃瓜的群众

积分
4
发表于 2023-12-2 17:04:50        只看该作者  6#
processing option: buildroot
==========Start building buildroot==========
TARGET_BUILDROOT_CONFIG=rockchip_rk3288
=========================================
Top of tree: /home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510
===========================================

#TARGET_BOARD=rk3288
#OUTPUT_DIR=output/rockchip_rk3288
#CONFIG=rockchip_rk3288_defconfig

===========================================
make: Entering directory '/home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot'
  GEN     /home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/output/rockchip_rk3288/Makefile
/home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/build/defconfig_hook.py -m /home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/configs/rockchip_rk3288_defconfig /home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/output/rockchip_rk3288/.rockchipconfig
BR2_DEFCONFIG='' KCONFIG_AUTOCONFIG=/home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/output/rockchip_rk3288/build/buildroot-config/auto.conf KCONFIG_AUTOHEADER=/home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/output/rockchip_rk3288/build/buildroot-config/autoconf.h KCONFIG_TRISTATE=/home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/output/rockchip_rk3288/build/buildroot-config/tristate.config BR2_CONFIG=/home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/output/rockchip_rk3288/.config HOST_GCC_VERSION="5" BUILD_DIR=/home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/output/rockchip_rk3288/build SKIP_LEGACY= BR2_DEFCONFIG=/home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/configs/rockchip_rk3288_defconfig /home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/output/rockchip_rk3288/build/buildroot-config/conf --defconfig=/home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/output/rockchip_rk3288/.rockchipconfig Config.in
/home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/output/rockchip_rk3288/.rockchipconfig:72:warning: override: reassigning to symbol BR2_PACKAGE_MPP
/home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/output/rockchip_rk3288/.rockchipconfig:73:warning: override: reassigning to symbol BR2_PACKAGE_MPP_ALLOCATOR_DRM
/home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/output/rockchip_rk3288/.rockchipconfig:75:warning: override: reassigning to symbol BR2_PACKAGE_LINUX_RGA
/home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/output/rockchip_rk3288/.rockchipconfig:221:warning: override: reassigning to symbol BR2_PACKAGE_ROCKCHIP_TEST
/home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/output/rockchip_rk3288/.rockchipconfig:273:warning: override: reassigning to symbol BR2_PACKAGE_RKWIFIBT
#
# configuration written to /home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/output/rockchip_rk3288/.config
#
make: Leaving directory '/home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot'
2023-12-02T00:54:18 >>> dnsmasq 2.85 Extracting
Done in 7s  (error code: 2)
log saved on /home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/br.log
2023-12-02T00:33:05 |     ^~~~~~
2023-12-02T00:33:05 dhry_1.c:160:5: warning: implicit declaration of function 'Proc_4' [-Wimplicit-function-declaration]
2023-12-02T00:33:05 160 |     Proc_4();
2023-12-02T00:33:05 |     ^~~~~~
2023-12-02T00:33:05 dhry_1.c:166:19: warning: implicit declaration of function 'Func_2'; did you mean 'Func_1'? [-Wimplicit-function-declaration]
2023-12-02T00:33:05 166 |     Bool_Glob = ! Func_2 (Str_1_Loc, Str_2_Loc);
2023-12-02T00:33:05 |                   ^~~~~~
2023-12-02T00:33:05 |                   Func_1
2023-12-02T00:33:05 dhry_1.c:172:7: warning: implicit declaration of function 'Proc_7' [-Wimplicit-function-declaration]
2023-12-02T00:33:05 172 |       Proc_7 (Int_1_Loc, Int_2_Loc, &Int_3_Loc);
2023-12-02T00:33:05 |       ^~~~~~
2023-12-02T00:33:05 dhry_1.c:177:5: warning: implicit declaration of function 'Proc_8' [-Wimplicit-function-declaration]
2023-12-02T00:33:05 177 |     Proc_8 (Arr_1_Glob, Arr_2_Glob, Int_1_Loc, Int_3_Loc);
2023-12-02T00:33:05 |     ^~~~~~
2023-12-02T00:33:05 dhry_1.c:179:5: warning: implicit declaration of function 'Proc_1' [-Wimplicit-function-declaration]
2023-12-02T00:33:05 179 |     Proc_1 (Ptr_Glob);
2023-12-02T00:33:05 |     ^~~~~~
2023-12-02T00:33:05 dhry_1.c:186:9: warning: implicit declaration of function 'Proc_6' [-Wimplicit-function-declaration]
2023-12-02T00:33:05 186 |         Proc_6 (Ident_1, &Enum_Loc);
2023-12-02T00:33:05 |         ^~~~~~
2023-12-02T00:33:05 dhry_1.c:197:5: warning: implicit declaration of function 'Proc_2' [-Wimplicit-function-declaration]
2023-12-02T00:33:05 197 |     Proc_2 (&Int_1_Loc);
2023-12-02T00:33:05 |     ^~~~~~
2023-12-02T00:33:05 dhry_1.c: At top level:
2023-12-02T00:33:05 dhry_1.c:298:1: warning: return type defaults to 'int' [-Wimplicit-int]
2023-12-02T00:33:05 298 | Proc_1 (Ptr_Val_Par)
2023-12-02T00:33:05 | ^~~~~~
2023-12-02T00:33:05 dhry_1.c: In function 'Proc_1':
2023-12-02T00:33:05 dhry_1.c:314:3: warning: implicit declaration of function 'Proc_3'; did you mean 'Proc_1'? [-Wimplicit-function-declaration]
2023-12-02T00:33:05 314 |   Proc_3 (&Next_Record->Ptr_Comp);
2023-12-02T00:33:05 |   ^~~~~~
2023-12-02T00:33:05 |   Proc_1
2023-12-02T00:33:05 dhry_1.c: At top level:
2023-12-02T00:33:05 dhry_1.c:332:1: warning: return type defaults to 'int' [-Wimplicit-int]
2023-12-02T00:33:05 332 | Proc_2 (Int_Par_Ref)
2023-12-02T00:33:05 | ^~~~~~
2023-12-02T00:33:05 dhry_1.c:355:1: warning: return type defaults to 'int' [-Wimplicit-int]
2023-12-02T00:33:05 355 | Proc_3 (Ptr_Ref_Par)
2023-12-02T00:33:05 | ^~~~~~
2023-12-02T00:33:05 dhry_1.c:370:1: warning: return type defaults to 'int' [-Wimplicit-int]
2023-12-02T00:33:05 370 | Proc_4 () /* without parameters */
2023-12-02T00:33:05 | ^~~~~~
2023-12-02T00:33:05 dhry_1.c:382:1: warning: return type defaults to 'int' [-Wimplicit-int]
2023-12-02T00:33:05 382 | Proc_5 () /* without parameters */
2023-12-02T00:33:05 | ^~~~~~
2023-12-02T00:33:05 dhry_2.c:30:1: warning: return type defaults to 'int' [-Wimplicit-int]
2023-12-02T00:33:05 30 | Proc_6 (Enum_Val_Par, Enum_Ref_Par)
2023-12-02T00:33:05 | ^~~~~~
2023-12-02T00:33:05 dhry_2.c: In function 'Proc_6':
2023-12-02T00:33:05 dhry_2.c:39:9: warning: implicit declaration of function 'Func_3' [-Wimplicit-function-declaration]
2023-12-02T00:33:05 39 |   if (! Func_3 (Enum_Val_Par))
2023-12-02T00:33:05 |         ^~~~~~
2023-12-02T00:33:05 dhry_2.c: At top level:
2023-12-02T00:33:05 dhry_2.c:64:1: warning: return type defaults to 'int' [-Wimplicit-int]
2023-12-02T00:33:05 64 | Proc_7 (Int_1_Par_Val, Int_2_Par_Val, Int_Par_Ref)
2023-12-02T00:33:05 | ^~~~~~
2023-12-02T00:33:05 dhry_2.c:84:1: warning: return type defaults to 'int' [-Wimplicit-int]
2023-12-02T00:33:05 84 | Proc_8 (Arr_1_Par_Ref, Arr_2_Par_Ref, Int_1_Par_Val, Int_2_Par_Val)
2023-12-02T00:33:05 | ^~~~~~
2023-12-02T00:33:05 /home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/output/rockchip_rk3288/host/bin/arm-buildroot-linux-gnueabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os   -o dhrystone dhry_1.o dhry_2.o -lm
2023-12-02T00:33:05 >>> dhrystone 2 Installing to target
2023-12-02T00:33:05 /usr/bin/install -D /home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/output/rockchip_rk3288/build/dhrystone-2/dhrystone /home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/output/rockchip_rk3288/target/usr/bin/dhrystone
2023-12-02T00:33:06 >>> dnsmasq 2.85 Downloading
2023-12-02T00:33:06 --2023-12-02 00:33:06--  http://thekelleys.org.uk/dnsmasq/dnsmasq-2.85.tar.xz
2023-12-02T00:33:08 Resolving thekelleys.org.uk (thekelleys.org.uk)... 85.119.82.65, 2001:ba8:1f1:f049::2
2023-12-02T00:33:08 Connecting to thekelleys.org.uk (thekelleys.org.uk)|85.119.82.65|:80... connected.
2023-12-02T00:33:08 HTTP request sent, awaiting response... 302 Moved Temporarily
2023-12-02T00:33:08 Location: http://1.1.1.2/disable/disable.h ... =%E7%A6%81%E6%AD%A2 [following]
2023-12-02T00:33:08 Incomplete or invalid multibyte sequence encountered
2023-12-02T00:33:08 --2023-12-02 00:33:08--  http://1.1.1.2/disable/disable.h ... =%E7%A6%81%E6%AD%A2
2023-12-02T00:33:08 Connecting to 1.1.1.2:80... connected.
2023-12-02T00:33:08 HTTP request sent, awaiting response... 200 OK
2023-12-02T00:33:08 Length: 2664 (2.6K) [text/html]
2023-12-02T00:33:08 Saving to: '/home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/output/rockchip_rk3288/build/.dnsmasq-2.85.tar.xz.J27D8g/output'
2023-12-02T00:33:08
/home/wgd324/proj/rk3288_linux_release_v2.5.0a_202 100%[================================================================================================================>]   2.60K  --.-KB/s    in 0s      
2023-12-02T00:33:08
2023-12-02T00:33:08 2023-12-02 00:33:08 (91.1 MB/s) - '/home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/output/rockchip_rk3288/build/.dnsmasq-2.85.tar.xz.J27D8g/output' saved [2664/2664]
2023-12-02T00:33:08
2023-12-02T00:33:08 >>> dnsmasq 2.85 Extracting
2023-12-02T00:33:08 xzcat /home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/dl/dnsmasq-2.85.tar.xz | tar --strip-components=1 -C /home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/output/rockchip_rk3288/build/dnsmasq-2.85   -xf -
2023-12-02T00:33:08 xzcat: /home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/dl/dnsmasq-2.85.tar.xz: File format not recognized
2023-12-02T00:33:08 tar: This does not look like a tar archive
2023-12-02T00:33:08 tar: Exiting with failure status due to previous errors
2023-12-02T00:33:08 package/pkg-generic.mk:159: recipe for target '/home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/output/rockchip_rk3288/build/dnsmasq-2.85/.stamp_extracted' failed
2023-12-02T00:33:08 make[1]: *** [/home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/output/rockchip_rk3288/build/dnsmasq-2.85/.stamp_extracted] Error 2
2023-12-02T00:33:08 /home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/output/rockchip_rk3288/Makefile:16: recipe for target '_all' failed
2023-12-02T00:33:08 make: *** [_all] Error 2
2023-12-02T00:54:11 umask 0022 && make -C /home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot O=/home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/output/rockchip_rk3288
2023-12-02T00:54:17 /usr/bin/make -j1 O=/home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/output/rockchip_rk3288 HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" silentoldconfig
2023-12-02T00:54:18 GEN     /home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/output/rockchip_rk3288/Makefile
2023-12-02T00:54:18 >>> dnsmasq 2.85 Extracting
2023-12-02T00:54:18 xzcat /home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/dl/dnsmasq-2.85.tar.xz | tar --strip-components=1 -C /home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/output/rockchip_rk3288/build/dnsmasq-2.85   -xf -
2023-12-02T00:54:18 xzcat: /home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/dl/dnsmasq-2.85.tar.xz: File format not recognized
2023-12-02T00:54:18 tar: This does not look like a tar archive
2023-12-02T00:54:18 tar: Exiting with failure status due to previous errors
2023-12-02T00:54:18 package/pkg-generic.mk:159: recipe for target '/home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/output/rockchip_rk3288/build/dnsmasq-2.85/.stamp_extracted' failed
2023-12-02T00:54:18 make[1]: *** [/home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/output/rockchip_rk3288/build/dnsmasq-2.85/.stamp_extracted] Error 2
2023-12-02T00:54:18 /home/wgd324/proj/rk3288_linux_release_v2.5.0a_20230510/buildroot/output/rockchip_rk3288/Makefile:16: recipe for target '_all' failed
2023-12-02T00:54:18 make: *** [_all] Error 2
Command exited with non-zero status 1
you take 0:11.14 to build builroot
ERROR: Running build_buildroot failed!
ERROR: exit code 1 from line 726:
    /usr/bin/time -f "you take %E to build builroot" $COMMON_DIR/mk-buildroot.sh $BOARD_CONFIG
回复

使用道具 举报

298

积分

0

威望

0

贡献

禁止发言

积分
298
发表于 2023-12-4 11:04:38        只看该作者  7#
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表