Skip to content
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

Please remove that entry from $PATH :The relative path 'Files/Common' #13287

Open
1 task done
tuzen2018 opened this issue Jan 17, 2025 · 1 comment
Open
1 task done

Comments

@tuzen2018
Copy link

详细叙述

sed -i "s/Installed-Time: ./Installed-Time: 1737028921/" /home/tuzen/lede/build_dir/target-x86_64_musl/root-x86/usr/lib/opkg/status
rm -rf /home/tuzen/lede/build_dir/target-x86_64_musl/root-x86/boot /home/tuzen/lede/build_dir/target-x86_64_musl/root-x86/tmp/
/home/tuzen/lede/build_dir/target-x86_64_musl/root-x86/usr/lib/opkg/info/.postinst /home/tuzen/lede/build_dir/target-x86_64_musl/root-x86/usr/lib/opkg/lists/* /home/tuzen/lede/build_dir/target-x86_64_musl/root-x86/var/lock/*.lock
find /home/tuzen/lede/build_dir/target-x86_64_musl/root-x86/ -mindepth 1 -execdir touch -hcd "@1737028921" "{}" +
find: The relative path 'Files/Common' 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:73: package/install] Error 1
make[2]: Leaving directory '/home/tuzen/lede'
make[1]: *** [package/Makefile:111: /home/tuzen/lede/staging_dir/target-x86_64_musl/stamp/.package_install] Error 2
make[1]: Leaving directory '/home/tuzen/lede'
make: *** [/home/tuzen/lede/include/toplevel.mk:231: world] Error 2

ubuntu22.4下编译,x86 ,.config是默认的,重装了几个系统,一直报这个错,没办法了,请教一下各位大神, 不清楚在哪个文件里删除PATH

重复 issue

  • 没有类似的 issue

具体型号

x86

详细日志

sed -i "s/Installed-Time: ./Installed-Time: 1737028921/" /home/tuzen/lede/build_dir/target-x86_64_musl/root-x86/usr/lib/opkg/status
rm -rf /home/tuzen/lede/build_dir/target-x86_64_musl/root-x86/boot /home/tuzen/lede/build_dir/target-x86_64_musl/root-x86/tmp/
/home/tuzen/lede/build_dir/target-x86_64_musl/root-x86/usr/lib/opkg/info/.postinst /home/tuzen/lede/build_dir/target-x86_64_musl/root-x86/usr/lib/opkg/lists/* /home/tuzen/lede/build_dir/target-x86_64_musl/root-x86/var/lock/*.lock
find /home/tuzen/lede/build_dir/target-x86_64_musl/root-x86/ -mindepth 1 -execdir touch -hcd "@1737028921" "{}" +
find: The relative path 'Files/Common' 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:73: package/install] Error 1
make[2]: Leaving directory '/home/tuzen/lede'
make[1]: *** [package/Makefile:111: /home/tuzen/lede/staging_dir/target-x86_64_musl/stamp/.package_install] Error 2
make[1]: Leaving directory '/home/tuzen/lede'
make: *** [/home/tuzen/lede/include/toplevel.mk:231: world] Error 2

@yhpgi
Copy link
Contributor

yhpgi commented Feb 9, 2025

It looks like you are trying to compile it in WSL.
If that is the case, please read the README in this repo. there is a guide to do the workaround. or, read from here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants