The generated Makefile contains INSTALL = $(SHELL) install -c $(INSTALL_OPTIONS) but /usr/bin/install from sys-apps/coreutils is a binary executable which cannot be executed by the shell. An ad hoc fix is src_compile() { sed -e's:@INSTALL@:/usr/bin/install:' -i Makefile.in || die emake CFLAGS_DEFAULT="${CFLAGS}" }
That's not, by chance, bug 925741? Please stop filing bugs right now, run emerge --sync and start adding build.log (as you would know).
Created attachment 886734 [details] build log
Created attachment 886735 [details] emerge --info
IMHO, the patch itk-4.2.3-install.patch is wrong. + INSTALL='$(SHELL) install -c' tries to run the shell on the binary executable /usr/bin/install.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbbabe2e958fc528dc342680e6cc4fd62961661a commit cbbabe2e958fc528dc342680e6cc4fd62961661a Author: Alfredo Tupone <tupone@gentoo.org> AuthorDate: 2024-03-06 21:09:01 +0000 Commit: Alfredo Tupone <tupone@gentoo.org> CommitDate: 2024-03-06 21:09:47 +0000 dev-tcltk/itk: fix install Closes: https://bugs.gentoo.org/926110 Signed-off-by: Alfredo Tupone <tupone@gentoo.org> dev-tcltk/itk/files/itk-4.2.3-install.patch | 2 +- dev-tcltk/itk/{itk-4.2.3.ebuild => itk-4.2.3-r1.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-)
I don't know why it works here from ebuild. but don't if done by make install But now It works in both cases