Giter Site home page Giter Site logo

immortalwrt / packages Goto Github PK

View Code? Open in Web Editor NEW
133.0 10.0 217.0 98.33 MB

Community maintained packages for ImmortalWrt.

License: GNU General Public License v2.0

Shell 26.88% Makefile 53.93% C 14.19% Lua 1.04% JavaScript 0.13% Perl 0.11% Ruby 0.12% M4 0.02% Vala 0.81% CSS 0.01% CMake 0.08% C++ 1.60% Awk 0.08% Go 0.03% Python 0.03% Pawn 0.01% UnrealScript 0.89% Vim Script 0.01% Smarty 0.02%
hacktoberfest

packages's Introduction

OpenWrt packages feed

Description

This is the OpenWrt "packages"-feed containing community-maintained build scripts, options and patches for applications, modules and libraries used within OpenWrt.

Installation of pre-built packages is handled directly by the opkg utility within your running OpenWrt system or by using the OpenWrt SDK on a build system.

Usage

This repository is intended to be layered on-top of an OpenWrt buildroot. If you do not have an OpenWrt buildroot installed, see the documentation at: OpenWrt Buildroot – Installation on the OpenWrt support site.

This feed is enabled by default. To install all its package definitions, run:

./scripts/feeds update packages
./scripts/feeds install -a -p packages

License

See LICENSE file.

Package Guidelines

See CONTRIBUTING.md file.

packages's People

Contributors

1715173329 avatar bkpepe avatar champtar avatar commodo avatar cotequeiroz avatar dangowrt avatar dibdot avatar diizzyy avatar feckert avatar flyn-org avatar hnyman avatar immortalwrt-bot avatar ja-pa avatar jefferyto avatar jow- avatar krant avatar lucize avatar mhei avatar micmac1 avatar naoir avatar neheb avatar nmav avatar nxhack avatar pprindeville avatar sbyx avatar stangri avatar stintel avatar thess avatar tripolar avatar yousong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

packages's Issues

分支18.06的update_cloudflare_com_v4.sh脚本不可用

1806分支编译的ddns,采用脚本更新couldflare的域名ipv6地址。
报错如下:
171345 info : Starting main loop at 2022-05-11 17:13
171345 : Detect local IP on 'interface'
171345 : #> ip -o addr show dev br-lan scope global >/var/run/ddns/cfitv.dat 2>/var/run/ddns/cfitv.err
171346 : Local IP '240e:xxxxx' detected on interface 'br-lan'
171347 : Update needed - L: '240e:xxxxxx' <> R: '240e:xxxxxx'
171348 : parsing script '/usr/lib/ddns/update_cloudflare_com_v4.sh'
171348 : #> /usr/bin/curl -RsS -o /var/run/ddns/cfitv.dat --stderr /var/run/ddns/cfitv.err --noproxy '*' --header 'Authorization: Bearer PW' --header 'Content-Type: application/json' --request GET 'https://api.cloudflare.com/client/v4/zones?name=xxxx'
171359 WARN : Could not detect 'zone id' for domain.tld: 'xxxx'
171400 ERROR : No update send to DDNS Provider
171400 : Waiting 600 seconds (Check Interval)

采用update_cloudflare_com_v4_token.sh脚本,是同样的错误。

把lede的package-net-ddns脚本文件update_cloudflare_com_v4.sh替代上面有问题的脚本文件。
然后选择update_cloudflare_com_v4_token.sh就可以正常从br-lan里面的ipv6地址更新到cloudflare了。
如果用这个修改的update_cloudflare_com_v4.sh更新,也能成功更新。

其实不用token脚本也能用,token的话只是默认采用了Bearer用户名去更新地址,这个用户名是公用的。

谢谢。

21.02分支curl编译报错了

