找回密码
 立即注册
img_loading
智能检测中

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888广告投放联系QQ68610888
glinet
查看: 1292|回复: 6

编译出错n2n错误

[复制链接]
发表于 2023-2-17 22:14 | 显示全部楼层 |阅读模式


https://github.com/kiddin9/openwrt/tree/master
这个大神的源码,请问怎么办


./scripts/feeds install -a -f
WARNING: Makefile 'package/feeds/luci/luci-app-n2n/Makefile' has a dependency on 'n2n', which does not exist
Installing all packages from feed packages.
Installing all packages from feed luci.
Installing all packages from feed routing.
Installing all packages from feed telephony.
Installing all packages from feed Boos.
xky@debian11:~/openwrt$ make package/feeds/luci/luci-app-n2n/compile V=s
WARNING: Makefile 'package/feeds/luci/luci-app-n2n/Makefile' has a dependency on 'n2n', which does not exist
time: target/linux/prereq#0.14#0.10#0.23
make[1]: Entering directory '/home/xky/openwrt'
make[2]: Entering directory '/home/xky/openwrt/feeds/luci/modules/luci-base'
. /home/xky/openwrt/include/shell.sh; bzcat /home/xky/openwrt/dl/LuaSrcDiet-0.12.1.tar.bz2 | tar -C /home/xky/openwrt/build_dir/hostpkg/LuaSrcDiet-0.12.1/.. -xf -
[ ! -d ./src/ ] || cp -fpR ./src/* /home/xky/openwrt/build_dir/hostpkg/LuaSrcDiet-0.12.1
touch /home/xky/openwrt/build_dir/hostpkg/LuaSrcDiet-0.12.1/.prepared9226f271081b26f5d1c5ea097059db37_6664517399ebbbc92a37c5bb081b5c53
touch /home/xky/openwrt/build_dir/hostpkg/LuaSrcDiet-0.12.1/.configured
make -C src/ clean po2lmo
make[3]: Entering directory '/home/xky/openwrt/feeds/luci/modules/luci-base/src'
rm -f po2lmo parser.so version.lua *.o
cc    -c -o po2lmo.o po2lmo.c
cc    -c -o template_lmo.o template_lmo.c
cc  -o po2lmo po2lmo.o template_lmo.o
make[3]: Leaving directory '/home/xky/openwrt/feeds/luci/modules/luci-base/src'
make -C /home/xky/openwrt/build_dir/hostpkg/LuaSrcDiet-0.12.1 bin/LuaSrcDiet.lua
make[3]: Entering directory '/home/xky/openwrt/build_dir/hostpkg/LuaSrcDiet-0.12.1'
make[3]: Nothing to be done for 'bin/LuaSrcDiet.lua'.
make[3]: Leaving directory '/home/xky/openwrt/build_dir/hostpkg/LuaSrcDiet-0.12.1'
touch /home/xky/openwrt/build_dir/hostpkg/LuaSrcDiet-0.12.1/.built
install -d -m0755 /home/xky/openwrt/staging_dir/hostpkg/bin
install -m0755 src/po2lmo /home/xky/openwrt/staging_dir/hostpkg/bin/po2lmo
install -m0755 /home/xky/openwrt/build_dir/hostpkg/LuaSrcDiet-0.12.1/bin/LuaSrcDiet.lua /home/xky/openwrt/staging_dir/hostpkg/bin/LuaSrcDiet
mkdir -p /home/xky/openwrt/staging_dir/hostpkg/stamp
touch /home/xky/openwrt/build_dir/hostpkg/LuaSrcDiet-0.12.1/.built
touch /home/xky/openwrt/staging_dir/hostpkg/stamp/.luci-base_installed
make[2]: Leaving directory '/home/xky/openwrt/feeds/luci/modules/luci-base'
time: package/feeds/luci/luci-base/host-compile#2.13#2.06#3.87
make[2]: Entering directory '/home/xky/openwrt/package/libs/toolchain'
echo "libc" >> /home/xky/openwrt/staging_dir/target-x86_64_musl/pkginfo/toolchain.default.install
echo "libgcc" >> /home/xky/openwrt/staging_dir/target-x86_64_musl/pkginfo/toolchain.default.install
echo "libatomic" >> /home/xky/openwrt/staging_dir/target-x86_64_musl/pkginfo/toolchain.default.install
echo "libstdcpp" >> /home/xky/openwrt/staging_dir/target-x86_64_musl/pkginfo/toolchain.default.install
echo "libpthread" >> /home/xky/openwrt/staging_dir/target-x86_64_musl/pkginfo/toolchain.default.install
echo "librt" >> /home/xky/openwrt/staging_dir/target-x86_64_musl/pkginfo/toolchain.default.install
make[2]: Leaving directory '/home/xky/openwrt/package/libs/toolchain'
time: package/libs/toolchain/compile#0.21#0.14#0.31
make[2]: Entering directory '/home/xky/openwrt/package/utils/lua'
make[2]: Leaving directory '/home/xky/openwrt/package/utils/lua'
time: package/utils/lua/host-compile#0.22#0.35#0.51
make[2]: Entering directory '/home/xky/openwrt/feeds/luci/applications/luci-app-n2n'
touch /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/.prepared_903f8bea9619f2ca3e0b3d24c8c9bc16_6664517399ebbbc92a37c5bb081b5c53_check
for d in luasrc htdocs root src; do if [ -d ./$d ]; then mkdir -p /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/$d; cp -fpR ./$d/* /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/$d/; fi; done
true
[ ! -d ./src/ ] || cp -fpR ./src/. /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n
touch /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/.prepared_903f8bea9619f2ca3e0b3d24c8c9bc16_6664517399ebbbc92a37c5bb081b5c53
rm -f /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/.configured_*
rm -f /home/xky/openwrt/staging_dir/target-x86_64_musl/stamp/.luci-app-n2n_installed
touch /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/.configured_98b31b11569cdb1701bb10c5b1d192c3
rm -f /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/.built
touch /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/.built_check
touch /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/.built
rm -rf /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/.pkgdir/luci-app-n2n.installed /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/.pkgdir/luci-app-n2n
mkdir -p /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/.pkgdir/luci-app-n2n
if [ -d /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/luasrc ]; then install -d -m0755 /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/.pkgdir/luci-app-n2n/usr/lib/lua/luci; cp -pR /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/luasrc/* /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/.pkgdir/luci-app-n2n/usr/lib/lua/luci/; find /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/.pkgdir/luci-app-n2n/usr/lib/lua/luci/ -type f -name '*.luadoc' | xargs -r rm; true;   find /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/.pkgdir/luci-app-n2n/usr/lib/lua/luci/ -type f -name '*.htm' | while read src; do /home/xky/openwrt/staging_dir/host/bin/sed -i -e 's/<%# *\([^ ]*\)PKG_VERSION *%>/\13.0.0/g' -e 's/"\(<%= *\(media\|resource\) *%>[^"]*\.\(js\|css\)\)"/"\1?v=3.0.0"/g' "$src"; done; else true; fi
if [ -d /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/htdocs ]; then install -d -m0755 /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/.pkgdir/luci-app-n2n/www; cp -pR /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/htdocs/* /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/.pkgdir/luci-app-n2n/www/; else true; fi
if [ -d /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/root ]; then install -d -m0755 /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/.pkgdir/luci-app-n2n/; cp -pR /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/root/* /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/.pkgdir/luci-app-n2n/; else true; fi
if [ -d /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/src ]; then         CFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n=luci-app-n2n -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro  -I/home/xky/openwrt/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/usr/include -I/home/xky/openwrt/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/include/fortify -I/home/xky/openwrt/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/include " CXXFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n=luci-app-n2n -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro  -I/home/xky/openwrt/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/usr/include -I/home/xky/openwrt/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/include/fortify -I/home/xky/openwrt/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/include " LDFLAGS="-L/home/xky/openwrt/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/usr/lib -L/home/xky/openwrt/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/lib -znow -zrelro " make -C /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/. AR="x86_64-openwrt-linux-musl-gcc-ar" AS="ccache_cc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n=luci-app-n2n -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" LD=x86_64-openwrt-linux-musl-ld NM="x86_64-openwrt-linux-musl-gcc-nm" CC="ccache_cc" GCC="ccache_cc" CXX="ccache_cxx" RANLIB="x86_64-openwrt-linux-musl-gcc-ranlib" STRIP=x86_64-openwrt-linux-musl-strip OBJCOPY=x86_64-openwrt-linux-musl-objcopy OBJDUMP=x86_64-openwrt-linux-musl-objdump SIZE=x86_64-openwrt-linux-musl-size CROSS="x86_64-openwrt-linux-musl-" ARCH="x86_64" DESTDIR="/home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/ipkg-install"  install; cp -fpR /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/ipkg-install/* /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/.pkgdir/luci-app-n2n/; else true; fi
touch /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/.pkgdir/luci-app-n2n.installed
mkdir -p /home/xky/openwrt/staging_dir/target-x86_64_musl/root-x86/stamp
SHELL= flock /home/xky/openwrt/tmp/.root-copy.flock -c 'cp -fpR /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/.pkgdir/luci-app-n2n/. /home/xky/openwrt/staging_dir/target-x86_64_musl/root-x86/'
touch /home/xky/openwrt/staging_dir/target-x86_64_musl/root-x86/stamp/.luci-app-n2n_installed
mkdir -p /home/xky/openwrt/bin/targets/x86/64/packages /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/ipkg-all/luci-app-n2n/CONTROL /home/xky/openwrt/staging_dir/target-x86_64_musl/pkginfo
if [ -d /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/luasrc ]; then install -d -m0755 /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/ipkg-all/luci-app-n2n/usr/lib/lua/luci; cp -pR /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/luasrc/* /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/ipkg-all/luci-app-n2n/usr/lib/lua/luci/; find /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/ipkg-all/luci-app-n2n/usr/lib/lua/luci/ -type f -name '*.luadoc' | xargs -r rm; true;           find /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/ipkg-all/luci-app-n2n/usr/lib/lua/luci/ -type f -name '*.htm' | while read src; do /home/xky/openwrt/staging_dir/host/bin/sed -i -e 's/<%# *\([^ ]*\)PKG_VERSION *%>/\13.0.0/g' -e 's/"\(<%= *\(media\|resource\) *%>[^"]*\.\(js\|css\)\)"/"\1?v=3.0.0"/g' "$src"; done; else true; fi
if [ -d /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/htdocs ]; then install -d -m0755 /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/ipkg-all/luci-app-n2n/www; cp -pR /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/htdocs/* /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/ipkg-all/luci-app-n2n/www/; else true; fi
if [ -d /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/root ]; then install -d -m0755 /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/ipkg-all/luci-app-n2n/; cp -pR /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/root/* /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/ipkg-all/luci-app-n2n/; else true; fi
if [ -d /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/src ]; then         CFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n=luci-app-n2n -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro  -I/home/xky/openwrt/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/usr/include -I/home/xky/openwrt/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/include/fortify -I/home/xky/openwrt/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/include " CXXFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n=luci-app-n2n -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro  -I/home/xky/openwrt/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/usr/include -I/home/xky/openwrt/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/include/fortify -I/home/xky/openwrt/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/include " LDFLAGS="-L/home/xky/openwrt/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/usr/lib -L/home/xky/openwrt/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/lib -znow -zrelro " make -C /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/. AR="x86_64-openwrt-linux-musl-gcc-ar" AS="ccache_cc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n=luci-app-n2n -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" LD=x86_64-openwrt-linux-musl-ld NM="x86_64-openwrt-linux-musl-gcc-nm" CC="ccache_cc" GCC="ccache_cc" CXX="ccache_cxx" RANLIB="x86_64-openwrt-linux-musl-gcc-ranlib" STRIP=x86_64-openwrt-linux-musl-strip OBJCOPY=x86_64-openwrt-linux-musl-objcopy OBJDUMP=x86_64-openwrt-linux-musl-objdump SIZE=x86_64-openwrt-linux-musl-size CROSS="x86_64-openwrt-linux-musl-" ARCH="x86_64" DESTDIR="/home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/ipkg-install"  install; cp -fpR /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/ipkg-install/* /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/ipkg-all/luci-app-n2n/; else true; fi
find /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/ipkg-all/luci-app-n2n -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
export CROSS="x86_64-openwrt-linux-musl-"  NO_RENAME=1 ; NM="x86_64-openwrt-linux-musl-nm" STRIP="/home/xky/openwrt/staging_dir/host/bin/sstrip -z" STRIP_KMOD="/home/xky/openwrt/scripts/strip-kmod.sh" PATCHELF="/home/xky/openwrt/staging_dir/host/bin/patchelf" /home/xky/openwrt/scripts/rstrip.sh /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/ipkg-all/luci-app-n2n
(cd /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/ipkg-all/luci-app-n2n/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 "[ -s "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_postinst \$0 \$@"; ) > postinst; ( echo "#!/bin/sh"; echo "[ -s "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_prerm \$0 \$@"; ) > prerm; chmod 0755 postinst prerm; echo "$V_Package_luci_app_n2n_postinst" > postinst-pkg; chmod 0755 postinst-pkg; )
install -d -m0755 /home/xky/openwrt/bin/packages/x86_64/luci
/home/xky/openwrt/staging_dir/host/bin/fakeroot /home/xky/openwrt/staging_dir/host/bin/bash /home/xky/openwrt/scripts/ipkg-build -m "" /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/ipkg-all/luci-app-n2n /home/xky/openwrt/bin/packages/x86_64/luci
Packaged contents of /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/ipkg-all/luci-app-n2n into /home/xky/openwrt/bin/packages/x86_64/luci/luci-app-n2n_3.0.0-1_all.ipk
mkdir -p /home/xky/openwrt/bin/targets/x86/64/packages /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/ipkg-all/luci-i18n-n2n-zh-cn/CONTROL /home/xky/openwrt/staging_dir/target-x86_64_musl/pkginfo
install -d -m0755 /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/ipkg-all/luci-i18n-n2n-zh-cn/etc/uci-defaults
echo "uci set luci.languages.zh_cn='简体中文 (Simplified Chinese)'; uci commit luci" > /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/ipkg-all/luci-i18n-n2n-zh-cn/etc/uci-defaults/luci-i18n-n2n-zh-cn
install -d -m0755 /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/ipkg-all/luci-i18n-n2n-zh-cn/usr/lib/lua/luci/i18n
po2lmo /home/xky/openwrt/feeds/luci/applications/luci-app-n2n/po/zh-cn/n2n.po /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/ipkg-all/luci-i18n-n2n-zh-cn/usr/lib/lua/luci/i18n/n2n.zh-cn.lmo;
find /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/ipkg-all/luci-i18n-n2n-zh-cn -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
export CROSS="x86_64-openwrt-linux-musl-"  NO_RENAME=1 ; NM="x86_64-openwrt-linux-musl-nm" STRIP="/home/xky/openwrt/staging_dir/host/bin/sstrip -z" STRIP_KMOD="/home/xky/openwrt/scripts/strip-kmod.sh" PATCHELF="/home/xky/openwrt/staging_dir/host/bin/patchelf" /home/xky/openwrt/scripts/rstrip.sh /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/ipkg-all/luci-i18n-n2n-zh-cn
(cd /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/ipkg-all/luci-i18n-n2n-zh-cn/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 "[ -s "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_postinst \$0 \$@"; ) > postinst; ( echo "#!/bin/sh"; echo "[ -s "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_prerm \$0 \$@"; ) > prerm; chmod 0755 postinst prerm; echo "$V_Package_luci_i18n_n2n_zh_cn_postinst" > postinst-pkg; chmod 0755 postinst-pkg; )
install -d -m0755 /home/xky/openwrt/bin/packages/x86_64/luci
/home/xky/openwrt/staging_dir/host/bin/fakeroot /home/xky/openwrt/staging_dir/host/bin/bash /home/xky/openwrt/scripts/ipkg-build -m "" /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/ipkg-all/luci-i18n-n2n-zh-cn /home/xky/openwrt/bin/packages/x86_64/luci
Packaged contents of /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/ipkg-all/luci-i18n-n2n-zh-cn into /home/xky/openwrt/bin/packages/x86_64/luci/luci-i18n-n2n-zh-cn_3.0.0-1_all.ipk
echo "luci-app-n2n" >> /home/xky/openwrt/staging_dir/target-x86_64_musl/pkginfo/luci-app-n2n.default.install
rm -rf /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/.pkgdir/luci-i18n-n2n-zh-cn.installed /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/.pkgdir/luci-i18n-n2n-zh-cn
mkdir -p /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/.pkgdir/luci-i18n-n2n-zh-cn
install -d -m0755 /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/.pkgdir/luci-i18n-n2n-zh-cn/etc/uci-defaults
echo "uci set luci.languages.zh_cn='简体中文 (Simplified Chinese)'; uci commit luci" > /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/.pkgdir/luci-i18n-n2n-zh-cn/etc/uci-defaults/luci-i18n-n2n-zh-cn
install -d -m0755 /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/.pkgdir/luci-i18n-n2n-zh-cn/usr/lib/lua/luci/i18n
po2lmo /home/xky/openwrt/feeds/luci/applications/luci-app-n2n/po/zh-cn/n2n.po /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/.pkgdir/luci-i18n-n2n-zh-cn/usr/lib/lua/luci/i18n/n2n.zh-cn.lmo;
touch /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/.pkgdir/luci-i18n-n2n-zh-cn.installed
mkdir -p /home/xky/openwrt/staging_dir/target-x86_64_musl/root-x86/stamp
SHELL= flock /home/xky/openwrt/tmp/.root-copy.flock -c 'cp -fpR /home/xky/openwrt/build_dir/target-x86_64_musl/luci-app-n2n/.pkgdir/luci-i18n-n2n-zh-cn/. /home/xky/openwrt/staging_dir/target-x86_64_musl/root-x86/'
touch /home/xky/openwrt/staging_dir/target-x86_64_musl/root-x86/stamp/.luci-i18n-n2n-zh-cn_installed
echo "luci-i18n-n2n-zh-cn" >> /home/xky/openwrt/staging_dir/target-x86_64_musl/pkginfo/luci-app-n2n.default.install
make[2]: Leaving directory '/home/xky/openwrt/feeds/luci/applications/luci-app-n2n'
time: package/feeds/luci/luci-app-n2n/compile#0.51#0.50#1.16
make[1]: Leaving directory '/home/xky/openwrt'

只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2023-2-17 22:27 | 显示全部楼层
改源码的这个文件 feeds.conf.default
文件里的
src-git Boos https://github.com/Boos4721/OpenWrt-Packages.git
改成
src-git Boos https://github.com/kiddin9/openwrt-packages.git
重新运行
./scripts/feeds update -a
./scripts/feeds install -a -f

点评

错误更多了 ./scripts/feeds install -a -f Collecting package info: done WARNING: Makefile 'package/feeds/Boos/basicstation/Makefile' has a build dependency on 'sx1302_hal', which does not exist  详情 回复 发表于 2023-2-17 23:23
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2023-2-17 23:23 | 显示全部楼层
jjit 发表于 2023-2-17 22:27
改源码的这个文件 feeds.conf.default
文件里的
src-git Boos https://github.com/Boos4721/OpenWrt-Pack ...

错误更多了
./scripts/feeds install -a -f
Collecting package info: done
WARNING: Makefile 'package/feeds/Boos/basicstation/Makefile' has a build dependency on 'sx1302_hal', which does not exist
WARNING: Makefile 'package/feeds/Boos/firewall/Makefile' has a dependency on 'libiptext', which does not exist
WARNING: Makefile 'package/feeds/Boos/firewall/Makefile' has a dependency on 'libiptext6', which does not exist
WARNING: Makefile 'package/feeds/Boos/firewall4/Makefile' has a dependency on 'arptables-nft', which does not exist
WARNING: Makefile 'package/feeds/Boos/firewall4/Makefile' has a dependency on 'ebtables-nft', which does not exist
WARNING: Makefile 'package/feeds/Boos/firewall4/Makefile' has a dependency on 'xtables-nft', which does not exist
WARNING: Makefile 'package/feeds/Boos/firewall4/Makefile' has a dependency on 'miniupnpd-nftables', which does not exist
WARNING: Makefile 'package/feeds/Boos/luci-app-apinger/Makefile' has a dependency on 'apinger-rrd', which does not exist
WARNING: Makefile 'package/feeds/Boos/luci-app-bitsrunlogin-go/Makefile' has a dependency on 'bitsrunlogin-go', which does not exist
WARNING: Makefile 'package/feeds/Boos/luci-app-bypass/Makefile' has a dependency on 'luci-lib-ipkg', which does not exist
WARNING: Makefile 'package/feeds/Boos/luci-app-keepalived/Makefile' has a dependency on 'keepalived-sync', which does not exist
WARNING: Makefile 'package/feeds/Boos/luci-app-mosdns/Makefile' has a dependency on 'mosdns-v5', which does not exist
WARNING: Makefile 'package/feeds/Boos/luci-app-natmap/Makefile' has a dependency on 'natmap', which does not exist
WARNING: Makefile 'package/feeds/Boos/luci-app-passwall/Makefile' has a dependency on 'iptables-mod-socket', which does not exist
WARNING: Makefile 'package/feeds/Boos/luci-app-passwall2/Makefile' has a dependency on 'iptables-mod-socket', which does not exist
WARNING: Makefile 'package/feeds/Boos/luci-app-store/Makefile' has a dependency on 'luci-lib-ipkg', which does not exist
Installing all packages from feed packages.
Installing all packages from feed luci.
Installing all packages from feed routing.
Installing all packages from feed telephony.
Installing all packages from feed Boos.
Overriding core package 'autocore' with version from Boos
Overriding core package 'automount' with version from Boos
WARNING: Not overriding core package 'ntfs3-mount'; use -f to force
Overriding core package 'base-files' with version from Boos
WARNING: Not overriding core package 'netifd'; use -f to force
Overriding core package 'dnsmasq' with version from Boos
Overriding core package 'dsmboot' with version from Boos
Overriding core package 'fast-classifier' with version from Boos
WARNING: Not overriding core package 'shortcut-fe'; use -f to force
Overriding core package 'firewall' with version from Boos
WARNING: No feed for package 'libiptext' found
WARNING: No feed for package 'libiptext6' found
WARNING: Not overriding core package 'fullconenat'; use -f to force
WARNING: Not overriding core package 'fullconenat'; use -f to force
Overriding core package 'firewall4' with version from Boos
WARNING: Not overriding core package 'nftables'; use -f to force
WARNING: No feed for package 'arptables-nft' found
WARNING: No feed for package 'ebtables-nft' found
WARNING: No feed for package 'xtables-nft' found
WARNING: Not overriding core package 'nftables'; use -f to force
WARNING: No feed for package 'miniupnpd-nftables' found
Overriding core package 'fullconenat' with version from Boos
WARNING: Not overriding core package 'fullconenat'; use -f to force
WARNING: Not overriding core package 'fullconenat'; use -f to force
Overriding core package 'k3-brcmfmac4366c-firmware' with version from Boos
Overriding core package 'k3screenctrl' with version from Boos
Overriding core package 'libcryptopp' with version from Boos
Overriding core package 'libnftnl' with version from Boos
Overriding core package 'luci-app-qbittorrent-simple' with version from Boos
WARNING: Not overriding core package 'luci-app-qbittorrent-simple'; use -f to force
WARNING: Not overriding core package 'luci-app-qbittorrent-simple'; use -f to force
Overriding core package 'mbedtls' with version from Boos
WARNING: Not overriding core package 'mbedtls'; use -f to force
Overriding core package 'netifd' with version from Boos
Overriding core package 'nftables' with version from Boos
WARNING: Not overriding core package 'libnftnl'; use -f to force
WARNING: Not overriding core package 'libnftnl'; use -f to force
Overriding core package 'ntfs3-mount' with version from Boos
Overriding core package 'openssl' with version from Boos
WARNING: Not overriding core package 'openssl'; use -f to force
WARNING: Not overriding core package 'openssl'; use -f to force
WARNING: Not overriding core package 'openssl'; use -f to force
WARNING: Not overriding core package 'openssl'; use -f to force
WARNING: Not overriding core package 'openssl'; use -f to force
WARNING: Not overriding core package 'openssl'; use -f to force
WARNING: Not overriding core package 'openssl'; use -f to force
WARNING: Not overriding core package 'openssl'; use -f to force
WARNING: Not overriding core package 'openssl'; use -f to force
Overriding core package 'opkg' with version from Boos
Overriding core package 'polarssl' with version from Boos
Overriding core package 'ppp' with version from Boos
WARNING: Not overriding core package 'shellsync'; use -f to force
WARNING: Not overriding core package 'ppp'; use -f to force
Overriding core package 'ps3netsrv' with version from Boos
Overriding core package 'r8125' with version from Boos
Overriding core package 'r8152' with version from Boos
Overriding core package 'r8168' with version from Boos
Overriding core package 'shellsync' with version from Boos
Overriding core package 'shortcut-fe' with version from Boos
WARNING: Not overriding core package 'shortcut-fe'; use -f to force
Overriding core package 'simulated-driver' with version from Boos
WARNING: Not overriding core package 'shortcut-fe'; use -f to force
Overriding core package 'srelay' with version from Boos
Overriding core package 'vsftpd-alt' with version from Boos
Overriding core package 'wireless-regdb' with version from Boos
Overriding core package 'wol' with version from Boos
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

发表于 2023-2-17 23:25 | 显示全部楼层
那就保留原来的 Boos 再添加一行
src-git Boos https://github.com/Boos4721/OpenWrt-Packages.git
src-git kiddin9 https://github.com/kiddin9/openwrt-packages.git

点评

WARNING: Makefile 'package/feeds/luci/luci-app-n2n/Makefile' has a dependency on 'n2n', which does not exist 两个都加还是这个错误  详情 回复 发表于 2023-2-17 23:41
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2023-2-17 23:41 | 显示全部楼层
jjit 发表于 2023-2-17 23:25
那就保留原来的 Boos 再添加一行
src-git Boos https://github.com/Boos4721/OpenWrt-Packages.git
src-g ...

WARNING: Makefile 'package/feeds/luci/luci-app-n2n/Makefile' has a dependency on 'n2n', which does not exist

两个都加还是这个错误
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

发表于 2023-2-17 23:49 | 显示全部楼层
n2n 在这个源里的啊:https://github.com/kiddin9/openwrt-packages
添加以后,update更新过了吗 ./scripts/feeds update -a
./scripts/feeds install -a -f

点评

更新了,还运行了这个rm -rf ./tmp && rm -rf .config 然后 ./scripts/feeds update -a ./scripts/feeds install -a -f的时候报错  详情 回复 发表于 2023-2-18 00:05
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2023-2-18 00:05 | 显示全部楼层
jjit 发表于 2023-2-17 23:49
n2n 在这个源里的啊:https://github.com/kiddin9/openwrt-packages
添加以后,update更新过了吗 ./script ...

更新了,还运行了这个rm -rf ./tmp && rm -rf .config
然后 ./scripts/feeds update -a
./scripts/feeds install -a -f的时候报错
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛

只谈技术、莫论政事!切勿转播谣言!为了你也为了他人。
只谈技术、莫论政事!(点击见详情) 切记不要随意传播谣言,把自己的日子过安稳了就行,为了自己好也为了大家好。 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。

查看 »

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2025-5-26 10:12

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com

快速回复 返回顶部 返回列表