|
发表于 2023-4-25 11:22:33
|
显示全部楼层
- [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config
复制代码
有放.config,本地编译时候生成的,没有加任何包,全默认,然后拉取的glbuilser根目录下cat .config是有一行一行的配置的。。而且action ssh控制台里直接运行make是可以跑完的,一旦自动就会报错
- Run cd openwrt
- 2 thread compile
- mkdir -p /workdir/openwrt/tmp
- make -C /workdir/openwrt/scripts/config mconf
- mkdir -p /workdir/openwrt/host/bin/
- make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
- /workdir/openwrt/scripts/scanboarddir.sh /workdir/openwrt/board
- make[1]: Entering directory '/workdir/openwrt/scripts/config'
- cc -O2 -o /workdir/openwrt/host/bin/mkhash /workdir/openwrt/scripts/mkhash.c
- set -e; mkdir -p ./; trap "rm -f ./.mconf-cfg.tmp" EXIT; { /bin/sh mconf-cfg.sh; } > ./.mconf-cfg.tmp; if [ ! -r mconf-cfg ] || ! cmp -s mconf-cfg ./.mconf-cfg.tmp; then true ' UPD mconf-cfg'; mv -f ./.mconf-cfg.tmp mconf-cfg; fi
- cc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o mconf.o mconf.c
- mkdir -p /workdir/openwrt/tmp/customer.tmp/info
- rm -rf /workdir/openwrt/tmp/customer.tmp/info/.* 2>/dev/null || true
- make -s -f /workdir/openwrt/include/scan.mk IS_TTY=1 SCAN_TARGET="packageinfo" SCAN_DIR=/workdir/openwrt/customer/source SCAN_NAME="package" \
- SCAN_DEPTH=5 SCAN_EXTRA="" TMP_DIR=/workdir/openwrt/tmp/customer.tmp INCLUDE_DIR=/workdir/openwrt/include
- make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
- make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
- /bin/sh: 3: mkhash: not found
- cc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o lxdialog/checklist.o lxdialog/checklist.c
- Collecting package info: merging...
- /workdir/openwrt/scripts/package-metadata.pl config /workdir/openwrt/tmp/customer.tmp/.packageinfo > tmp/.customer-package.in
- cc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o lxdialog/inputbox.o lxdialog/inputbox.c
- /workdir/openwrt/scripts/package-metadata.pl mk /workdir/openwrt/tmp/customer.tmp/.packageinfo 2>/dev/null >> /workdir/openwrt/tmp/.configdeps
- cc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o lxdialog/menubox.o lxdialog/menubox.c
- cc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o lxdialog/textbox.o lxdialog/textbox.c
- cc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o lxdialog/util.o lxdialog/util.c
- cc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o lxdialog/yesno.o lxdialog/yesno.c
- cc -c -o confdata.o confdata.c
- cc -c -o expr.o expr.c
- cc -I ./. -c -o lexer.lex.o lexer.lex.c
- cc -I ./. -c -o parser.tab.o parser.tab.c
- cc -c -o preprocess.o preprocess.c
- cc -c -o symbol.o symbol.c
- cc -c -o util.o util.c
- cc -o mconf mconf.o lxdialog/checklist.o lxdialog/inputbox.o lxdialog/menubox.o lxdialog/textbox.o lxdialog/util.o lxdialog/yesno.o confdata.o expr.o lexer.lex.o parser.tab.o preprocess.o symbol.o util.o -Wl,-Bsymbolic-functions -lncursesw -ltinfo
- make[1]: Leaving directory '/workdir/openwrt/scripts/config'
- mkdir -p /workdir/openwrt/dl
- /workdir/openwrt/scripts/download.pl /workdir/openwrt/dl imagebuilder--.tar.xz https://fw.gl-inet.cn/releases/imagebuilder/
- Collecting package info: doneUse of uninitialized value $ARGV[0] in pattern match (m//) at /workdir/openwrt/scripts/download.pl line 22.
- Cannot find appropriate hash command, ensure the provided hash is either a MD5 or SHA256 checksum.
- make: *** [/workdir/openwrt/include/imagebuilder.mk:58: /workdir/openwrt/dl/imagebuilder--.tar.xz] Error 255
- Error: Process completed with exit code 2.
复制代码
|
|