Created attachment 814033 [details] patch for mold-1.4.2.ebuild I cannot run mold as a wrapper because the wrapper's shared object does not exist in the path that mold searches. I have already confirmed that the exact same problem, #823653, already exists. However, due to changes in ebuild (as of 1.4.1), this problem has reappeared.
Created attachment 814036 [details, diff] patch of CMakeLists.txt for <=mold-1.4.2 The current latest ebuild is for 1.4.2, but CMakeLists.txt of 1.4.2 cannot set LIBDIR in the source code, so a patch for CMakeLists.txt is also needed. The changes in CMakeLists.txt are taken from the main branch, so there is a high possibility that this patch will not be needed in the next release.
Created attachment 814042 [details, diff] patch for mold-1.4.2.ebuild
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d342b58bf97fcc7f55cd6c0c4c9adea12a65d7ea commit d342b58bf97fcc7f55cd6c0c4c9adea12a65d7ea Author: Matthew Smith <matthew@gentoo.org> AuthorDate: 2022-09-30 08:19:20 +0000 Commit: Matthew Smith <matthew@gentoo.org> CommitDate: 2022-09-30 08:19:20 +0000 sys-devel/mold: add 1.5.1 - Fix mold wrapper - Now depends on zstd Closes: https://github.com/gentoo/gentoo/pull/27436 Closes: https://bugs.gentoo.org/872773 Thanks-to: YamaD <me@dyama.net> Signed-off-by: Matthew Smith <matthew@gentoo.org> sys-devel/mold/Manifest | 1 + sys-devel/mold/mold-1.5.1.ebuild | 96 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+)