Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 872773 - sys-devel/mold-1.4.2: can't find mold-wrapper.so
Summary: sys-devel/mold-1.4.2: can't find mold-wrapper.so
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sam James
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2022-09-25 04:21 UTC by YamaD
Modified: 2022-09-30 08:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for mold-1.4.2.ebuild (file_872773.txt,369 bytes, text/plain)
2022-09-25 04:21 UTC, YamaD
Details
patch of CMakeLists.txt for <=mold-1.4.2 (file_872773.txt,454 bytes, patch)
2022-09-25 04:25 UTC, YamaD
Details | Diff
patch for mold-1.4.2.ebuild (file_872773.txt,365 bytes, patch)
2022-09-25 05:33 UTC, YamaD
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description YamaD 2022-09-25 04:21:48 UTC
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.
Comment 1 YamaD 2022-09-25 04:25:39 UTC
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.
Comment 2 YamaD 2022-09-25 05:33:12 UTC
Created attachment 814042 [details, diff]
patch for mold-1.4.2.ebuild
Comment 3 Larry the Git Cow gentoo-dev 2022-09-30 08:20:50 UTC
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(+)