TinkerBoard2S 编译BuildRoot时无法下载dropbear
>>> dropbear 2019.78 Downloading--2022-08-05 14:33:44--https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2
正在解析主机 matt.ucc.asn.au (matt.ucc.asn.au)... 172.67.72.143, 104.26.9.126, 104.26.8.126, ...
正在连接 matt.ucc.asn.au (matt.ucc.asn.au)|172.67.72.143|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2 [跟随至新的 URL]
--2022-08-05 14:33:45--https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2
再次使用存在的到 matt.ucc.asn.au:443 的连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2 [跟随至新的 URL]
--2022-08-05 14:33:46--https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2
再次使用存在的到 matt.ucc.asn.au:443 的连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2 [跟随至新的 URL]
--2022-08-05 14:33:46--https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2
再次使用存在的到 matt.ucc.asn.au:443 的连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2 [跟随至新的 URL]
--2022-08-05 14:33:47--https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2
再次使用存在的到 matt.ucc.asn.au:443 的连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2 [跟随至新的 URL]
--2022-08-05 14:33:47--https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2
再次使用存在的到 matt.ucc.asn.au:443 的连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2 [跟随至新的 URL]
--2022-08-05 14:33:48--https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2
再次使用存在的到 matt.ucc.asn.au:443 的连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2 [跟随至新的 URL]
--2022-08-05 14:33:49--https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2
再次使用存在的到 matt.ucc.asn.au:443 的连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2 [跟随至新的 URL]
--2022-08-05 14:33:49--https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2
再次使用存在的到 matt.ucc.asn.au:443 的连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2 [跟随至新的 URL]
--2022-08-05 14:33:50--https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2
再次使用存在的到 matt.ucc.asn.au:443 的连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2 [跟随至新的 URL]
--2022-08-05 14:33:50--https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2
再次使用存在的到 matt.ucc.asn.au:443 的连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2 [跟随至新的 URL]
--2022-08-05 14:33:51--https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2
再次使用存在的到 matt.ucc.asn.au:443 的连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2 [跟随至新的 URL]
--2022-08-05 14:33:52--https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2
再次使用存在的到 matt.ucc.asn.au:443 的连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2 [跟随至新的 URL]
--2022-08-05 14:33:52--https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2
再次使用存在的到 matt.ucc.asn.au:443 的连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2 [跟随至新的 URL]
--2022-08-05 14:33:53--https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2
再次使用存在的到 matt.ucc.asn.au:443 的连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2 [跟随至新的 URL]
--2022-08-05 14:33:53--https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2
再次使用存在的到 matt.ucc.asn.au:443 的连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2 [跟随至新的 URL]
--2022-08-05 14:33:54--https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2
再次使用存在的到 matt.ucc.asn.au:443 的连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2 [跟随至新的 URL]
--2022-08-05 14:33:55--https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2
再次使用存在的到 matt.ucc.asn.au:443 的连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2 [跟随至新的 URL]
--2022-08-05 14:33:55--https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2
再次使用存在的到 matt.ucc.asn.au:443 的连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2 [跟随至新的 URL]
--2022-08-05 14:33:56--https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2
再次使用存在的到 matt.ucc.asn.au:443 的连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2 [跟随至新的 URL]
--2022-08-05 14:33:57--https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2
再次使用存在的到 matt.ucc.asn.au:443 的连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:https://matt.ucc.asn.au/dropbear/releases/dropbear-2019.78.tar.bz2 [跟随至新的 URL]
已超过 20 次重定向。
--2022-08-05 14:33:57--http://sources.buildroot.net/dropbear-2019.78.tar.bz2
正在解析主机 sources.buildroot.net (sources.buildroot.net)... 104.26.0.37, 172.67.72.56, 104.26.1.37, ...
正在连接 sources.buildroot.net (sources.buildroot.net)|104.26.0.37|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 404 Not Found
2022-08-05 14:33:58 错误 404:Not Found。
package/pkg-generic.mk:138: recipe for target '/home/evler/tinker_board_2/buildroot/output/build/dropbear-2019.78/.stamp_downloaded' failed
make: *** Error 1
Makefile:83: recipe for target '_all' failed
make: *** Error 2
去谷歌上面找到另一个链接:http://sources.buildroot.net/dropbear/dropbear-2019.78.tar.bz2
下载好后放置dl目录即可,又可以愉快的进行make了
cd dl/
wget http://sources.buildroot.net/dropbear/dropbear-2019.78.tar.bz2
cd ../
make
本帖最后由 风火轮用户mo1Q5 于 2022-8-5 19:04 编辑
出现了新的错误。。。。
使用 https://github.com/TinkerBoard2/kernel 内核 linux4.4-rk3399 分支
>>> linux-toolsBuilding
PATH="/home/evler/tinker_board_2/buildroot/output/host/bin:/home/evler/tinker_board_2/buildroot/output/host/sbin:/home/evler/git-repo:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/arm/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf/bin" /usr/bin/make -j1 HOSTCC="/usr/bin/gcc -O2 -I/home/evler/tinker_board_2/buildroot/output/host/include -L/home/evler/tinker_board_2/buildroot/output/host/lib -Wl,-rpath,/home/evler/tinker_board_2/buildroot/output/host/lib" ARCH=arm64 INSTALL_MOD_PATH=/home/evler/tinker_board_2/buildroot/output/target CROSS_COMPILE="/home/evler/tinker_board_2/buildroot/output/host/bin/aarch64-buildroot-linux-gnu-" DEPMOD=/home/evler/tinker_board_2/buildroot/output/host/sbin/depmod INSTALL_MOD_STRIP=1 JOBS=5 ARCH=arm64 DESTDIR=/home/evler/tinker_board_2/buildroot/output/target prefix=/usr WERROR=0 NO_LIBAUDIT=1 NO_NEWT=1 NO_GTK2=1 NO_LIBPERL=1 NO_LIBPYTHON=1 NO_LIBBIONIC=1 NO_SLANG=1 NO_LIBUNWIND=1 NO_LIBNUMA=1 NO_LIBELF=1 NO_DWARF=1 NO_LZMA=1 -C /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf O=/home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/
BUILD: Doing 'make -j5' parallel build
Auto-detecting system features:
... dwarf: [ OFF ]
... glibc: [ on]
... gtk2: [ OFF ]
... libaudit: [ OFF ]
... libbfd: [ OFF ]
... libelf: [ OFF ]
... libnuma: [ OFF ]
... numa_num_possible_cpus: [ OFF ]
... libperl: [ OFF ]
... libpython: [ OFF ]
... libslang: [ OFF ]
... libunwind: [ OFF ]
... libdw-dwarf-unwind: [ OFF ]
... zlib: [ on]
... lzma: [ OFF ]
... get_cpuid: [ OFF ]
... bpf: [ on]
config/Makefile:351: Disabling post unwind, no support found.
config/Makefile:489: Python support disabled by user
GEN /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/common-cmds.h
CC /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/util/abspath.o
MKDIR /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/fd/
CC /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/fd/array.o
CC /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/event-parse.o
CC /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/event-plugin.o
LD /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/fd/libapi-in.o
MKDIR /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/fs/
CC /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/fs/fs.o
CC /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/util/alias.o
CC /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/util/annotate.o
In file included from /home/evler/tinker_board_2/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/string.h:494,
from fs/fs.c:7:
在函数‘strncpy’中,
内联自‘fs__env_override’于 fs/fs.c:191:2,
内联自‘fs__get_mountpoint’于 fs/fs.c:197:6:
/home/evler/tinker_board_2/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:106:10: 错误:‘__builtin_strncpy’ specified bound 4096 equals destination size [-Werror=stringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/include/linux/list.h:5,
from util/sort.h:8,
from util/annotate.c:12:
/home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/include/linux/../../../include/linux/list.h: 在函数‘__list_add_valid’中:
/home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/include/linux/../../../include/linux/list.h:37:55: 警告:unused parameter ‘new’ [-Wunused-parameter]
37 | static inline bool __list_add_valid(struct list_head *new,
| ~~~~~~~~~~~~~~~~~~^~~
/home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/include/linux/../../../include/linux/list.h:38:23: 警告:unused parameter ‘prev’ [-Wunused-parameter]
38 | struct list_head *prev,
| ~~~~~~~~~~~~~~~~~~^~~~
/home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/include/linux/../../../include/linux/list.h:39:23: 警告:unused parameter ‘next’ [-Wunused-parameter]
39 | struct list_head *next)
| ~~~~~~~~~~~~~~~~~~^~~~
/home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/include/linux/../../../include/linux/list.h: 在函数‘__list_del_entry_valid’中:
/home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/include/linux/../../../include/linux/list.h:43:61: 警告:unused parameter ‘entry’ [-Wunused-parameter]
43 | static inline bool __list_del_entry_valid(struct list_head *entry)
| ~~~~~~~~~~~~~~~~~~^~~~~
cc1:所有的警告都被当作是错误
MKDIR /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/fs/
CC /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/fs/tracing_path.o
CC /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/arch/common.o
In file included from /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/include/linux/list.h:5,
from arch/../util/map.h:6,
from arch/../util/event.h:8,
from arch/../util/debug.h:7,
from arch/common.c:4:
/home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/include/linux/../../../include/linux/list.h: 在函数‘__list_add_valid’中:
/home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/include/linux/../../../include/linux/list.h:37:55: 警告:unused parameter ‘new’ [-Wunused-parameter]
37 | static inline bool __list_add_valid(struct list_head *new,
| ~~~~~~~~~~~~~~~~~~^~~
/home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/include/linux/../../../include/linux/list.h:38:23: 警告:unused parameter ‘prev’ [-Wunused-parameter]
38 | struct list_head *prev,
| ~~~~~~~~~~~~~~~~~~^~~~
/home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/include/linux/../../../include/linux/list.h:39:23: 警告:unused parameter ‘next’ [-Wunused-parameter]
39 | struct list_head *next)
| ~~~~~~~~~~~~~~~~~~^~~~
/home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/include/linux/../../../include/linux/list.h: 在函数‘__list_del_entry_valid’中:
/home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/include/linux/../../../include/linux/list.h:43:61: 警告:unused parameter ‘entry’ [-Wunused-parameter]
43 | static inline bool __list_del_entry_valid(struct list_head *entry)
| ~~~~~~~~~~~~~~~~~~^~~~~
LD /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/fs/libapi-in.o
/home/evler/tinker_board_2/buildroot/output/host/bin/aarch64-buildroot-linux-gnu-ld: 找不到 /home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/fs/fs.o: 没有那个文件或目录
/home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/build/Makefile.build:131: recipe for target '/home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/fs/libapi-in.o' failed
make: *** Error 1
/home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/build/Makefile.build:126: recipe for target 'fs' failed
make: *** Error 2
Makefile:34: recipe for target '/home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/libapi-in.o' failed
make: *** Error 2
Makefile.perf:445: recipe for target '/home/evler/tinker_board_2/buildroot/output/build/linux-custom/tools/perf/libapi.a' failed
make: *** Error 2
make: *** 正在等待未完成的任务....
页:
[1]