make[7]: Leaving directory '/home/zcluo/immortalwrt/build_dir/target-x86_64_musl/curl-7.82.0/docs/cmdline-opts'
make[6]: Leaving directory '/home/zcluo/immortalwrt/build_dir/target-x86_64_musl/curl-7.82.0/docs'
make[6]: Entering directory '/home/zcluo/immortalwrt/build_dir/target-x86_64_musl/curl-7.82.0/src'
/bin/bash ../libtool --tag=CC --mode=link x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/zcluo/immortalwrt/build_dir/target-x86_64_musl/curl-7.82.0=curl-7.82.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -pthread -L/home/zcluo/immortalwrt/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/zcluo/immortalwrt/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/home/zcluo/immortalwrt/staging_dir/target-x86_64_musl/usr/lib -L/home/zcluo/immortalwrt/staging_dir/target-x86_64_musl/usr/lib -o curl slist_wc.o tool_binmode.o tool_bname.o tool_cb_dbg.o tool_cb_hdr.o tool_cb_prg.o tool_cb_rea.o tool_cb_see.o tool_cb_wrt.o tool_cfgable.o tool_dirhie.o tool_doswin.o tool_easysrc.o tool_filetime.o tool_findfile.o tool_formparse.o tool_getparam.o tool_getpass.o tool_help.o tool_helpers.o tool_hugehelp.o tool_libinfo.o tool_listhelp.o tool_main.o tool_msgs.o tool_operate.o tool_operhlp.o tool_panykey.o tool_paramhlp.o tool_parsecfg.o tool_progress.o tool_strdup.o tool_setopt.o tool_sleep.o tool_urlglob.o tool_util.o tool_vms.o tool_writeout.o tool_writeout_json.o tool_xattr.o ../lib/strtoofft.o ../lib/nonblock.o ../lib/warnless.o ../lib/curl_ctype.o ../lib/curl_multibyte.o ../lib/version_win32.o ../lib/dynbuf.o ../lib/libcurl.la -lnghttp2 -lssl -lcrypto -lssl -lcrypto -lldap -llber
OpenWrt-libtool: link: x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-
util.o tool_vms.o tool_writeout.o tool_writeout_json.o tool_xattr.o ../lib/strtoofft.o ../lib/nonblock.o ../lib/warnless.o ../lib/curl_ctype.o ../lib/curl_multibyte.o ../lib/version_win32.o ../lib/dynbuf.o -L/home/zcluo/immortalwrt/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/zcluo/immortalwrt/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -L/home/zcluo/immortalwrt/staging_dir/target-x86_64_musl/usr/lib ../lib/.libs/libcurl.so -lnghttp2 -lssl -lcrypto -lldap -llber -pthread
/home/zcluo/immortalwrt/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/../../../../x86_64-openwrt-linux-musl/bin/ld: ../lib/.libs/libcurl.so: undefined reference to Curl_sasl_can_authenticate' /home/zcluo/immortalwrt/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/../../../../x86_64-openwrt-linux-musl/bin/ld: ../lib/.libs/libcurl.so: undefined reference to Curl_sasl_parse_url_auth_option'
/home/zcluo/immortalwrt/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/../../../../x86_64-openwrt-linux-musl/bin/ld: ../lib/.libs/libcurl.so: undefined reference to Curl_sasl_decode_mech' /home/zcluo/immortalwrt/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/../../../../x86_64-openwrt-linux-musl/bin/ld: ../lib/.libs/libcurl.so: undefined reference to Curl_sasl_continue'
/home/zcluo/immortalwrt/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/../../../../x86_64-openwrt-linux-musl/bin/ld: ../lib/.libs/libcurl.so: undefined reference to Curl_sasl_start' /home/zcluo/immortalwrt/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/../../../../x86_64-openwrt-linux-musl/bin/ld: ../lib/.libs/libcurl.so: undefined reference to Curl_sasl_init'
/home/zcluo/immortalwrt/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/../../../../x86_64-openwrt-linux-musl/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `Curl_sasl_cleanup'
collect2: error: ld returned 1 exit status
make[6]: *** [Makefile:903: curl] Error 1
make[6]: Leaving directory '/home/zcluo/immortalwrt/build_dir/target-x86_64_musl/curl-7.82.0/src'
make[5]: *** [Makefile:1375: all-recursive] Error 1
make[5]: Leaving directory '/home/zcluo/immortalwrt/build_dir/target-x86_64_musl/curl-7.82.0/src'
make[4]: *** [Makefile:1217: all-recursive] Error 1
make[4]: Leaving directory '/home/zcluo/immortalwrt/build_dir/target-x86_64_musl/curl-7.82.0'

vsftpd编译失败

内核5.15,最新的vsftpd更改后,编译失败。

make[3]: Entering directory '/workdir/openwrt/feeds/packages/net/vsftpd'
rm -f /workdir/openwrt/build_dir/target-x86_64_musl/vsftpd-notls/vsftpd-3.0.5/.built
touch /workdir/openwrt/build_dir/target-x86_64_musl/vsftpd-notls/vsftpd-3.0.5/.built_check
/workdir/openwrt/staging_dir/host/bin/sed -i -e 's/-lcrypt -lnsl/-lcrypt/' /workdir/openwrt/build_dir/target-x86_64_musl/vsftpd-notls/vsftpd-3.0.5/Makefile
make -C /workdir/openwrt/build_dir/target-x86_64_musl/vsftpd-notls/vsftpd-3.0.5 CC="x86_64-openwrt-linux-musl-gcc" CFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/workdir/openwrt/build_dir/target-x86_64_musl/vsftpd-notls/vsftpd-3.0.5=vsftpd-3.0.5 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D_GNU_SOURCE -include fcntl.h -I/workdir/openwrt/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/usr/include -I/workdir/openwrt/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/include/fortify -I/workdir/openwrt/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/include" LDFLAGS="-L/workdir/openwrt/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/usr/lib -L/workdir/openwrt/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/lib -znow -zrelro" vsftpd
make[4]: Entering directory '/workdir/openwrt/build_dir/target-x86_64_musl/vsftpd-notls/vsftpd-3.0.5'
x86_64-openwrt-linux-musl-gcc -o vsftpd main.o utility.o prelogin.o ftpcmdio.o postlogin.o privsock.o tunables.o ftpdataio.o secbuf.o ls.o postprivparent.o logging.o str.o netstr.o sysstr.o strlist.o banner.o filestr.o parseconf.o secutil.o ascii.o oneprocess.o twoprocess.o privops.o standalone.o hash.o tcpwrap.o ipaddrparse.o access.o features.o readwrite.o opts.o ssl.o sslslave.o ptracesandbox.o ftppolicy.o sysutil.o sysdeputil.o seccompsandbox.o -L/workdir/openwrt/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/usr/lib -L/workdir/openwrt/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/lib -znow -zrelro -lcrypt
/workdir/openwrt/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/lib/gcc/x86_64-openwrt-linux-musl/11.3.0/../../../../x86_64-openwrt-linux-musl/bin/ld: sysdeputil.o: in function uci_lookup_option_string': sysdeputil.c:(.text+0x1b): undefined reference to uci_lookup_next'
/workdir/openwrt/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/lib/gcc/x86_64-openwrt-linux-musl/11.3.0/../../../../x86_64-openwrt-linux-musl/bin/ld: sysdeputil.o: in function vsf_sysdep_check_auth': sysdeputil.c:(.text+0x6b): undefined reference to uci_alloc_context'
/workdir/openwrt/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/lib/gcc/x86_64-openwrt-linux-musl/11.3.0/../../../../x86_64-openwrt-linux-musl/bin/ld: sysdeputil.c:(.text+0x8c): undefined reference to uci_load' /workdir/openwrt/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/lib/gcc/x86_64-openwrt-linux-musl/11.3.0/../../../../x86_64-openwrt-linux-musl/bin/ld: sysdeputil.c:(.text+0x12d): undefined reference to uci_unload'
/workdir/openwrt/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/lib/gcc/x86_64-openwrt-linux-musl/11.3.0/../../../../x86_64-openwrt-linux-musl/bin/ld: sysdeputil.c:(.text+0x136): undefined reference to `uci_free_context'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:31: vsftpd] Error 1
make[4]: Leaving directory '/workdir/openwrt/build_dir/target-x86_64_musl/vsftpd-notls/vsftpd-3.0.5'
make[3]: *** [Makefile:108: /workdir/openwrt/build_dir/target-x86_64_musl/vsftpd-notls/vsftpd-3.0.5/.built] Error 2
make[3]: Leaving directory '/workdir/openwrt/feeds/packages/net/vsftpd'
time: package/feeds/packages/vsftpd/notls/compile#0.27#0.05#0.30
ERROR: package/feeds/packages/vsftpd failed to build (build variant: notls).
make[2]: *** [package/Makefile:116: package/feeds/packages/vsftpd/compile] Error 1
make[2]: Leaving directory '/workdir/openwrt'
make[1]: *** [package/Makefile:110: /workdir/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/workdir/openwrt'
make: *** [/workdir/openwrt/include/toplevel.mk:230: world] Error 2

21.02的报错

  ccache_cxx -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -o /workdir/openwrt/build_dir/target-mipsel_24kc_musl/node-v14.17.0/out/Release/obj.target/v8_libbase/deps/v8/src/base/cpu.o ../deps/v8/src/base/cpu.cc '-DV8_GYP_BUILD' '-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64' '-D__STDC_FORMAT_MACROS' '-DV8_TARGET_ARCH_MIPS' '-DCAN_USE_FPU_INSTRUCTIONS' '-D__mips_hard_float=1' '-DV8_EMBEDDER_STRING="-node.63"' '-DENABLE_DISASSEMBLER' '-DV8_PROMISE_INTERNAL_FIELD_COUNT=1' '-DENABLE_MINOR_MC' '-DOBJECT_PRINT' '-DV8_CONCURRENT_MARKING' '-DV8_ARRAY_BUFFER_EXTENSION' '-DV8_ENABLE_LAZY_SOURCE_POSITIONS' '-DV8_USE_SIPHASH' '-DDISABLE_UNTRUSTED_CODE_MITIGATIONS' '-DV8_WIN64_UNWINDING_INFO' '-DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH' '-DV8_SNAPSHOT_COMPRESSION' '-DBUILDING_V8_BASE_SHARED' '-D_MIPS_TARGET_HW' '-D_MIPS_ARCH_MIPS32R2' '-DFPU_MODE_FP32' -I/workdir/openwrt/staging_dir/target-mipsel_24kc_musl/usr/include -I../deps/v8 -I../deps/v8/include  -pthread -Wno-unused-parameter -Wno-return-type -fno-strict-aliasing -EL -Wno-error=array-bounds -mhard-float -mips32r2 -mfp32 -Wa,-mips32r2 -O3 -fno-omit-frame-pointer -fdata-sections -ffunction-sections -O3 -fno-rtti -fno-exceptions -std=gnu++1y -MMD -MF /workdir/openwrt/build_dir/target-mipsel_24kc_musl/node-v14.17.0/out/Release/.deps//workdir/openwrt/build_dir/target-mipsel_24kc_musl/node-v14.17.0/out/Release/obj.target/v8_libbase/deps/v8/src/base/cpu.o.d.raw  -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/workdir/openwrt/build_dir/target-mipsel_24kc_musl/node-v14.17.0=node-v14.17.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro  -I/workdir/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/usr/include -I/workdir/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/include/fortify -I/workdir/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/include  -c
{standard input}: Assembler messages:
{standard input}:130: Error: opcode not supported on this processor: mips32r2 (mips32r2) `ldc1 $f0,24($fp)'
{standard input}:131: Error: opcode not supported on this processor: mips32r2 (mips32r2) `mtc1 $t0,$f1'
{standard input}:132: Error: opcode not supported on this processor: mips32r2 (mips32r2) `sdc1 $f0,24($fp)'
tools/v8_gypfiles/v8_libbase.target.mk:169: recipe for target '/workdir/openwrt/build_dir/target-mipsel_24kc_musl/node-v14.17.0/out/Release/obj.target/v8_libbase/deps/v8/src/base/cpu.o' failed
make[5]: *** [/workdir/openwrt/build_dir/target-mipsel_24kc_musl/node-v14.17.0/out/Release/obj.target/v8_libbase/deps/v8/src/base/cpu.o] Error 1
rm e6921c17115b9fbf485a4f7bd6d69c28f1467d90.intermediate d129d97c4fadc4412d1517575b540c54ed6fa80f.intermediate 9b1b3ee6e5e5faaa82e98cc2ffef51aaaf217aef.intermediate 5eae84d822bc2ef4b790252c2aeab1a089d6aadb.intermediate d53d03011e86c6c97813d20481f2163ca77876d4.intermediate
make[4]: *** [node] Error 2
Makefile:104: recipe for target 'node' failed
make[4]: Leaving directory '/workdir/openwrt/build_dir/target-mipsel_24kc_musl/node-v14.17.0'
Makefile:196: recipe for target '/workdir/openwrt/build_dir/target-mipsel_24kc_musl/node-v14.17.0/.built' failed
make[3]: Leaving directory '/workdir/openwrt/feeds/packages/lang/node'
time: package/feeds/packages/node/compile#13.90#0.73#14.51
make[3]: *** [/workdir/openwrt/build_dir/target-mipsel_24kc_musl/node-v14.17.0/.built] Error 2
    ERROR: package/feeds/packages/node failed to build.
package/Makefile:112: recipe for target 'package/feeds/packages/node/compile' failed
make[2]: Leaving directory '/workdir/openwrt'

SoftEtherVPN

SHELL= flock /home/runner/lede/tmp/.SoftEtherVPN-5.02.5180.tar.xz.flock -c ' /home/runner/lede/scripts/download.pl "/home/runner/lede/dl" "SoftEtherVPN-5.02.5180.tar.xz" "b5649a8ea3cc6477325e09e2248ef708d434ee3b2251eb8764bcfc15fb1de456" "" "https://github.com/SoftEtherVPN/SoftEtherVPN/releases/download/5.02.5180/" '
. /home/runner/lede/include/shell.sh; xzcat /home/runner/lede/dl/SoftEtherVPN-5.02.5180.tar.xz | tar -C /home/runner/lede/build_dir/hostpkg/SoftEtherVPN-5.02.5180/.. -xf -
[ ! -d ./src/ ] || cp -fpR ./src/* /home/runner/lede/build_dir/hostpkg/SoftEtherVPN-5.02.5180

Applying ./patches/001-iconv-cmake-fix.patch using plaintext:
patching file src/Mayaqua/CMakeLists.txt

Applying ./patches/002-pthread-include-fix.patch using plaintext:
patching file src/Mayaqua/Encrypt.h

Applying ./patches/010-engines.patch using plaintext:
patching file src/Mayaqua/Encrypt.c
Hunk #1 FAILED at 3128 (different line endings).
Hunk #2 FAILED at 3140 (different line endings).
2 out of 2 hunks FAILED -- saving rejects to file src/Mayaqua/Encrypt.c.rej
Patch failed! Please fix ./patches/010-engines.patch!

qbittorrent缺少依赖

 * pkg_hash_check_unresolved: cannot find dependency boost-system for libtorrent-rasterbar
 * pkg_hash_fetch_best_installation_candidate: Packages for libtorrent-rasterbar found, but incompatible with the architectures configured
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-app-qbittorrent:
 * 	boost-system
 * opkg_install_cmd: Cannot install package luci-app-qbittorrent.

麻烦大佬修一下吧。

方便21.02的softethervpn更新下最新rtm么

偶然情况下,softethervpn突然弹出升级服务端版本才发现,21.02的编译出来的版本不是最新rtm的。如图:
image
master branch的是最新的。方便处理一下么,比较喜欢求稳

verysync 编译错误

install: cannot stat '/home/xxxx/openwrt/build_dir/target-x86_64_musl/verysync-2.6.4/verysync-linux-amd64-2.6.4/verysync': No such file or directory

看了下 Makefile,是版本号前面 v 的锅,把下载 PKG_SOURCE 和 PKG_SOURCE_URL 的 v$(PKG_VERSION) 的 v去掉,改在 PKG_VERSION:=v2.6.4 这里加上就可以编译过了

另外,最新版本已经是 2.6.5 了

[21.02] unpn不能使用

Upnp不能使用,会报这个错误

daemon.notice miniupnpd[8424]: private/reserved address 192.168.122.158 is not suitable for external IP

qBittorrent 上传种子文件 程序自动关闭

qBittorrent 上传种子文件 程序自动关闭
然后系统日志提示
Mon Nov 15 18:11:26 2021 kern.info kernel: [53494.191117] traps: qbittorrent-nox[6119] general protection ip:7f0a89d7c9eb sp:7f0a885b1ae8 error:0 in libc.so[7f0a89d6d000+49000]

然后qBittorrent就无法打开 只能把/etc/qBittorrent/data/BT_backup里的种子文件删了才能打开

libgpg-error : compiled faild by immortalwrt external toolchain

make[7]: Entering directory '/home/nuexini/build_dir/target-mipsel-openwrt-linux-musl_musl/libgpg-error-1.43/src'
/bin/bash ../libtool  --tag=CC   --mode=compile mipsel-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/share/locale\"  -I/home/NX_SDK/openwrt-toolchain-ramips-mt7621_gcc-11.2.0_musl.Linux-x86_64/toolchain-mipsel_24kc_gcc-11.2.0_musl/usr/include -I/home/NX_SDK/openwrt-toolchain-ramips-mt7621_gcc-11.2.0_musl.Linux-x86_64/toolchain-mipsel_24kc_gcc-11.2.0_musl/include   -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -msoft-float -mips16 -minterlink-mips16  -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro  -Wall -Wpointer-arith -Wno-psabi -fvisibility=hidden -MT libgpg_error_la-posix-lock.lo -MD -MP -MF .deps/libgpg_error_la-posix-lock.Tpo -c -o libgpg_error_la-posix-lock.lo `test -f 'posix-lock.c' || echo './'`posix-lock.c
OpenWrt-libtool: compile:  mipsel-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/home/NX_SDK/openwrt-toolchain-ramips-mt7621_gcc-11.2.0_musl.Linux-x86_64/toolchain-mipsel_24kc_gcc-11.2.0_musl/usr/include -I/home/NX_SDK/openwrt-toolchain-ramips-mt7621_gcc-11.2.0_musl.Linux-x86_64/toolchain-mipsel_24kc_gcc-11.2.0_musl/include -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -msoft-float -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wpointer-arith -Wno-psabi -fvisibility=hidden -MT libgpg_error_la-posix-lock.lo -MD -MP -MF .deps/libgpg_error_la-posix-lock.Tpo -c posix-lock.c  -fPIC -DPIC -o .libs/libgpg_error_la-posix-lock.o
In file included from gpgrt-int.h:24,
                 from posix-lock.c:41:
gpg-error.h:61: error: unterminated #ifndef
   61 | #ifndef GPGRT_H
      | 
gpg-error.h:59: error: unterminated #ifndef
   59 | #ifndef GPG_ERROR_H
      | 
In file included from posix-lock.c:41:
gpgrt-int.h:139:34: error: unknown type name 'gpgrt_lock_t'; did you mean 'gpgrt_off_t'?
  139 | gpg_err_code_t _gpgrt_lock_init (gpgrt_lock_t *lockhd);
      |                                  ^~~~~~~~~~~~
      |                                  gpgrt_off_t
gpgrt-int.h:140:34: error: unknown type name 'gpgrt_lock_t'; did you mean 'gpgrt_off_t'?
  140 | gpg_err_code_t _gpgrt_lock_lock (gpgrt_lock_t *lockhd);
      |                                  ^~~~~~~~~~~~
      |                                  gpgrt_off_t
gpgrt-int.h:141:37: error: unknown type name 'gpgrt_lock_t'; did you mean 'gpgrt_off_t'?
  141 | gpg_err_code_t _gpgrt_lock_trylock (gpgrt_lock_t *lockhd);
      |                                     ^~~~~~~~~~~~
      |                                     gpgrt_off_t
gpgrt-int.h:142:36: error: unknown type name 'gpgrt_lock_t'; did you mean 'gpgrt_off_t'?
  142 | gpg_err_code_t _gpgrt_lock_unlock (gpgrt_lock_t *lockhd);
      |                                    ^~~~~~~~~~~~
      |                                    gpgrt_off_t
gpgrt-int.h:143:37: error: unknown type name 'gpgrt_lock_t'; did you mean 'gpgrt_off_t'?
  143 | gpg_err_code_t _gpgrt_lock_destroy (gpgrt_lock_t *lockhd);
      |                                     ^~~~~~~~~~~~
      |                                     gpgrt_off_t
gpgrt-int.h:229:37: error: field 'public' has incomplete type
  229 |   struct _gpgrt_cookie_io_functions public;
      |                                     ^~~~~~
gpgrt-int.h:250:26: error: expected ')' before 'void'
  250 |   void (*fnc) (estream_t, void*); /* The notification function.  */
      |                          ^~~~~
      |                          )
gpgrt-int.h:278:3: error: unknown type name 'gpgrt_lock_t'
  278 |   gpgrt_lock_t lock;             /* Lock.  Used by *_stream_lock(). */
      |   ^~~~~~~~~~~~
gpgrt-int.h:286:3: error: unknown type name 'gpgrt_cookie_read_function_t'
  286 |   gpgrt_cookie_read_function_t  func_read;
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gpgrt-int.h:287:3: error: unknown type name 'gpgrt_cookie_write_function_t'
  287 |   gpgrt_cookie_write_function_t func_write;
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gpgrt-int.h:288:3: error: unknown type name 'gpgrt_cookie_seek_function_t'
  288 |   gpgrt_cookie_seek_function_t  func_seek;
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gpgrt-int.h:289:3: error: unknown type name 'gpgrt_cookie_close_function_t'
  289 |   gpgrt_cookie_close_function_t func_close;
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gpgrt-int.h:292:3: error: unknown type name 'es_syshd_t'
  292 |   es_syshd_t syshd;              /* A copy of the system handle.  */
      |   ^~~~~~~~~~
gpgrt-int.h:317:1: error: unknown type name 'gpgrt_stream_t'
  317 | gpgrt_stream_t _gpgrt_fopen (const char *_GPGRT__RESTRICT path,
      | ^~~~~~~~~~~~~~
gpgrt-int.h:319:1: error: unknown type name 'gpgrt_stream_t'
  319 | gpgrt_stream_t _gpgrt_mopen (void *_GPGRT__RESTRICT data,
      | ^~~~~~~~~~~~~~
gpgrt-int.h:325:1: error: unknown type name 'gpgrt_stream_t'
  325 | gpgrt_stream_t _gpgrt_fopenmem (size_t memlimit,
      | ^~~~~~~~~~~~~~
gpgrt-int.h:327:1: error: unknown type name 'gpgrt_stream_t'
  327 | gpgrt_stream_t _gpgrt_fopenmem_init (size_t memlimit,
      | ^~~~~~~~~~~~~~
gpgrt-int.h:330:1: error: unknown type name 'gpgrt_stream_t'
  330 | gpgrt_stream_t _gpgrt_fdopen    (int filedes, const char *mode);
      | ^~~~~~~~~~~~~~
gpgrt-int.h:331:1: error: unknown type name 'gpgrt_stream_t'
  331 | gpgrt_stream_t _gpgrt_fdopen_nc (int filedes, const char *mode);
      | ^~~~~~~~~~~~~~
gpgrt-int.h:332:1: error: unknown type name 'gpgrt_stream_t'
  332 | gpgrt_stream_t _gpgrt_sysopen    (gpgrt_syshd_t *syshd, const char *mode);
      | ^~~~~~~~~~~~~~
gpgrt-int.h:332:35: error: unknown type name 'gpgrt_syshd_t'; did you mean 'gpgrt_syshd'?
  332 | gpgrt_stream_t _gpgrt_sysopen    (gpgrt_syshd_t *syshd, const char *mode);
      |                                   ^~~~~~~~~~~~~
      |                                   gpgrt_syshd
gpgrt-int.h:333:1: error: unknown type name 'gpgrt_stream_t'
  333 | gpgrt_stream_t _gpgrt_sysopen_nc (gpgrt_syshd_t *syshd, const char *mode);
      | ^~~~~~~~~~~~~~
gpgrt-int.h:333:35: error: unknown type name 'gpgrt_syshd_t'; did you mean 'gpgrt_syshd'?
  333 | gpgrt_stream_t _gpgrt_sysopen_nc (gpgrt_syshd_t *syshd, const char *mode);
      |                                   ^~~~~~~~~~~~~
      |                                   gpgrt_syshd
gpgrt-int.h:334:1: error: unknown type name 'gpgrt_stream_t'
  334 | gpgrt_stream_t _gpgrt_fpopen    (FILE *fp, const char *mode);
      | ^~~~~~~~~~~~~~
gpgrt-int.h:335:1: error: unknown type name 'gpgrt_stream_t'
  335 | gpgrt_stream_t _gpgrt_fpopen_nc (FILE *fp, const char *mode);
      | ^~~~~~~~~~~~~~
gpgrt-int.h:336:1: error: unknown type name 'gpgrt_stream_t'
  336 | gpgrt_stream_t _gpgrt_freopen (const char *_GPGRT__RESTRICT path,
      | ^~~~~~~~~~~~~~
gpgrt-int.h:338:32: error: unknown type name 'gpgrt_stream_t'
  338 |                                gpgrt_stream_t _GPGRT__RESTRICT stream);
      |                                ^~~~~~~~~~~~~~
gpgrt-int.h:339:1: error: unknown type name 'gpgrt_stream_t'
  339 | gpgrt_stream_t _gpgrt_fopencookie (void *_GPGRT__RESTRICT cookie,
      | ^~~~~~~~~~~~~~
gpgrt-int.h:341:36: error: unknown type name 'gpgrt_cookie_io_functions_t'; did you mean 'cookie_io_functions_t'?
  341 |                                    gpgrt_cookie_io_functions_t functions);
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                    cookie_io_functions_t
gpgrt-int.h:342:20: error: unknown type name 'gpgrt_stream_t'
  342 | int _gpgrt_fclose (gpgrt_stream_t stream);
      |                    ^~~~~~~~~~~~~~
gpgrt-int.h:343:21: error: unknown type name 'gpgrt_stream_t'
  343 | int _gpgrt_fcancel (gpgrt_stream_t stream);
      |                     ^~~~~~~~~~~~~~
gpgrt-int.h:344:27: error: unknown type name 'gpgrt_stream_t'
  344 | int _gpgrt_fclose_snatch (gpgrt_stream_t stream,
      |                           ^~~~~~~~~~~~~~
gpgrt-int.h:346:21: error: unknown type name 'gpgrt_stream_t'
  346 | int _gpgrt_onclose (gpgrt_stream_t stream, int mode,
      |                     ^~~~~~~~~~~~~~
gpgrt-int.h:347:49: error: expected ')' before 'void'
  347 |                     void (*fnc) (gpgrt_stream_t, void*), void *fnc_value);
      |                                                 ^~~~~
      |                                                 )
gpgrt-int.h:347:58: error: expected ';', ',' or ')' before 'void'
  347 |                     void (*fnc) (gpgrt_stream_t, void*), void *fnc_value);
      |                                                          ^~~~
gpgrt-int.h:348:20: error: unknown type name 'gpgrt_stream_t'
  348 | int _gpgrt_fileno (gpgrt_stream_t stream);
      |                    ^~~~~~~~~~~~~~
gpgrt-int.h:349:29: error: unknown type name 'gpgrt_stream_t'
  349 | int _gpgrt_fileno_unlocked (gpgrt_stream_t stream);
      |                             ^~~~~~~~~~~~~~
gpgrt-int.h:350:19: error: unknown type name 'gpgrt_stream_t'
  350 | int _gpgrt_syshd (gpgrt_stream_t stream, gpgrt_syshd_t *syshd);
      |                   ^~~~~~~~~~~~~~
gpgrt-int.h:350:42: error: unknown type name 'gpgrt_syshd_t'; did you mean 'gpgrt_syshd'?
  350 | int _gpgrt_syshd (gpgrt_stream_t stream, gpgrt_syshd_t *syshd);
      |                                          ^~~~~~~~~~~~~
      |                                          gpgrt_syshd
gpgrt-int.h:351:28: error: unknown type name 'gpgrt_stream_t'
  351 | int _gpgrt_syshd_unlocked (gpgrt_stream_t stream, gpgrt_syshd_t *syshd);
      |                            ^~~~~~~~~~~~~~
gpgrt-int.h:351:51: error: unknown type name 'gpgrt_syshd_t'; did you mean 'gpgrt_syshd'?
  351 | int _gpgrt_syshd_unlocked (gpgrt_stream_t stream, gpgrt_syshd_t *syshd);
      |                                                   ^~~~~~~~~~~~~
      |                                                   gpgrt_syshd
gpgrt-int.h:354:1: error: unknown type name 'gpgrt_stream_t'
  354 | gpgrt_stream_t _gpgrt__get_std_stream (int fd);
      | ^~~~~~~~~~~~~~
gpgrt-int.h:364:24: error: unknown type name 'gpgrt_stream_t'
  364 | void _gpgrt_flockfile (gpgrt_stream_t stream);
      |                        ^~~~~~~~~~~~~~
gpgrt-int.h:365:27: error: unknown type name 'gpgrt_stream_t'
  365 | int  _gpgrt_ftrylockfile (gpgrt_stream_t stream);
      |                           ^~~~~~~~~~~~~~
gpgrt-int.h:366:26: error: unknown type name 'gpgrt_stream_t'
  366 | void _gpgrt_funlockfile (gpgrt_stream_t stream);
      |                          ^~~~~~~~~~~~~~
gpgrt-int.h:368:18: error: unknown type name 'gpgrt_stream_t'
  368 | int _gpgrt_feof (gpgrt_stream_t stream);
      |                  ^~~~~~~~~~~~~~
gpgrt-int.h:369:27: error: unknown type name 'gpgrt_stream_t'
  369 | int _gpgrt_feof_unlocked (gpgrt_stream_t stream);
      |                           ^~~~~~~~~~~~~~
gpgrt-int.h:370:20: error: unknown type name 'gpgrt_stream_t'
  370 | int _gpgrt_ferror (gpgrt_stream_t stream);
      |                    ^~~~~~~~~~~~~~
gpgrt-int.h:371:29: error: unknown type name 'gpgrt_stream_t'
  371 | int _gpgrt_ferror_unlocked (gpgrt_stream_t stream);
      |                             ^~~~~~~~~~~~~~
gpgrt-int.h:372:23: error: unknown type name 'gpgrt_stream_t'
  372 | void _gpgrt_clearerr (gpgrt_stream_t stream);
      |                       ^~~~~~~~~~~~~~
gpgrt-int.h:373:32: error: unknown type name 'gpgrt_stream_t'
  373 | void _gpgrt_clearerr_unlocked (gpgrt_stream_t stream);
      |                                ^~~~~~~~~~~~~~
gpgrt-int.h:374:22: error: unknown type name 'gpgrt_stream_t'
  374 | int _gpgrt__pending (gpgrt_stream_t stream);
      |                      ^~~~~~~~~~~~~~
gpgrt-int.h:375:31: error: unknown type name 'gpgrt_stream_t'
  375 | int _gpgrt__pending_unlocked (gpgrt_stream_t stream);
      |                               ^~~~~~~~~~~~~~
gpgrt-int.h:377:20: error: unknown type name 'gpgrt_stream_t'
  377 | int _gpgrt_fflush (gpgrt_stream_t stream);
      |                    ^~~~~~~~~~~~~~
gpgrt-int.h:378:19: error: unknown type name 'gpgrt_stream_t'
  378 | int _gpgrt_fseek (gpgrt_stream_t stream, long int offset, int whence);
      |                   ^~~~~~~~~~~~~~
gpgrt-int.h:379:20: error: unknown type name 'gpgrt_stream_t'
  379 | int _gpgrt_fseeko (gpgrt_stream_t stream, gpgrt_off_t offset, int whence);
      |                    ^~~~~~~~~~~~~~
gpgrt-int.h:380:24: error: unknown type name 'gpgrt_stream_t'
  380 | long int _gpgrt_ftell (gpgrt_stream_t stream);
      |                        ^~~~~~~~~~~~~~
gpgrt-int.h:381:28: error: unknown type name 'gpgrt_stream_t'
  381 | gpgrt_off_t _gpgrt_ftello (gpgrt_stream_t stream);
      |                            ^~~~~~~~~~~~~~
gpgrt-int.h:382:21: error: unknown type name 'gpgrt_stream_t'
  382 | void _gpgrt_rewind (gpgrt_stream_t stream);
      |                     ^~~~~~~~~~~~~~
gpgrt-int.h:383:24: error: unknown type name 'estream_t'
  383 | int  _gpgrt_ftruncate (estream_t stream, gpgrt_off_t length);
      |                        ^~~~~~~~~
gpgrt-int.h:385:19: error: unknown type name 'gpgrt_stream_t'
  385 | int _gpgrt_fgetc (gpgrt_stream_t stream);
      |                   ^~~~~~~~~~~~~~
gpgrt-int.h:386:26: error: unknown type name 'gpgrt_stream_t'
  386 | int _gpgrt_fputc (int c, gpgrt_stream_t stream);
      |                          ^~~~~~~~~~~~~~
gpgrt-int.h:388:29: error: unknown type name 'gpgrt_stream_t'
  388 | int _gpgrt__getc_underflow (gpgrt_stream_t stream);
      |                             ^~~~~~~~~~~~~~
gpgrt-int.h:389:35: error: unknown type name 'gpgrt_stream_t'
  389 | int _gpgrt__putc_overflow (int c, gpgrt_stream_t stream);
      |                                   ^~~~~~~~~~~~~~
gpgrt-int.h:407:27: error: unknown type name 'gpgrt_stream_t'
  407 | int _gpgrt_ungetc (int c, gpgrt_stream_t stream);
      |                           ^~~~~~~~~~~~~~
gpgrt-int.h:409:18: error: unknown type name 'gpgrt_stream_t'
  409 | int _gpgrt_read (gpgrt_stream_t _GPGRT__RESTRICT stream,
      |                  ^~~~~~~~~~~~~~
gpgrt-int.h:412:19: error: unknown type name 'gpgrt_stream_t'
  412 | int _gpgrt_write (gpgrt_stream_t _GPGRT__RESTRICT stream,
      |                   ^~~~~~~~~~~~~~
gpgrt-int.h:415:29: error: unknown type name 'gpgrt_stream_t'
  415 | int _gpgrt_write_sanitized (gpgrt_stream_t _GPGRT__RESTRICT stream,
      |                             ^~~~~~~~~~~~~~
gpgrt-int.h:419:29: error: unknown type name 'gpgrt_stream_t'
  419 | int _gpgrt_write_hexstring (gpgrt_stream_t _GPGRT__RESTRICT stream,
      |                             ^~~~~~~~~~~~~~
gpgrt-int.h:425:22: error: unknown type name 'gpgrt_stream_t'
  425 |                      gpgrt_stream_t _GPGRT__RESTRICT stream);
      |                      ^~~~~~~~~~~~~~
gpgrt-int.h:428:23: error: unknown type name 'gpgrt_stream_t'
  428 |                       gpgrt_stream_t _GPGRT__RESTRICT stream);
      |                       ^~~~~~~~~~~~~~
gpgrt-int.h:431:21: error: unknown type name 'gpgrt_stream_t'
  431 |                     gpgrt_stream_t _GPGRT__RESTRICT stream);
      |                     ^~~~~~~~~~~~~~
gpgrt-int.h:433:19: error: unknown type name 'gpgrt_stream_t'
  433 |                   gpgrt_stream_t _GPGRT__RESTRICT stream);
      |                   ^~~~~~~~~~~~~~
gpgrt-int.h:435:28: error: unknown type name 'gpgrt_stream_t'
  435 |                            gpgrt_stream_t _GPGRT__RESTRICT stream);
      |                            ^~~~~~~~~~~~~~
gpgrt-int.h:439:31: error: unknown type name 'gpgrt_stream_t'
  439 |                               gpgrt_stream_t stream);
      |                               ^~~~~~~~~~~~~~
gpgrt-int.h:440:33: error: unknown type name 'gpgrt_stream_t'
  440 | gpgrt_ssize_t _gpgrt_read_line (gpgrt_stream_t stream,
      |                                 ^~~~~~~~~~~~~~
gpgrt-int.h:444:21: error: unknown type name 'gpgrt_stream_t'
  444 | int _gpgrt_fprintf (gpgrt_stream_t _GPGRT__RESTRICT stream,
      |                     ^~~~~~~~~~~~~~
gpgrt-int.h:447:30: error: unknown type name 'gpgrt_stream_t'
  447 | int _gpgrt_fprintf_unlocked (gpgrt_stream_t _GPGRT__RESTRICT stream,
      |                              ^~~~~~~~~~~~~~
gpgrt-int.h:451:22: error: unknown type name 'gpgrt_stream_t'
  451 | int _gpgrt_vfprintf (gpgrt_stream_t _GPGRT__RESTRICT stream,
      |                      ^~~~~~~~~~~~~~
gpgrt-int.h:452:22: error: unknown type name 'gpgrt_string_filter_t'
  452 |                      gpgrt_string_filter_t sf, void *sfvalue,
      |                      ^~~~~~~~~~~~~~~~~~~~~
gpgrt-int.h:455:31: error: unknown type name 'gpgrt_stream_t'
  455 | int _gpgrt_vfprintf_unlocked (gpgrt_stream_t _GPGRT__RESTRICT stream,
      |                               ^~~~~~~~~~~~~~
gpgrt-int.h:456:31: error: unknown type name 'gpgrt_string_filter_t'
  456 |                               gpgrt_string_filter_t sf, void *sfvalue,
      |                               ^~~~~~~~~~~~~~~~~~~~~
gpgrt-int.h:460:21: error: unknown type name 'gpgrt_stream_t'
  460 | int _gpgrt_setvbuf (gpgrt_stream_t _GPGRT__RESTRICT stream,
      |                     ^~~~~~~~~~~~~~
gpgrt-int.h:463:25: error: unknown type name 'gpgrt_stream_t'
  463 | void _gpgrt_set_binary (gpgrt_stream_t stream);
      |                         ^~~~~~~~~~~~~~
gpgrt-int.h:464:27: error: unknown type name 'gpgrt_stream_t'
  464 | int  _gpgrt_set_nonblock (gpgrt_stream_t stream, int onoff);
      |                           ^~~~~~~~~~~~~~
gpgrt-int.h:465:27: error: unknown type name 'gpgrt_stream_t'
  465 | int  _gpgrt_get_nonblock (gpgrt_stream_t stream);
      |                           ^~~~~~~~~~~~~~
gpgrt-int.h:467:18: error: unknown type name 'gpgrt_poll_t'; did you mean 'gpgrt_poll'?
  467 | int _gpgrt_poll (gpgrt_poll_t *fds, unsigned int nfds, int timeout);
      |                  ^~~~~~~~~~~~
      |                  gpgrt_poll
gpgrt-int.h:469:1: error: unknown type name 'gpgrt_stream_t'
  469 | gpgrt_stream_t _gpgrt_tmpfile (void);
      | ^~~~~~~~~~~~~~
gpgrt-int.h:471:25: error: unknown type name 'gpgrt_stream_t'
  471 | void _gpgrt_opaque_set (gpgrt_stream_t _GPGRT__RESTRICT stream,
      |                         ^~~~~~~~~~~~~~
gpgrt-int.h:473:26: error: unknown type name 'gpgrt_stream_t'
  473 | void *_gpgrt_opaque_get (gpgrt_stream_t stream);
      |                          ^~~~~~~~~~~~~~
gpgrt-int.h:475:24: error: unknown type name 'gpgrt_stream_t'
  475 | void _gpgrt_fname_set (gpgrt_stream_t stream, const char *fname);
      |                        ^~~~~~~~~~~~~~
gpgrt-int.h:476:31: error: unknown type name 'gpgrt_stream_t'
  476 | const char *_gpgrt_fname_get (gpgrt_stream_t stream);
      |                               ^~~~~~~~~~~~~~
In file included from posix-lock.c:41:
gpgrt-int.h:505:3: error: unknown type name 'estream_t'
  505 |   estream_t stream;
      |   ^~~~~~~~~
gpgrt-int.h:516:1: error: unknown type name 'gpgrt_b64state_t'; did you mean 'gpgrt_ssize_t'?
  516 | gpgrt_b64state_t _gpgrt_b64enc_start (estream_t stream, const char *title);
      | ^~~~~~~~~~~~~~~~
      | gpgrt_ssize_t
gpgrt-int.h:516:39: error: unknown type name 'estream_t'
  516 | gpgrt_b64state_t _gpgrt_b64enc_start (estream_t stream, const char *title);
      |                                       ^~~~~~~~~
gpgrt-int.h:517:39: error: unknown type name 'gpgrt_b64state_t'; did you mean 'gpgrt_ssize_t'?
  517 | gpg_err_code_t   _gpgrt_b64enc_write (gpgrt_b64state_t state,
      |                                       ^~~~~~~~~~~~~~~~
      |                                       gpgrt_ssize_t
gpgrt-int.h:519:40: error: unknown type name 'gpgrt_b64state_t'; did you mean 'gpgrt_ssize_t'?
  519 | gpg_err_code_t   _gpgrt_b64enc_finish (gpgrt_b64state_t state);
      |                                        ^~~~~~~~~~~~~~~~
      |                                        gpgrt_ssize_t
gpgrt-int.h:521:1: error: unknown type name 'gpgrt_b64state_t'; did you mean 'gpgrt_ssize_t'?
  521 | gpgrt_b64state_t _gpgrt_b64dec_start (const char *title);
      | ^~~~~~~~~~~~~~~~
      | gpgrt_ssize_t
gpgrt-int.h:522:36: error: unknown type name 'gpgrt_b64state_t'; did you mean 'gpgrt_ssize_t'?
  522 | gpg_err_code_t _gpgrt_b64dec_proc (gpgrt_b64state_t state, void *buffer,
      |                                    ^~~~~~~~~~~~~~~~
      |                                    gpgrt_ssize_t
gpgrt-int.h:524:38: error: unknown type name 'gpgrt_b64state_t'; did you mean 'gpgrt_ssize_t'?
  524 | gpg_err_code_t _gpgrt_b64dec_finish (gpgrt_b64state_t state);
      |                                      ^~~~~~~~~~~~~~~~
      |                                      gpgrt_ssize_t
gpgrt-int.h:533:45: error: unknown type name 'estream_t'
  533 | void _gpgrt_log_set_sink (const char *name, estream_t stream, int fd);
      |                                             ^~~~~~~~~
gpgrt-int.h:540:1: error: unknown type name 'estream_t'
  540 | estream_t _gpgrt_log_get_stream (void);
      | ^~~~~~~~~
gpgrt-int.h:625:50: error: unknown type name 'estream_t'
  625 | gpg_err_code_t _gpgrt_make_pipe (int filedes[2], estream_t *r_fp,
      |                                                  ^~~~~~~~~
gpgrt-int.h:681:23: error: unknown type name 'estream_t'
  681 |                       estream_t *r_infp,
      |                       ^~~~~~~~~
gpgrt-int.h:682:23: error: unknown type name 'estream_t'
  682 |                       estream_t *r_outfp,
      |                       ^~~~~~~~~
gpgrt-int.h:683:23: error: unknown type name 'estream_t'
  683 |                       estream_t *r_errfp,
      |                       ^~~~~~~~~
gpgrt-int.h:755:22: error: unknown type name 'estream_t'
  755 | int _gpgrt_argparse (estream_t fp, gpgrt_argparse_t *arg, gpgrt_opt_t *opts);
      |                      ^~~~~~~~~
gpgrt-int.h:755:36: error: unknown type name 'gpgrt_argparse_t'; did you mean 'gpgrt_argparser'?
  755 | int _gpgrt_argparse (estream_t fp, gpgrt_argparse_t *arg, gpgrt_opt_t *opts);
      |                                    ^~~~~~~~~~~~~~~~
      |                                    gpgrt_argparser
gpgrt-int.h:755:59: error: unknown type name 'gpgrt_opt_t'; did you mean 'gpgrt_off_t'?
  755 | int _gpgrt_argparse (estream_t fp, gpgrt_argparse_t *arg, gpgrt_opt_t *opts);
      |                                                           ^~~~~~~~~~~
      |                                                           gpgrt_off_t
gpgrt-int.h:756:23: error: unknown type name 'gpgrt_argparse_t'; did you mean 'gpgrt_argparser'?
  756 | int _gpgrt_argparser (gpgrt_argparse_t *arg, gpgrt_opt_t *opts,
      |                       ^~~~~~~~~~~~~~~~
      |                       gpgrt_argparser
gpgrt-int.h:756:46: error: unknown type name 'gpgrt_opt_t'; did you mean 'gpgrt_off_t'?
  756 | int _gpgrt_argparser (gpgrt_argparse_t *arg, gpgrt_opt_t *opts,
      |                                              ^~~~~~~~~~~
      |                                              gpgrt_off_t
posix-lock.c:110:18: error: unknown type name 'gpgrt_lock_t'; did you mean '_gpgrt_lock_t'?
  110 | get_lock_object (gpgrt_lock_t *lockhd)
      |                  ^~~~~~~~~~~~
      |                  _gpgrt_lock_t
posix-lock.c:130:19: error: unknown type name 'gpgrt_lock_t'; did you mean '_gpgrt_lock_t'?
  130 | _gpgrt_lock_init (gpgrt_lock_t *lockhd)
      |                   ^~~~~~~~~~~~
      |                   _gpgrt_lock_t
posix-lock.c:168:19: error: unknown type name 'gpgrt_lock_t'; did you mean '_gpgrt_lock_t'?
  168 | _gpgrt_lock_lock (gpgrt_lock_t *lockhd)
      |                   ^~~~~~~~~~~~
      |                   _gpgrt_lock_t
posix-lock.c:193:22: error: unknown type name 'gpgrt_lock_t'; did you mean '_gpgrt_lock_t'?
  193 | _gpgrt_lock_trylock (gpgrt_lock_t *lockhd)
      |                      ^~~~~~~~~~~~
      |                      _gpgrt_lock_t
posix-lock.c:216:21: error: unknown type name 'gpgrt_lock_t'; did you mean '_gpgrt_lock_t'?
  216 | _gpgrt_lock_unlock (gpgrt_lock_t *lockhd)
      |                     ^~~~~~~~~~~~
      |                     _gpgrt_lock_t
posix-lock.c:241:22: error: unknown type name 'gpgrt_lock_t'; did you mean '_gpgrt_lock_t'?
  241 | _gpgrt_lock_destroy (gpgrt_lock_t *lockhd)
      |                      ^~~~~~~~~~~~
      |                      _gpgrt_lock_t
make[7]: *** [Makefile:947: libgpg_error_la-posix-lock.lo] Error 1
make[7]: Leaving directory '/home/nuexini/build_dir/target-mipsel-openwrt-linux-musl_musl/libgpg-error-1.43/src'
make[6]: *** [Makefile:663: all] Error 2
make[6]: Leaving directory '/home/nuexini/build_dir/target-mipsel-openwrt-linux-musl_musl/libgpg-error-1.43/src'
make[5]: *** [Makefile:514: all-recursive] Error 1
make[5]: Leaving directory '/home/nuexini/build_dir/target-mipsel-openwrt-linux-musl_musl/libgpg-error-1.43'
make[4]: *** [Makefile:446: all] Error 2
make[4]: Leaving directory '/home/nuexini/build_dir/target-mipsel-openwrt-linux-musl_musl/libgpg-error-1.43'
make[3]: *** [Makefile:105: /home/nuexini/build_dir/target-mipsel-openwrt-linux-musl_musl/libgpg-error-1.43/.built] Error 2
make[3]: Leaving directory '/home/nuexini/feeds/packages/libs/libgpg-error'
time: package/feeds/packages/libgpg-error/compile#0.32#0.05#0.36
    ERROR: package/feeds/packages/libgpg-error failed to build.
make[2]: *** [package/Makefile:116: package/feeds/packages/libgpg-error/compile] Error 1
make[2]: Leaving directory '/home/nuexini'
make[1]: *** [package/Makefile:110: /home/nuexini/staging_dir/target-mipsel-openwrt-linux-musl_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/nuexini'
make: *** [/home/nuexini/include/toplevel.mk:230: world] Error 2

make-error.log

UDPXY无法开机自动启动

HC5962的路由器,18.06的分支。

问题:
luci界面设置好udpxy参数,启用开机启动。
路由器重启或开机后,udpxy无法正常启动,系统进程里面没有udpxy的进程信息。
此时udxpy服务不可用。
进入luci-udpxy的界面,手动启动一次,进程里面就有进程:/usr/bin/udpxy -T -v -S -a br-lan -p 4022 -m eth0.2
此时udpxy服务就能用了。

之前是在启动脚本里面,手动添加启动命令行:sleep 5s && /etc/init.d/udpxy restart &
解决重启或开机启动的问题。
不知能否彻底解决此问题,不需要设置启动脚本命令行。
谢谢。

ntpdate.init 的 init.d 文件会在imageBuilder 打包阶段报错 uci command not found

https://github.com/immortalwrt/packages/blob/master/net/ntpd/files/ntpdate.init#L7
现在比较新的分支的 openwrt 的/etc/init.d/ 里的脚本会被上层调用,里面的shell 基本是写成 变量和函数,这里调用 uci 之类的系统命令的话,会在 imageBuilder make image 的时候报错

Enabling ntpdate
./etc/init.d/ntpdate: line 7: uci: command not found

目前我是 hack 文件

if [ -f feeds/packages/net/ntpd/files/ntpdate.init ];then
    sed -i '2a [ ! -f /etc/openwrt_release ] && exit 0' feeds/packages/net/ntpd/files/ntpdate.init
fi

但是应该有 IPKG_INSTROOT 之类的 chroot 里去执行才对

master 分支 vsftp 无法启动

在终端手动启动 /etc/init.d/vsftpd restart 提示错误(恢复默认配置文件依旧)
500 OOPS: unrecognised variable in config file: uci_config_name

ERROR: package/feeds/packages/qBittorrent-Enhanced-Edition failed to build.

In file included from /home/hzybb/immortalwrt/build_dir/target-aarch64_generic_musl/qBittorrent-Enhanced-Edition-release-4.4.3.12/src/base/qbt_base_autogen/mocs_compilation.cpp:2:
/home/hzybb/immortalwrt/build_dir/target-aarch64_generic_musl/qBittorrent-Enhanced-Edition-release-4.4.3.12/src/base/qbt_base_autogen/EWIEGA46WW/moc_asyncfilestorage.cpp: At global scope:
/home/hzybb/immortalwrt/build_dir/target-aarch64_generic_musl/qBittorrent-Enhanced-Edition-release-4.4.3.12/src/base/qbt_base_autogen/EWIEGA46WW/moc_asyncfilestorage.cpp:102:1: error: 'qt_incomplete_metaTypeArray' was not declared in this scope
qt_incomplete_metaTypeArray<qt_meta_stringdata_AsyncFileStorage_t
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hzybb/immortalwrt/build_dir/target-aarch64_generic_musl/qBittorrent-Enhanced-Edition-release-4.4.3.12/src/base/qbt_base_autogen/EWIEGA46WW/moc_asyncfilestorage.cpp:103:1: error: expected primary-expression before ',' token
, QtPrivate::TypeAndForceComplete<AsyncFileStorage, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>
^
/home/hzybb/immortalwrt/build_dir/target-aarch64_generic_musl/qBittorrent-Enhanced-Edition-release-4.4.3.12/src/base/qbt_base_autogen/EWIEGA46WW/moc_asyncfilestorage.cpp:103:14: error: 'TypeAndForceComplete' is not a member of 'QtPrivate'
, QtPrivate::TypeAndForceComplete<AsyncFileStorage, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>
^~~~~~~~~~~~~~~~~~~~
/home/hzybb/immortalwrt/build_dir/target-aarch64_generic_musl/qBittorrent-Enhanced-Edition-release-4.4.3.12/src/base/qbt_base_autogen/EWIEGA46WW/moc_asyncfilestorage.cpp:103:51: error: expected primary-expression before ',' token
, QtPrivate::TypeAndForceComplete<AsyncFileStorage, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>
^
/home/hzybb/immortalwrt/build_dir/target-aarch64_generic_musl/qBittorrent-Enhanced-Edition-release-4.4.3.12/src/base/qbt_base_autogen/EWIEGA46WW/moc_asyncfilestorage.cpp:103:67: error: expected primary-expression before '>' token
, QtPrivate::TypeAndForceComplete<AsyncFileStorage, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>
^
/home/hzybb/immortalwrt/build_dir/target-aarch64_generic_musl/qBittorrent-Enhanced-Edition-release-4.4.3.12/src/base/qbt_base_autogen/EWIEGA46WW/moc_asyncfilestorage.cpp:103:68: error: expected primary-expression before ',' token
, QtPrivate::TypeAndForceComplete<AsyncFileStorage, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>
^
/home/hzybb/immortalwrt/build_dir/target-aarch64_generic_musl/qBittorrent-Enhanced-Edition-release-4.4.3.12/src/base/qbt_base_autogen/EWIEGA46WW/moc_asyncfilestorage.cpp:103:81: error: 'TypeAndForceComplete' is not a member of 'QtPrivate'
, QtPrivate::TypeAndForceComplete<AsyncFileStorage, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>
^~~~~~~~~~~~~~~~~~~~
/home/hzybb/immortalwrt/build_dir/target-aarch64_generic_musl/qBittorrent-Enhanced-Edition-release-4.4.3.12/src/base/qbt_base_autogen/EWIEGA46WW/moc_asyncfilestorage.cpp:103:102: error: expected primary-expression before 'void'
, QtPrivate::TypeAndForceComplete<AsyncFileStorage, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>
^~~~
/home/hzybb/immortalwrt/build_dir/target-aarch64_generic_musl/qBittorrent-Enhanced-Edition-release-4.4.3.12/src/base/qbt_base_autogen/EWIEGA46WW/moc_asyncfilestorage.cpp:103:102: error: expected '}' before 'void'
/home/hzybb/immortalwrt/build_dir/target-aarch64_generic_musl/qBittorrent-Enhanced-Edition-release-4.4.3.12/src/base/qbt_base_autogen/EWIEGA46WW/moc_asyncfilestorage.cpp:96:58: note: to match this '{'
const QMetaObject AsyncFileStorage::staticMetaObject = { {
^
/home/hzybb/immortalwrt/build_dir/target-aarch64_generic_musl/qBittorrent-Enhanced-Edition-release-4.4.3.12/src/base/qbt_base_autogen/EWIEGA46WW/moc_asyncfilestorage.cpp:103:102: error: expected '}' before 'void'
, QtPrivate::TypeAndForceComplete<AsyncFileStorage, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>
^~~~
/home/hzybb/immortalwrt/build_dir/target-aarch64_generic_musl/qBittorrent-Enhanced-Edition-release-4.4.3.12/src/base/qbt_base_autogen/EWIEGA46WW/moc_asyncfilestorage.cpp:96:56: note: to match this '{'
const QMetaObject AsyncFileStorage::staticMetaObject = { {
^
/home/hzybb/immortalwrt/build_dir/target-aarch64_generic_musl/qBittorrent-Enhanced-Edition-release-4.4.3.12/src/base/qbt_base_autogen/EWIEGA46WW/moc_asyncfilestorage.cpp:103:102: error: expected ',' or ';' before 'void'
, QtPrivate::TypeAndForceComplete<AsyncFileStorage, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>
^~~~
In file included from /home/hzybb/immortalwrt/build_dir/target-aarch64_generic_musl/qBittorrent-Enhanced-Edition-release-4.4.3.12/src/base/qbt_base_autogen/mocs_compilation.cpp:2:
/home/hzybb/immortalwrt/build_dir/target-aarch64_generic_musl/qBittorrent-Enhanced-Edition-release-4.4.3.12/src/base/qbt_base_autogen/EWIEGA46WW/moc_asyncfilestorage.cpp:109:1: error: expected declaration before '}' token
} };
^
ninja: build stopped: subcommand failed.
make[3]: *** [Makefile:56: /home/hzybb/immortalwrt/build_dir/target-aarch64_generic_musl/qBittorrent-Enhanced-Edition-release-4.4.3.12/.built] Error 1
make[3]: Leaving directory '/home/hzybb/immortalwrt/feeds/packages/net/qBittorrent-Enhanced-Edition'
time: package/feeds/packages/qBittorrent-Enhanced-Edition/compile#9.53#3.17#7.38
ERROR: package/feeds/packages/qBittorrent-Enhanced-Edition failed to build.
make[2]: *** [package/Makefile:116: package/feeds/packages/qBittorrent-Enhanced-Edition/compile] Error 1
make[2]: Leaving directory '/home/hzybb/immortalwrt'
make[1]: *** [package/Makefile:110: /home/hzybb/immortalwrt/staging_dir/target-aarch64_generic_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/hzybb/immortalwrt'
make: *** [/home/hzybb/immortalwrt/include/toplevel.mk:230: world] Error 2

出现循环引用

1806-k5.4,dee4f72版本,下载后准备编译,在defconfig的时候出现如下错误提示:
~/scripts/immortal/r2s/immortalwrt$ make defconfig
tmp/.config-package.in:110028:error: recursive dependency detected!
tmp/.config-package.in:110028: symbol PACKAGE_ocserv depends on OCSERV_SECCOMP
feeds/packages/net/ocserv/Config.in:10: symbol OCSERV_SECCOMP depends on PACKAGE_ocserv
For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations"

configuration written to .config

删除ocserv/Config.in里面对应段落后正常,不再出现以上错误,可是我担心这样会引起其他错误。

ERROR: package/feeds/packages/curl failed to build.

efined reference to `Curl_sasl_cleanup'
collect2: error: ld returned 1 exit status
make[6]: *** [Makefile:903: curl] Error 1
make[6]: Leaving directory '/home/hbb/immortalwrt/build_dir/target-aarch64_generic_musl/curl-7.82.0/src'
make[5]: *** [Makefile:1375: all-recursive] Error 1
make[5]: Leaving directory '/home/hbb/immortalwrt/build_dir/target-aarch64_generic_musl/curl-7.82.0/src'
make[4]: *** [Makefile:1217: all-recursive] Error 1
make[4]: Leaving directory '/home/hbb/immortalwrt/build_dir/target-aarch64_generic_musl/curl-7.82.0'
make[3]: *** [Makefile:183: /home/hbb/immortalwrt/build_dir/target-aarch64_generic_musl/curl-7.82.0/.built] Error 2
make[3]: Leaving directory '/home/hbb/immortalwrt/feeds/packages/net/curl'
time: package/feeds/packages/curl/compile#121.59#23.19#134.04
ERROR: package/feeds/packages/curl failed to build.
make[2]: *** [package/Makefile:116: package/feeds/packages/curl/compile] Error 1
make[2]: Leaving directory '/home/hbb/immortalwrt'
make[1]: *** [package/Makefile:110: /home/hbb/immortalwrt/staging_dir/target-aarch64_generic_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/hbb/immortalwrt'
make: *** [/home/hbb/immortalwrt/include/toplevel.mk:230: world] Error 2

V2rayA 无法编译

RT,最新版本使用的nodejs被升级到了18.2,然而node版本高于17的时候,v2rayA使用的依赖vue-cli无法正常工作,参考vuejs/vue-cli#6885
版本升级在7f2224d 引入
需要考虑将Node版本降级到16或者12

版本18.06的错误日志

如下,点开”启动项“会出现如下错误日志:
daemon.err uhttpd[2583]: sh: /etc/init.d/haproxy: line 21: extra_command: not found
daemon.err uhttpd[2583]: sh: /etc/init.d/turboacc: line 8: extra_command: not found

[master]使用master分支编译保存config配置后提示错误。

使用master分支编译保存config配置后提示错误,然后使用21.02分支保存正常。

user@user-virtual-machine:~/immortalwrt$ make menuconfig
tmp/.config-package.in:110172:error: recursive dependency detected!
tmp/.config-package.in:110172:	symbol PACKAGE_shorewall6 depends on PACKAGE_shorewall6
For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations"

tmp/.config-package.in:110208:error: recursive dependency detected!
tmp/.config-package.in:110208:	symbol PACKAGE_shorewall6-lite depends on PACKAGE_shorewall6-lite
For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations"



*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.

18.06-k5.4 x86编译失败

大佬请教一下编译出现ERROR: package/feeds/packages/btrfs-progs failed to build.要怎么解决?谢谢

2022-02-21_173911

config文件:

CONFIG_TARGET_x86=y
CONFIG_TARGET_x86_64=y
CONFIG_TARGET_x86_64_DEVICE_generic=y

# 所集成的固件类型
# CONFIG_TARGET_ROOTFS_INITRAMFS is not set
# CONFIG_TARGET_ROOTFS_CPIOGZ is not set
CONFIG_TARGET_ROOTFS_TARGZ=y
# CONFIG_TARGET_ROOTFS_EXT4FS is not set
CONFIG_TARGET_ROOTFS_SQUASHFS=y
CONFIG_TARGET_SQUASHFS_BLOCK_SIZE=256
CONFIG_TARGET_UBIFS_FREE_SPACE_FIXUP=y
CONFIG_TARGET_UBIFS_JOURNAL_SIZE=""
CONFIG_GRUB_IMAGES=y
CONFIG_GRUB_EFI_IMAGES=y
# CONFIG_GRUB_CONSOLE is not set
CONFIG_GRUB_BOOTOPTS="nomodeset"
CONFIG_GRUB_TIMEOUT="0"
CONFIG_GRUB_TITLE="OpenWrt"
# CONFIG_ISO_IMAGES is not set
# CONFIG_VDI_IMAGES is not set
# CONFIG_VMDK_IMAGES is not set
CONFIG_TARGET_IMAGES_GZIP=y

# 固件大小
CONFIG_TARGET_KERNEL_PARTSIZE=64
#CONFIG_TARGET_KERNEL_PARTSIZE=16
CONFIG_TARGET_ROOTFS_PARTSIZE=1000

#语言

CONFIG_LUCI_LANG_en=y
CONFIG_LUCI_LANG_zh_Hans=y

#ipv6
CONFIG_PACKAGE_ipv6helper=y

#挂在硬盘格式
CONFIG_PACKAGE_automount=y
CONFIG_PACKAGE_antfs-mount=y
CONFIG_PACKAGE_kmod-fs-antfs=y
CONFIG_PACKAGE_kmod-fs-ext4=y
CONFIG_PACKAGE_kmod-fs-ntfs=y
CONFIG_PACKAGE_kmod-fs-vfat=y
CONFIG_PACKAGE_autosamba=y
CONFIG_DEFAULT_block-mount=y
CONFIG_PACKAGE_block-mount=y
CONFIG_BUSYBOX_DEFAULT_MOUNT=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_MOUNT_HELPERS=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_MOUNT_CIFS=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_MOUNT_FLAGS=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_MOUNT_FSTAB=y
CONFIG_BUSYBOX_DEFAULT_UMOUNT=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_UMOUNT_ALL=y
CONFIG_BUSYBOX_DEFAULT_FEATURE_MOUNT_LOOP=y
CONFIG_PACKAGE_libmount=y
	

# CONFIG_PACKAGE_ntfs-3g is not set
# CONFIG_PACKAGE_ntfs-3g-low is not set
# CONFIG_PACKAGE_ntfs-3g-utils is not set

# CONFIG_PACKAGE_dnsmasq is not set
CONFIG_PACKAGE_dnsmasq-full=y
CONFIG_PACKAGE_dnsmasq_full_auth=y
CONFIG_PACKAGE_dnsmasq_full_conntrack=y
CONFIG_PACKAGE_dnsmasq_full_dhcp=y
CONFIG_PACKAGE_dnsmasq_full_dhcpv6=y
CONFIG_PACKAGE_dnsmasq_full_dnssec=y
CONFIG_PACKAGE_dnsmasq_full_ipset=y
CONFIG_PACKAGE_dnsmasq_full_noid=y
CONFIG_PACKAGE_dnsmasq_full_tftp=y
CONFIG_PACKAGE_6in4=y
CONFIG_PACKAGE_6rd=y
CONFIG_PACKAGE_6to4=y

#usb
CONFIG_PACKAGE_kmod-usb-core=y
CONFIG_PACKAGE_kmod-usb-dwc2=y
CONFIG_PACKAGE_kmod-usb-dwc3=y
CONFIG_PACKAGE_kmod-usb-ehci=y
CONFIG_PACKAGE_kmod-usb-ledtrig-usbport=y
CONFIG_PACKAGE_kmod-usb-net=y
CONFIG_PACKAGE_kmod-usb-net-aqc111=y
CONFIG_PACKAGE_kmod-usb-net-asix=y
CONFIG_PACKAGE_kmod-usb-net-asix-ax88179=y
CONFIG_PACKAGE_kmod-usb-net-cdc-eem=y
CONFIG_PACKAGE_kmod-usb-net-cdc-ether=y
CONFIG_PACKAGE_kmod-usb-net-cdc-mbim=y
CONFIG_PACKAGE_kmod-usb-net-cdc-ncm=y
CONFIG_PACKAGE_kmod-usb-net-cdc-subset=y
CONFIG_PACKAGE_kmod-usb-net-dm9601-ether=y
CONFIG_PACKAGE_kmod-usb-net-hso=y
CONFIG_PACKAGE_kmod-usb-net-huawei-cdc-ncm=y
CONFIG_PACKAGE_kmod-usb-net-ipheth=y
CONFIG_PACKAGE_kmod-usb-net-kalmia=y
CONFIG_PACKAGE_kmod-usb-net-kaweth=y
CONFIG_PACKAGE_kmod-usb-net-mcs7830=y
CONFIG_PACKAGE_kmod-usb-net-pegasus=y
CONFIG_PACKAGE_kmod-usb-net-pl=y
CONFIG_PACKAGE_kmod-usb-net-qmi-wwan=y
CONFIG_PACKAGE_kmod-usb-net-rndis=y
CONFIG_PACKAGE_kmod-usb-net-sierrawireless=y
CONFIG_PACKAGE_kmod-usb-net-smsc95xx=y
CONFIG_PACKAGE_kmod-usb-net-sr9700=y
CONFIG_PACKAGE_kmod-usb-ohci=y
CONFIG_PACKAGE_kmod-usb-ohci-pci=y
CONFIG_PACKAGE_kmod-usb-printer=y
CONFIG_PACKAGE_kmod-usb-roles=y
CONFIG_PACKAGE_kmod-usb-serial=y
CONFIG_PACKAGE_kmod-usb-serial-option=y
CONFIG_PACKAGE_kmod-usb-serial-wwan=y
CONFIG_PACKAGE_kmod-usb-storage=y
CONFIG_PACKAGE_kmod-usb-storage-extras=y
CONFIG_PACKAGE_kmod-usb-storage-uas=y
CONFIG_PACKAGE_kmod-usb-wdm=y
CONFIG_PACKAGE_kmod-usb-xhci-hcd=y
CONFIG_PACKAGE_kmod-usb2=y
CONFIG_PACKAGE_kmod-usb2-pci=y
CONFIG_PACKAGE_kmod-usb3=y

#USB net driver
CONFIG_PACKAGE_kmod-rtlwifi=y
CONFIG_PACKAGE_kmod-rtlwifi-btcoexist=y
CONFIG_PACKAGE_kmod-rtlwifi-usb=y
CONFIG_PACKAGE_kmod-rtl8812au-ac=y
CONFIG_PACKAGE_usb-modeswitch=y
CONFIG_PACKAGE_kmod-rtl8192cu=y
CONFIG_PACKAGE_kmod-rtl8821cu=y
CONFIG_PACKAGE_kmod-mt76=y
CONFIG_PACKAGE_kmod-mt76x2u=y
CONFIG_PACKAGE_kmod-usb-net-asix=y
CONFIG_PACKAGE_kmod-usb-net-asix-ax88179=y
CONFIG_PACKAGE_kmod-usb-net-rtl8152-vendor=y
CONFIG_PACKAGE_kmod-usb-net-rndis=y
CONFIG_PACKAGE_kmod-usb-net-cdc-ether=y
CONFIG_PACKAGE_kmod-ath9k=y
CONFIG_PACKAGE_kmod-ath9k-htc=y
#插件


CONFIG_PACKAGE_luci-app-diskman=y
CONFIG_PACKAGE_luci-app-hd-idle=y

#文件传输
CONFIG_PACKAGE_luci-app-filetransfer=y
CONFIG_PACKAGE_luci-app-fileassistant=y
CONFIG_PACKAGE_luci-app-filebrowser=y

CONFIG_PACKAGE_luci-app-ntpc=y
# CONFIG_PACKAGE_luci-app-aliddns is not set
CONFIG_PACKAGE_luci-app-vsftpd=y
CONFIG_UnblockNeteaseMusic=y
CONFIG_UnblockNeteaseMusic_NodeJS=y
CONFIG_PACKAGE_luci-app-unblockneteasemusic=y
# CONFIG_PACKAGE_luci-app-unblockneteasemusic-go is not set


# CONFIG_PACKAGE_luci-app-nft-qos is not set
CONFIG_PACKAGE_luci-app-adguardhome=y
CONFIG_PACKAGE_luci-app-autoreboot=y
CONFIG_PACKAGE_luci-app-ddns=y
# CONFIG_PACKAGE_luci-app-dnsfilter is not set
# CONFIG_PACKAGE_luci-app-mwan3 is not set
CONFIG_PACKAGE_luci-app-n2n_v2=y

CONFIG_PACKAGE_luci-app-nps=y
CONFIG_PACKAGE_luci-app-openclash=y
CONFIG_PACKAGE_luci-app-passwall=y
# CONFIG_PACKAGE_luci-app-passwall_INCLUDE_V2ray is not set
# CONFIG_PACKAGE_luci-app-passwall_INCLUDE_V2ray_Plugin is not set
CONFIG_PACKAGE_luci-app-ramfree=y
CONFIG_PACKAGE_luci-app-samba=y
CONFIG_PACKAGE_luci-app-smartdns=y
CONFIG_PACKAGE_luci-app-ssr-plus=y
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Libev_Server=y
CONFIG_PACKAGE_luci-app-syncdial=y
CONFIG_PACKAGE_luci-app-ttyd=y
CONFIG_PACKAGE_luci-app-uhttpd=y
CONFIG_PACKAGE_luci-app-upnp=y
CONFIG_PACKAGE_luci-app-vlmcsd=y
# CONFIG_PACKAGE_luci-app-vssr_INCLUDE_ShadowsocksR_Libev_Server is not set
# CONFIG_PACKAGE_luci-app-vssr_INCLUDE_Trojan is not set
# CONFIG_PACKAGE_luci-app-vssr_INCLUDE_Xray is not set
# CONFIG_PACKAGE_luci-app-vssr_INCLUDE_Xray_plugin is not set
CONFIG_PACKAGE_luci-app-wireguard=y
# CONFIG_PACKAGE_luci-app-xlnetacc is not set
CONFIG_PACKAGE_luci-app-zerotier=y

21.02编译报错

In file included from nginx-util.cpp:4:
nginx-ssl-util.hpp: In lambda function:
nginx-ssl-util.hpp:169:40: error: attributes at the beginning of statement are ignored [-Werror=attributes]
                 case '^': ret += '\\'; [[fallthrough]];
                                        ^
nginx-ssl-util.hpp:170:27: error: attributes at the beginning of statement are ignored [-Werror=attributes]
                 case '_': [[fallthrough]];
                           ^
nginx-ssl-util.hpp: In lambda function:
nginx-ssl-util.hpp:169:31: error: this statement may fall through [-Werror=implicit-fallthrough=]
                 case '^': ret += '\\'; [[fallthrough]];
                           ~~~~^~~~~~~
nginx-ssl-util.hpp:170:17: note: here
                 case '_': [[fallthrough]];
                 ^~~~
nginx-ssl-util.hpp: In lambda function:
nginx-ssl-util.hpp:169:31: error: this statement may fall through [-Werror=implicit-fallthrough=]
                 case '^': ret += '\\'; [[fallthrough]];
                           ~~~~^~~~~~~
nginx-ssl-util.hpp:170:17: note: here
                 case '_': [[fallthrough]];
                 ^~~~
nginx-ssl-util.hpp: In lambda function:
nginx-ssl-util.hpp:169:31: error: this statement may fall through [-Werror=implicit-fallthrough=]
                 case '^': ret += '\\'; [[fallthrough]];
                           ~~~~^~~~~~~
nginx-ssl-util.hpp:170:17: note: here
                 case '_': [[fallthrough]];
                 ^~~~
nginx-ssl-util.hpp: In lambda function:
nginx-ssl-util.hpp:169:31: error: this statement may fall through [-Werror=implicit-fallthrough=]
                 case '^': ret += '\\'; [[fallthrough]];
                           ~~~~^~~~~~~
nginx-ssl-util.hpp:170:17: note: here
                 case '_': [[fallthrough]];
                 ^~~~
nginx-ssl-util.hpp: In lambda function:
nginx-ssl-util.hpp:169:31: error: this statement may fall through [-Werror=implicit-fallthrough=]
                 case '^': ret += '\\'; [[fallthrough]];
                           ~~~~^~~~~~~
nginx-ssl-util.hpp:170:17: note: here
                 case '_': [[fallthrough]];
                 ^~~~
nginx-ssl-util.hpp: In lambda function:
nginx-ssl-util.hpp:169:31: error: this statement may fall through [-Werror=implicit-fallthrough=]
                 case '^': ret += '\\'; [[fallthrough]];
                           ~~~~^~~~~~~
nginx-ssl-util.hpp:170:17: note: here
                 case '_': [[fallthrough]];
                 ^~~~
nginx-ssl-util.hpp: In lambda function:
nginx-ssl-util.hpp:169:31: error: this statement may fall through [-Werror=implicit-fallthrough=]
                 case '^': ret += '\\'; [[fallthrough]];
                           ~~~~^~~~~~~
nginx-ssl-util.hpp:170:17: note: here
                 case '_': [[fallthrough]];
                 ^~~~
nginx-ssl-util.hpp: In lambda function:
nginx-ssl-util.hpp:169:31: error: this statement may fall through [-Werror=implicit-fallthrough=]
                 case '^': ret += '\\'; [[fallthrough]];
                           ~~~~^~~~~~~
nginx-ssl-util.hpp:170:17: note: here
                 case '_': [[fallthrough]];
                 ^~~~
nginx-ssl-util.hpp: In lambda function:
nginx-ssl-util.hpp:169:31: error: this statement may fall through [-Werror=implicit-fallthrough=]
                 case '^': ret += '\\'; [[fallthrough]];
                           ~~~~^~~~~~~
nginx-ssl-util.hpp:170:17: note: here
                 case '_': [[fallthrough]];
                 ^~~~
nginx-ssl-util.hpp: In lambda function:
nginx-ssl-util.hpp:169:31: error: this statement may fall through [-Werror=implicit-fallthrough=]
                 case '^': ret += '\\'; [[fallthrough]];
                           ~~~~^~~~~~~
nginx-ssl-util.hpp:170:17: note: here
                 case '_': [[fallthrough]];
                 ^~~~
nginx-ssl-util.hpp: In lambda function:
nginx-ssl-util.hpp:169:31: error: this statement may fall through [-Werror=implicit-fallthrough=]
                 case '^': ret += '\\'; [[fallthrough]];
                           ~~~~^~~~~~~
nginx-ssl-util.hpp:170:17: note: here
                 case '_': [[fallthrough]];
                 ^~~~
nginx-ssl-util.hpp: In lambda function:
nginx-ssl-util.hpp:169:31: error: this statement may fall through [-Werror=implicit-fallthrough=]
                 case '^': ret += '\\'; [[fallthrough]];
                           ~~~~^~~~~~~
nginx-ssl-util.hpp:170:17: note: here
                 case '_': [[fallthrough]];
                 ^~~~
nginx-ssl-util.hpp: In lambda function:
nginx-ssl-util.hpp:169:31: error: this statement may fall through [-Werror=implicit-fallthrough=]
                 case '^': ret += '\\'; [[fallthrough]];
                           ~~~~^~~~~~~
nginx-ssl-util.hpp:170:17: note: here
                 case '_': [[fallthrough]];
                 ^~~~
nginx-ssl-util.hpp: In lambda function:
nginx-ssl-util.hpp:169:31: error: this statement may fall through [-Werror=implicit-fallthrough=]
                 case '^': ret += '\\'; [[fallthrough]];
                           ~~~~^~~~~~~
nginx-ssl-util.hpp:170:17: note: here
                 case '_': [[fallthrough]];
                 ^~~~
cc1plus: all warnings being treated as errors
make[6]: *** [CMakeFiles/nginx-ssl-util-nopcre.dir/nginx-util.cpp.o] Error 1
make[5]: *** [CMakeFiles/nginx-ssl-util-nopcre.dir/all] Error 2
make[4]: *** [all] Error 2
CMakeFiles/nginx-ssl-util-nopcre.dir/build.make:81: recipe for target 'CMakeFiles/nginx-ssl-util-nopcre.dir/nginx-util.cpp.o' failed
make[6]: Leaving directory '/workdir/openwrt/build_dir/target-mipsel_24kc_musl/nginx-util-1.5'
CMakeFiles/Makefile2:96: recipe for target 'CMakeFiles/nginx-ssl-util-nopcre.dir/all' failed
make[5]: Leaving directory '/workdir/openwrt/build_dir/target-mipsel_24kc_musl/nginx-util-1.5'
make[3]: *** [/workdir/openwrt/build_dir/target-mipsel_24kc_musl/nginx-util-1.5/.built] Error 2
Makefile:148: recipe for target 'all' failed
make[2]: *** [package/feeds/packages/nginx-util/compile] Error 1
make[4]: Leaving directory '/workdir/openwrt/build_dir/target-mipsel_24kc_musl/nginx-util-1.5'
make[1]: *** [/workdir/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
Makefile:118: recipe for target '/workdir/openwrt/build_dir/target-mipsel_24kc_musl/nginx-util-1.5/.built' failed
make: *** [world] Error 2
make[3]: Leaving directory '/workdir/openwrt/feeds/packages/net/nginx-util'
time: package/feeds/packages/nginx-util/compile#10.12#0.49#9.93
    ERROR: package/feeds/packages/nginx-util failed to build.
package/Makefile:112: recipe for target 'package/feeds/packages/nginx-util/compile' failed
make[2]: Leaving directory '/workdir/openwrt'
package/Makefile:108: recipe for target '/workdir/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile' failed
make[1]: Leaving directory '/workdir/openwrt'
/workdir/openwrt/include/toplevel.mk:228: recipe for target 'world' failed
Error: Process completed with exit code 2.

Nanopi r2s 18.06-5.4分支编译错误

如题,编译r2s的时候遇到package/feeds/packages/xr_usb_serial_common failed to build.
附上最后几行日志,这个usb-serial的组件是有什么更新方案吗?

2021-05-24T21:05:33.2409119Z make[5]: *** [/workdir/openwrt/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/usb-serial-xr_usb_serial_common-2017-08-01-b8dad8cf/xr_usb_serial_common-1a/xr_usb_serial_common.o] Error 1
2021-05-24T21:05:33.2419160Z scripts/Makefile.build:261: recipe for target '/workdir/openwrt/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/usb-serial-xr_usb_serial_common-2017-08-01-b8dad8cf/xr_usb_serial_common-1a/xr_usb_serial_common.o' failed
2021-05-24T21:05:33.2421882Z make[4]: *** [/workdir/openwrt/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/usb-serial-xr_usb_serial_common-2017-08-01-b8dad8cf/xr_usb_serial_common-1a] Error 2
2021-05-24T21:05:33.2423890Z make[3]: *** [/workdir/openwrt/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/usb-serial-xr_usb_serial_common-2017-08-01-b8dad8cf/.built] Error 2
2021-05-24T21:05:33.2426048Z Makefile:1734: recipe for target '/workdir/openwrt/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/usb-serial-xr_usb_serial_common-2017-08-01-b8dad8cf/xr_usb_serial_common-1a' failed
2021-05-24T21:05:33.2428486Z make[4]: Leaving directory '/workdir/openwrt/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.4.121'
2021-05-24T21:05:33.2430601Z Makefile:39: recipe for target '/workdir/openwrt/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/usb-serial-xr_usb_serial_common-2017-08-01-b8dad8cf/.built' failed
2021-05-24T21:05:33.2432214Z make[3]: Leaving directory '/workdir/openwrt/feeds/packages/libs/xr_usb_serial_common'
2021-05-24T21:05:33.2433052Z time: package/feeds/packages/xr_usb_serial_common/compile#0.97#0.40#1.37
2021-05-24T21:05:33.2433828Z make[2]: *** [package/feeds/packages/xr_usb_serial_common/compile] Error 1
2021-05-24T21:05:33.2434739Z ERROR: package/feeds/packages/xr_usb_serial_common failed to build.
2021-05-24T21:05:33.2437181Z package/Makefile:114: recipe for target 'package/feeds/packages/xr_usb_serial_common/compile' failed
2021-05-24T21:05:33.2459570Z make[2]: Leaving directory '/workdir/openwrt'
2021-05-24T21:05:33.2478141Z make[1]: *** [/workdir/openwrt/staging_dir/target-aarch64_generic_musl/stamp/.package_compile] Error 2
2021-05-24T21:05:33.2479735Z package/Makefile:110: recipe for target '/workdir/openwrt/staging_dir/target-aarch64_generic_musl/stamp/.package_compile' failed
2021-05-24T21:05:33.2511753Z make[1]: Leaving directory '/workdir/openwrt'
2021-05-24T21:05:33.2533457Z /workdir/openwrt/include/toplevel.mk:228: recipe for target 'world' failed
2021-05-24T21:05:33.2535857Z make: *** [world] Error 2
2021-05-24T21:05:33.2574647Z ##[error]Process completed with exit code 2.

ERROR: package/feeds/packages/avahi failed to build (build variant: dbus).

master 分支编译 https://github.com/immortalwrt/packages/tree/master/libs/avahi 失败

cp: cannot stat '/workdir/openwrt/build_dir/target-aarch64_generic_musl/avahi-dbus/avahi-0.8/ipkg-install/usr/lib/libdns_sd.so*': No such file or directory
make[3]: Entering directory '/workdir/openwrt/feeds/packages/libs/avahi'
mkdir -p /workdir/openwrt/staging_dir/target-aarch64_generic_musl/root-rockchip/stamp
SHELL= flock /workdir/openwrt/tmp/.root-copy.flock -c 'cp -fpR /workdir/openwrt/build_dir/target-aarch64_generic_musl/avahi-dbus/avahi-0.8/.pkgdir/libavahi-client/. /workdir/openwrt/staging_dir/target-aarch64_generic_musl/root-rockchip/'
touch /workdir/openwrt/staging_dir/target-aarch64_generic_musl/root-rockchip/stamp/.libavahi-client_installed
mkdir -p /workdir/openwrt/bin/targets/rockchip/armv8/packages /workdir/openwrt/build_dir/target-aarch64_generic_musl/avahi-dbus/avahi-0.8/ipkg-aarch64_generic/libavahi-compat-libdnssd/CONTROL /workdir/openwrt/staging_dir/target-aarch64_generic_musl/pkginfo
install -d -m0755 /workdir/openwrt/build_dir/target-aarch64_generic_musl/avahi-dbus/avahi-0.8/ipkg-aarch64_generic/libavahi-compat-libdnssd/usr/lib
cp -fpR /workdir/openwrt/build_dir/target-aarch64_generic_musl/avahi-dbus/avahi-0.8/ipkg-install/usr/lib/libdns_sd.so* /workdir/openwrt/build_dir/target-aarch64_generic_musl/avahi-dbus/avahi-0.8/ipkg-aarch64_generic/libavahi-compat-libdnssd/usr/lib/
cp: cannot stat '/workdir/openwrt/build_dir/target-aarch64_generic_musl/avahi-dbus/avahi-0.8/ipkg-install/usr/lib/libdns_sd.so*': No such file or directory
make[3]: *** [Makefile:399: /workdir/openwrt/bin/packages/aarch64_generic/packages/libavahi-compat-libdnssd_0.8-7_aarch64_generic.ipk] Error 1
make[3]: Leaving directory '/workdir/openwrt/feeds/packages/libs/avahi'
time: package/feeds/packages/avahi/dbus/compile#0.17#0.04#0.20
    ERROR: package/feeds/packages/avahi failed to build (build variant: dbus).
make[2]: Leaving directory '/workdir/openwrt'
make[2]: *** [package/Makefile:116: package/feeds/packages/avahi/compile] Error 1
make[1]: Leaving directory '/workdir/openwrt'
make[1]: *** [package/Makefile:110: /workdir/openwrt/staging_dir/target-aarch64_generic_musl/stamp/.package_compile] Error 2

[18.06] ksmbd-3.4.2编译报错(error: assignment of read-only member 'actor')

硬件型号:ipq40xx / asus rt-acrh17
源码版本:openwrt-18.06: 92c43b0 / packages: 6803cad / luci: e56bc0a / routing: 785f1bb
编译系统:ubuntu 20.04.3 LTS
问题:编译luci-app-ksmbd时其依赖ksmbd编译报错,日志如下:

make[3]: Entering directory '/home/xs/immortalwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx_generic/linux-4.14.253'
  CC [M]  /home/xs/immortalwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx_generic/ksmbd-3.4.2/unicode.o
In file included from /home/xs/immortalwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx_generic/ksmbd-3.4.2/glob.h:16,
                 from /home/xs/immortalwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx_generic/ksmbd-3.4.2/unicode.c:12:
/home/xs/immortalwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx_generic/ksmbd-3.4.2/vfs_cache.h: In function 'set_ctx_actor':
/home/xs/immortalwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx_generic/ksmbd-3.4.2/vfs_cache.h:119:13: error: assignment of read-only member 'actor'
  ctx->actor = actor;
             ^
make[4]: *** [scripts/Makefile.build:330: /home/xs/immortalwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx_generic/ksmbd-3.4.2/unicode.o] Error 1
make[3]: *** [Makefile:1550: _module_/home/xs/immortalwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx_generic/ksmbd-3.4.2] Error 2
make[3]: Leaving directory '/home/xs/immortalwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx_generic/linux-4.14.253'
make[2]: *** [Makefile:78: /home/xs/immortalwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx_generic/ksmbd-3.4.2/.built] Error 2
make[2]: Leaving directory '/home/xs/immortalwrt/feeds/packages/kernel/ksmbd'
time: package/feeds/packages/ksmbd/compile#0.63#0.72#3.32
    ERROR: package/feeds/packages/ksmbd failed to build.
make[1]: *** [package/Makefile:115: package/feeds/packages/ksmbd/compile] Error 1
make[1]: Leaving directory '/home/xs/immortalwrt'
make: *** [/home/xs/immortalwrt/include/toplevel.mk:230:package/luci-app-ksmbd/compile] 错误 2

[master]缺少依赖与应用crash

源码为master分支的源码,编译的 target 平台为 rockchip/r2s

在执行 ./scripts/feeds install -a 命令时会输出如下警告,源码为master分支。不知道有什么影响。

WARNING: Makefile 'package/feeds/packages/bandwidthd/Makefile' has a dependency on 'php7', which does not exist
WARNING: Makefile 'package/feeds/packages/bandwidthd/Makefile' has a dependency on 'php7-cgi', which does not exist
WARNING: Makefile 'package/feeds/packages/bandwidthd/Makefile' has a dependency on 'php7-mod-gd', which does not exist
WARNING: Makefile 'package/feeds/packages/bandwidthd/Makefile' has a dependency on 'php7-mod-pdo', which does not exist
WARNING: Makefile 'package/feeds/packages/bandwidthd/Makefile' has a dependency on 'php7-mod-pdo-sqlite', which does not exist
WARNING: Makefile 'package/feeds/packages/bandwidthd/Makefile' has a dependency on 'php7', which does not exist
WARNING: Makefile 'package/feeds/packages/bandwidthd/Makefile' has a dependency on 'php7-cgi', which does not exist
WARNING: Makefile 'package/feeds/packages/bandwidthd/Makefile' has a dependency on 'php7-mod-pgsql', which does not exist
WARNING: Makefile 'package/feeds/packages/bandwidthd/Makefile' has a dependency on 'php7-mod-gd', which does not exist

不过最近几次编译出来的固件aria2,transmission 等都会crash,日志都是类似的:

Sat Dec 18 12:43:38 2021 daemon.info aria2: Aria2 will run with user 'root'.
Sat Dec 18 12:43:39 2021 daemon.info aria2c[4720]: jail: exec-ing /usr/bin/aria2c
Sat Dec 18 12:43:39 2021 daemon.err aria2c[4720]: Specify at least one URL.
Sat Dec 18 12:43:39 2021 daemon.err aria2c[4720]: Usage: aria2c [OPTIONS] [URI | MAGNET | TORRENT_FILE | METALINK_FILE]...
Sat Dec 18 12:43:39 2021 daemon.err aria2c[4720]: See 'aria2c -h'.
Sat Dec 18 12:43:39 2021 daemon.info aria2c[4720]: jail: jail (4722) exited with exit: 1
Sat Dec 18 12:43:44 2021 daemon.info aria2c[4755]: jail: exec-ing /usr/bin/aria2c
Sat Dec 18 12:43:44 2021 daemon.err aria2c[4755]: Specify at least one URL.
Sat Dec 18 12:43:44 2021 daemon.err aria2c[4755]: Usage: aria2c [OPTIONS] [URI | MAGNET | TORRENT_FILE | METALINK_FILE]...
Sat Dec 18 12:43:44 2021 daemon.err aria2c[4755]: See 'aria2c -h'.
Sat Dec 18 12:43:44 2021 daemon.info aria2c[4755]: jail: jail (4756) exited with exit: 1
Sat Dec 18 12:43:49 2021 daemon.info aria2c[4759]: jail: exec-ing /usr/bin/aria2c
Sat Dec 18 12:43:49 2021 daemon.err aria2c[4759]: Specify at least one URL.
Sat Dec 18 12:43:49 2021 daemon.err aria2c[4759]: Usage: aria2c [OPTIONS] [URI | MAGNET | TORRENT_FILE | METALINK_FILE]...
Sat Dec 18 12:43:49 2021 daemon.err aria2c[4759]: See 'aria2c -h'.
Sat Dec 18 12:43:49 2021 daemon.info aria2c[4759]: jail: jail (4760) exited with exit: 1
Sat Dec 18 12:43:54 2021 daemon.info aria2c[4771]: jail: exec-ing /usr/bin/aria2c
Sat Dec 18 12:43:54 2021 daemon.err aria2c[4771]: Specify at least one URL.
Sat Dec 18 12:43:54 2021 daemon.err aria2c[4771]: Usage: aria2c [OPTIONS] [URI | MAGNET | TORRENT_FILE | METALINK_FILE]...
Sat Dec 18 12:43:54 2021 daemon.err aria2c[4771]: See 'aria2c -h'.
Sat Dec 18 12:43:54 2021 daemon.info aria2c[4771]: jail: jail (4772) exited with exit: 1
Sat Dec 18 12:43:59 2021 daemon.info aria2c[4793]: jail: exec-ing /usr/bin/aria2c
Sat Dec 18 12:43:59 2021 daemon.err aria2c[4793]: Specify at least one URL.
Sat Dec 18 12:43:59 2021 daemon.err aria2c[4793]: Usage: aria2c [OPTIONS] [URI | MAGNET | TORRENT_FILE | METALINK_FILE]...
Sat Dec 18 12:43:59 2021 daemon.err aria2c[4793]: See 'aria2c -h'.
Sat Dec 18 12:43:59 2021 daemon.info aria2c[4793]: jail: jail (4794) exited with exit: 1
Sat Dec 18 12:44:04 2021 daemon.info aria2c[4795]: jail: exec-ing /usr/bin/aria2c
Sat Dec 18 12:44:04 2021 daemon.err aria2c[4795]: Specify at least one URL.
Sat Dec 18 12:44:04 2021 daemon.err aria2c[4795]: Usage: aria2c [OPTIONS] [URI | MAGNET | TORRENT_FILE | METALINK_FILE]...
Sat Dec 18 12:44:04 2021 daemon.err aria2c[4795]: See 'aria2c -h'.
Sat Dec 18 12:44:04 2021 daemon.info aria2c[4795]: jail: jail (4796) exited with exit: 1
Sat Dec 18 12:44:04 2021 daemon.info procd: Instance aria2::aria2.main s in a crash loop 6 crashes, 0 seconds since last crash

libs/libqrtr-glib库编译错误

具体提示:
qrtr-bus.c: In function 'qrtr_ctrl_message_cb':
qrtr-bus.c:156:27: error: storage size of 'ctrl_packet' isn't known
struct qrtr_ctrl_pkt ctrl_packet;
^~~~~~~~~~~
qrtr-bus.c:181:17: error: 'QRTR_TYPE_NEW_SERVER' undeclared (first use in this function); did you mean 'QRTR_TYPE_NODE'?
if (type != QRTR_TYPE_NEW_SERVER && type != QRTR_TYPE_DEL_SERVER) {
^~~~~~~~~~~~~~~~~~~~
QRTR_TYPE_NODE
qrtr-bus.c:181:17: note: each undeclared identifier is reported only once for each function it appears in
qrtr-bus.c:181:49: error: 'QRTR_TYPE_DEL_SERVER' undeclared (first use in this function); did you mean 'QRTR_TYPE_NEW_SERVER'?
if (type != QRTR_TYPE_NEW_SERVER && type != QRTR_TYPE_DEL_SERVER) {
^~~~~~~~~~~~~~~~~~~~
QRTR_TYPE_NEW_SERVER
qrtr-bus.c:156:27: warning: unused variable 'ctrl_packet' [-Wunused-variable]
struct qrtr_ctrl_pkt ctrl_packet;
^~~~~~~~~~~
qrtr-bus.c: In function 'send_new_lookup_ctrl_packet':
qrtr-bus.c:391:26: error: storage size of 'ctl_packet' isn't known
struct qrtr_ctrl_pkt ctl_packet;
^~~~~~~~~~
qrtr-bus.c:411:20: error: 'QRTR_PORT_CTRL' undeclared (first use in this function); did you mean 'QRTR_NODE_CLASS'?
addr.sq_port = QRTR_PORT_CTRL;
^~~~~~~~~~~~~~
QRTR_NODE_CLASS
In file included from /openwrt/openwrt-lienol-cools/openwrt-ctcgfw-1806-d20210310/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/glib-2.0/glib/gtypes.h:32:0,
from /openwrt/openwrt-lienol-cools/openwrt-ctcgfw-1806-d20210310/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/glib-2.0/glib/galloca.h:32,
from /openwrt/openwrt-lienol-cools/openwrt-ctcgfw-1806-d20210310/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/glib-2.0/glib.h:30,
from /openwrt/openwrt-lienol-cools/openwrt-ctcgfw-1806-d20210310/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/glib-2.0/gobject/gbinding.h:28,
from /openwrt/openwrt-lienol-cools/openwrt-ctcgfw-1806-d20210310/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/glib-2.0/glib-object.h:22,
from /openwrt/openwrt-lienol-cools/openwrt-ctcgfw-1806-d20210310/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/glib-2.0/gio/gioenums.h:28,
from /openwrt/openwrt-lienol-cools/openwrt-ctcgfw-1806-d20210310/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/glib-2.0/gio/giotypes.h:28,
from /openwrt/openwrt-lienol-cools/openwrt-ctcgfw-1806-d20210310/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/glib-2.0/gio/gio.h:26,
from qrtr-bus.c:31:
qrtr-bus.c:414:37: error: 'QRTR_TYPE_NEW_LOOKUP' undeclared (first use in this function); did you mean 'QRTR_TYPE_NODE'?
ctl_packet.cmd = GUINT32_TO_LE (QRTR_TYPE_NEW_LOOKUP);
^
/openwrt/openwrt-lienol-cools/openwrt-ctcgfw-1806-d20210310/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include/glib-2.0/glibconfig.h:164:40: note: in definition of macro 'GUINT32_TO_LE'
#define GUINT32_TO_LE(val) ((guint32) (val))
^~~
qrtr-bus.c:391:26: warning: unused variable 'ctl_packet' [-Wunused-variable]
struct qrtr_ctrl_pkt ctl_packet;
^~~~~~~~~~
qrtr-bus.c: At top level:
cc1: warning: unrecognized command line option '-Wno-cast-function-type'
make[7]: *** [Makefile:562: libqrtr_glib_la-qrtr-bus.lo] Error 1

请教如何处理?

lang 下面的 python3 ruby 都编译失败

openwrt-21.02 分支

python3 的错误日志:
`copying /home/oldchen/build/openwrt-21.02/build_dir/target-x86_64_musl/Python-3.9.12/Tools/scripts/pydoc3 -> build/scripts-3.9
copying /home/oldchen/build/openwrt-21.02/build_dir/target-x86_64_musl/Python-3.9.12/Tools/scripts/idle3 -> build/scripts-3.9
copying /home/oldchen/build/openwrt-21.02/build_dir/target-x86_64_musl/Python-3.9.12/Tools/scripts/2to3 -> build/scripts-3.9
renaming build/scripts-3.9/pydoc3 to build/scripts-3.9/pydoc3.9
renaming build/scripts-3.9/idle3 to build/scripts-3.9/idle3.9
renaming build/scripts-3.9/2to3 to build/scripts-3.9/2to3-3.9
x86_64-openwrt-linux-musl-gcc -L/home/oldchen/build/openwrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/oldchen/build/openwrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -znow -zrelro -L/home/oldchen/build/openwrt-21.02/build_dir/target-x86_64_musl/Python-3.9.12 -L/home/oldchen/build/openwrt-21.02/staging_dir/target-x86_64_musl/usr/lib -L/home/oldchen/build/openwrt-21.02/staging_dir/target-x86_64_musl/lib -L/home/oldchen/build/openwrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/oldchen/build/openwrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -znow -zrelro -L/home/oldchen/build/openwrt-21.02/build_dir/target-x86_64_musl/Python-3.9.12 -L/home/oldchen/build/openwrt-21.02/staging_dir/target-x86_64_musl/usr/lib -L/home/oldchen/build/openwrt-21.02/staging_dir/target-x86_64_musl/lib -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -g -Xlinker -export-dynamic -o Programs/_testembed Programs/testembed.o -L. -lpython3.9 -ldl -lpthread -lm -lz -lm
sed -e "s,@exename@,/usr/bin/python3.9," < ./Misc/python-config.in >python-config.py
LC_ALL=C sed -e 's,$(([A-Za-z0-9
]*)),${\1},g' < Misc/python-config.sh >python-config
make[5]: Leaving directory '/home/oldchen/build/openwrt-21.02/build_dir/target-x86_64_musl/Python-3.9.12'
make[4]: Leaving directory '/home/oldchen/build/openwrt-21.02/build_dir/target-x86_64_musl/Python-3.9.12'

Use host pip to install python-setuptools

/home/oldchen/build/openwrt-21.02/staging_dir/hostpkg/bin/pip3.9 --disable-pip-version-check --cache-dir "/home/oldchen/build/openwrt-21.02/dl/pip-cache" install --ignore-installed --root=/home/oldchen/build/openwrt-21.02/build_dir/target-x86_64_musl/Python-3.9.12/install-setuptools --prefix=/usr /home/oldchen/build/openwrt-21.02/build_dir/target-x86_64_musl/Python-3.9.12/Lib/ensurepip/_bundled/setuptools-58.1.0-py3-none-any.whl
bash: line 1: /home/oldchen/build/openwrt-21.02/staging_dir/hostpkg/bin/pip3.9: No such file or directory
make[3]: *** [Makefile:379: /home/oldchen/build/openwrt-21.02/build_dir/target-x86_64_musl/Python-3.9.12/.built] Error 127
make[3]: Leaving directory '/home/oldchen/build/openwrt-21.02/feeds/packages/lang/python/python3'
time: package/feeds/packages/python3/compile#71.21#8.79#88.80
ERROR: package/feeds/packages/python3 failed to build.
make[2]: *** [package/Makefile:116: package/feeds/packages/python3/compile] Error 1
make[2]: Leaving directory '/home/oldchen/build/openwrt-21.02'
make[1]: *** [package/Makefile:110: /home/oldchen/build/openwrt-21.02/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/oldchen/build/openwrt-21.02'
make: *** [/home/oldchen/build/openwrt-21.02/include/toplevel.mk:230: world] Error 2
`

ruby 的错误日志:
2022-05-05 142408

[18.06] failed to build Node.js

../deps/v8/src/torque/implementation-visitor.cc: In instantiation of 'v8::internal::torque::{anonymous}::CppClassGenerator::GenerateFieldAccessors(const v8::internal::torque::Field&, std::vector<const v8::internal::torque::Field*>&)::<lambda(auto:3&)> [with auto:3 = std::basic_ostream]':
/usr/include/c++/6/type_traits:2481:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = v8::internal::torque::{anonymous}::CppClassGenerator::GenerateFieldAccessors(const v8::internal::torque::Field&, std::vector<const v8::internal::torque::Field*>&)::<lambda(auto:3&)>&; _Args = {std::basic_ostream<char, std::char_traits >&}]'
/usr/include/c++/6/type_traits:2492:55: required from 'struct std::__result_of_impl<false, false, v8::internal::torque::{anonymous}::CppClassGenerator::GenerateFieldAccessors(const v8::internal::torque::Field&, std::vector<const v8::internal::torque::Field*>&)::<lambda(auto:3&)>&, std::basic_ostream<char, std::char_traits >&>'
/usr/include/c++/6/type_traits:2496:12: required from 'class std::result_of<v8::internal::torque::{anonymous}::CppClassGenerator::GenerateFieldAccessors(const v8::internal::torque::Field&, std::vector<const v8::internal::torque::Field*>&)::<lambda(auto:3&)>&(std::basic_ostream&)>'
/usr/include/c++/6/functional:1913:9: required by substitution of 'template<class _Functor, class, class> std::function<_Res(_ArgTypes ...)>::function(_Functor) [with _Functor = v8::internal::torque::{anonymous}::CppClassGenerator::GenerateFieldAccessors(const v8::internal::torque::Field&, std::vector<const v8::internal::torque::Field*>&)::<lambda(auto:3&)>; = void; = ]'
../deps/v8/src/torque/implementation-visitor.cc:4354:6: required from here
../deps/v8/src/torque/implementation-visitor.cc:4352:7: error: cannot call member function 'void v8::internal::torque::{anonymous}::CppClassGenerator::EmitLoadFieldStatement(std::ostream&, const v8::internal::torque::Field&, std::vector<const v8::internal::torque::Field*>&)' without object
EmitLoadFieldStatement(stream, class_field, struct_fields);
^~~~~~~~~~~~~~~~~~~~~~
../deps/v8/src/torque/implementation-visitor.cc: In instantiation of 'v8::internal::torque::{anonymous}::CppClassGenerator::GenerateFieldAccessors(const v8::internal::torque::Field&, std::vector<const v8::internal::torque::Field*>&)::<lambda(auto:4&)> [with auto:4 = std::basic_ostream]':
/usr/include/c++/6/type_traits:2481:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = v8::internal::torque::{anonymous}::CppClassGenerator::GenerateFieldAccessors(const v8::internal::torque::Field&, std::vector<const v8::internal::torque::Field*>&)::<lambda(auto:4&)>&; _Args = {std::basic_ostream<char, std::char_traits >&}]'
/usr/include/c++/6/type_traits:2492:55: required from 'struct std::__result_of_impl<false, false, v8::internal::torque::{anonymous}::CppClassGenerator::GenerateFieldAccessors(const v8::internal::torque::Field&, std::vector<const v8::internal::torque::Field*>&)::<lambda(auto:4&)>&, std::basic_ostream<char, std::char_traits >&>'
/usr/include/c++/6/type_traits:2496:12: required from 'class std::result_of<v8::internal::torque::{anonymous}::CppClassGenerator::GenerateFieldAccessors(const v8::internal::torque::Field&, std::vector<const v8::internal::torque::Field*>&)::<lambda(auto:4&)>&(std::basic_ostream&)>'

/usr/include/c++/6/functional:1913:9: required by substitution of 'template<class _Functor, class, class> std::function<_Res(_ArgTypes ...)>::function(_Functor) [with _Functor = v8::internal::torque::{anonymous}::CppClassGenerator::GenerateFieldAccessors(const v8::internal::torque::Field&, std::vector<const v8::internal::torque::Field*>&)::<lambda(auto:4&)>; = void; = ]'
../deps/v8/src/torque/implementation-visitor.cc:4381:6: required from here
../deps/v8/src/torque/implementation-visitor.cc:4380:7: error: cannot call member function 'void v8::internal::torque::{anonymous}::CppClassGenerator::EmitStoreFieldStatement(std::ostream&, const v8::internal::torque::Field&, std::vector<const v8::internal::torque::Field*>&)' without object
EmitStoreFieldStatement(stream, class_field, struct_fields);
^~~~~~~~~~~~~~~~~~~~~~~
tools/v8_gypfiles/torque_base.target.mk:159: recipe for target '/home/netlove/immortalwrt/build_dir/hostpkg/node-v16.13.1/out/Release/obj.target/torque_base/deps/v8/src/torque/implementation-visitor.o' failed
make[5]: *** [/home/netlove/immortalwrt/build_dir/hostpkg/node-v16.13.1/out/Release/obj.target/torque_base/deps/v8/src/torque/implementation-visitor.o] Error 1
rm 421411c8bfc5e7e281a2c150a5fa4745e44a4739.intermediate
Makefile:110: recipe for target 'node' failed
make[4]: *** [node] Error 2
make[4]: Leaving directory '/home/netlove/immortalwrt/build_dir/hostpkg/node-v16.13.1'
Makefile:194: recipe for target '/home/netlove/immortalwrt/build_dir/hostpkg/node-v16.13.1/.built' failed
make[3]: *** [/home/netlove/immortalwrt/build_dir/hostpkg/node-v16.13.1/.built] Error 2
make[3]: Leaving directory '/home/netlove/immortalwrt/feeds/packages/lang/node'
time: package/feeds/packages/node/host-compile#3.85#1.44#10.79
ERROR: package/feeds/packages/node [host] failed to build.
package/Makefile:114: recipe for target 'package/feeds/packages/node/host/compile' failed
make[2]: *** [package/feeds/packages/node/host/compile] Error 1
make[2]: Leaving directory '/home/netlove/immortalwrt'
package/Makefile:110: recipe for target '/home/netlove/immortalwrt/staging_dir/target-aarch64_generic_musl/stamp/.package_compile' failed
make[1]: *** [/home/netlove/immortalwrt/staging_dir/target-aarch64_generic_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/netlove/immortalwrt'
/home/netlove/immortalwrt/include/toplevel.mk:228: recipe for target 'world' failed
make: *** [world] Error 2

大佬 curl报错 4.19内核 和immortalwrt 21.02都报curl的错

make[6]: Entering directory '/workdir/openwrt/build_dir/target-x86_64_musl/curl-7.82.0/lib'
make[6]: Leaving directory '/workdir/openwrt/build_dir/target-x86_64_musl/curl-7.82.0/lib'
make[5]: Leaving directory '/workdir/openwrt/build_dir/target-x86_64_musl/curl-7.82.0/lib'
Making all in src
make[5]: Entering directory '/workdir/openwrt/build_dir/target-x86_64_musl/curl-7.82.0/src'
Making all in ../docs
make[6]: Entering directory '/workdir/openwrt/build_dir/target-x86_64_musl/curl-7.82.0/docs'
Making all in .
make[7]: Entering directory '/workdir/openwrt/build_dir/target-x86_64_musl/curl-7.82.0/docs'
make[7]: Nothing to be done for 'all-am'.
make[7]: Leaving directory '/workdir/openwrt/build_dir/target-x86_64_musl/curl-7.82.0/docs'
Making all in cmdline-opts
make[7]: Entering directory '/workdir/openwrt/build_dir/target-x86_64_musl/curl-7.82.0/docs/cmdline-opts'
make[7]: Nothing to be done for 'all'.
make[7]: Leaving directory '/workdir/openwrt/build_dir/target-x86_64_musl/curl-7.82.0/docs/cmdline-opts'
make[6]: Leaving directory '/workdir/openwrt/build_dir/target-x86_64_musl/curl-7.82.0/docs'
make[6]: Entering directory '/workdir/openwrt/build_dir/target-x86_64_musl/curl-7.82.0/src'
/bin/bash ../libtool --tag=CC --mode=link x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/workdir/openwrt/build_dir/target-x86_64_musl/curl-7.82.0=curl-7.82.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -pthread -L/workdir/openwrt/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/workdir/openwrt/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -znow -zrelro -Wl,--gc-sections -L/workdir/openwrt/staging_dir/target-x86_64_musl/usr/lib -L/workdir/openwrt/staging_dir/target-x86_64_musl/usr/lib -o curl slist_wc.o tool_binmode.o tool_bname.o tool_cb_dbg.o tool_cb_hdr.o tool_cb_prg.o tool_cb_rea.o tool_cb_see.o tool_cb_wrt.o tool_cfgable.o tool_dirhie.o tool_doswin.o tool_easysrc.o tool_filetime.o tool_findfile.o tool_formparse.o tool_getparam.o tool_getpass.o tool_help.o tool_helpers.o tool_hugehelp.o tool_libinfo.o tool_listhelp.o tool_main.o tool_msgs.o tool_operate.o tool_operhlp.o tool_panykey.o tool_paramhlp.o tool_parsecfg.o tool_progress.o tool_strdup.o tool_setopt.o tool_sleep.o tool_urlglob.o tool_util.o tool_vms.o tool_writeout.o tool_writeout_json.o tool_xattr.o ../lib/strtoofft.o ../lib/nonblock.o ../lib/warnless.o ../lib/curl_ctype.o ../lib/curl_multibyte.o ../lib/version_win32.o ../lib/dynbuf.o ../lib/libcurl.la -lnghttp2 -lssl -lcrypto -lssl -lcrypto -lldap -llber
OpenWrt-libtool: link: x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/workdir/openwrt/build_dir/target-x86_64_musl/curl-7.82.0=curl-7.82.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z -Wl,now -Wl,-z -Wl,relro -DPIC -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -pthread -znow -zrelro -Wl,--gc-sections -o .libs/curl slist_wc.o tool_binmode.o tool_bname.o tool_cb_dbg.o tool_cb_hdr.o tool_cb_prg.o tool_cb_rea.o tool_cb_see.o tool_cb_wrt.o tool_cfgable.o tool_dirhie.o tool_doswin.o tool_easysrc.o tool_filetime.o tool_findfile.o tool_formparse.o tool_getparam.o tool_getpass.o tool_help.o tool_helpers.o tool_hugehelp.o tool_libinfo.o tool_listhelp.o tool_main.o tool_msgs.o tool_operate.o tool_operhlp.o tool_panykey.o tool_paramhlp.o tool_parsecfg.o tool_progress.o tool_strdup.o tool_setopt.o tool_sleep.o tool_urlglob.o tool_util.o tool_vms.o tool_writeout.o tool_writeout_json.o tool_xattr.o ../lib/strtoofft.o ../lib/nonblock.o ../lib/warnless.o ../lib/curl_ctype.o ../lib/curl_multibyte.o ../lib/version_win32.o ../lib/dynbuf.o -L/workdir/openwrt/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/workdir/openwrt/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -L/workdir/openwrt/staging_dir/target-x86_64_musl/usr/lib ../lib/.libs/libcurl.so -lnghttp2 -lssl -lcrypto -lldap -llber -pthread
/workdir/openwrt/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/../../../../x86_64-openwrt-linux-musl/bin/ld: ../lib/.libs/libcurl.so: undefined reference to Curl_sasl_can_authenticate' /workdir/openwrt/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/../../../../x86_64-openwrt-linux-musl/bin/ld: ../lib/.libs/libcurl.so: undefined reference to Curl_sasl_parse_url_auth_option'
/workdir/openwrt/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/../../../../x86_64-openwrt-linux-musl/bin/ld: ../lib/.libs/libcurl.so: undefined reference to Curl_sasl_decode_mech' /workdir/openwrt/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/../../../../x86_64-openwrt-linux-musl/bin/ld: ../lib/.libs/libcurl.so: undefined reference to Curl_sasl_continue'
/workdir/openwrt/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/../../../../x86_64-openwrt-linux-musl/bin/ld: ../lib/.libs/libcurl.so: undefined reference to Curl_sasl_start' /workdir/openwrt/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/../../../../x86_64-openwrt-linux-musl/bin/ld: ../lib/.libs/libcurl.so: undefined reference to Curl_sasl_init'
/workdir/openwrt/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/../../../../x86_64-openwrt-linux-musl/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `Curl_sasl_cleanup'
collect2: error: ld returned 1 exit status
make[6]: *** [Makefile:903: curl] Error 1
make[6]: Leaving directory '/workdir/openwrt/build_dir/target-x86_64_musl/curl-7.82.0/src'
make[5]: *** [Makefile:1375: all-recursive] Error 1
make[5]: Leaving directory '/workdir/openwrt/build_dir/target-x86_64_musl/curl-7.82.0/src'
make[4]: *** [Makefile:1217: all-recursive] Error 1
make[4]: Leaving directory '/workdir/openwrt/build_dir/target-x86_64_musl/curl-7.82.0'
make[3]: *** [Makefile:183: /workdir/openwrt/build_dir/target-x86_64_musl/curl-7.82.0/.built] Error 2
make[3]: Leaving directory '/workdir/openwrt/feeds/packages/net/curl'
time: package/feeds/packages/curl/compile#0.42#0.07#0.48
ERROR: package/feeds/packages/curl failed to build.
make[2]: *** [package/Makefile:115: package/feeds/packages/curl/compile] Error 1
make[2]: Leaving directory '/workdir/openwrt'
make[1]: *** [package/Makefile:109: /workdir/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/workdir/openwrt'
make: *** [/workdir/openwrt/include/toplevel.mk:230: world] Error 2

openwrt-18.06 source results ERROR: package/feeds/packages/ruby [host] failed to build.

I build for sunxi-cortexa7, sunxi-cortexa53m, armvirt, bcm27xx, rockchip-armv8, x86
I currently build using 18.06 source, but this error happens

2022-08-02T03:45:19.1835587Z ./revision.h unchanged
2022-08-02T03:45:19.1940581Z generating enc.mk
2022-08-02T03:45:19.3529385Z making srcs under enc
2022-08-02T03:45:19.3869958Z make[4]: Entering directory '/home/workspace/openwrt/build_dir/hostpkg/ruby-3.1.2'
2022-08-02T03:45:19.3871010Z make[4]: Nothing to be done for 'srcs'.
2022-08-02T03:45:19.3871948Z make[4]: Leaving directory '/home/workspace/openwrt/build_dir/hostpkg/ruby-3.1.2'
2022-08-02T03:45:19.3892104Z generating transdb.h
2022-08-02T03:45:19.5687473Z transdb.h unchanged
2022-08-02T03:45:19.5735605Z generating makefiles ext/configure-ext.mk
2022-08-02T03:45:19.6204742Z ext/configure-ext.mk unchanged
2022-08-02T03:45:19.6268715Z make[4]: Entering directory '/home/workspace/openwrt/build_dir/hostpkg/ruby-3.1.2'
2022-08-02T03:45:19.7303949Z make[5]: Entering directory '/home/workspace/openwrt/build_dir/hostpkg/ruby-3.1.2/ext/date'
2022-08-02T03:45:19.7365102Z make[5]: Leaving directory '/home/workspace/openwrt/build_dir/hostpkg/ruby-3.1.2/ext/date'
2022-08-02T03:45:19.7420933Z make[5]: Entering directory '/home/workspace/openwrt/build_dir/hostpkg/ruby-3.1.2/ext/digest'
2022-08-02T03:45:19.7523034Z make[5]: Leaving directory '/home/workspace/openwrt/build_dir/hostpkg/ruby-3.1.2/ext/digest'
2022-08-02T03:45:19.7888376Z make[5]: Entering directory '/home/workspace/openwrt/build_dir/hostpkg/ruby-3.1.2/ext/digest/sha2'
2022-08-02T03:45:19.7952450Z make[5]: Leaving directory '/home/workspace/openwrt/build_dir/hostpkg/ruby-3.1.2/ext/digest/sha2'
2022-08-02T03:45:19.8162694Z make[5]: Entering directory '/home/workspace/openwrt/build_dir/hostpkg/ruby-3.1.2/ext/monitor'
2022-08-02T03:45:19.8208944Z make[5]: Leaving directory '/home/workspace/openwrt/build_dir/hostpkg/ruby-3.1.2/ext/monitor'
2022-08-02T03:45:19.8408924Z make[5]: Entering directory '/home/workspace/openwrt/build_dir/hostpkg/ruby-3.1.2/ext/openssl'
2022-08-02T03:45:19.8419395Z compiling ossl_pkey.c
2022-08-02T03:45:19.9709796Z ossl_pkey.c: In function 'ossl_pkey_export_traditional':
2022-08-02T03:45:19.9711086Z ossl_pkey.c:681:62: error: dereferencing pointer to incomplete type 'EVP_PKEY' {aka 'struct evp_pkey_st'}
2022-08-02T03:45:19.9712230Z   681 |  EVP_PKEY_asn1_get0_info(NULL, NULL, NULL, NULL, &aname, pkey->ameth);
2022-08-02T03:45:19.9712578Z       |                                                              ^~
2022-08-02T03:45:20.0764903Z make[5]: *** [Makefile:323: ossl_pkey.o] Error 1
2022-08-02T03:45:20.0767255Z make[5]: Leaving directory '/home/workspace/openwrt/build_dir/hostpkg/ruby-3.1.2/ext/openssl'
2022-08-02T03:45:20.0767952Z make[4]: *** [exts.mk:115: ext/openssl/all] Error 2
2022-08-02T03:45:20.0770080Z make[4]: Leaving directory '/home/workspace/openwrt/build_dir/hostpkg/ruby-3.1.2'
2022-08-02T03:45:20.0770930Z make[3]: Leaving directory '/home/workspace/openwrt/build_dir/hostpkg/ruby-3.1.2'
2022-08-02T03:45:20.0773381Z make[2]: Leaving directory '/home/workspace/openwrt/feeds/packages/lang/ruby'
2022-08-02T03:45:20.0776950Z make[3]: *** [uncommon.mk:305: build-ext] Error 2
2022-08-02T03:45:20.0777770Z make[2]: *** [Makefile:1156: /home/workspace/openwrt/build_dir/hostpkg/ruby-3.1.2/.built] Error 2
2022-08-02T03:45:20.0778589Z time: package/feeds/packages/ruby/host-compile#1.18#0.23#1.42
2022-08-02T03:45:20.0786913Z     ERROR: package/feeds/packages/ruby [host] failed to build.
2022-08-02T03:45:20.0791410Z make[1]: *** [package/Makefile:114: package/feeds/packages/ruby/host/compile] Error 1
2022-08-02T03:45:20.0803205Z make[1]: Leaving directory '/home/workspace/openwrt'
2022-08-02T03:45:20.0835276Z make: *** [/home/workspace/openwrt/include/toplevel.mk:230: package/compile] Error 2
2022-08-02T03:45:20.0871745Z ##[error]Process completed with exit code 2.
2022-08-02T03:45:20.1048737Z Cleaning up orphan processes

and i don't see any changes inside source https://github.com/immortalwrt/packages/commits/openwrt-18.06/lang/ruby, my latest build is work, commit before 2022.07.28

这是哪里有问题?朋友们,

daemon.err AdGuardHome[6270]: panic: qtls.CertificateRequestInfo doesn't match
daemon.err AdGuardHome[6270]:
daemon.err AdGuardHome[6270]: goroutine 1 [running]:
daemon.err AdGuardHome[6270]: github.com/marten-seemann/qtls-go1-16.init.0()
daemon.err AdGuardHome[6270]: github.com/marten-seemann/[email protected]/unsafe.go:17 +0x248

18.06的batman-adv 失败

L大的luci-app-easymesh中的batman-adv在18.06中编译失败。
/home/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/batman-adv-2021.3/net/batman-adv/bridge_loop_avoidance.c: In function 'batadv_bla_send_claim':
/home/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/batman-adv-2021.3/net/batman-adv/bridge_loop_avoidance.c:446:2: error: implicit declaration of function 'netif_rx_any_context'; did you mean 'get_task_io_context'? [-Werror=implicit-function-declaration]
netif_rx_any_context(skb);
^~~~~~~~~~~~~~~~~~~~
get_task_io_context
cc1: some warnings being treated as errors
make[5]: *** [scripts/Makefile.build:330: /home/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/batman-adv-2021.3/net/batman-adv/bridge_loop_avoidance.o] Error 1

21.02的syncdial和mwan3搭配会出错

具体表现会,重启后,拨上号后,mwan3 status,显示线路error出错,导致mwan3退出,需要手动 mwan3 restart。

18.06的源码不会这样。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.