testing/mold: does not properly detect mold-wrapper.so
APKBUILD says:
make DESTDIR="$pkgdir" PREFIX=/usr install
This PREFIX
should install mold-wrapper.so
into /usr/lib/mold/
as well as change -DLIBDIR
(see Makefile
) in the source code to detect the mold-wrapper.so
in that directory (see elf/subprocess.cc
line 278).
However, something went wrong, and while the package installs mold-wrapper.so
into /usr/lib/mold/
correctly, the program itself does not detect mold-wrapper.so
in /usr/lib/mold/
but instead tries to look for it in /usr/local/lib/mold/
. Grepping the binary /usr/bin/mold
indeed shows this result:
$ grep mold-wrapper /usr/bin/mold
/usr/local/lib/mold/mold-wrapper.so
mold-wrapper.so is missing
Is this an issue in the package itself, or in the building process?