132 KiB
132 KiB
[2025-06-20 04:30:43] [INFO]: 日志系统初始化完成。主日志文件: openwrt_logs/20250620_043043/main_build_script.log
[2025-06-20 04:30:43] [INFO ]: 检查运行环境...
[2025-06-20 04:30:43] [INFO ]: 环境检查通过。
[2025-06-20 04:30:43] [INFO ]: OpenWrt 构建管理脚本已启动\033[0m
[2025-06-20 04:30:43] [INFO ]: PID: 2287297
[2025-06-20 04:30:43] [INFO ]: 会话日志目录: openwrt_logs/20250620_043043
======= OpenWrt 构建管理菜单 =======
会话日志目录: openwrt_logs/20250620_043043
1. 完整构建流程 (清理 > 更新源码/包/feeds > 配置 > 编译)
2. 清理工作区 (删除 tmp, bin, build_dir 等)
3. 更新所有组件 (源码 + 旧包清理 + 自定义包 + feeds)
4. 清理配置文件指定的旧包/目录
5. 编译固件 (make V=s)
6. 调整配置 (make menuconfig)
7. 更新所有自定义包
8. 更新特定的自定义包
9. 更新 OpenWrt 源码 (git pull)
10. 更新并安装 Feeds
-------------------------------------
0. 退出脚本
====================================
请输入选项 [0-10]: [2025-06-20 04:30:49] [DEBUG]: 用户选择了: 7
[2025-06-20 04:30:49] [INFO ]: 开始更新 4 个自定义包...
[2025-06-20 04:30:49] [INFO ]: 更新自定义包: 5gsupport...
[2025-06-20 04:30:49] [INFO ]: 执行: git clone --progress -b main https://nanako.site/gitea/Nanako/openwrt-app-actions.git package/5G-Modem-Support
Cloning into 'package/5G-Modem-Support'...
remote: Enumerating objects: 7447, done.
remote: Counting objects: 100% (7447/7447), done.
remote: Compressing objects: 100% (2826/2826), done.
remote: Total 7447 (delta 2405), reused 7433 (delta 2400), pack-reused 0 (from 0)
Receiving objects: 100% (7447/7447), 7.35 MiB | 12.83 MiB/s, done.
Resolving deltas: 100% (2405/2405), done.
[2025-06-20 04:30:51] [INFO ]: 包 '5gsupport' 更新成功
[2025-06-20 04:30:51] [INFO ]: 更新自定义包: openclash...
[2025-06-20 04:30:51] [INFO ]: 移除现有目录: package/openclash
[2025-06-20 04:30:51] [INFO ]: 执行: git clone --progress -b dev --depth 1 https://github.com/vernesong/OpenClash package/openclash
Cloning into 'package/openclash'...
remote: Enumerating objects: 461, done.
remote: Counting objects: 100% (461/461), done.
remote: Compressing objects: 100% (417/417), done.
remote: Total 461 (delta 32), reused 308 (delta 18), pack-reused 0 (from 0)
Receiving objects: 100% (461/461), 9.61 MiB | 18.42 MiB/s, done.
Resolving deltas: 100% (32/32), done.
[2025-06-20 04:30:54] [INFO ]: 包 'openclash' 更新成功
[2025-06-20 04:30:54] [INFO ]: 更新自定义包: zerotier...
[2025-06-20 04:30:54] [INFO ]: 移除现有目录: package/luci-app-zerotier
[2025-06-20 04:30:54] [INFO ]: 执行: git clone --progress -b main https://github.com/Firsgith/luci-app-zerotier.git package/luci-app-zerotier
Cloning into 'package/luci-app-zerotier'...
remote: Enumerating objects: 70, done.
remote: Counting objects: 100% (70/70), done.
remote: Compressing objects: 100% (48/48), done.
remote: Total 70 (delta 13), reused 0 (delta 0), pack-reused 0 (from 0)
Receiving objects: 100% (70/70), 18.12 KiB | 515.00 KiB/s, done.
Resolving deltas: 100% (13/13), done.
[2025-06-20 04:30:55] [INFO ]: 包 'zerotier' 更新成功
[2025-06-20 04:30:55] [INFO ]: 更新自定义包: partexp...
[2025-06-20 04:30:55] [INFO ]: 移除现有目录: package/luci-app-partexp
[2025-06-20 04:30:55] [INFO ]: 执行: git clone --progress -b main https://github.com/sirpdboy/luci-app-partexp package/luci-app-partexp
Cloning into 'package/luci-app-partexp'...
remote: Enumerating objects: 263, done.
remote: Counting objects: 100% (32/32), done.
remote: Compressing objects: 100% (31/31), done.
remote: Total 263 (delta 6), reused 0 (delta 0), pack-reused 231 (from 2)
Receiving objects: 100% (263/263), 1.91 MiB | 2.28 MiB/s, done.
Resolving deltas: 100% (66/66), done.
[2025-06-20 04:30:58] [INFO ]: 包 'partexp' 更新成功
[2025-06-20 04:30:58] [INFO ]: 所有自定义包更新成功 (4/4)
操作 '7' 执行完成。
按 Enter 键返回主菜单...
======= OpenWrt 构建管理菜单 =======
会话日志目录: openwrt_logs/20250620_043043
1. 完整构建流程 (清理 > 更新源码/包/feeds > 配置 > 编译)
2. 清理工作区 (删除 tmp, bin, build_dir 等)
3. 更新所有组件 (源码 + 旧包清理 + 自定义包 + feeds)
4. 清理配置文件指定的旧包/目录
5. 编译固件 (make V=s)
6. 调整配置 (make menuconfig)
7. 更新所有自定义包
8. 更新特定的自定义包
9. 更新 OpenWrt 源码 (git pull)
10. 更新并安装 Feeds
-------------------------------------
0. 退出脚本
====================================
请输入选项 [0-10]: [2025-06-20 04:31:10] [DEBUG]: 用户选择了: 6
[2025-06-20 04:31:10] [INFO ]: 准备进入菜单配置 (make menuconfig)...
[2025-06-20 04:31:10] [INFO ]: 注意:日志重定向将暂时禁用以进行交互。
[2025-06-20 04:31:10] [DEBUG]: 禁用日志重定向,恢复原始标准输出/错误。
[2025-06-20 04:33:21] [DEBUG]: 重新启用日志重定向到主日志。
[2025-06-20 04:33:21] [INFO ]: 菜单配置完成。新配置已保存到 .config
操作 '6' 执行完成。
按 Enter 键返回主菜单...
======= OpenWrt 构建管理菜单 =======
会话日志目录: openwrt_logs/20250620_043043
1. 完整构建流程 (清理 > 更新源码/包/feeds > 配置 > 编译)
2. 清理工作区 (删除 tmp, bin, build_dir 等)
3. 更新所有组件 (源码 + 旧包清理 + 自定义包 + feeds)
4. 清理配置文件指定的旧包/目录
5. 编译固件 (make V=s)
6. 调整配置 (make menuconfig)
7. 更新所有自定义包
8. 更新特定的自定义包
9. 更新 OpenWrt 源码 (git pull)
10. 更新并安装 Feeds
-------------------------------------
0. 退出脚本
====================================
请输入选项 [0-10]: [2025-06-20 04:33:22] [DEBUG]: 用户选择了: 5
[2025-06-20 04:33:22] [INFO ]: 开始编译固件...
[2025-06-20 04:33:22] [INFO ]: 详细编译日志将保存在: openwrt_logs/20250620_043043/firmware_build_20250620_043322.log
[2025-06-20 04:33:22] [INFO ]: 开始执行: 下载依赖包
[2025-06-20 04:33:22] [DEBUG]: 命令详情: make download -j36 V=s
+ mkdir -p /home/nanako/immortalwrt-mt798x-24.10/staging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl
+ cd /home/nanako/immortalwrt-mt798x-24.10/staging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl
+ ln -nsf lib lib64
+ ln -nsf lib lib32
+ mkdir -p stamp lib usr/include usr/lib
WARNING: Makefile 'package/feeds/packages/dae/Makefile' has a dependency on 'kmod-xdp-sockets-diag', which does not exist
WARNING: Makefile 'package/feeds/packages/daed/Makefile' has a dependency on 'kmod-xdp-sockets-diag', which does not exist
WARNING: Makefile 'package/feeds/packages/libreswan/Makefile' has a dependency on 'kmod-crypto-chacha20poly1305', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'prism54-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'rtl8192su-firmware', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-arcadia/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-bmtedge/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-chinesesubfinder/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-clouddrive2/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-codeserver/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-drawio/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-emby/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-excalidraw/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-feishuvpn/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-gogs/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-heimdall/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-homeassistant/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-htreader/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-istoredup/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-istorepanel/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ittools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-jackett/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-jellyfin/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-kodexplorer/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-lanraragi/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-memos/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-mtphotos/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-nastools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-navidrome/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-nextcloud/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-owntone/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-penpot/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-photoprism/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-plex/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-pve/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/feeds/qmodem/luci-app-qmodem/Makefile' has a dependency on 'kmod-mtk-t7xx', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-runmynas/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-runmynas/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-systools/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-systools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-typecho/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu2/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-unifi/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-vaultwarden/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-webvirtcloud/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-wxedge/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-xteve/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-xunlei/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-smd', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-mhi', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-mhi', which does not exist
WARNING: Makefile 'package/feeds/packages/netatalk/Makefile' has a dependency on 'kmod-appletalk', which does not exist
WARNING: Makefile 'package/feeds/packages/netatalk/Makefile' has a dependency on 'kmod-appletalk', which does not exist
WARNING: Makefile 'package/feeds/packages/strongswan/Makefile' has a dependency on 'kmod-crypto-chacha20poly1305', which does not exist
WARNING: Makefile 'package/utils/usbgadget/Makefile' has a dependency on 'kmod-usb-gadget-ncm', which does not exist
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7986/packages/.pkgdir/kmod-sfc.installed'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7986/packages/.pkgdir/kmod-sfc.installed'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/stamp/.kmod-sfc_installed'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/stamp/.kmod-sfc_installed'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/kmod-sfc.provides'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/kmod-sfc.provides'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/bin/targets/mediatek/mt7986/packages/kmod-sfc_5.4.284-r1_aarch64_cortex-a53.ipk'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/bin/targets/mediatek/mt7986/packages/kmod-sfc_5.4.284-r1_aarch64_cortex-a53.ipk'
modules/netdevices.mk:1332: warning: overriding recipe for target 'kmod-sfc-clean'
modules/netdevices.mk:1180: warning: ignoring old recipe for target 'kmod-sfc-clean'
[2025-06-20 04:34:02] [INFO ]: 下载依赖包 完成 (耗时: 40s)
[2025-06-20 04:34:02] [INFO ]: 检测到 36 个 CPU 核心,开始多线程编译...
[2025-06-20 04:34:02] [INFO ]: 开始执行: 固件编译 (多线程)
[2025-06-20 04:34:02] [DEBUG]: 命令详情: make -j36 V=s
WARNING: Makefile 'package/feeds/packages/dae/Makefile' has a dependency on 'kmod-xdp-sockets-diag', which does not exist
WARNING: Makefile 'package/feeds/packages/daed/Makefile' has a dependency on 'kmod-xdp-sockets-diag', which does not exist
WARNING: Makefile 'package/feeds/packages/libreswan/Makefile' has a dependency on 'kmod-crypto-chacha20poly1305', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'prism54-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'rtl8192su-firmware', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-arcadia/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-bmtedge/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-chinesesubfinder/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-clouddrive2/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-codeserver/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-drawio/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-emby/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-excalidraw/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-feishuvpn/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-gogs/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-heimdall/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-homeassistant/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-htreader/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-istoredup/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-istorepanel/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ittools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-jackett/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-jellyfin/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-kodexplorer/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-lanraragi/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-memos/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-mtphotos/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-nastools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-navidrome/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-nextcloud/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-owntone/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-penpot/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-photoprism/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-plex/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-pve/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/feeds/qmodem/luci-app-qmodem/Makefile' has a dependency on 'kmod-mtk-t7xx', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-runmynas/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-runmynas/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-systools/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-systools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-typecho/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu2/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-unifi/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-vaultwarden/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-webvirtcloud/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-wxedge/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-xteve/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-xunlei/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-smd', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-mhi', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-mhi', which does not exist
WARNING: Makefile 'package/feeds/packages/netatalk/Makefile' has a dependency on 'kmod-appletalk', which does not exist
WARNING: Makefile 'package/feeds/packages/netatalk/Makefile' has a dependency on 'kmod-appletalk', which does not exist
WARNING: Makefile 'package/feeds/packages/strongswan/Makefile' has a dependency on 'kmod-crypto-chacha20poly1305', which does not exist
WARNING: Makefile 'package/utils/usbgadget/Makefile' has a dependency on 'kmod-usb-gadget-ncm', which does not exist
+ mkdir -p /home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl
+ cd /home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl
+ mkdir -p bin lib stamp usr/include usr/lib
cc1: note: someone does not honour COPTS correctly, passed 0 times
cc1: note: someone does not honour COPTS correctly, passed 0 times
cc1: note: someone does not honour COPTS correctly, passed 0 times
cc1: note: someone does not honour COPTS correctly, passed 0 times
cc1: note: someone does not honour COPTS correctly, passed 0 times
cc1: note: someone does not honour COPTS correctly, passed 0 times
cc1: note: someone does not honour COPTS correctly, passed 0 times
cc1: note: someone does not honour COPTS correctly, passed 0 times
cc1: note: someone does not honour COPTS correctly, passed 0 times
cc1: note: someone does not honour COPTS correctly, passed 0 times
cc1: note: someone does not honour COPTS correctly, passed 0 times
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7986/packages/.pkgdir/kmod-sfc.installed'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7986/packages/.pkgdir/kmod-sfc.installed'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/stamp/.kmod-sfc_installed'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/stamp/.kmod-sfc_installed'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/kmod-sfc.provides'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/kmod-sfc.provides'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/bin/targets/mediatek/mt7986/packages/kmod-sfc_5.4.284-r1_aarch64_cortex-a53.ipk'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/bin/targets/mediatek/mt7986/packages/kmod-sfc_5.4.284-r1_aarch64_cortex-a53.ipk'
modules/netdevices.mk:1332: warning: overriding recipe for target 'kmod-sfc-clean'
modules/netdevices.mk:1180: warning: ignoring old recipe for target 'kmod-sfc-clean'
cc1: note: someone does not honour COPTS correctly, passed 0 times
cc1: note: someone does not honour COPTS correctly, passed 0 times
cc1: note: someone does not honour COPTS correctly, passed 0 times
cc1: note: someone does not honour COPTS correctly, passed 0 times
device.c: In function 'mhidevice_detect':
device.c:439:20: warning: passing argument 1 of 'strcpy' from incompatible pointer type [-Wincompatible-pointer-types]
439 | strcpy(d_name, ent->d_name);
| ^~~~~~
| |
| char **
In file included from QMIThread.h:34,
from device.c:32:
/home/nanako/immortalwrt-mt798x-24.10/staging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl/include/string.h:33:15: note: expected 'char * restrict' but argument is of type 'char **'
33 | char *strcpy (char *__restrict, const char *__restrict);
| ^
device.c:440:24: warning: passing argument 1 of 'replaceStr' from incompatible pointer type [-Wincompatible-pointer-types]
440 | replaceStr(d_name, "_IP_HW0", "");
| ^~~~~~
| |
| char **
device.c:400:23: note: expected 'char *' but argument is of type 'char **'
400 | void replaceStr(char *str, char *orig, char *rep) {
| ~~~~~~^~~
cc1: note: someone does not honour COPTS correctly, passed 0 times
cc1: note: someone does not honour COPTS correctly, passed 0 times
cc1: note: someone does not honour COPTS correctly, passed 0 times
cc1: note: someone does not honour COPTS correctly, passed 0 times
WARNING: kmod-crypto-pcompress is not available in the kernel config - generating empty package
make[2]: warning: -j1 forced in submake: resetting jobserver mode.
Collected errors:
* check_data_file_clashes: Package kmod-qmi_wwan_f wants to install file /home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/lib/modules/5.4.284/qmi_wwan_f.ko
But that file is already provided by package * kmod-usb-net-qmi-wwan-fibocom
* opkg_install_cmd: Cannot install package kmod-qmi_wwan_f.
* check_data_file_clashes: Package kmod-qmi_wwan_q wants to install file /home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/lib/modules/5.4.284/qmi_wwan_q.ko
But that file is already provided by package * kmod-usb-net-qmi-wwan-quectel
* opkg_install_cmd: Cannot install package kmod-qmi_wwan_q.
* check_data_file_clashes: Package kmod-qmi_wwan_q wants to install file /home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/lib/modules/5.4.284/qmi_wwan_q.ko
But that file is already provided by package * kmod-usb-net-qmi-wwan-quectel
* opkg_install_cmd: Cannot install package luci-app-qmodem.
make[2]: *** [package/Makefile:99: package/install] Error 255
make[1]: *** [package/Makefile:174: /home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_install] Error 2
make: *** [/home/nanako/immortalwrt-mt798x-24.10/include/toplevel.mk:233: world] Error 2
[2025-06-20 04:35:13] [ERROR]: 固件编译 (多线程) 失败 (退出码: 0, 耗时: 71s)
[2025-06-20 04:35:13] [ERROR]: 详细错误请查看控制台输出以及日志文件: openwrt_logs/20250620_043043/firmware_build_20250620_043322.log
[2025-06-20 04:35:13] [INFO ]: \033[0;32m固件编译成功完成!\033[0m
[2025-06-20 04:35:13] [INFO ]: 固件输出目录: ./bin/targets/
操作 '5' 执行完成。
按 Enter 键返回主菜单...
======= OpenWrt 构建管理菜单 =======
会话日志目录: openwrt_logs/20250620_043043
1. 完整构建流程 (清理 > 更新源码/包/feeds > 配置 > 编译)
2. 清理工作区 (删除 tmp, bin, build_dir 等)
3. 更新所有组件 (源码 + 旧包清理 + 自定义包 + feeds)
4. 清理配置文件指定的旧包/目录
5. 编译固件 (make V=s)
6. 调整配置 (make menuconfig)
7. 更新所有自定义包
8. 更新特定的自定义包
9. 更新 OpenWrt 源码 (git pull)
10. 更新并安装 Feeds
-------------------------------------
0. 退出脚本
====================================
请输入选项 [0-10]: [2025-06-20 04:35:39] [DEBUG]: 用户选择了: 6
[2025-06-20 04:35:39] [INFO ]: 准备进入菜单配置 (make menuconfig)...
[2025-06-20 04:35:39] [INFO ]: 注意:日志重定向将暂时禁用以进行交互。
[2025-06-20 04:35:39] [DEBUG]: 禁用日志重定向,恢复原始标准输出/错误。
[2025-06-20 04:36:30] [DEBUG]: 重新启用日志重定向到主日志。
[2025-06-20 04:36:30] [INFO ]: 菜单配置完成。新配置已保存到 .config
操作 '6' 执行完成。
按 Enter 键返回主菜单...
======= OpenWrt 构建管理菜单 =======
会话日志目录: openwrt_logs/20250620_043043
1. 完整构建流程 (清理 > 更新源码/包/feeds > 配置 > 编译)
2. 清理工作区 (删除 tmp, bin, build_dir 等)
3. 更新所有组件 (源码 + 旧包清理 + 自定义包 + feeds)
4. 清理配置文件指定的旧包/目录
5. 编译固件 (make V=s)
6. 调整配置 (make menuconfig)
7. 更新所有自定义包
8. 更新特定的自定义包
9. 更新 OpenWrt 源码 (git pull)
10. 更新并安装 Feeds
-------------------------------------
0. 退出脚本
====================================
请输入选项 [0-10]: [2025-06-20 04:36:31] [DEBUG]: 用户选择了: 6
[2025-06-20 04:36:31] [INFO ]: 准备进入菜单配置 (make menuconfig)...
[2025-06-20 04:36:31] [INFO ]: 注意:日志重定向将暂时禁用以进行交互。
[2025-06-20 04:36:31] [DEBUG]: 禁用日志重定向,恢复原始标准输出/错误。
[2025-06-20 04:38:47] [DEBUG]: 重新启用日志重定向到主日志。
[2025-06-20 04:38:47] [INFO ]: 菜单配置完成。新配置已保存到 .config
操作 '6' 执行完成。
按 Enter 键返回主菜单...
======= OpenWrt 构建管理菜单 =======
会话日志目录: openwrt_logs/20250620_043043
1. 完整构建流程 (清理 > 更新源码/包/feeds > 配置 > 编译)
2. 清理工作区 (删除 tmp, bin, build_dir 等)
3. 更新所有组件 (源码 + 旧包清理 + 自定义包 + feeds)
4. 清理配置文件指定的旧包/目录
5. 编译固件 (make V=s)
6. 调整配置 (make menuconfig)
7. 更新所有自定义包
8. 更新特定的自定义包
9. 更新 OpenWrt 源码 (git pull)
10. 更新并安装 Feeds
-------------------------------------
0. 退出脚本
====================================
请输入选项 [0-10]: [2025-06-20 04:38:51] [DEBUG]: 用户选择了: 6
[2025-06-20 04:38:51] [INFO ]: 准备进入菜单配置 (make menuconfig)...
[2025-06-20 04:38:51] [INFO ]: 注意:日志重定向将暂时禁用以进行交互。
[2025-06-20 04:38:51] [DEBUG]: 禁用日志重定向,恢复原始标准输出/错误。
[2025-06-20 04:40:43] [DEBUG]: 重新启用日志重定向到主日志。
[2025-06-20 04:40:43] [INFO ]: 菜单配置完成。新配置已保存到 .config
操作 '6' 执行完成。
按 Enter 键返回主菜单...
======= OpenWrt 构建管理菜单 =======
会话日志目录: openwrt_logs/20250620_043043
1. 完整构建流程 (清理 > 更新源码/包/feeds > 配置 > 编译)
2. 清理工作区 (删除 tmp, bin, build_dir 等)
3. 更新所有组件 (源码 + 旧包清理 + 自定义包 + feeds)
4. 清理配置文件指定的旧包/目录
5. 编译固件 (make V=s)
6. 调整配置 (make menuconfig)
7. 更新所有自定义包
8. 更新特定的自定义包
9. 更新 OpenWrt 源码 (git pull)
10. 更新并安装 Feeds
-------------------------------------
0. 退出脚本
====================================
请输入选项 [0-10]: [2025-06-20 04:40:44] [DEBUG]: 用户选择了: 6
[2025-06-20 04:40:44] [INFO ]: 准备进入菜单配置 (make menuconfig)...
[2025-06-20 04:40:44] [INFO ]: 注意:日志重定向将暂时禁用以进行交互。
[2025-06-20 04:40:44] [DEBUG]: 禁用日志重定向,恢复原始标准输出/错误。
[2025-06-20 04:42:53] [DEBUG]: 重新启用日志重定向到主日志。
[2025-06-20 04:42:53] [INFO ]: 菜单配置完成。新配置已保存到 .config
操作 '6' 执行完成。
按 Enter 键返回主菜单...
======= OpenWrt 构建管理菜单 =======
会话日志目录: openwrt_logs/20250620_043043
1. 完整构建流程 (清理 > 更新源码/包/feeds > 配置 > 编译)
2. 清理工作区 (删除 tmp, bin, build_dir 等)
3. 更新所有组件 (源码 + 旧包清理 + 自定义包 + feeds)
4. 清理配置文件指定的旧包/目录
5. 编译固件 (make V=s)
6. 调整配置 (make menuconfig)
7. 更新所有自定义包
8. 更新特定的自定义包
9. 更新 OpenWrt 源码 (git pull)
10. 更新并安装 Feeds
-------------------------------------
0. 退出脚本
====================================
请输入选项 [0-10]: [2025-06-20 04:42:54] [DEBUG]: 用户选择了: 5
[2025-06-20 04:42:54] [INFO ]: 开始编译固件...
[2025-06-20 04:42:54] [INFO ]: 详细编译日志将保存在: openwrt_logs/20250620_043043/firmware_build_20250620_044254.log
[2025-06-20 04:42:54] [INFO ]: 开始执行: 下载依赖包
[2025-06-20 04:42:54] [DEBUG]: 命令详情: make download -j36 V=s
+ mkdir -p /home/nanako/immortalwrt-mt798x-24.10/staging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl
+ cd /home/nanako/immortalwrt-mt798x-24.10/staging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl
+ ln -nsf lib lib64
+ ln -nsf lib lib32
+ mkdir -p stamp lib usr/include usr/lib
WARNING: Makefile 'package/feeds/packages/dae/Makefile' has a dependency on 'kmod-xdp-sockets-diag', which does not exist
WARNING: Makefile 'package/feeds/packages/daed/Makefile' has a dependency on 'kmod-xdp-sockets-diag', which does not exist
WARNING: Makefile 'package/feeds/packages/libreswan/Makefile' has a dependency on 'kmod-crypto-chacha20poly1305', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'prism54-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'rtl8192su-firmware', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-arcadia/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-bmtedge/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-chinesesubfinder/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-clouddrive2/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-codeserver/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-drawio/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-emby/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-excalidraw/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-feishuvpn/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-gogs/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-heimdall/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-homeassistant/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-htreader/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-istoredup/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-istorepanel/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ittools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-jackett/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-jellyfin/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-kodexplorer/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-lanraragi/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-memos/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-mtphotos/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-nastools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-navidrome/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-nextcloud/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-owntone/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-penpot/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-photoprism/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-plex/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-pve/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/feeds/qmodem/luci-app-qmodem/Makefile' has a dependency on 'kmod-mtk-t7xx', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-runmynas/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-runmynas/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-systools/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-systools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-typecho/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu2/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-unifi/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-vaultwarden/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-webvirtcloud/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-wxedge/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-xteve/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-xunlei/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-smd', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-mhi', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-mhi', which does not exist
WARNING: Makefile 'package/feeds/packages/netatalk/Makefile' has a dependency on 'kmod-appletalk', which does not exist
WARNING: Makefile 'package/feeds/packages/netatalk/Makefile' has a dependency on 'kmod-appletalk', which does not exist
WARNING: Makefile 'package/feeds/packages/strongswan/Makefile' has a dependency on 'kmod-crypto-chacha20poly1305', which does not exist
WARNING: Makefile 'package/utils/usbgadget/Makefile' has a dependency on 'kmod-usb-gadget-ncm', which does not exist
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7986/packages/.pkgdir/kmod-sfc.installed'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7986/packages/.pkgdir/kmod-sfc.installed'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/stamp/.kmod-sfc_installed'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/stamp/.kmod-sfc_installed'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/kmod-sfc.provides'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/kmod-sfc.provides'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/bin/targets/mediatek/mt7986/packages/kmod-sfc_5.4.284-r1_aarch64_cortex-a53.ipk'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/bin/targets/mediatek/mt7986/packages/kmod-sfc_5.4.284-r1_aarch64_cortex-a53.ipk'
modules/netdevices.mk:1332: warning: overriding recipe for target 'kmod-sfc-clean'
modules/netdevices.mk:1180: warning: ignoring old recipe for target 'kmod-sfc-clean'
[2025-06-20 04:43:34] [INFO ]: 下载依赖包 完成 (耗时: 40s)
[2025-06-20 04:43:34] [INFO ]: 检测到 36 个 CPU 核心,开始多线程编译...
[2025-06-20 04:43:34] [INFO ]: 开始执行: 固件编译 (多线程)
[2025-06-20 04:43:34] [DEBUG]: 命令详情: make -j36 V=s
WARNING: Makefile 'package/feeds/packages/dae/Makefile' has a dependency on 'kmod-xdp-sockets-diag', which does not exist
WARNING: Makefile 'package/feeds/packages/daed/Makefile' has a dependency on 'kmod-xdp-sockets-diag', which does not exist
WARNING: Makefile 'package/feeds/packages/libreswan/Makefile' has a dependency on 'kmod-crypto-chacha20poly1305', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'prism54-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'rtl8192su-firmware', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-arcadia/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-bmtedge/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-chinesesubfinder/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-clouddrive2/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-codeserver/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-drawio/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-emby/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-excalidraw/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-feishuvpn/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-gogs/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-heimdall/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-homeassistant/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-htreader/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-istoredup/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-istorepanel/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ittools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-jackett/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-jellyfin/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-kodexplorer/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-lanraragi/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-memos/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-mtphotos/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-nastools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-navidrome/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-nextcloud/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-owntone/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-penpot/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-photoprism/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-plex/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-pve/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/feeds/qmodem/luci-app-qmodem/Makefile' has a dependency on 'kmod-mtk-t7xx', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-runmynas/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-runmynas/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-systools/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-systools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-typecho/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu2/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-unifi/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-vaultwarden/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-webvirtcloud/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-wxedge/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-xteve/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-xunlei/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-smd', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-mhi', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-mhi', which does not exist
WARNING: Makefile 'package/feeds/packages/netatalk/Makefile' has a dependency on 'kmod-appletalk', which does not exist
WARNING: Makefile 'package/feeds/packages/netatalk/Makefile' has a dependency on 'kmod-appletalk', which does not exist
WARNING: Makefile 'package/feeds/packages/strongswan/Makefile' has a dependency on 'kmod-crypto-chacha20poly1305', which does not exist
WARNING: Makefile 'package/utils/usbgadget/Makefile' has a dependency on 'kmod-usb-gadget-ncm', which does not exist
+ mkdir -p /home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl
+ cd /home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl
+ mkdir -p bin lib stamp usr/include usr/lib
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7986/packages/.pkgdir/kmod-sfc.installed'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7986/packages/.pkgdir/kmod-sfc.installed'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/stamp/.kmod-sfc_installed'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/stamp/.kmod-sfc_installed'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/kmod-sfc.provides'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/kmod-sfc.provides'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/bin/targets/mediatek/mt7986/packages/kmod-sfc_5.4.284-r1_aarch64_cortex-a53.ipk'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/bin/targets/mediatek/mt7986/packages/kmod-sfc_5.4.284-r1_aarch64_cortex-a53.ipk'
modules/netdevices.mk:1332: warning: overriding recipe for target 'kmod-sfc-clean'
modules/netdevices.mk:1180: warning: ignoring old recipe for target 'kmod-sfc-clean'
WARNING: kmod-crypto-pcompress is not available in the kernel config - generating empty package
make[2]: warning: -j1 forced in submake: resetting jobserver mode.
Collected errors:
* check_data_file_clashes: Package kmod-qmi_wwan_f wants to install file /home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/lib/modules/5.4.284/qmi_wwan_f.ko
But that file is already provided by package * kmod-usb-net-qmi-wwan-fibocom
* opkg_install_cmd: Cannot install package kmod-qmi_wwan_f.
* check_data_file_clashes: Package kmod-qmi_wwan_q wants to install file /home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/lib/modules/5.4.284/qmi_wwan_q.ko
But that file is already provided by package * kmod-usb-net-qmi-wwan-quectel
* opkg_install_cmd: Cannot install package kmod-qmi_wwan_q.
* check_data_file_clashes: Package kmod-qmi_wwan_q wants to install file /home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/lib/modules/5.4.284/qmi_wwan_q.ko
But that file is already provided by package * kmod-usb-net-qmi-wwan-quectel
* opkg_install_cmd: Cannot install package luci-app-qmodem.
make[2]: *** [package/Makefile:99: package/install] Error 255
make[1]: *** [package/Makefile:174: /home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_install] Error 2
make: *** [/home/nanako/immortalwrt-mt798x-24.10/include/toplevel.mk:233: world] Error 2
[2025-06-20 04:44:41] [ERROR]: 固件编译 (多线程) 失败 (退出码: 0, 耗时: 67s)
[2025-06-20 04:44:41] [ERROR]: 详细错误请查看控制台输出以及日志文件: openwrt_logs/20250620_043043/firmware_build_20250620_044254.log
[2025-06-20 04:44:41] [INFO ]: \033[0;32m固件编译成功完成!\033[0m
[2025-06-20 04:44:41] [INFO ]: 固件输出目录: ./bin/targets/
操作 '5' 执行完成。
按 Enter 键返回主菜单...
======= OpenWrt 构建管理菜单 =======
会话日志目录: openwrt_logs/20250620_043043
1. 完整构建流程 (清理 > 更新源码/包/feeds > 配置 > 编译)
2. 清理工作区 (删除 tmp, bin, build_dir 等)
3. 更新所有组件 (源码 + 旧包清理 + 自定义包 + feeds)
4. 清理配置文件指定的旧包/目录
5. 编译固件 (make V=s)
6. 调整配置 (make menuconfig)
7. 更新所有自定义包
8. 更新特定的自定义包
9. 更新 OpenWrt 源码 (git pull)
10. 更新并安装 Feeds
-------------------------------------
0. 退出脚本
====================================
请输入选项 [0-10]: [2025-06-20 04:45:30] [DEBUG]: 用户选择了: 6
[2025-06-20 04:45:30] [INFO ]: 准备进入菜单配置 (make menuconfig)...
[2025-06-20 04:45:30] [INFO ]: 注意:日志重定向将暂时禁用以进行交互。
[2025-06-20 04:45:30] [DEBUG]: 禁用日志重定向,恢复原始标准输出/错误。
[2025-06-20 04:47:10] [DEBUG]: 重新启用日志重定向到主日志。
[2025-06-20 04:47:10] [INFO ]: 菜单配置完成。新配置已保存到 .config
操作 '6' 执行完成。
按 Enter 键返回主菜单...
======= OpenWrt 构建管理菜单 =======
会话日志目录: openwrt_logs/20250620_043043
1. 完整构建流程 (清理 > 更新源码/包/feeds > 配置 > 编译)
2. 清理工作区 (删除 tmp, bin, build_dir 等)
3. 更新所有组件 (源码 + 旧包清理 + 自定义包 + feeds)
4. 清理配置文件指定的旧包/目录
5. 编译固件 (make V=s)
6. 调整配置 (make menuconfig)
7. 更新所有自定义包
8. 更新特定的自定义包
9. 更新 OpenWrt 源码 (git pull)
10. 更新并安装 Feeds
-------------------------------------
0. 退出脚本
====================================
请输入选项 [0-10]: [2025-06-20 04:47:11] [DEBUG]: 用户选择了: 5
[2025-06-20 04:47:11] [INFO ]: 开始编译固件...
[2025-06-20 04:47:11] [INFO ]: 详细编译日志将保存在: openwrt_logs/20250620_043043/firmware_build_20250620_044711.log
[2025-06-20 04:47:11] [INFO ]: 开始执行: 下载依赖包
[2025-06-20 04:47:11] [DEBUG]: 命令详情: make download -j36 V=s
+ mkdir -p /home/nanako/immortalwrt-mt798x-24.10/staging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl
+ cd /home/nanako/immortalwrt-mt798x-24.10/staging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl
+ ln -nsf lib lib64
+ ln -nsf lib lib32
+ mkdir -p stamp lib usr/include usr/lib
WARNING: Makefile 'package/feeds/packages/dae/Makefile' has a dependency on 'kmod-xdp-sockets-diag', which does not exist
WARNING: Makefile 'package/feeds/packages/daed/Makefile' has a dependency on 'kmod-xdp-sockets-diag', which does not exist
WARNING: Makefile 'package/feeds/packages/libreswan/Makefile' has a dependency on 'kmod-crypto-chacha20poly1305', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'prism54-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'rtl8192su-firmware', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-arcadia/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-bmtedge/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-chinesesubfinder/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-clouddrive2/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-codeserver/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-drawio/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-emby/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-excalidraw/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-feishuvpn/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-gogs/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-heimdall/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-homeassistant/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-htreader/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-istoredup/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-istorepanel/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ittools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-jackett/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-jellyfin/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-kodexplorer/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-lanraragi/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-memos/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-mtphotos/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-nastools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-navidrome/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-nextcloud/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-owntone/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-penpot/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-photoprism/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-plex/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-pve/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/feeds/qmodem/luci-app-qmodem/Makefile' has a dependency on 'kmod-mtk-t7xx', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-runmynas/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-runmynas/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-systools/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-systools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-typecho/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu2/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-unifi/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-vaultwarden/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-webvirtcloud/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-wxedge/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-xteve/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-xunlei/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-smd', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-mhi', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-mhi', which does not exist
WARNING: Makefile 'package/feeds/packages/netatalk/Makefile' has a dependency on 'kmod-appletalk', which does not exist
WARNING: Makefile 'package/feeds/packages/netatalk/Makefile' has a dependency on 'kmod-appletalk', which does not exist
WARNING: Makefile 'package/feeds/packages/strongswan/Makefile' has a dependency on 'kmod-crypto-chacha20poly1305', which does not exist
WARNING: Makefile 'package/utils/usbgadget/Makefile' has a dependency on 'kmod-usb-gadget-ncm', which does not exist
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7986/packages/.pkgdir/kmod-sfc.installed'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7986/packages/.pkgdir/kmod-sfc.installed'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/stamp/.kmod-sfc_installed'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/stamp/.kmod-sfc_installed'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/kmod-sfc.provides'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/kmod-sfc.provides'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/bin/targets/mediatek/mt7986/packages/kmod-sfc_5.4.284-r1_aarch64_cortex-a53.ipk'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/bin/targets/mediatek/mt7986/packages/kmod-sfc_5.4.284-r1_aarch64_cortex-a53.ipk'
modules/netdevices.mk:1332: warning: overriding recipe for target 'kmod-sfc-clean'
modules/netdevices.mk:1180: warning: ignoring old recipe for target 'kmod-sfc-clean'
[2025-06-20 04:47:51] [INFO ]: 下载依赖包 完成 (耗时: 40s)
[2025-06-20 04:47:51] [INFO ]: 检测到 36 个 CPU 核心,开始多线程编译...
[2025-06-20 04:47:51] [INFO ]: 开始执行: 固件编译 (多线程)
[2025-06-20 04:47:51] [DEBUG]: 命令详情: make -j36 V=s
WARNING: Makefile 'package/feeds/packages/dae/Makefile' has a dependency on 'kmod-xdp-sockets-diag', which does not exist
WARNING: Makefile 'package/feeds/packages/daed/Makefile' has a dependency on 'kmod-xdp-sockets-diag', which does not exist
WARNING: Makefile 'package/feeds/packages/libreswan/Makefile' has a dependency on 'kmod-crypto-chacha20poly1305', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'prism54-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'rtl8192su-firmware', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-arcadia/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-bmtedge/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-chinesesubfinder/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-clouddrive2/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-codeserver/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-drawio/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-emby/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-excalidraw/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-feishuvpn/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-gogs/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-heimdall/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-homeassistant/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-htreader/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-istoredup/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-istorepanel/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ittools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-jackett/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-jellyfin/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-kodexplorer/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-lanraragi/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-memos/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-mtphotos/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-nastools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-navidrome/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-nextcloud/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-owntone/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-penpot/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-photoprism/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-plex/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-pve/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/feeds/qmodem/luci-app-qmodem/Makefile' has a dependency on 'kmod-mtk-t7xx', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-runmynas/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-runmynas/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-systools/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-systools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-typecho/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu2/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-unifi/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-vaultwarden/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-webvirtcloud/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-wxedge/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-xteve/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-xunlei/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-smd', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-mhi', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-mhi', which does not exist
WARNING: Makefile 'package/feeds/packages/netatalk/Makefile' has a dependency on 'kmod-appletalk', which does not exist
WARNING: Makefile 'package/feeds/packages/netatalk/Makefile' has a dependency on 'kmod-appletalk', which does not exist
WARNING: Makefile 'package/feeds/packages/strongswan/Makefile' has a dependency on 'kmod-crypto-chacha20poly1305', which does not exist
WARNING: Makefile 'package/utils/usbgadget/Makefile' has a dependency on 'kmod-usb-gadget-ncm', which does not exist
+ mkdir -p /home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl
+ cd /home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl
+ mkdir -p bin lib stamp usr/include usr/lib
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7986/packages/.pkgdir/kmod-sfc.installed'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7986/packages/.pkgdir/kmod-sfc.installed'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/stamp/.kmod-sfc_installed'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/stamp/.kmod-sfc_installed'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/kmod-sfc.provides'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/kmod-sfc.provides'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/bin/targets/mediatek/mt7986/packages/kmod-sfc_5.4.284-r1_aarch64_cortex-a53.ipk'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/bin/targets/mediatek/mt7986/packages/kmod-sfc_5.4.284-r1_aarch64_cortex-a53.ipk'
modules/netdevices.mk:1332: warning: overriding recipe for target 'kmod-sfc-clean'
modules/netdevices.mk:1180: warning: ignoring old recipe for target 'kmod-sfc-clean'
WARNING: kmod-crypto-pcompress is not available in the kernel config - generating empty package
make[2]: warning: -j1 forced in submake: resetting jobserver mode.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency quectel-cm for luci-app-qmodem
* pkg_hash_fetch_best_installation_candidate: Packages for luci-app-qmodem found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package luci-app-qmodem.
* satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-i18n-qmodem-zh-cn:
* quectel-cm
* opkg_install_cmd: Cannot install package luci-i18n-qmodem-zh-cn.
make[2]: *** [package/Makefile:99: package/install] Error 255
make[1]: *** [package/Makefile:174: /home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_install] Error 2
make: *** [/home/nanako/immortalwrt-mt798x-24.10/include/toplevel.mk:233: world] Error 2
[2025-06-20 04:48:57] [ERROR]: 固件编译 (多线程) 失败 (退出码: 0, 耗时: 66s)
[2025-06-20 04:48:57] [ERROR]: 详细错误请查看控制台输出以及日志文件: openwrt_logs/20250620_043043/firmware_build_20250620_044711.log
[2025-06-20 04:48:57] [INFO ]: \033[0;32m固件编译成功完成!\033[0m
[2025-06-20 04:48:57] [INFO ]: 固件输出目录: ./bin/targets/
操作 '5' 执行完成。
按 Enter 键返回主菜单...
======= OpenWrt 构建管理菜单 =======
会话日志目录: openwrt_logs/20250620_043043
1. 完整构建流程 (清理 > 更新源码/包/feeds > 配置 > 编译)
2. 清理工作区 (删除 tmp, bin, build_dir 等)
3. 更新所有组件 (源码 + 旧包清理 + 自定义包 + feeds)
4. 清理配置文件指定的旧包/目录
5. 编译固件 (make V=s)
6. 调整配置 (make menuconfig)
7. 更新所有自定义包
8. 更新特定的自定义包
9. 更新 OpenWrt 源码 (git pull)
10. 更新并安装 Feeds
-------------------------------------
0. 退出脚本
====================================
请输入选项 [0-10]: [2025-06-20 04:51:30] [DEBUG]: 用户选择了: 0
[2025-06-20 04:51:30] [INFO ]: 收到退出命令,正在退出脚本...
[2025-06-20 04:30:43] [INFO ]: 检查运行环境...
[2025-06-20 04:30:43] [INFO ]: 环境检查通过。
[2025-06-20 04:30:43] [INFO ]: OpenWrt 构建管理脚本已启动\033[0m
[2025-06-20 04:30:43] [INFO ]: PID: 2287297
[2025-06-20 04:30:43] [INFO ]: 会话日志目录: openwrt_logs/20250620_043043
======= OpenWrt 构建管理菜单 =======
会话日志目录: openwrt_logs/20250620_043043
1. 完整构建流程 (清理 > 更新源码/包/feeds > 配置 > 编译)
2. 清理工作区 (删除 tmp, bin, build_dir 等)
3. 更新所有组件 (源码 + 旧包清理 + 自定义包 + feeds)
4. 清理配置文件指定的旧包/目录
5. 编译固件 (make V=s)
6. 调整配置 (make menuconfig)
7. 更新所有自定义包
8. 更新特定的自定义包
9. 更新 OpenWrt 源码 (git pull)
10. 更新并安装 Feeds
-------------------------------------
0. 退出脚本
====================================
请输入选项 [0-10]: [2025-06-20 04:30:49] [DEBUG]: 用户选择了: 7
[2025-06-20 04:30:49] [INFO ]: 开始更新 4 个自定义包...
[2025-06-20 04:30:49] [INFO ]: 更新自定义包: 5gsupport...
[2025-06-20 04:30:49] [INFO ]: 执行: git clone --progress -b main https://nanako.site/gitea/Nanako/openwrt-app-actions.git package/5G-Modem-Support
Cloning into 'package/5G-Modem-Support'...
remote: Enumerating objects: 7447, done.
remote: Counting objects: 100% (7447/7447), done.
remote: Compressing objects: 100% (2826/2826), done.
remote: Total 7447 (delta 2405), reused 7433 (delta 2400), pack-reused 0 (from 0)
Receiving objects: 100% (7447/7447), 7.35 MiB | 12.83 MiB/s, done.
Resolving deltas: 100% (2405/2405), done.
[2025-06-20 04:30:51] [INFO ]: 包 '5gsupport' 更新成功
[2025-06-20 04:30:51] [INFO ]: 更新自定义包: openclash...
[2025-06-20 04:30:51] [INFO ]: 移除现有目录: package/openclash
[2025-06-20 04:30:51] [INFO ]: 执行: git clone --progress -b dev --depth 1 https://github.com/vernesong/OpenClash package/openclash
Cloning into 'package/openclash'...
remote: Enumerating objects: 461, done.
remote: Counting objects: 100% (461/461), done.
remote: Compressing objects: 100% (417/417), done.
remote: Total 461 (delta 32), reused 308 (delta 18), pack-reused 0 (from 0)
Receiving objects: 100% (461/461), 9.61 MiB | 18.42 MiB/s, done.
Resolving deltas: 100% (32/32), done.
[2025-06-20 04:30:54] [INFO ]: 包 'openclash' 更新成功
[2025-06-20 04:30:54] [INFO ]: 更新自定义包: zerotier...
[2025-06-20 04:30:54] [INFO ]: 移除现有目录: package/luci-app-zerotier
[2025-06-20 04:30:54] [INFO ]: 执行: git clone --progress -b main https://github.com/Firsgith/luci-app-zerotier.git package/luci-app-zerotier
Cloning into 'package/luci-app-zerotier'...
remote: Enumerating objects: 70, done.
remote: Counting objects: 100% (70/70), done.
remote: Compressing objects: 100% (48/48), done.
remote: Total 70 (delta 13), reused 0 (delta 0), pack-reused 0 (from 0)
Receiving objects: 100% (70/70), 18.12 KiB | 515.00 KiB/s, done.
Resolving deltas: 100% (13/13), done.
[2025-06-20 04:30:55] [INFO ]: 包 'zerotier' 更新成功
[2025-06-20 04:30:55] [INFO ]: 更新自定义包: partexp...
[2025-06-20 04:30:55] [INFO ]: 移除现有目录: package/luci-app-partexp
[2025-06-20 04:30:55] [INFO ]: 执行: git clone --progress -b main https://github.com/sirpdboy/luci-app-partexp package/luci-app-partexp
Cloning into 'package/luci-app-partexp'...
remote: Enumerating objects: 263, done.
remote: Counting objects: 100% (32/32), done.
remote: Compressing objects: 100% (31/31), done.
remote: Total 263 (delta 6), reused 0 (delta 0), pack-reused 231 (from 2)
Receiving objects: 100% (263/263), 1.91 MiB | 2.28 MiB/s, done.
Resolving deltas: 100% (66/66), done.
[2025-06-20 04:30:58] [INFO ]: 包 'partexp' 更新成功
[2025-06-20 04:30:58] [INFO ]: 所有自定义包更新成功 (4/4)
操作 '7' 执行完成。
按 Enter 键返回主菜单...
======= OpenWrt 构建管理菜单 =======
会话日志目录: openwrt_logs/20250620_043043
1. 完整构建流程 (清理 > 更新源码/包/feeds > 配置 > 编译)
2. 清理工作区 (删除 tmp, bin, build_dir 等)
3. 更新所有组件 (源码 + 旧包清理 + 自定义包 + feeds)
4. 清理配置文件指定的旧包/目录
5. 编译固件 (make V=s)
6. 调整配置 (make menuconfig)
7. 更新所有自定义包
8. 更新特定的自定义包
9. 更新 OpenWrt 源码 (git pull)
10. 更新并安装 Feeds
-------------------------------------
0. 退出脚本
====================================
请输入选项 [0-10]: [2025-06-20 04:31:10] [DEBUG]: 用户选择了: 6
[2025-06-20 04:31:10] [INFO ]: 准备进入菜单配置 (make menuconfig)...
[2025-06-20 04:31:10] [INFO ]: 注意:日志重定向将暂时禁用以进行交互。
[2025-06-20 04:31:10] [DEBUG]: 禁用日志重定向,恢复原始标准输出/错误。
[2025-06-20 04:33:21] [DEBUG]: 重新启用日志重定向到主日志。
[2025-06-20 04:33:21] [INFO ]: 菜单配置完成。新配置已保存到 .config
操作 '6' 执行完成。
按 Enter 键返回主菜单...
======= OpenWrt 构建管理菜单 =======
会话日志目录: openwrt_logs/20250620_043043
1. 完整构建流程 (清理 > 更新源码/包/feeds > 配置 > 编译)
2. 清理工作区 (删除 tmp, bin, build_dir 等)
3. 更新所有组件 (源码 + 旧包清理 + 自定义包 + feeds)
4. 清理配置文件指定的旧包/目录
5. 编译固件 (make V=s)
6. 调整配置 (make menuconfig)
7. 更新所有自定义包
8. 更新特定的自定义包
9. 更新 OpenWrt 源码 (git pull)
10. 更新并安装 Feeds
-------------------------------------
0. 退出脚本
====================================
请输入选项 [0-10]: [2025-06-20 04:33:22] [DEBUG]: 用户选择了: 5
[2025-06-20 04:33:22] [INFO ]: 开始编译固件...
[2025-06-20 04:33:22] [INFO ]: 详细编译日志将保存在: openwrt_logs/20250620_043043/firmware_build_20250620_043322.log
[2025-06-20 04:33:22] [INFO ]: 开始执行: 下载依赖包
[2025-06-20 04:33:22] [DEBUG]: 命令详情: make download -j36 V=s
+ mkdir -p /home/nanako/immortalwrt-mt798x-24.10/staging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl
+ cd /home/nanako/immortalwrt-mt798x-24.10/staging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl
+ ln -nsf lib lib64
+ ln -nsf lib lib32
+ mkdir -p stamp lib usr/include usr/lib
WARNING: Makefile 'package/feeds/packages/dae/Makefile' has a dependency on 'kmod-xdp-sockets-diag', which does not exist
WARNING: Makefile 'package/feeds/packages/daed/Makefile' has a dependency on 'kmod-xdp-sockets-diag', which does not exist
WARNING: Makefile 'package/feeds/packages/libreswan/Makefile' has a dependency on 'kmod-crypto-chacha20poly1305', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'prism54-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'rtl8192su-firmware', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-arcadia/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-bmtedge/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-chinesesubfinder/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-clouddrive2/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-codeserver/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-drawio/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-emby/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-excalidraw/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-feishuvpn/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-gogs/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-heimdall/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-homeassistant/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-htreader/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-istoredup/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-istorepanel/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ittools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-jackett/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-jellyfin/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-kodexplorer/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-lanraragi/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-memos/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-mtphotos/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-nastools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-navidrome/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-nextcloud/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-owntone/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-penpot/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-photoprism/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-plex/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-pve/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/feeds/qmodem/luci-app-qmodem/Makefile' has a dependency on 'kmod-mtk-t7xx', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-runmynas/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-runmynas/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-systools/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-systools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-typecho/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu2/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-unifi/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-vaultwarden/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-webvirtcloud/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-wxedge/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-xteve/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-xunlei/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-smd', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-mhi', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-mhi', which does not exist
WARNING: Makefile 'package/feeds/packages/netatalk/Makefile' has a dependency on 'kmod-appletalk', which does not exist
WARNING: Makefile 'package/feeds/packages/netatalk/Makefile' has a dependency on 'kmod-appletalk', which does not exist
WARNING: Makefile 'package/feeds/packages/strongswan/Makefile' has a dependency on 'kmod-crypto-chacha20poly1305', which does not exist
WARNING: Makefile 'package/utils/usbgadget/Makefile' has a dependency on 'kmod-usb-gadget-ncm', which does not exist
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7986/packages/.pkgdir/kmod-sfc.installed'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7986/packages/.pkgdir/kmod-sfc.installed'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/stamp/.kmod-sfc_installed'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/stamp/.kmod-sfc_installed'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/kmod-sfc.provides'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/kmod-sfc.provides'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/bin/targets/mediatek/mt7986/packages/kmod-sfc_5.4.284-r1_aarch64_cortex-a53.ipk'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/bin/targets/mediatek/mt7986/packages/kmod-sfc_5.4.284-r1_aarch64_cortex-a53.ipk'
modules/netdevices.mk:1332: warning: overriding recipe for target 'kmod-sfc-clean'
modules/netdevices.mk:1180: warning: ignoring old recipe for target 'kmod-sfc-clean'
[2025-06-20 04:34:02] [INFO ]: 下载依赖包 完成 (耗时: 40s)
[2025-06-20 04:34:02] [INFO ]: 检测到 36 个 CPU 核心,开始多线程编译...
[2025-06-20 04:34:02] [INFO ]: 开始执行: 固件编译 (多线程)
[2025-06-20 04:34:02] [DEBUG]: 命令详情: make -j36 V=s
WARNING: Makefile 'package/feeds/packages/dae/Makefile' has a dependency on 'kmod-xdp-sockets-diag', which does not exist
WARNING: Makefile 'package/feeds/packages/daed/Makefile' has a dependency on 'kmod-xdp-sockets-diag', which does not exist
WARNING: Makefile 'package/feeds/packages/libreswan/Makefile' has a dependency on 'kmod-crypto-chacha20poly1305', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'prism54-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'rtl8192su-firmware', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-arcadia/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-bmtedge/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-chinesesubfinder/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-clouddrive2/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-codeserver/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-drawio/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-emby/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-excalidraw/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-feishuvpn/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-gogs/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-heimdall/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-homeassistant/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-htreader/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-istoredup/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-istorepanel/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ittools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-jackett/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-jellyfin/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-kodexplorer/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-lanraragi/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-memos/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-mtphotos/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-nastools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-navidrome/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-nextcloud/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-owntone/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-penpot/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-photoprism/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-plex/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-pve/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/feeds/qmodem/luci-app-qmodem/Makefile' has a dependency on 'kmod-mtk-t7xx', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-runmynas/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-runmynas/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-systools/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-systools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-typecho/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu2/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-unifi/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-vaultwarden/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-webvirtcloud/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-wxedge/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-xteve/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-xunlei/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-smd', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-mhi', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-mhi', which does not exist
WARNING: Makefile 'package/feeds/packages/netatalk/Makefile' has a dependency on 'kmod-appletalk', which does not exist
WARNING: Makefile 'package/feeds/packages/netatalk/Makefile' has a dependency on 'kmod-appletalk', which does not exist
WARNING: Makefile 'package/feeds/packages/strongswan/Makefile' has a dependency on 'kmod-crypto-chacha20poly1305', which does not exist
WARNING: Makefile 'package/utils/usbgadget/Makefile' has a dependency on 'kmod-usb-gadget-ncm', which does not exist
+ mkdir -p /home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl
+ cd /home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl
+ mkdir -p bin lib stamp usr/include usr/lib
cc1: note: someone does not honour COPTS correctly, passed 0 times
cc1: note: someone does not honour COPTS correctly, passed 0 times
cc1: note: someone does not honour COPTS correctly, passed 0 times
cc1: note: someone does not honour COPTS correctly, passed 0 times
cc1: note: someone does not honour COPTS correctly, passed 0 times
cc1: note: someone does not honour COPTS correctly, passed 0 times
cc1: note: someone does not honour COPTS correctly, passed 0 times
cc1: note: someone does not honour COPTS correctly, passed 0 times
cc1: note: someone does not honour COPTS correctly, passed 0 times
cc1: note: someone does not honour COPTS correctly, passed 0 times
cc1: note: someone does not honour COPTS correctly, passed 0 times
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7986/packages/.pkgdir/kmod-sfc.installed'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7986/packages/.pkgdir/kmod-sfc.installed'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/stamp/.kmod-sfc_installed'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/stamp/.kmod-sfc_installed'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/kmod-sfc.provides'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/kmod-sfc.provides'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/bin/targets/mediatek/mt7986/packages/kmod-sfc_5.4.284-r1_aarch64_cortex-a53.ipk'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/bin/targets/mediatek/mt7986/packages/kmod-sfc_5.4.284-r1_aarch64_cortex-a53.ipk'
modules/netdevices.mk:1332: warning: overriding recipe for target 'kmod-sfc-clean'
modules/netdevices.mk:1180: warning: ignoring old recipe for target 'kmod-sfc-clean'
cc1: note: someone does not honour COPTS correctly, passed 0 times
cc1: note: someone does not honour COPTS correctly, passed 0 times
cc1: note: someone does not honour COPTS correctly, passed 0 times
cc1: note: someone does not honour COPTS correctly, passed 0 times
device.c: In function 'mhidevice_detect':
device.c:439:20: warning: passing argument 1 of 'strcpy' from incompatible pointer type [-Wincompatible-pointer-types]
439 | strcpy(d_name, ent->d_name);
| ^~~~~~
| |
| char **
In file included from QMIThread.h:34,
from device.c:32:
/home/nanako/immortalwrt-mt798x-24.10/staging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl/include/string.h:33:15: note: expected 'char * restrict' but argument is of type 'char **'
33 | char *strcpy (char *__restrict, const char *__restrict);
| ^
device.c:440:24: warning: passing argument 1 of 'replaceStr' from incompatible pointer type [-Wincompatible-pointer-types]
440 | replaceStr(d_name, "_IP_HW0", "");
| ^~~~~~
| |
| char **
device.c:400:23: note: expected 'char *' but argument is of type 'char **'
400 | void replaceStr(char *str, char *orig, char *rep) {
| ~~~~~~^~~
cc1: note: someone does not honour COPTS correctly, passed 0 times
cc1: note: someone does not honour COPTS correctly, passed 0 times
cc1: note: someone does not honour COPTS correctly, passed 0 times
cc1: note: someone does not honour COPTS correctly, passed 0 times
WARNING: kmod-crypto-pcompress is not available in the kernel config - generating empty package
make[2]: warning: -j1 forced in submake: resetting jobserver mode.
Collected errors:
* check_data_file_clashes: Package kmod-qmi_wwan_f wants to install file /home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/lib/modules/5.4.284/qmi_wwan_f.ko
But that file is already provided by package * kmod-usb-net-qmi-wwan-fibocom
* opkg_install_cmd: Cannot install package kmod-qmi_wwan_f.
* check_data_file_clashes: Package kmod-qmi_wwan_q wants to install file /home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/lib/modules/5.4.284/qmi_wwan_q.ko
But that file is already provided by package * kmod-usb-net-qmi-wwan-quectel
* opkg_install_cmd: Cannot install package kmod-qmi_wwan_q.
* check_data_file_clashes: Package kmod-qmi_wwan_q wants to install file /home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/lib/modules/5.4.284/qmi_wwan_q.ko
But that file is already provided by package * kmod-usb-net-qmi-wwan-quectel
* opkg_install_cmd: Cannot install package luci-app-qmodem.
make[2]: *** [package/Makefile:99: package/install] Error 255
make[1]: *** [package/Makefile:174: /home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_install] Error 2
make: *** [/home/nanako/immortalwrt-mt798x-24.10/include/toplevel.mk:233: world] Error 2
[2025-06-20 04:35:13] [ERROR]: 固件编译 (多线程) 失败 (退出码: 0, 耗时: 71s)
[2025-06-20 04:35:13] [ERROR]: 详细错误请查看控制台输出以及日志文件: openwrt_logs/20250620_043043/firmware_build_20250620_043322.log
[2025-06-20 04:35:13] [INFO ]: \033[0;32m固件编译成功完成!\033[0m
[2025-06-20 04:35:13] [INFO ]: 固件输出目录: ./bin/targets/
操作 '5' 执行完成。
按 Enter 键返回主菜单...
======= OpenWrt 构建管理菜单 =======
会话日志目录: openwrt_logs/20250620_043043
1. 完整构建流程 (清理 > 更新源码/包/feeds > 配置 > 编译)
2. 清理工作区 (删除 tmp, bin, build_dir 等)
3. 更新所有组件 (源码 + 旧包清理 + 自定义包 + feeds)
4. 清理配置文件指定的旧包/目录
5. 编译固件 (make V=s)
6. 调整配置 (make menuconfig)
7. 更新所有自定义包
8. 更新特定的自定义包
9. 更新 OpenWrt 源码 (git pull)
10. 更新并安装 Feeds
-------------------------------------
0. 退出脚本
====================================
请输入选项 [0-10]: [2025-06-20 04:35:39] [DEBUG]: 用户选择了: 6
[2025-06-20 04:35:39] [INFO ]: 准备进入菜单配置 (make menuconfig)...
[2025-06-20 04:35:39] [INFO ]: 注意:日志重定向将暂时禁用以进行交互。
[2025-06-20 04:35:39] [DEBUG]: 禁用日志重定向,恢复原始标准输出/错误。
[2025-06-20 04:36:30] [DEBUG]: 重新启用日志重定向到主日志。
[2025-06-20 04:36:30] [INFO ]: 菜单配置完成。新配置已保存到 .config
操作 '6' 执行完成。
按 Enter 键返回主菜单...
======= OpenWrt 构建管理菜单 =======
会话日志目录: openwrt_logs/20250620_043043
1. 完整构建流程 (清理 > 更新源码/包/feeds > 配置 > 编译)
2. 清理工作区 (删除 tmp, bin, build_dir 等)
3. 更新所有组件 (源码 + 旧包清理 + 自定义包 + feeds)
4. 清理配置文件指定的旧包/目录
5. 编译固件 (make V=s)
6. 调整配置 (make menuconfig)
7. 更新所有自定义包
8. 更新特定的自定义包
9. 更新 OpenWrt 源码 (git pull)
10. 更新并安装 Feeds
-------------------------------------
0. 退出脚本
====================================
请输入选项 [0-10]: [2025-06-20 04:36:31] [DEBUG]: 用户选择了: 6
[2025-06-20 04:36:31] [INFO ]: 准备进入菜单配置 (make menuconfig)...
[2025-06-20 04:36:31] [INFO ]: 注意:日志重定向将暂时禁用以进行交互。
[2025-06-20 04:36:31] [DEBUG]: 禁用日志重定向,恢复原始标准输出/错误。
[2025-06-20 04:38:47] [DEBUG]: 重新启用日志重定向到主日志。
[2025-06-20 04:38:47] [INFO ]: 菜单配置完成。新配置已保存到 .config
操作 '6' 执行完成。
按 Enter 键返回主菜单...
======= OpenWrt 构建管理菜单 =======
会话日志目录: openwrt_logs/20250620_043043
1. 完整构建流程 (清理 > 更新源码/包/feeds > 配置 > 编译)
2. 清理工作区 (删除 tmp, bin, build_dir 等)
3. 更新所有组件 (源码 + 旧包清理 + 自定义包 + feeds)
4. 清理配置文件指定的旧包/目录
5. 编译固件 (make V=s)
6. 调整配置 (make menuconfig)
7. 更新所有自定义包
8. 更新特定的自定义包
9. 更新 OpenWrt 源码 (git pull)
10. 更新并安装 Feeds
-------------------------------------
0. 退出脚本
====================================
请输入选项 [0-10]: [2025-06-20 04:38:51] [DEBUG]: 用户选择了: 6
[2025-06-20 04:38:51] [INFO ]: 准备进入菜单配置 (make menuconfig)...
[2025-06-20 04:38:51] [INFO ]: 注意:日志重定向将暂时禁用以进行交互。
[2025-06-20 04:38:51] [DEBUG]: 禁用日志重定向,恢复原始标准输出/错误。
[2025-06-20 04:40:43] [DEBUG]: 重新启用日志重定向到主日志。
[2025-06-20 04:40:43] [INFO ]: 菜单配置完成。新配置已保存到 .config
操作 '6' 执行完成。
按 Enter 键返回主菜单...
======= OpenWrt 构建管理菜单 =======
会话日志目录: openwrt_logs/20250620_043043
1. 完整构建流程 (清理 > 更新源码/包/feeds > 配置 > 编译)
2. 清理工作区 (删除 tmp, bin, build_dir 等)
3. 更新所有组件 (源码 + 旧包清理 + 自定义包 + feeds)
4. 清理配置文件指定的旧包/目录
5. 编译固件 (make V=s)
6. 调整配置 (make menuconfig)
7. 更新所有自定义包
8. 更新特定的自定义包
9. 更新 OpenWrt 源码 (git pull)
10. 更新并安装 Feeds
-------------------------------------
0. 退出脚本
====================================
请输入选项 [0-10]: [2025-06-20 04:40:44] [DEBUG]: 用户选择了: 6
[2025-06-20 04:40:44] [INFO ]: 准备进入菜单配置 (make menuconfig)...
[2025-06-20 04:40:44] [INFO ]: 注意:日志重定向将暂时禁用以进行交互。
[2025-06-20 04:40:44] [DEBUG]: 禁用日志重定向,恢复原始标准输出/错误。
[2025-06-20 04:42:53] [DEBUG]: 重新启用日志重定向到主日志。
[2025-06-20 04:42:53] [INFO ]: 菜单配置完成。新配置已保存到 .config
操作 '6' 执行完成。
按 Enter 键返回主菜单...
======= OpenWrt 构建管理菜单 =======
会话日志目录: openwrt_logs/20250620_043043
1. 完整构建流程 (清理 > 更新源码/包/feeds > 配置 > 编译)
2. 清理工作区 (删除 tmp, bin, build_dir 等)
3. 更新所有组件 (源码 + 旧包清理 + 自定义包 + feeds)
4. 清理配置文件指定的旧包/目录
5. 编译固件 (make V=s)
6. 调整配置 (make menuconfig)
7. 更新所有自定义包
8. 更新特定的自定义包
9. 更新 OpenWrt 源码 (git pull)
10. 更新并安装 Feeds
-------------------------------------
0. 退出脚本
====================================
请输入选项 [0-10]: [2025-06-20 04:42:54] [DEBUG]: 用户选择了: 5
[2025-06-20 04:42:54] [INFO ]: 开始编译固件...
[2025-06-20 04:42:54] [INFO ]: 详细编译日志将保存在: openwrt_logs/20250620_043043/firmware_build_20250620_044254.log
[2025-06-20 04:42:54] [INFO ]: 开始执行: 下载依赖包
[2025-06-20 04:42:54] [DEBUG]: 命令详情: make download -j36 V=s
+ mkdir -p /home/nanako/immortalwrt-mt798x-24.10/staging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl
+ cd /home/nanako/immortalwrt-mt798x-24.10/staging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl
+ ln -nsf lib lib64
+ ln -nsf lib lib32
+ mkdir -p stamp lib usr/include usr/lib
WARNING: Makefile 'package/feeds/packages/dae/Makefile' has a dependency on 'kmod-xdp-sockets-diag', which does not exist
WARNING: Makefile 'package/feeds/packages/daed/Makefile' has a dependency on 'kmod-xdp-sockets-diag', which does not exist
WARNING: Makefile 'package/feeds/packages/libreswan/Makefile' has a dependency on 'kmod-crypto-chacha20poly1305', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'prism54-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'rtl8192su-firmware', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-arcadia/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-bmtedge/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-chinesesubfinder/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-clouddrive2/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-codeserver/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-drawio/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-emby/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-excalidraw/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-feishuvpn/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-gogs/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-heimdall/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-homeassistant/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-htreader/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-istoredup/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-istorepanel/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ittools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-jackett/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-jellyfin/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-kodexplorer/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-lanraragi/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-memos/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-mtphotos/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-nastools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-navidrome/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-nextcloud/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-owntone/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-penpot/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-photoprism/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-plex/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-pve/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/feeds/qmodem/luci-app-qmodem/Makefile' has a dependency on 'kmod-mtk-t7xx', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-runmynas/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-runmynas/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-systools/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-systools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-typecho/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu2/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-unifi/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-vaultwarden/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-webvirtcloud/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-wxedge/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-xteve/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-xunlei/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-smd', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-mhi', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-mhi', which does not exist
WARNING: Makefile 'package/feeds/packages/netatalk/Makefile' has a dependency on 'kmod-appletalk', which does not exist
WARNING: Makefile 'package/feeds/packages/netatalk/Makefile' has a dependency on 'kmod-appletalk', which does not exist
WARNING: Makefile 'package/feeds/packages/strongswan/Makefile' has a dependency on 'kmod-crypto-chacha20poly1305', which does not exist
WARNING: Makefile 'package/utils/usbgadget/Makefile' has a dependency on 'kmod-usb-gadget-ncm', which does not exist
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7986/packages/.pkgdir/kmod-sfc.installed'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7986/packages/.pkgdir/kmod-sfc.installed'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/stamp/.kmod-sfc_installed'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/stamp/.kmod-sfc_installed'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/kmod-sfc.provides'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/kmod-sfc.provides'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/bin/targets/mediatek/mt7986/packages/kmod-sfc_5.4.284-r1_aarch64_cortex-a53.ipk'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/bin/targets/mediatek/mt7986/packages/kmod-sfc_5.4.284-r1_aarch64_cortex-a53.ipk'
modules/netdevices.mk:1332: warning: overriding recipe for target 'kmod-sfc-clean'
modules/netdevices.mk:1180: warning: ignoring old recipe for target 'kmod-sfc-clean'
[2025-06-20 04:43:34] [INFO ]: 下载依赖包 完成 (耗时: 40s)
[2025-06-20 04:43:34] [INFO ]: 检测到 36 个 CPU 核心,开始多线程编译...
[2025-06-20 04:43:34] [INFO ]: 开始执行: 固件编译 (多线程)
[2025-06-20 04:43:34] [DEBUG]: 命令详情: make -j36 V=s
WARNING: Makefile 'package/feeds/packages/dae/Makefile' has a dependency on 'kmod-xdp-sockets-diag', which does not exist
WARNING: Makefile 'package/feeds/packages/daed/Makefile' has a dependency on 'kmod-xdp-sockets-diag', which does not exist
WARNING: Makefile 'package/feeds/packages/libreswan/Makefile' has a dependency on 'kmod-crypto-chacha20poly1305', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'prism54-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'rtl8192su-firmware', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-arcadia/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-bmtedge/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-chinesesubfinder/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-clouddrive2/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-codeserver/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-drawio/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-emby/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-excalidraw/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-feishuvpn/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-gogs/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-heimdall/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-homeassistant/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-htreader/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-istoredup/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-istorepanel/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ittools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-jackett/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-jellyfin/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-kodexplorer/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-lanraragi/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-memos/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-mtphotos/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-nastools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-navidrome/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-nextcloud/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-owntone/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-penpot/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-photoprism/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-plex/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-pve/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/feeds/qmodem/luci-app-qmodem/Makefile' has a dependency on 'kmod-mtk-t7xx', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-runmynas/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-runmynas/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-systools/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-systools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-typecho/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu2/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-unifi/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-vaultwarden/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-webvirtcloud/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-wxedge/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-xteve/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-xunlei/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-smd', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-mhi', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-mhi', which does not exist
WARNING: Makefile 'package/feeds/packages/netatalk/Makefile' has a dependency on 'kmod-appletalk', which does not exist
WARNING: Makefile 'package/feeds/packages/netatalk/Makefile' has a dependency on 'kmod-appletalk', which does not exist
WARNING: Makefile 'package/feeds/packages/strongswan/Makefile' has a dependency on 'kmod-crypto-chacha20poly1305', which does not exist
WARNING: Makefile 'package/utils/usbgadget/Makefile' has a dependency on 'kmod-usb-gadget-ncm', which does not exist
+ mkdir -p /home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl
+ cd /home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl
+ mkdir -p bin lib stamp usr/include usr/lib
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7986/packages/.pkgdir/kmod-sfc.installed'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7986/packages/.pkgdir/kmod-sfc.installed'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/stamp/.kmod-sfc_installed'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/stamp/.kmod-sfc_installed'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/kmod-sfc.provides'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/kmod-sfc.provides'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/bin/targets/mediatek/mt7986/packages/kmod-sfc_5.4.284-r1_aarch64_cortex-a53.ipk'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/bin/targets/mediatek/mt7986/packages/kmod-sfc_5.4.284-r1_aarch64_cortex-a53.ipk'
modules/netdevices.mk:1332: warning: overriding recipe for target 'kmod-sfc-clean'
modules/netdevices.mk:1180: warning: ignoring old recipe for target 'kmod-sfc-clean'
WARNING: kmod-crypto-pcompress is not available in the kernel config - generating empty package
make[2]: warning: -j1 forced in submake: resetting jobserver mode.
Collected errors:
* check_data_file_clashes: Package kmod-qmi_wwan_f wants to install file /home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/lib/modules/5.4.284/qmi_wwan_f.ko
But that file is already provided by package * kmod-usb-net-qmi-wwan-fibocom
* opkg_install_cmd: Cannot install package kmod-qmi_wwan_f.
* check_data_file_clashes: Package kmod-qmi_wwan_q wants to install file /home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/lib/modules/5.4.284/qmi_wwan_q.ko
But that file is already provided by package * kmod-usb-net-qmi-wwan-quectel
* opkg_install_cmd: Cannot install package kmod-qmi_wwan_q.
* check_data_file_clashes: Package kmod-qmi_wwan_q wants to install file /home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/lib/modules/5.4.284/qmi_wwan_q.ko
But that file is already provided by package * kmod-usb-net-qmi-wwan-quectel
* opkg_install_cmd: Cannot install package luci-app-qmodem.
make[2]: *** [package/Makefile:99: package/install] Error 255
make[1]: *** [package/Makefile:174: /home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_install] Error 2
make: *** [/home/nanako/immortalwrt-mt798x-24.10/include/toplevel.mk:233: world] Error 2
[2025-06-20 04:44:41] [ERROR]: 固件编译 (多线程) 失败 (退出码: 0, 耗时: 67s)
[2025-06-20 04:44:41] [ERROR]: 详细错误请查看控制台输出以及日志文件: openwrt_logs/20250620_043043/firmware_build_20250620_044254.log
[2025-06-20 04:44:41] [INFO ]: \033[0;32m固件编译成功完成!\033[0m
[2025-06-20 04:44:41] [INFO ]: 固件输出目录: ./bin/targets/
操作 '5' 执行完成。
按 Enter 键返回主菜单...
======= OpenWrt 构建管理菜单 =======
会话日志目录: openwrt_logs/20250620_043043
1. 完整构建流程 (清理 > 更新源码/包/feeds > 配置 > 编译)
2. 清理工作区 (删除 tmp, bin, build_dir 等)
3. 更新所有组件 (源码 + 旧包清理 + 自定义包 + feeds)
4. 清理配置文件指定的旧包/目录
5. 编译固件 (make V=s)
6. 调整配置 (make menuconfig)
7. 更新所有自定义包
8. 更新特定的自定义包
9. 更新 OpenWrt 源码 (git pull)
10. 更新并安装 Feeds
-------------------------------------
0. 退出脚本
====================================
请输入选项 [0-10]: [2025-06-20 04:45:30] [DEBUG]: 用户选择了: 6
[2025-06-20 04:45:30] [INFO ]: 准备进入菜单配置 (make menuconfig)...
[2025-06-20 04:45:30] [INFO ]: 注意:日志重定向将暂时禁用以进行交互。
[2025-06-20 04:45:30] [DEBUG]: 禁用日志重定向,恢复原始标准输出/错误。
[2025-06-20 04:47:10] [DEBUG]: 重新启用日志重定向到主日志。
[2025-06-20 04:47:10] [INFO ]: 菜单配置完成。新配置已保存到 .config
操作 '6' 执行完成。
按 Enter 键返回主菜单...
======= OpenWrt 构建管理菜单 =======
会话日志目录: openwrt_logs/20250620_043043
1. 完整构建流程 (清理 > 更新源码/包/feeds > 配置 > 编译)
2. 清理工作区 (删除 tmp, bin, build_dir 等)
3. 更新所有组件 (源码 + 旧包清理 + 自定义包 + feeds)
4. 清理配置文件指定的旧包/目录
5. 编译固件 (make V=s)
6. 调整配置 (make menuconfig)
7. 更新所有自定义包
8. 更新特定的自定义包
9. 更新 OpenWrt 源码 (git pull)
10. 更新并安装 Feeds
-------------------------------------
0. 退出脚本
====================================
请输入选项 [0-10]: [2025-06-20 04:47:11] [DEBUG]: 用户选择了: 5
[2025-06-20 04:47:11] [INFO ]: 开始编译固件...
[2025-06-20 04:47:11] [INFO ]: 详细编译日志将保存在: openwrt_logs/20250620_043043/firmware_build_20250620_044711.log
[2025-06-20 04:47:11] [INFO ]: 开始执行: 下载依赖包
[2025-06-20 04:47:11] [DEBUG]: 命令详情: make download -j36 V=s
+ mkdir -p /home/nanako/immortalwrt-mt798x-24.10/staging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl
+ cd /home/nanako/immortalwrt-mt798x-24.10/staging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl
+ ln -nsf lib lib64
+ ln -nsf lib lib32
+ mkdir -p stamp lib usr/include usr/lib
WARNING: Makefile 'package/feeds/packages/dae/Makefile' has a dependency on 'kmod-xdp-sockets-diag', which does not exist
WARNING: Makefile 'package/feeds/packages/daed/Makefile' has a dependency on 'kmod-xdp-sockets-diag', which does not exist
WARNING: Makefile 'package/feeds/packages/libreswan/Makefile' has a dependency on 'kmod-crypto-chacha20poly1305', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'prism54-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'rtl8192su-firmware', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-arcadia/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-bmtedge/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-chinesesubfinder/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-clouddrive2/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-codeserver/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-drawio/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-emby/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-excalidraw/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-feishuvpn/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-gogs/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-heimdall/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-homeassistant/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-htreader/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-istoredup/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-istorepanel/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ittools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-jackett/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-jellyfin/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-kodexplorer/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-lanraragi/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-memos/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-mtphotos/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-nastools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-navidrome/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-nextcloud/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-owntone/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-penpot/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-photoprism/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-plex/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-pve/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/feeds/qmodem/luci-app-qmodem/Makefile' has a dependency on 'kmod-mtk-t7xx', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-runmynas/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-runmynas/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-systools/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-systools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-typecho/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu2/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-unifi/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-vaultwarden/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-webvirtcloud/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-wxedge/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-xteve/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-xunlei/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-smd', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-mhi', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-mhi', which does not exist
WARNING: Makefile 'package/feeds/packages/netatalk/Makefile' has a dependency on 'kmod-appletalk', which does not exist
WARNING: Makefile 'package/feeds/packages/netatalk/Makefile' has a dependency on 'kmod-appletalk', which does not exist
WARNING: Makefile 'package/feeds/packages/strongswan/Makefile' has a dependency on 'kmod-crypto-chacha20poly1305', which does not exist
WARNING: Makefile 'package/utils/usbgadget/Makefile' has a dependency on 'kmod-usb-gadget-ncm', which does not exist
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7986/packages/.pkgdir/kmod-sfc.installed'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7986/packages/.pkgdir/kmod-sfc.installed'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/stamp/.kmod-sfc_installed'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/stamp/.kmod-sfc_installed'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/kmod-sfc.provides'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/kmod-sfc.provides'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/bin/targets/mediatek/mt7986/packages/kmod-sfc_5.4.284-r1_aarch64_cortex-a53.ipk'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/bin/targets/mediatek/mt7986/packages/kmod-sfc_5.4.284-r1_aarch64_cortex-a53.ipk'
modules/netdevices.mk:1332: warning: overriding recipe for target 'kmod-sfc-clean'
modules/netdevices.mk:1180: warning: ignoring old recipe for target 'kmod-sfc-clean'
[2025-06-20 04:47:51] [INFO ]: 下载依赖包 完成 (耗时: 40s)
[2025-06-20 04:47:51] [INFO ]: 检测到 36 个 CPU 核心,开始多线程编译...
[2025-06-20 04:47:51] [INFO ]: 开始执行: 固件编译 (多线程)
[2025-06-20 04:47:51] [DEBUG]: 命令详情: make -j36 V=s
WARNING: Makefile 'package/feeds/packages/dae/Makefile' has a dependency on 'kmod-xdp-sockets-diag', which does not exist
WARNING: Makefile 'package/feeds/packages/daed/Makefile' has a dependency on 'kmod-xdp-sockets-diag', which does not exist
WARNING: Makefile 'package/feeds/packages/libreswan/Makefile' has a dependency on 'kmod-crypto-chacha20poly1305', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'prism54-firmware', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'rtl8192su-firmware', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-arcadia/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-bmtedge/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-chinesesubfinder/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-clouddrive2/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-codeserver/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-drawio/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-emby/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-excalidraw/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-feishuvpn/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-gogs/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-heimdall/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-homeassistant/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-htreader/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-istoredup/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-istorepanel/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ittools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-jackett/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-jellyfin/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-kodexplorer/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-lanraragi/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-memos/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-mtphotos/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-nastools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-navidrome/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-nextcloud/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-owntone/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-penpot/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-photoprism/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-plex/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-pve/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/feeds/qmodem/luci-app-qmodem/Makefile' has a dependency on 'kmod-mtk-t7xx', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-runmynas/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-runmynas/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-systools/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-systools/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-typecho/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu/Makefile' has a dependency on 'luci-lib-iform', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-ubuntu2/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-unifi/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-vaultwarden/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-webvirtcloud/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-wxedge/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-xteve/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/5G-Modem-Support/applications/luci-app-xunlei/Makefile' has a dependency on 'luci-lib-taskd', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-smd', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-mhi', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qrtr-mhi', which does not exist
WARNING: Makefile 'package/feeds/packages/netatalk/Makefile' has a dependency on 'kmod-appletalk', which does not exist
WARNING: Makefile 'package/feeds/packages/netatalk/Makefile' has a dependency on 'kmod-appletalk', which does not exist
WARNING: Makefile 'package/feeds/packages/strongswan/Makefile' has a dependency on 'kmod-crypto-chacha20poly1305', which does not exist
WARNING: Makefile 'package/utils/usbgadget/Makefile' has a dependency on 'kmod-usb-gadget-ncm', which does not exist
+ mkdir -p /home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl
+ cd /home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl
+ mkdir -p bin lib stamp usr/include usr/lib
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7986/packages/.pkgdir/kmod-sfc.installed'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7986/packages/.pkgdir/kmod-sfc.installed'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/stamp/.kmod-sfc_installed'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/stamp/.kmod-sfc_installed'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/kmod-sfc.provides'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/kmod-sfc.provides'
modules/netdevices.mk:1332: warning: overriding recipe for target '/home/nanako/immortalwrt-mt798x-24.10/bin/targets/mediatek/mt7986/packages/kmod-sfc_5.4.284-r1_aarch64_cortex-a53.ipk'
modules/netdevices.mk:1180: warning: ignoring old recipe for target '/home/nanako/immortalwrt-mt798x-24.10/bin/targets/mediatek/mt7986/packages/kmod-sfc_5.4.284-r1_aarch64_cortex-a53.ipk'
modules/netdevices.mk:1332: warning: overriding recipe for target 'kmod-sfc-clean'
modules/netdevices.mk:1180: warning: ignoring old recipe for target 'kmod-sfc-clean'
WARNING: kmod-crypto-pcompress is not available in the kernel config - generating empty package
make[2]: warning: -j1 forced in submake: resetting jobserver mode.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency quectel-cm for luci-app-qmodem
* pkg_hash_fetch_best_installation_candidate: Packages for luci-app-qmodem found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package luci-app-qmodem.
* satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-i18n-qmodem-zh-cn:
* quectel-cm
* opkg_install_cmd: Cannot install package luci-i18n-qmodem-zh-cn.
make[2]: *** [package/Makefile:99: package/install] Error 255
make[1]: *** [package/Makefile:174: /home/nanako/immortalwrt-mt798x-24.10/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_install] Error 2
make: *** [/home/nanako/immortalwrt-mt798x-24.10/include/toplevel.mk:233: world] Error 2
[2025-06-20 04:48:57] [ERROR]: 固件编译 (多线程) 失败 (退出码: 0, 耗时: 66s)
[2025-06-20 04:48:57] [ERROR]: 详细错误请查看控制台输出以及日志文件: openwrt_logs/20250620_043043/firmware_build_20250620_044711.log
[2025-06-20 04:48:57] [INFO ]: \033[0;32m固件编译成功完成!\033[0m
[2025-06-20 04:48:57] [INFO ]: 固件输出目录: ./bin/targets/
操作 '5' 执行完成。
按 Enter 键返回主菜单...
======= OpenWrt 构建管理菜单 =======
会话日志目录: openwrt_logs/20250620_043043
1. 完整构建流程 (清理 > 更新源码/包/feeds > 配置 > 编译)
2. 清理工作区 (删除 tmp, bin, build_dir 等)
3. 更新所有组件 (源码 + 旧包清理 + 自定义包 + feeds)
4. 清理配置文件指定的旧包/目录
5. 编译固件 (make V=s)
6. 调整配置 (make menuconfig)
7. 更新所有自定义包
8. 更新特定的自定义包
9. 更新 OpenWrt 源码 (git pull)
10. 更新并安装 Feeds
-------------------------------------
0. 退出脚本
====================================
请输入选项 [0-10]: [2025-06-20 04:51:30] [DEBUG]: 用户选择了: 0
[2025-06-20 04:51:30] [INFO ]: 收到退出命令,正在退出脚本...