It should honor EPREFIX during installation.
A log would be useful so that non prefix developers can attempt to debug the issue.
Created attachment 760151 [details] build log
Hmm, I cannot reproduce it in another host with the same gentoo-prefix setup.
(In reply to Amos Bird from comment #3) > Hmm, I cannot reproduce it in another host with the same gentoo-prefix setup. That's exactly why the log is useful (thanks for giving it). May be automagic based on e.g. bash-completion being installed.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f9e2cc58269ddd27b1ff422045f7eb1bc06b592 commit 7f9e2cc58269ddd27b1ff422045f7eb1bc06b592 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2021-12-24 12:03:25 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2021-12-24 12:07:38 +0000 dev-util/bear: fix automagic completion installation install with out eclass instead unconditionally Closes: https://bugs.gentoo.org/829806 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-util/bear/bear-2.4.4-r1.ebuild | 71 ++++++++++++++++++++++++++++++++++++++ dev-util/bear/bear-2.4.4.ebuild | 12 ++++++- 2 files changed, 82 insertions(+), 1 deletion(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dd01499da11cbde2878549b8e8a50226a07e070 commit 6dd01499da11cbde2878549b8e8a50226a07e070 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2021-12-24 12:07:25 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2021-12-24 12:07:39 +0000 dev-util/bear: drop 2.4.4 Bug: https://bugs.gentoo.org/829806 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-util/bear/bear-2.4.4.ebuild | 71 ----------------------------------------- 1 file changed, 71 deletions(-)
yeah if bashcomp is not installed it tried to fall-back https://github.com/rizsotto/Bear/blob/beee9849b2f44c4cf5bcc6c5b4ad3a2b4870cec2/shell-completion/bash/CMakeLists.txt should be fixed, thanks.