-
Notifications
You must be signed in to change notification settings - Fork 19.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
给这报错整懵了 #4815
Comments
这是win10子系统的吧,编译之前执行source /etc/environment |
是不是windows自带path的问题,看看这个 |
同样的问题,没有用wsl。ubuntu server 1804。 用vps远程编译也是一样的,哎 ` mkdir -p $(dirname $dest) ; cp -fpR $file $dest ; done ; echo ; link_contents() { local src=$1 ; local dest=$2 ; local dirs dir base ; if [ -n "$(find $src -mindepth 1 -maxdepth 1 -name '*.go' ! -type d)" ]; then echo "$src is already a Go library" ; return 1 ; fi ; dirs=$(find $src -mindepth 1 -maxdepth 1 -type d) ; for dir in /home/deb/lede/staging_dir/target-mipsel_24kc_musl/usr/share/gocode/src does not exist, skipping symlinks touch /home/deb/lede/build_dir/target-mipsel_24kc_musl/kcptun-20200409/.configured_68b329da9893e34099c7d8ad5cb9c940 Building targets Cleaning module download cache (golang/go#27455) Makefile:61: recipe for target '/home/deb/lede/build_dir/target-mipsel_24kc_musl/kcptun-20200409/.built' failed |
终端执行 |
OK了,谢谢大佬,这是啥原理? |
设置go模块下载的环境变量 其实解决也简单,执行以下2行即可 |
环境是WSL2+ubuntu20.04
大佬帮忙看看
报错如下:
sed -i "s/Installed-Time: ./Installed-Time: 1592130377/" /home/fff/Github/lede/build_dir/target-x86_64_musl/root-x86/usr/lib/opkg/status
rm -rf /home/fff/Github/lede/build_dir/target-x86_64_musl/root-x86/tmp/
rm -f /home/fff/Github/lede/build_dir/target-x86_64_musl/root-x86/usr/lib/opkg/lists/*
rm -f /home/fff/Github/lede/build_dir/target-x86_64_musl/root-x86/usr/lib/opkg/info/.postinst
rm -f /home/fff/Github/lede/build_dir/target-x86_64_musl/root-x86/var/lock/*.lock
rm -rf /home/fff/Github/lede/build_dir/target-x86_64_musl/root-x86/boot
find /home/fff/Github/lede/build_dir/target-x86_64_musl/root-x86/ -mindepth 1 -execdir touch -hcd "@1592130377" "{}" +
find: The relative path 'Files/NVIDIA' is included in the PATH environment variable, which is insecure in combination with the -execdir action of find. Please remove that entry from $PATH
make[2]: *** [package/Makefile:71: package/install] Error 1
make[2]: Leaving directory '/home/fff/Github/lede'
make[1]: *** [package/Makefile:108: /home/fff/Github/lede/staging_dir/target-x86_64_musl/stamp/.package_install] Error 2
make[1]: Leaving directory '/home/fff/Github/lede'
make: *** [/home/fff/Github/lede/include/toplevel.mk:227: world] Error 2
The text was updated successfully, but these errors were encountered: