错误:包安装的可执行文件没有正确的RPATH Buildroot

2024-09-30 02:30:20 发布

您现在位置:Python中文网/ 问答频道 /正文

我是buildroot的新手。我使用scanpypi脚本向Buildroot添加外部包。当我运行编译(make命令)时,很快就会返回以下错误:

>>> host-mkpasswd  Installing to host directory
/usr/bin/install -D -m 755 /home/ouriacc/Desktop/workspace/BUILDROOT/buildroot-2021.05-rc2_config/output/build/host-mkpasswd/mkpasswd /home/ouriacc/Desktop/workspace/BUILDROOT/buildroot-2021.05-rc2_config/output/host/bin/mkpasswd
***
*** ERROR: package host-mkpasswd installs executables without proper RPATH:
***   /home/ouriacc/Desktop/workspace/BUILDROOT/buildroot-2021.05-rc2_config/output/host/bin/openssl
***   /home/ouriacc/Desktop/workspace/BUILDROOT/buildroot-2021.05-rc2_config/output/host/bin/fdtoverlay
***   /home/ouriacc/Desktop/workspace/BUILDROOT/buildroot-2021.05-rc2_config/output/host/bin/genimage
***   /home/ouriacc/Desktop/workspace/BUILDROOT/buildroot-2021.05-rc2_config/output/host/bin/setfacl
***   /home/ouriacc/Desktop/workspace/BUILDROOT/buildroot-2021.05-rc2_config/output/host/bin/getfacl
***   /home/ouriacc/Desktop/workspace/BUILDROOT/buildroot-2021.05-rc2_config/output/host/bin/pkgconf
***   /home/ouriacc/Desktop/workspace/BUILDROOT/buildroot-2021.05-rc2_config/output/host/bin/attr
***   /home/ouriacc/Desktop/workspace/BUILDROOT/buildroot-2021.05-rc2_config/output/host/bin/fdtget
***   /home/ouriacc/Desktop/workspace/BUILDROOT/buildroot-2021.05-rc2_config/output/host/bin/chacl
***   /home/ouriacc/Desktop/workspace/BUILDROOT/buildroot-2021.05-rc2_config/output/host/bin/fdtput
make[1]: *** [package/pkg-generic.mk:262: /home/ouriacc/Desktop/workspace/BUILDROOT/buildroot-2021.05-rc2_config/output/build/host-mkpasswd/.stamp_host_installed] Error 1
make: *** [Makefile:84: _all] Error 2

我在论坛上寻找答案,但我只找到了this answer我不明白。。。有人能更明确地说明我应该如何删除它吗

谢谢大家!


Tags: buildconfighostpackagehomeoutputmakebin

热门问题