Lalastro
Lalastro

Reputation: 211

ERROR : package installs executables without proper RPATH - Buildroot

I'm new to buildroot. I used the scanpypi script to add external packages to Buildroot. When I run the compilation (make command), I quickly have this error returned :

>>> 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

I search for an answer on the forums but all I found was this answer which I can't understand... Can someone be more explicit about what I should do to remove it ?

Thank you !

Upvotes: 0

Views: 1330

Answers (1)

Lalastro
Lalastro

Reputation: 211

So after some tries, I fixed the issue by running : make clean world.

Upvotes: 2

Related Questions