GithubHelp home page GithubHelp logo

kenzok8 / small Goto Github PK

View Code? Open in Web Editor NEW
996.0 23.0 791.0 12.61 MB

ssr passwall bypass依赖

License: Apache License 2.0

Makefile 4.21% Shell 18.62% C 16.71% Lua 36.11% HTML 23.42% JavaScript 0.93%
hysteria mosdns sing-box

small's Issues

编译passwall,v2ray报错。

出错代码如下,我都不知道错在哪里。更换bypass也是v2ray出错,换成SSR,就是xray出错。哪位大神帮看一下。
Makefile:186: recipe for target '/home/super/lede/build_dir/target-x86_64_musl/v2ray-core-4.44.0/.built' failed
make[3]: *** [/home/super/lede/build_dir/target-x86_64_musl/v2ray-core-4.44.0/.built] Error 1
make[3]: Leaving directory '/home/super/lede/feeds/small/v2ray-core'
time: package/feeds/small/v2ray-core/compile#1.05#0.71#1.60
ERROR: package/feeds/small/v2ray-core failed to build.
package/Makefile:114: recipe for target 'package/feeds/small/v2ray-core/compile' failed
make[2]: *** [package/feeds/small/v2ray-core/compile] Error 1
make[2]: Leaving directory '/home/super/lede'
package/Makefile:110: recipe for target '/home/super/lede/staging_dir/target-x86_64_musl/stamp/.package_compile' failed
make[1]: *** [/home/super/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/super/lede'
/home/super/lede/include/toplevel.mk:228: recipe for target 'world' failed
make: *** [world] Error 2

brook依赖md5值要更新

make[2]: Entering directory '/home/lihh/lede/feeds/small/brook'
mkdir -p /home/lihh/lede/dl
SHELL= flock /home/lihh/lede/tmp/.brook-20220707.tar.gz.flock -c ' /home/lihh/lede/scripts/download.pl "/home/lihh/lede/dl" "brook-20220707.tar.gz" "e054d0c3d0090b2015e9ff5e94a15b452a3e4e1de4588542972cc6c06965537b" "" "https://codeload.github.com/txthinking/brook/tar.gz/v20220707?" '

  • curl -f --connect-timeout 20 --retry 5 --location --insecure https://codeload.github.com/txthinking/brook/tar.gz/v20220707?/brook-20220707.tar.gz
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 134k 100 134k 0 0 88089 0 0:00:01 0:00:01 --:--:-- 88033
    Hash of the downloaded file does not match (file: 377d6be82a8e122cc2e1c87ea10d2f404be6e4cf85304f329b01654e8f551753, requested: e054d0c3d0090b2015e9ff5e94a15b452a3e4e1de4588542972cc6c06965537b) - deleting download.
  • curl -f --connect-timeout 20 --retry 5 --location --insecure https://sources.cdn.openwrt.org/brook-20220707.tar.gz
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
    curl: (22) The requested URL returned error: 404
    Download failed.
  • curl -f --connect-timeout 20 --retry 5 --location --insecure https://sources.openwrt.org/brook-20220707.tar.gz
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
    curl: (22) The requested URL returned error: 404 Not Found
    Download failed.
  • curl -f --connect-timeout 20 --retry 5 --location --insecure https://mirror2.openwrt.org/sources/brook-20220707.tar.gz
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
    curl: (22) The requested URL returned error: 404 Not Found
    Download failed.
    No more mirrors to try - giving up.
    make[2]: *** [Makefile:45: /home/lihh/lede/dl/brook-20220707.tar.gz] Error 2
    make[2]: Leaving directory '/home/lihh/lede/feeds/small/brook'

377d6be82a8e122cc2e1c87ea10d2f404be6e4cf85304f329b01654e8f551753 大佬更新一下

近期的v2ray相关build经常报错,无法build

  • 日志
make[5]: Nothing to be done for 'Image'.
  Building modules, stage 2.
  MODPOST 184 modules
WARNING: "nf_ct_tcp_be_liberal" [net/netfilter/nf_conntrack] is a static EXPORT_SYMBOL_GPL
WARNING: "nf_ct_tcp_no_window_check" [net/netfilter/nf_conntrack] is a static EXPORT_SYMBOL_GPL
  Kernel: arch/arm/boot/zImage is ready
make[5]: Leaving directory '/home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.4.231'
cmp -s /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.4.231/vmlinux /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/vmlinux.debug || { arm-openwrt-linux-muslgnueabi-objcopy -O binary -R .reginfo -R .notes -R .note -R .comment -R .mdebug -R .note.gnu.build-id -S /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.4.231/vmlinux /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/vmlinux; arm-openwrt-linux-muslgnueabi-objcopy -R .reginfo -R .notes -R .note -R .comment -R .mdebug -R .note.gnu.build-id -S /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.4.231/vmlinux /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/vmlinux.elf; cp -fpR /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.4.231/vmlinux /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/vmlinux.debug;  cp -fpR /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.4.231/arch/arm/boot//zImage /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/zImage;   cp -fpR /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.4.231/arch/arm/boot//Image /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/Image;  }
rm -f /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.4.231/.config.prev
mv /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.4.231/.config /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.4.231/.config.old
grep -v -e INITRAMFS -e CONFIG_RD_ -e CONFIG_BLK_DEV_INITRD /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.4.231/.config.old > /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.4.231/.config
echo 'CONFIG_BLK_DEV_INITRD=y' >> /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.4.231/.config
echo 'CONFIG_INITRAMFS_SOURCE="/home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/root-ipq806x /home/ubuntu/lede/target/linux/generic/image/initramfs-base-files.txt"' >> /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.4.231/.config
echo 'CONFIG_INITRAMFS_ROOT_UID=1000' >> /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.4.231/.config
echo 'CONFIG_INITRAMFS_ROOT_GID=1000' >> /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.4.231/.config
echo "# CONFIG_INITRAMFS_FORCE is not set" >> /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.4.231/.config
echo "CONFIG_INITRAMFS_COMPRESSION_NONE=y" >> /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.4.231/.config
echo -e "# CONFIG_INITRAMFS_COMPRESSION_GZIP is not set\n# CONFIG_RD_GZIP is not set" >> /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.4.231/.config
echo -e "# CONFIG_INITRAMFS_COMPRESSION_BZIP2 is not set\n# CONFIG_RD_BZIP2 is not set" >> /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.4.231/.config
echo -e "# CONFIG_INITRAMFS_COMPRESSION_LZMA is not set\n# CONFIG_RD_LZMA is not set" >> /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.4.231/.config
echo -e "# CONFIG_INITRAMFS_COMPRESSION_LZO is not set\n# CONFIG_RD_LZO is not set" >> /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.4.231/.config
echo -e "# CONFIG_INITRAMFS_COMPRESSION_XZ is not set\n# CONFIG_RD_XZ is not set" >> /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.4.231/.config
echo -e "# CONFIG_INITRAMFS_COMPRESSION_LZ4 is not set\n# CONFIG_RD_LZ4 is not set" >> /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.4.231/.config
echo -e "# CONFIG_INITRAMFS_COMPRESSION_ZSTD is not set\n# CONFIG_RD_ZSTD is not set" >> /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.4.231/.config
cp -fpR /home/ubuntu/lede/target/linux/generic/other-files/init /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/root-ipq806x/init
touch -hcd "@1675864690" /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/root-ipq806x /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/root-ipq806x/init
rm -rf /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.4.231/usr/initramfs_data.cpio*
make -C /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.4.231 KCFLAGS="-fmacro-prefix-map=/home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi=target-arm_cortex-a15+neon-vfpv4_musl_eabi -fno-caller-saves " HOSTCFLAGS="-O2 -I/home/ubuntu/lede/staging_dir/host/include  -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="arm-openwrt-linux-muslgnueabi-" ARCH="arm" KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="" KBUILD_BUILD_HOST="" KBUILD_BUILD_TIMESTAMP="Wed Feb  8 13:58:10 2023" KBUILD_BUILD_VERSION="0" KBUILD_HOSTLDFLAGS="-L/home/ubuntu/lede/staging_dir/host/lib" CONFIG_SHELL="bash" V=''  cmd_syscalls=  KERNELRELEASE=5.4.231 CC="arm-openwrt-linux-muslgnueabi-gcc"  zImage Image dtbs modules
make[5]: Entering directory '/home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.4.231'
scripts/kconfig/conf  --syncconfig Kconfig
net/sched/Kconfig:45: warning: menuconfig statement without prompt
net/Kconfig:478:warning: multi-line strings not supported
  CALL    scripts/atomic/check-atomics.sh
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  GEN     usr/initramfs_data.cpio
v2ray ../init.d/v2ray 777 0 0' line 475
make[6]: *** [usr/Makefile:63: usr/initramfs_data.cpio] Error 255
make[5]: *** [Makefile:1739: usr] Error 2
make[5]: Leaving directory '/home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.4.231'
make[4]: *** [Makefile:50: /home/ubuntu/lede/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.4.231/.image] Error 2
make[4]: Leaving directory '/home/ubuntu/lede/target/linux/ipq806x'
make[3]: *** [Makefile:11: install] Error 2
make[3]: Leaving directory '/home/ubuntu/lede/target/linux'
time: target/linux/install#61.49#33.96#66.66
    ERROR: target/linux failed to build.
make[2]: *** [target/Makefile:30: target/linux/install] Error 1
make[2]: Leaving directory '/home/ubuntu/lede'
make[1]: *** [target/Makefile:24: /home/ubuntu/lede/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/stamp/.target_install] Error 2
make[1]: Leaving directory '/home/ubuntu/lede'
make: *** [/home/ubuntu/lede/include/toplevel.mk:231: world] Error 2

  • 已尝试 make clean 以及删除整个 lede 目录,重新 git clone 后,依然上述报错.
  • 也尝试回退 lede 的tag到 20221001,依然v2ray的构建报错

编译过程中遭遇v2ray错误

日志如下
Building targets
../../../../../dl/go-mod-cache/github.com/v2fly/v2ray-core/[email protected]/common/protocol/headers.go:6:2: no required module provides package github.com/v2fly/v2ray-core/v4/common/bitmask; to add it:
go get github.com/v2fly/v2ray-core/v4/common/bitmask
../../../../../dl/go-mod-cache/github.com/v2fly/v2ray-core/[email protected]/config.go:14:2: no required module provides package github.com/v2fly/v2ray-core/v4/common/cmdarg; to add it:
go get github.com/v2fly/v2ray-core/v4/common/cmdarg
../../../../../dl/go-mod-cache/github.com/v2fly/v2ray-core/[email protected]/common/protocol/server_spec.go:7:2: no required module provides package github.com/v2fly/v2ray-core/v4/common/dice; to add it:
go get github.com/v2fly/v2ray-core/v4/common/dice
../../../../../dl/go-mod-cache/github.com/v2fly/v2ray-core/[email protected]/app/dispatcher/sniffer.go:10:2: no required module provides package github.com/v2fly/v2ray-core/v4/common/protocol/bittorrent; to add it:
go get github.com/v2fly/v2ray-core/v4/common/protocol/bittorrent
../../../../../dl/go-mod-cache/github.com/v2fly/v2ray-core/[email protected]/transport/internet/udp/dispatcher.go:12:2: no required module provides package github.com/v2fly/v2ray-core/v4/common/protocol/udp; to add it:
go get github.com/v2fly/v2ray-core/v4/common/protocol/udp
../../../../../dl/go-mod-cache/github.com/v2fly/v2ray-core/[email protected]/common/log/logger.go:10:2: no required module provides package github.com/v2fly/v2ray-core/v4/common/signal/done; to add it:
go get github.com/v2fly/v2ray-core/v4/common/signal/done
../../../../../dl/go-mod-cache/github.com/v2fly/v2ray-core/[email protected]/common/log/logger.go:11:2: no required module provides package github.com/v2fly/v2ray-core/v4/common/signal/semaphore; to add it:
go get github.com/v2fly/v2ray-core/v4/common/signal/semaphore
../../../../../dl/go-mod-cache/github.com/v2fly/v2ray-core/[email protected]/v2ray.go:13:2: no required module provides package github.com/v2fly/v2ray-core/v4/features; to add it:
go get github.com/v2fly/v2ray-core/v4/features
../../../../../dl/go-mod-cache/github.com/v2fly/v2ray-core/[email protected]/transport/internet/websocket/dialer.go:20:2: no required module provides package github.com/v2fly/v2ray-core/v4/features/extension; to add it:
go get github.com/v2fly/v2ray-core/v4/features/extension
../../../../../dl/go-mod-cache/github.com/v2fly/v2ray-core/[email protected]/config.go:15:2: no required module provides package github.com/v2fly/v2ray-core/v4/main/confloader; to add it:
go get github.com/v2fly/v2ray-core/v4/main/confloader
../../../../../dl/go-mod-cache/github.com/v2fly/v2ray-core/[email protected]/transport/internet/dialer.go:8:2: no required module provides package github.com/v2fly/v2ray-core/v4/transport/internet/tagged; to add it:
go get github.com/v2fly/v2ray-core/v4/transport/internet/tagged

make[3]: *** [Makefile:77: /home/zopar/lede/build_dir/target-x86_64_musl/v2ray-plugin-4.44.0/.built] Error 1
make[3]: Leaving directory '/home/zopar/lede/feeds/small/v2ray-plugin'
time: package/feeds/small/v2ray-plugin/compile#1.09#1.07#5.98
ERROR: package/feeds/small/v2ray-plugin failed to build.
make[2]: *** [package/Makefile:116: package/feeds/small/v2ray-plugin/compile] Error 1
make[2]: Leaving directory '/home/zopar/lede'
make[1]: *** [package/Makefile:110: /home/zopar/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/zopar/lede'
make: *** [/home/zopar/lede/include/toplevel.mk:230: world] Error 2

https://github.com/v2fly/v2ray-core/ 这里已经没有v4文件夹了

v2ray-core 编译报错

ERROR: package/small/small/v2ray-core failed to build.
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: *** [/workdir/openwrt/include/toplevel.mk:230: world] Error 1

feed install的时候缺少upx/host

./scripts/feeds install -a 的时候出现以下输出

WARNING: Makefile 'package/feeds/small/brook/Makefile' has a build dependency on 'upx/host', which does not exist
WARNING: Makefile 'package/feeds/small/hysteria/Makefile' has a build dependency on 'upx/host', which does not exist
WARNING: Makefile 'package/feeds/small/trojan-go/Makefile' has a build dependency on 'upx/host', which does not exist
WARNING: Makefile 'package/feeds/small/v2ray-core/Makefile' has a build dependency on 'upx/host', which does not exist
WARNING: Makefile 'package/feeds/small/v2ray-plugin/Makefile' has a build dependency on 'upx/host', which does not exist
WARNING: Makefile 'package/feeds/small/xray-core/Makefile' has a build dependency on 'upx/host', which does not exist
WARNING: Makefile 'package/feeds/small/xray-plugin/Makefile' has a build dependency on 'upx/host', which does not exist

small里缺少xray-plugin依赖,编译时候会出错失败

ARNING: Makefile 'package/feeds/kenzo/luci-app-vssr/Makefile' has a dependency on 'xray-plugin', which does not exist
编译时选择vssr 勾选了xray,因缺少依赖总是会出错,忘大佬能及时补充。
另外感谢大佬的仓库,很好用很全面,今天偶然发现这种情况。

编译brook 20230101版本出错

mkdir -p /home/simon/lede/dl
SHELL= flock /home/simon/lede/tmp/.brook-20230101.tar.gz.flock -c ' /home/simon/lede/scripts/download.pl "/home/simon/lede/dl" "brook-20230101.tar.gz" "skip" "" "https://codeload.github.com/txthinking/brook/tar.gz/v20230101?" '
touch /home/simon/lede/build_dir/target-aarch64_cortex-a53_musl/brook-20230101/.prepared_91a2573fb5f13703f94bb0689259394a_6664517399ebbbc92a37c5bb081b5c53_check
. /home/simon/lede/include/shell.sh; gzip -dc /home/simon/lede/dl/brook-20230101.tar.gz | tar -C /home/simon/lede/build_dir/target-aarch64_cortex-a53_musl/brook-20230101/.. -xf -
[ ! -d ./src/ ] || cp -fpR ./src/. /home/simon/lede/build_dir/target-aarch64_cortex-a53_musl/brook-20230101

Applying ./patches/010-chore-deps-update-iploc-to-fix-build-with-mips.patch using plaintext:
patching file go.modHunk #1 FAILED at 8.
1 out of 1 hunk FAILED -- saving rejects to file go.mod.rej
patching file go.sum
Hunk #1 FAILED at 10.
1 out of 1 hunk FAILED -- saving rejects to file go.sum.rej
Patch failed! Please fix ./patches/010-chore-deps-update-iploc-to-fix-build-with-mips.patch!
make[2]: *** [Makefile:51: /home/simon/lede/build_dir/target-aarch64_cortex-a53_musl/brook-20230101/.prepared_91a2573fb5f13703f94bb0689259394a_6664517399ebbbc92a37c5bb081b5c53] Error 1
make[2]: Leaving directory '/home/simon/lede/feeds/small/brook'
time: package/feeds/small/brook/compile#0.18#0.26#0.95
ERROR: package/feeds/small/brook failed to build.
make[1]: *** [package/Makefile:116: package/feeds/small/brook/compile] Error 1
make[1]: Leaving directory '/home/simon/lede'
make: *** [/home/simon/lede/include/toplevel.mk:231:package/brook/compile] 错误 2

xray和v2ray报错!

编译时报错!

Building targets
../../../../../dl/go-mod-cache/github.com/lucas-clemente/[email protected]/streams_map_generic_helper.go:4:2: no required module provides package github.com/cheekybits/genny/generic; to add it:
        go get github.com/cheekybits/genny/generic

make[3]: *** [Makefile:43: /home/sjkhsl/lede/build_dir/target-x86_64_musl/v2ray-plugin-5.0.8/.built] Error 1
make[3]: Leaving directory '/home/sjkhsl/lede/feeds/xiaorouji/v2ray-plugin'
time: package/feeds/xiaorouji/v2ray-plugin/compile#0.59#0.95#0.56
    ERROR: package/feeds/xiaorouji/v2ray-plugin failed to build.
make[2]: *** [package/Makefile:116: package/feeds/xiaorouji/v2ray-plugin/compile] Error 1
make[2]: Leaving directory '/home/sjkhsl/lede'
make[1]: *** [package/Makefile:110: /home/sjkhsl/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/sjkhsl/lede'
make: *** [/home/sjkhsl/lede/include/toplevel.mk:230: world] Error 2

luci-app-passwall编译提示xray-core错误,上个月1.2.x版本可以正常编译,请问是否xray-core1.3 版本有问题

make[2] -C package/small/xray-core compile
ERROR: package/small/xray-core failed to build.
make -r package/openwrt-packages/luci-app-passwall/compile: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on
/openwrt/include/toplevel.mk:228: recipe for target 'package/openwrt-packages/luci-app-passwall/compile' failed
make: *** [package/openwrt-packages/luci-app-passwall/compile] Error 1

update feeds 报错

这个依赖包我是用feed的方式添加的,昨晚开始无法更新:
出现 feeds/small.tmp/info/.files-packageinfo.mk:1: *** target pattern contains no '%'. Stop. 错误然后无法更新

Clean feeds后重新update,出现以下错误:
Updating feed 'small' from 'https://github.com/kenzok8/small' ...
Cloning into './feeds/small'...
remote: Enumerating objects: 57, done.
remote: Counting objects: 100% (57/57), done.
remote: Compressing objects: 100% (44/44), done.
remote: Total 57 (delta 2), reused 36 (delta 1), pack-reused 0
Unpacking objects: 100% (57/57), 142.46 KiB | 386.00 KiB/s, done.
Create index file './feeds/small.index'
grep: feeds/small/Makefile:$(eval: No such file or directory
grep: $(call: No such file or directory
grep: BuildPackage,$(PKG_NAME)))/Makefile: No such file or directory
/home/mulder/lede/feeds/small.tmp/info/.files-packageinfo.mk:1: *** target pattern contains no '%'. Stop.
Collecting target info: done

v2ray5.1.0 编译报错,感谢大佬指点

Building targets
go: downloading golang.org/x/crypto v0.0.0-20220321153916-2c7772ba3064
go: downloading go4.org/intern v0.0.0-20211027215823-ae77deb06f29
go: downloading go4.org/unsafe/assume-no-moving-gc v0.0.0-20220617031537-928513b29760
../../../../../dl/go-mod-cache/github.com/lucas-clemente/[email protected]/streams_map_generic_helper.go:4:2: no required module provides package github.com/cheekybits/genny/generic; to add it:
go get github.com/cheekybits/genny/generic
../../../../../dl/go-mod-cache/github.com/v2fly/[email protected]/handler/client.go:11:2: no required module provides package github.com/v2fly/BrowserBridge/handler/websocketadp; to add it:
go get github.com/v2fly/BrowserBridge/handler/websocketadp
../../../../../dl/go-mod-cache/github.com/v2fly/[email protected]/instimp/file.go:7:2: no required module provides package github.com/v2fly/VSign/common; to add it:
go get github.com/v2fly/VSign/common
../../../../../dl/go-mod-cache/github.com/v2fly/[email protected]/signerVerify/VerifyFiles.go:5:2: no required module provides package github.com/v2fly/VSign/insmgr; to add it:
go get github.com/v2fly/VSign/insmgr
../../../../../dl/go-mod-cache/github.com/v2fly/[email protected]/signerVerify/VerifyFiles.go:7:2: no required module provides package github.com/v2fly/VSign/v2signkey; to add it:
go get github.com/v2fly/VSign/v2signkey

Makefile:109: recipe for target '/home/lhc/share/code_project/fireflay_openwrt/openwrt_sdk/openwrt/build_dir/target-aarch64_generic_musl/v2ray-core-5.1.0/.built' failed
make[3]: *** [/home/lhc/share/code_project/fireflay_openwrt/openwrt_sdk/openwrt/build_dir/target-aarch64_generic_musl/v2ray-core-5.1.0/.built] Error 1
make[3]: Leaving directory '/home/lhc/share/code_project/fireflay_openwrt/openwrt_sdk/openwrt/feeds/small8/v2ray-core'
time: package/feeds/small8/v2ray-core/compile#9.63#10.78#2001.11
ERROR: package/feeds/small8/v2ray-core failed to build.
package/Makefile:112: recipe for target 'package/feeds/small8/v2ray-core/compile' failed
make[2]: *** [package/feeds/small8/v2ray-core/compile] Error 1
make[2]: Leaving directory '/home/lhc/share/code_project/fireflay_openwrt/openwrt_sdk/openwrt'
package/Makefile:108: recipe for target '/home/lhc/share/code_project/fireflay_openwrt/openwrt_sdk/openwrt/staging_dir/target-aarch64_generic_musl/stamp/.package_compile' failed
make[1]: *** [/home/lhc/share/code_project/fireflay_openwrt/openwrt_sdk/openwrt/staging_dir/target-aarch64_generic_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/lhc/share/code_project/fireflay_openwrt/openwrt_sdk/openwrt'
/home/lhc/share/code_project/fireflay_openwrt/openwrt_sdk/openwrt/include/toplevel.mk:229: recipe for target 'world' failed

错误信息:package/feeds/small/xray-plugin failed to build.

make[2] -C package/kernel/cryptodev-linux download
ERROR: package/feeds/small/xray-plugin failed to build.
make package/download: 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[1] target/download
make[2] -C target/linux download

编译helloworld提示缺少依赖

WARNING: Makefile 'package/feeds/helloworld/luci-app-ssr-plus/Makefile' has a dependency on 'shadowsocksr-libev-ssr-check', which does not exist
WARNING: Makefile 'package/feeds/helloworld/luci-app-ssr-plus/Makefile' has a dependency on 'shadowsocksr-libev-ssr-local', which does not exist
WARNING: Makefile 'package/feeds/helloworld/luci-app-ssr-plus/Makefile' has a dependency on 'shadowsocksr-libev-ssr-redir', which does not exist
WARNING: Makefile 'package/feeds/helloworld/luci-app-ssr-plus/Makefile' has a dependency on 'shadowsocksr-libev-ssr-server', which does not exist

本地编译报错toplevel.mk:227: world] Error 2

错误日志末段:

install -d -m0755 /home/lon91ong/openwrt/build_dir/target-mipsel_24kc_musl/simple-obfs//simple-obfs-0.0.5-486bebd9208539058e57e23a12f23103016e09b4/ipkg-mipsel_24kc/simple-obfs/usr/bin
install -m0755 /home/lon91ong/openwrt/build_dir/target-mipsel_24kc_musl/simple-obfs//simple-obfs-0.0.5-486bebd9208539058e57e23a12f23103016e09b4/src/obfs-local /home/lon91ong/openwrt/build_dir/target-mipsel_24kc_musl/simple-obfs//simple-obfs-0.0.5-486bebd9208539058e57e23a12f23103016e09b4/ipkg-mipsel_24kc/simple-obfs/usr/bin
find /home/lon91ong/openwrt/build_dir/target-mipsel_24kc_musl/simple-obfs//simple-obfs-0.0.5-486bebd9208539058e57e23a12f23103016e09b4/ipkg-mipsel_24kc/simple-obfs -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
export CROSS="mipsel-openwrt-linux-musl-"  NO_RENAME=1 ; NM="mipsel-openwrt-linux-musl-nm" STRIP="/home/lon91ong/openwrt/staging_dir/host/bin/sstrip" STRIP_KMOD="/home/lon91ong/openwrt/scripts/strip-kmod.sh" PATCHELF="/home/lon91ong/openwrt/staging_dir/host/bin/patchelf" /home/lon91ong/openwrt/scripts/rstrip.sh /home/lon91ong/openwrt/build_dir/target-mipsel_24kc_musl/simple-obfs//simple-obfs-0.0.5-486bebd9208539058e57e23a12f23103016e09b4/ipkg-mipsel_24kc/simple-obfs
rstrip.sh: /home/lon91ong/openwrt/build_dir/target-mipsel_24kc_musl/simple-obfs//simple-obfs-0.0.5-486bebd9208539058e57e23a12f23103016e09b4/ipkg-mipsel_24kc/simple-obfs/usr/bin/obfs-local: executable
(cd /home/lon91ong/openwrt/build_dir/target-mipsel_24kc_musl/simple-obfs//simple-obfs-0.0.5-486bebd9208539058e57e23a12f23103016e09b4/ipkg-mipsel_24kc/simple-obfs/CONTROL; ( echo "$CONTROL"; printf "Description: "; echo "$DESCRIPTION" | sed -e 's,^[[:space:]]*, ,g'; ) > control; chmod 644 control; ( echo "#!/bin/sh"; echo "[ \"\${IPKG_NO_SCRIPT}\" = \"1\" ] && exit 0"; echo "[ -x "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_postinst \$0 \$@"; ) > postinst; ( echo "#!/bin/sh"; echo "[ -x "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_prerm \$0 \$@"; ) > prerm; chmod 0755 postinst prerm;  )
install -d -m0755 /home/lon91ong/openwrt/bin/packages/mipsel_24kc/base
/home/lon91ong/openwrt/scripts/ipkg-build -c -o 0 -g 0 /home/lon91ong/openwrt/build_dir/target-mipsel_24kc_musl/simple-obfs//simple-obfs-0.0.5-486bebd9208539058e57e23a12f23103016e09b4/ipkg-mipsel_24kc/simple-obfs /home/lon91ong/openwrt/bin/packages/mipsel_24kc/base
Packaged contents of /home/lon91ong/openwrt/build_dir/target-mipsel_24kc_musl/simple-obfs//simple-obfs-0.0.5-486bebd9208539058e57e23a12f23103016e09b4/ipkg-mipsel_24kc/simple-obfs into /home/lon91ong/openwrt/bin/packages/mipsel_24kc/base/simple-obfs_0.0.5-4_mipsel_24kc.ipk
echo "simple-obfs" >> /home/lon91ong/openwrt/staging_dir/target-mipsel_24kc_musl/pkginfo/simple-obfs.default.install
make[3]: Leaving directory '/home/lon91ong/openwrt/package/small/simple-obfs'
time: package/small/simple-obfs/compile#10.87#12.32#44.06
make[3]: Leaving directory '/home/lon91ong/openwrt/feeds/packages/libs/boost'
time: package/feeds/packages/boost/host-compile#0.53#7.76#124.67
make[2]: Leaving directory '/home/lon91ong/openwrt'
make[1]: *** [package/Makefile:107: /home/lon91ong/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/lon91ong/openwrt'
make: *** [/home/lon91ong/openwrt/include/toplevel.mk:227: world] Error 2

做过的尝试:
参考1的方法,看了看错误日志报错的前面一段,出现最多的是simple-obfs,这个似乎是passwall的依赖,不能取消选择。
参考2的方法,取消automount选择,无效。

奇怪的是,相同的配置在GitHub Action是能正常编译的。
编译环境
WSL+Debian10,取消passwall及其依赖是可以编译成功的,但是编译的ssr plus无法运行,无奈选择了passwall

求解惑!

请问一下small库和openwrt-packages的关系?

你好
small库是passwall的基本依赖?
openwrt-packages是README里提及的插件包?不知道我理解的对不对
也就是如果只需要passwall的依赖的话只添加small库是不是就可以?

编译ssr-plus和passwall 的v2ray都是提示以下错误,不编译v2ray就正常通过,请问是我一个问题吗?

make -r package/openwrt-packages/luci-app-ssr-plus/compile: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on
/lede/include/toplevel.mk:222: recipe for target 'package/openwrt-packages/luci-app-ssr-plus/compile' failed
make: *** [package/openwrt-packages/luci-app-ssr-plus/compile] Error 1

分割线----------------------------------------------
make -r package/openwrt-packages/luci-app-passwall/compile: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on
/lede/include/toplevel.mk:222: recipe for target 'package/openwrt-packages/luci-app-passwall/compile' failed
make: *** [package/openwrt-packages/luci-app-passwall/compile] Error 1

v2ray-core编译出现问题

make[3]: Entering directory '/home/lihh/cs/feeds/small/v2ray-core'
mkdir -p /home/lihh/cs/dl
SHELL= flock /home/lihh/cs/tmp/.v2ray-core-5.0.3.tar.gz.flock -c ' /home/lihh/cs/scripts/download.pl "/home/lihh/cs/dl" "v2ray-core-5.0.3.tar.gz" "c0fe91f715293cfc39a5afeef71e1ff43d379ae0faa139c560fdc3ede88a458a" "" "https://codeload.github.com/v2fly/v2ray-core/tar.gz/v5.0.3?" '
rm -f /home/lihh/cs/build_dir/target-x86_64_musl/v2ray-core-5.0.3/.built
touch /home/lihh/cs/build_dir/target-x86_64_musl/v2ray-core-5.0.3/.built_check
CONFIG_GOLANG_MOD_CACHE_WORLD_READABLE="" GO_BUILD_CACHE_DIR="/home/lihh/cs/tmp/go-build" GO_MOD_CACHE_DIR="/home/lihh/cs/dl/go-mod-cache" GO_MOD_ARGS="-modcacherw" GO_PKG="github.com/v2fly/v2ray-core/v5" GO_INSTALL_EXTRA="" GO_INSTALL_ALL="" GO_SOURCE_ONLY="" GO_BUILD_PKG="github.com/v2fly/v2ray-core/v5/..." GO_EXCLUDES="" GO_GO_GENERATE="" GO_INSTALL_BIN_PATH="/usr/bin" BUILD_DIR="/home/lihh/cs/build_dir/target-x86_64_musl/v2ray-core-5.0.3" GO_BUILD_DIR="/home/lihh/cs/build_dir/target-x86_64_musl/v2ray-core-5.0.3/.go_work/build" GO_BUILD_BIN_DIR="/home/lihh/cs/build_dir/target-x86_64_musl/v2ray-core-5.0.3/.go_work/build/bin" GO_BUILD_DEPENDS_PATH="/usr/share/gocode" GO_BUILD_DEPENDS_SRC="/home/lihh/cs/staging_dir/target-x86_64_musl/usr/share/gocode/src" GOOS="linux" GOARCH="amd64" GO386="" GOARM="" GOMIPS="" GOMIPS64="" CGO_ENABLED=1 CC="x86_64-openwrt-linux-musl-gcc" CXX="x86_64-openwrt-linux-musl-g++" CGO_CFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/lihh/cs/build_dir/target-x86_64_musl/v2ray-core-5.0.3=v2ray-core-5.0.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" CGO_CPPFLAGS="-I/home/lihh/cs/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/lihh/cs/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/lihh/cs/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include" CGO_CXXFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/lihh/cs/build_dir/target-x86_64_musl/v2ray-core-5.0.3=v2ray-core-5.0.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" CGO_LDFLAGS="-L/home/lihh/cs/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/lihh/cs/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -znow -zrelro" GOPATH="/home/lihh/cs/build_dir/target-x86_64_musl/v2ray-core-5.0.3/.go_work/build" GOCACHE="/home/lihh/cs/tmp/go-build" GOMODCACHE="/home/lihh/cs/dl/go-mod-cache" GOENV=off /usr/bin/env bash /home/lihh/cs/feeds/packages/lang/golang//golang-build.sh build -v -trimpath -ldflags "all=-buildid '1649264465' -linkmode external -extldflags '-L/home/lihh/cs/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/lihh/cs/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -Wl,-z,now -Wl,-z,relro'" -ldflags " -X github.com/v2fly/v2ray-core/v5.build=OpenWrt -X github.com/v2fly/v2ray-core/v5.version=5.0.3 -buildid '1649264465' -linkmode external -extldflags '-L/home/lihh/cs/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/lihh/cs/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -Wl,-z,now -Wl,-z,relro'"
Finding targets

Building targets
github.com/marten-seemann/qtls-go1-18

github.com/marten-seemann/qtls-go1-18

/home/lihh/cs/dl/go-mod-cache/github.com/marten-seemann/[email protected]/cipher_suites.go:141:43: undefined: any
/home/lihh/cs/dl/go-mod-cache/github.com/marten-seemann/[email protected]/cipher_suites.go:399:45: undefined: any
/home/lihh/cs/dl/go-mod-cache/github.com/marten-seemann/[email protected]/cipher_suites.go:404:46: undefined: any
/home/lihh/cs/dl/go-mod-cache/github.com/marten-seemann/[email protected]/cipher_suites.go:412:45: undefined: any
/home/lihh/cs/dl/go-mod-cache/github.com/marten-seemann/[email protected]/common.go:1496:41: undefined: any
/home/lihh/cs/dl/go-mod-cache/github.com/marten-seemann/[email protected]/conn.go:177:10: undefined: any
/home/lihh/cs/dl/go-mod-cache/github.com/marten-seemann/[email protected]/conn.go:183:13: undefined: any
/home/lihh/cs/dl/go-mod-cache/github.com/marten-seemann/[email protected]/conn.go:211:62: undefined: any
/home/lihh/cs/dl/go-mod-cache/github.com/marten-seemann/[email protected]/conn.go:973:14: undefined: any
/home/lihh/cs/dl/go-mod-cache/github.com/marten-seemann/[email protected]/conn.go:1056:33: undefined: any
/home/lihh/cs/dl/go-mod-cache/github.com/marten-seemann/[email protected]/conn.go:973:14: too many errors
note: module requires Go 1.18

make[3]: *** [Makefile:111: /home/lihh/cs/build_dir/target-x86_64_musl/v2ray-core-5.0.3/.built] Error 2
make[3]: Leaving directory '/home/lihh/cs/feeds/small/v2ray-core'
time: package/feeds/small/v2ray-core/compile#3.47#0.76#1.13
ERROR: package/feeds/small/v2ray-core failed to build.
make[2]: *** [package/Makefile:116: package/feeds/small/v2ray-core/compile] Error 1
make[2]: Leaving directory '/home/lihh/cs'
make[1]: *** [package/Makefile:110: /home/lihh/cs/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/lihh/cs'
make: *** [/home/lihh/cs/include/toplevel.mk:230:world] 错误 2

Updating feed 'small' from 'https://github.com/kenzok8/small' ...报错

Updating feed 'small' from 'https://github.com/kenzok8/small' ...
Already up to date.
Create index file './feeds/packages.index'
Create index file './feeds/luci.index'
Create index file './feeds/routing.index'
Create index file './feeds/telephony.index'
Create index file './feeds/oui.index'
ERROR: please fix feeds/oui/applications/oui-app-acl/Makefile - see logs/feeds/oui/applications/oui-app-acl/dump.txt for details
ERROR: please fix feeds/oui/applications/oui-app-backup/Makefile - see logs/feeds/oui/applications/oui-app-backup/dump.txt for details
ERROR: please fix feeds/oui/applications/oui-app-demo/Makefile - see logs/feeds/oui/applications/oui-app-demo/dump.txt for details
ERROR: please fix feeds/oui/applications/oui-app-dhcp-lease/Makefile - see logs/feeds/oui/applications/oui-app-dhcp-lease/dump.txt for details
ERROR: please fix feeds/oui/applications/oui-app-home/Makefile - see logs/feeds/oui/applications/oui-app-home/dump.txt for details
ERROR: please fix feeds/oui/applications/oui-app-layout/Makefile - see logs/feeds/oui/applications/oui-app-layout/dump.txt for details
ERROR: please fix feeds/oui/applications/oui-app-login/Makefile - see logs/feeds/oui/applications/oui-app-login/dump.txt for details
ERROR: please fix feeds/oui/applications/oui-app-stations/Makefile - see logs/feeds/oui/applications/oui-app-stations/dump.txt for details
ERROR: please fix feeds/oui/applications/oui-app-system/Makefile - see logs/feeds/oui/applications/oui-app-system/dump.txt for details
ERROR: please fix feeds/oui/applications/oui-app-upgrade/Makefile - see logs/feeds/oui/applications/oui-app-upgrade/dump.txt for details
ERROR: please fix feeds/oui/applications/oui-app-user/Makefile - see logs/feeds/oui/applications/oui-app-user/dump.txt for details
ERROR: please fix feeds/oui/oui-ui-core/Makefile - see logs/feeds/oui/oui-ui-core/dump.txt for details
Collecting package info: done

hysteria 32位编译不能打开网页

用Lede 编译86-32位版本,hysteria 不能科学上网,无法打开网页,去年7月份以前编译的版本都是正常的,大佬能否检查下是哪里问题,64位一直都正常。32位太小众了,盼望大佬关注下。

编译报错

报错日志如下
image

请问下需要这么解决?谢谢!

此项目的clone的v2ray源码有问题,有passwall编译问题的请切换至源项目

具体现象为 #57

以下是参考feeds

src-git packages https://github.com/coolsnowwolf/packages
src-git luci https://github.com/coolsnowwolf/luci
src-git routing https://github.com/coolsnowwolf/routing
src-git telephony https://git.openwrt.org/feed/telephony.git
#src-git kenzo https://github.com/kenzok8/openwrt-packages
#src-git small https://github.com/kenzok8/small
src-git passwall_packages https://github.com/xiaorouji/openwrt-passwall.git;packages
src-git passwall_luci https://github.com/xiaorouji/openwrt-passwall.git;luci
#src-git neobird https://github.com/thinktip/luci-theme-neobird.git
src-git openclash  https://github.com/vernesong/OpenClash
src-git helloworld https://github.com/fw876/helloworld.git

hysteria编译报错

报错日志:
Building targets
package github.com/tobyxdd/hysteria/cmd
imports github.com/tobyxdd/hysteria/pkg/tun
imports github.com/eycorsican/go-tun2socks/tun: build constraints exclude all Go files in /home/wuwei/openwrt/lede/dl/go-mod-cache/github.com/eycorsican/[email protected]/tun

make[3]: *** [Makefile:56: /home/wuwei/openwrt/lede/build_dir/target-x86_64_musl/hysteria-1.0.5/.built] Error 1
make[3]: Leaving directory '/home/wuwei/openwrt/lede/feeds/small/hysteria'
time: package/feeds/small/hysteria/compile#0.59#0.20#0.35
ERROR: package/feeds/small/hysteria failed to build.
make[2]: *** [package/Makefile:116: package/feeds/small/hysteria/compile] Error 1
make[2]: Leaving directory '/home/wuwei/openwrt/lede'
make[1]: *** [package/Makefile:110: /home/wuwei/openwrt/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/wuwei/openwrt/lede'
make: *** [/home/wuwei/openwrt/lede/include/toplevel.mk:230: world] Error 2

最新一次更新small后编译出错,上个版本没事,lean的最新源

错误信息如下:
zpd@zpd-KVM:$ screen -r
rm -f /home/zpd/lede/build_dir/target-mipsel_24kc_musl/trojan-plus-10.0.3/.built
touch /home/zpd/lede/build_dir/target-mipsel_24kc_musl/trojan-plus-10.0.3/.built_check
MAKEFLAGS="" /home/zpd/lede/staging_dir/host/bin/ninja -j1 -C /home/zpd/lede/build_dir/target-mipsel_24kc_musl/trojan-plus-10.0.3
ninja: Entering directory `/home/zpd/lede/build_dir/target-mipsel_24kc_musl/trojan-plus-10.0.3'
[2/25] Building CXX object CMakeFiles/trojan.dir/src/core/config.cpp.o
FAILED: CMakeFiles/trojan.dir/src/core/config.cpp.o
/home/zpd/lede/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/bin/mipsel-openwrt-linux-musl-g++ -DBADVPN_BREACTOR_BADVPN=1 -DBADVPN_LINUX=1 -DBADVPN_LITTLE_ENDIAN=1 -DBADVPN_THREADWORK_USE_PTHREAD=1 -DBADVPN_THREAD_SAFE=1 -DBADVPN_USE_EPOLL=1 -DBADVPN_USE_SIGNALFD=1 -DBOOST_BIND_GLOBAL_PLACEHOLDERS=1 -DDEFAULT_CONFIG="/etc/trojan/config.json" -DENABLE_NAT -DENABLE_REUSE_PORT -DENABLE_SSL_KEYLOG -DENABLE_TLS13_CIPHERSUITES -D_GNU_SOURCE=1 -I/home/zpd/lede/build_dir/target-mipsel_24kc_musl/trojan-plus-10.0.3/src -I/home/zpd/lede/build_dir/target-mipsel_24kc_musl/trojan-plus-10.0.3/NAMES -I/home/zpd/lede/build_dir/target-mipsel_24kc_musl/trojan-plus-10.0.3/external/GSL/include -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -fmacro-prefix-map=/home/zpd/lede/build_dir/target-mipsel_24kc_musl/trojan-plus-10.0.3=trojan-plus-10.0.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -Wextra -DPIC -fpic -flto -std=c++11 -O3 -ffunction-sections -fdata-sections -DNDEBUG -s -Wall -Wextra -std=gnu++17 -MD -MT CMakeFiles/trojan.dir/src/core/config.cpp.o -MF CMakeFiles/trojan.dir/src/core/config.cpp.o.d -o CMakeFiles/trojan.dir/src/core/config.cpp.o -c /home/zpd/lede/build_dir/target-mipsel_24kc_musl/trojan-plus-10.0.3/src/core/config.cpp
/home/zpd/lede/build_dir/target-mipsel_24kc_musl/trojan-plus-10.0.3/src/core/config.cpp:26:10: fatal error: gsl/gsl: No such file or directory
#include <gsl/gsl>
^~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
make[3]: *** [Makefile:72: /home/zpd/lede/build_dir/target-mipsel_24kc_musl/trojan-plus-10.0.3/.built] Error 1
make[3]: Leaving directory '/home/zpd/lede/feeds/small/trojan-plus'
time: package/feeds/small/trojan-plus/compile#4.71#1.31#126.25
ERROR: package/feeds/small/trojan-plus failed to build.
make[2]: *** [package/Makefile:116: package/feeds/small/trojan-plus/compile] Error 1
make[2]: Leaving directory '/home/zpd/lede'
make[1]: *** [package/Makefile:110: /home/zpd/lede/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/zpd/lede'
make: *** [/home/zpd/lede/include/toplevel.mk:230:world] 错误 2
zpd@zpd-KVM:
/lede$

提示缺少依赖

我按照方法安装,很多都提示缺少依赖或者体系不兼容,这怎么解决呢?

什么原因?

Create index file './feeds/small.index'
grep: feeds/small/Makefile:$(eval: 没有那个文件或目录
grep: $(call: 没有那个文件或目录
grep: BuildPackage,$(PKG_NAME)))/Makefile: 没有那个文件或目录
/home/zhouchao/lede/feeds/small.tmp/info/.files-packageinfo.mk:1: *** 目标模式不含有“%”。 停止。
Collecting target info: done

xray-core错误

make[3]: *** [Makefile:146: /home/a/lede/build_dir/target-x86_64_musl/Xray-core-1.3.1/.built] Error 1
make[3]: Leaving directory '/home/a/lede/feeds/small/xray-core'
time: package/feeds/small/xray-core/compile#4.30#2.76#23.97
make[2]: *** [package/Makefile:113: package/feeds/small/xray-core/compile] Error 2
make[2]: Leaving directory '/home/a/lede'
make[1]: *** [package/Makefile:107: /home/a/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/a/lede'
make: *** [/home/a/lede/include/toplevel.mk:224: world] Error 2

microsocks似乎没有同步过来

不知道是不是我使用方法不对。。。

* satisfy_dependencies_for: Cannot satisfy the following dependencies for *:

 *      microsocks
 *      redsocks2

 * opkg_install_cmd: Cannot install package luci-app-*-plus.

target-x86_64_musl/xray-plugin-1.7.3/.built] Error 1 每次都是这个报错。求各大神帮助

touch /home/yk/lede/build_dir/target-x86_64_musl/xray-plugin-1.7.3/.configured_1cd727ac7b9ebbe4ee453b5ddb8504b3
rm -f /home/yk/lede/build_dir/target-x86_64_musl/xray-plugin-1.7.3/.built
touch /home/yk/lede/build_dir/target-x86_64_musl/xray-plugin-1.7.3/.built_check
CONFIG_GOLANG_MOD_CACHE_WORLD_READABLE="" GO_BUILD_CACHE_DIR="/home/yk/lede/tmp/go-build" GO_MOD_CACHE_DIR="/home/yk/lede/dl/go-mod-cache" GO_MOD_ARGS="-modcacherw" GO_PKG="github.com/teddysun/xray-plugin" GO_INSTALL_EXTRA="" GO_INSTALL_ALL="" GO_SOURCE_ONLY="" GO_BUILD_PKG="github.com/teddysun/xray-plugin/..." GO_EXCLUDES="" GO_GO_GENERATE="" GO_INSTALL_BIN_PATH="/usr/bin" BUILD_DIR="/home/yk/lede/build_dir/target-x86_64_musl/xray-plugin-1.7.3" GO_BUILD_DIR="/home/yk/lede/build_dir/target-x86_64_musl/xray-plugin-1.7.3/.go_work/build" GO_BUILD_BIN_DIR="/home/yk/lede/build_dir/target-x86_64_musl/xray-plugin-1.7.3/.go_work/build/bin" GO_BUILD_DEPENDS_PATH="/usr/share/gocode" GO_BUILD_DEPENDS_SRC="/home/yk/lede/staging_dir/target-x86_64_musl/usr/share/gocode/src" GOOS="linux" GOARCH="amd64" GO386="" GOAMD64="v1" GOARM="" GOMIPS="" GOMIPS64="" GOPPC64="" CGO_ENABLED=1 CC="x86_64-openwrt-linux-musl-gcc" CXX="x86_64-openwrt-linux-musl-g++" CGO_CFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/home/yk/lede/build_dir/target-x86_64_musl/xray-plugin-1.7.3=xray-plugin-1.7.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" CGO_CPPFLAGS="-I/home/yk/lede/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/usr/include -I/home/yk/lede/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/include/fortify -I/home/yk/lede/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/include" CGO_CXXFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/home/yk/lede/build_dir/target-x86_64_musl/xray-plugin-1.7.3=xray-plugin-1.7.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" CGO_LDFLAGS="-L/home/yk/lede/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/usr/lib -L/home/yk/lede/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/lib -znow -zrelro" GOPATH="/home/yk/lede/build_dir/target-x86_64_musl/xray-plugin-1.7.3/.go_work/build" GOCACHE="/home/yk/lede/tmp/go-build" GOMODCACHE="/home/yk/lede/dl/go-mod-cache" GOENV=off /usr/bin/env bash /home/yk/lede/feeds/packages/lang/golang//golang-build.sh build -v -buildvcs=false -trimpath -ldflags "all=-buildid '1675573548' -linkmode external -extldflags '-L/home/yk/lede/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/usr/lib -L/home/yk/lede/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/lib -Wl,-z,now -Wl,-z,relro'"
Finding targets
go: downloading github.com/xtls/xray-core v1.7.3
go: downloading github.com/quic-go/qtls-go1-20 v0.1.0

Building targets
/home/yk/lede/dl/go-mod-cache/github.com/quic-go/[email protected]/handshake_client.go:11:2: package crypto/ecdh is not in GOROOT (/home/yk/lede/staging_dir/hostpkg/lib/go-cross/src/crypto/ecdh)

make[3]: *** [Makefile:46: /home/yk/lede/build_dir/target-x86_64_musl/xray-plugin-1.7.3/.built] Error 1
make[3]: Leaving directory '/home/yk/lede/feeds/small/xray-plugin'
time: package/feeds/small/xray-plugin/compile#1.36#0.97#2.89
ERROR: package/feeds/small/xray-plugin failed to build.
make[2]: *** [package/Makefile:116: package/feeds/small/xray-plugin/compile] Error 1
make[2]: Leaving directory '/home/yk/lede'
make[1]: *** [package/Makefile:110: /home/yk/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/yk/lede'
make: *** [/home/yk/lede/include/toplevel.mk:231:world] 错误 2

请问怎么才能编译出新的1.3版的xray-core来?

由于机器性能和网络的问题,我采用的是github action的方式来编译。我使用的是lienol的库,用的是19.7的分支。然后在feeds.conf.default文件里添加了src-git kenzo https://github.com/kenzok8/openwrt-packages和src-git small https://github.com/kenzok8/small。同时我选择上传了bin目录,不上传固件(我的最终目的是要luci-app-passwall.ipk)。执行make menuconfig后,选择好target类型(我分别试了arth71xx和x86-64)。在luci-app-passwall上选择M,下面的配置里只选了xray,haproxy,dns2sock,chinadns-ng,这样的确是能够编译成功固件的。但是在下载回来的bin压缩包里,xray-core的版本始终是1.2.4-1。可是我看small库里,xray-core的Makefile里,版本号已经升级到1.3了。请问这个问题该怎么解决?谢谢

feeds install small报错

Installing all packages from feed passwall.
WARNING: Not overriding core package 'dns2socks'; use -f to force
WARNING: Not overriding core package 'ipt2socks'; use -f to force
WARNING: Not overriding core package 'microsocks'; use -f to force
WARNING: Not overriding core package 'pdnsd-alt'; use -f to force
Installing all packages from feed small.
WARNING: Not overriding core package 'dns2socks'; use -f to force
WARNING: Not overriding core package 'ipt2socks'; use -f to force
WARNING: Not overriding core package 'pdnsd-alt'; use -f to force

本地编译和云编译均出现此问题

naiveproxy 86.0.4240.75-1 build patch bugs

naiveproxy 86.0.4240.75-1版本 编译做patch时错误!
naiveproxy/patches/100-build-add-OpenWrt-staging-libraries.patch
line 21: if(is_linux) 需要改为 if(is_linux || is_chromeos)

请教。无法选择

执行完所有指令后 在make menuconfig的luci-app中没有找到luci-app-passwall,其他比如luci-app-ssr-plus都已经有了。

Recommend Projects

  • React photo React

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

  • Vue.js photo Vue.js

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

  • Typescript photo Typescript

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

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

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

Recommend Topics

  • javascript

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

  • web

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

  • server

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

  • Machine learning

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

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

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

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.