A missing '\' src_install part in the ebuild makes it stop from installing ie. binaries src_install() { emake \ prefix="${D}"/usr \ mandir="${D}"/usr/share/man infodir="${D}"/usr/share/info \ libdir="${D}"/usr/$(get_libdir) \ install should be src_install() { emake \ prefix="${D}"/usr \ mandir="${D}"/usr/share/man \ infodir="${D}"/usr/share/info \ libdir="${D}"/usr/$(get_libdir) \ install
Created attachment 920942 [details, diff] ebuild-patch
commit 4a9cbf9357026221359832c0bf7363470db27168 Author: Thomas Beierlein <tomjbe@gentoo.org> Date: Sun Dec 15 11:02:56 2024 +0100 net-misc/linuxptp: add 4.4 Closes: https://bugs.gentoo.org/941727 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org> A good reason to always use arrays where possible.
Thanks for pointing it out. Just wondering how I could miss that. @sam Not sure how an array could help here.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=979cb27590e8215e496b4c13a18697eb5c7daf59 commit 979cb27590e8215e496b4c13a18697eb5c7daf59 Author: Thomas Beierlein <tomjbe@gentoo.org> AuthorDate: 2025-03-17 09:19:16 +0000 Commit: Thomas Beierlein <tomjbe@gentoo.org> CommitDate: 2025-03-17 09:22:38 +0000 net-misc/linuxptp: Fix src_install() Closes: https://bugs.gentoo.org/951471 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org> net-misc/linuxptp/{linuxptp-4.4.ebuild => linuxptp-4.4-r1.ebuild} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
(In reply to Thomas Beierlein from comment #3) > Thanks for pointing it out. Just wondering how I could miss that. > > @sam Not sure how an array could help here. local myemakeargs=( A=1 )
Sorry, hit enter prematurely: local myemakeargs=( A=1 B=1 ... ) emake "${myemakeargs[@]}" The lack of a '\' doesn't matter because arrays don't need them.
(In reply to Sam James from comment #6) > local myemakeargs=( > A=1 > B=1 > ... > ) > emake "${myemakeargs[@]}" > > The lack of a '\' doesn't matter because arrays don't need them. I see. Have not seen it used often in other ebuilds. Thanks anyway.