xiaorouji / openwrt-passwall

7.02k stars 2.62k forks source link

[Bug]: 在22.03上编译不过去了,kmod-button-hotplug报错 #2397

Closed ghost closed 1 year ago

ghost commented 1 year ago

描述您遇到的bug

报错说是button-hotplug的问题。感觉是依赖问题,但是这俩应该没什么关系啊。 前两天编的时候没问题,插件只用了passwall,相同的.config前两天没问题。 不加passwall的时候编译没问题。 现在只能先把原始的代码编一遍过了以后再加上passwall编 这样能过。 看这两天的提交日志,应该是从v2rayA提交到package之后就有问题了。 image

复现此Bug的步骤

make

您想要实现的目的

ok

日志信息

make[3] -C package/network/passwall/xray-core compile make[3] -C package/network/passwall/xray-plugin compile make[3] -C feeds/luci/applications/luci-app-passwall compile /home/user666/code/openwrt/staging_dir/host/bin/find: '/home/user666/code/openwrt/build_dir/target-x86_64_musl/luci-app-passwall/ipkg-all/luci-app-passwall/etc/config/passwall': No such file or directory make[3] -C package/kernel/button-hotplug compile make[5]: No rule to make target '/home/user666/code/openwrt/build_dir/target-x86_64_musl/linux-x86_64/button-hotplug/button-hotplug.o', needed by '/home/user666/code/openwrt/build_dir/target-x86_64_musl/linux-x86_64/button-hotplug/button-hotplug.mod'. Stop. make[4]: [Makefile:1819: /home/user666/code/openwrt/build_dir/target-x86_64_musl/linux-x86_64/button-hotplug] Error 2 make[3]: [Makefile:53: /home/user666/code/openwrt/build_dir/target-x86_64_musl/linux-x86_64/button-hotplug/.built] Error 2 ERROR: package/kernel/button-hotplug failed to build. make[2]: [package/Makefile:116: package/kernel/button-hotplug/compile] Error 1 make[1]: [package/Makefile:110: /home/user666/code/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2 make -r world: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on make: [/home/user666/code/openwrt/include/toplevel.mk:230: world] Error 1

截图

No response

系统相关信息

code: openwrt/openwrt branch 22.03 passwall: master system(VM): Ubuntu 22.04 cpu: AMD5600X

其他信息

No response

ecrasy commented 1 year ago

place make package/kernel/button-hotplug/compile -j$(nproc) before make package may solve the problem

ghost commented 1 year ago

place make package/kernel/button-hotplug/compile -j$(nproc) before make package may solve the problem

现在没有环境了,之后再试吧