Closed bi4tms closed 1 year ago
重新拉再试下
重新拉再试下
@xiaorouji
重新拉取后编译依旧报错,日志如下:
ln -s /home/x86.6.1/lede/bin/targets/x86/64/packages/.ipk /home/x86.6.1/lede/staging_dir/packages/x86; ln -s /home/x86.6.1/lede/bin/packages/x86_64/base/.ipk /home/x86.6.1/lede/staging_dir/packages/x86; ln -s /home/x86.6.1/lede/bin/packages/x86_64/luci/.ipk /home/x86.6.1/lede/staging_dir/packages/x86; ln -s /home/x86.6.1/lede/bin/packages/x86_64/packages/.ipk /home/x86.6.1/lede/staging_dir/packages/x86; ln -s /home/x86.6.1/lede/bin/packages/x86_64/passwall/.ipk /home/x86.6.1/lede/staging_dir/packages/x86; ln -s /home/x86.6.1/lede/bin/packages/x86_64/passwall_packages/.ipk /home/x86.6.1/lede/staging_dir/packages/x86;
find /home/x86.6.1/lede/staging_dir/target-x86_64_musl/root-x86 -type d | xargs -r chmod 0755
rm -rf /home/x86.6.1/lede/build_dir/target-x86_64_musl/root-x86 /home/x86.6.1/lede/build_dir/target-x86_64_musl/root.orig-x86
mkdir -p /home/x86.6.1/lede/build_dir/target-x86_64_musl/root-x86/tmp
IPKG_NO_SCRIPT=1 IPKG_INSTROOT=/home/x86.6.1/lede/build_dir/target-x86_64_musl/root-x86 TMPDIR=/home/x86.6.1/lede/build_dir/target-x86_64_musl/root-x86/tmp /home/x86.6.1/lede/staging_dir/host/bin/opkg --offline-root /home/x86.6.1/lede/build_dir/target-x86_64_musl/root-x86 --force-postinstall --add-dest root:/ --add-arch all:100 --add-arch x86_64:200 install $(cat /home/x86.6.1/lede/tmp/opkg_install_list)
/home/x86.6.1/lede/staging_dir/host/bin/opkg: unrecognized option '-smartdns-dev_all.ipk'
opkg must have one sub-command argument
usage: opkg [options...] sub-command [arguments...]
where sub-command is one of:
Package Manipulation:
update Update list of available packages
upgrade
试了一下,5.15内核可以编译,6.1内核的x86和r2s编译均报上述错误 @xiaorouji
描述您遇到的bug
luci-app-passwall无法编译 @xiaorouji @smallprogram
复现此Bug的步骤
拉取最新源码编译
您想要实现的目的
修复bug
日志信息
install -d -m0755 /home/x86.6.1/lede/bin/packages/x86_64/passwall /home/x86.6.1/lede/staging_dir/host/bin/fakeroot /home/x86.6.1/lede/staging_dir/host/bin/bash /home/x86.6.1/lede/scripts/ipkg-build -m "" /home/x86.6.1/lede/build_dir/target-x86_64_musl/luci-app-passwall/ipkg-all/luci-app-passwall /home/x86.6.1/lede/bin/packages/x86_64/passwall /home/x86.6.1/lede/staging_dir/host/bin/find: '/home/x86.6.1/lede/build_dir/target-x86_64_musl/luci-app-passwall/ipkg-all/luci-app-passwall/etc/config/passwall': No such file or directory Packaged contents of /home/x86.6.1/lede/build_dir/target-x86_64_musl/luci-app-passwall/ipkg-all/luci-app-passwall into /home/x86.6.1/lede/bin/packages/x86_64/passwall/luci-app-passwall_4.71-2 -smartdns-dev_all.ipk bash: line 0: [: /home/x86.6.1/lede/bin/packages/x86_64/passwall/luci-app-passwall_4.71-2: binary operator expected make[3]: [/home/x86.6.1/lede/feeds/luci/luci.mk:256: /home/x86.6.1/lede/bin/packages/x86_64/passwall/luci-app-passwall_4.71-2] Error 2 make[3]: Leaving directory '/home/x86.6.1/lede/feeds/passwall/luci-app-passwall' time: package/feeds/passwall/luci-app-passwall/compile#2.06#0.92#4.37 ERROR: package/feeds/passwall/luci-app-passwall failed to build. make[2]: [package/Makefile:116: package/feeds/passwall/luci-app-passwall/compile] Error 1 make[2]: Leaving directory '/home/x86.6.1/lede' make[1]: [package/Makefile:110: /home/x86.6.1/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/x86.6.1/lede' make: [/home/x86.6.1/lede/include/toplevel.mk:231:world] 错误 2
截图
No response
系统相关信息
最新版本
其他信息
No response