The kpsereadlink.test script checks that the compiled kpsereadlink correctly finds that .libs/libkpathsea.lai is not a symlink and that .libs/libkpathsea.la is a symlink.
However this assumption is broken when using slibtool instead of GNU libtool which creates libpathsea.lai as a symlink.
A more robust test that works with both GNU libtool and slibtool would be to create a file and symlink to test against rather than to depend on GNU libtool internals.
The
kpsereadlink.test
script checks that the compiledkpsereadlink
correctly finds that.libs/libkpathsea.lai
is not a symlink and that.libs/libkpathsea.la
is a symlink.However this assumption is broken when using slibtool instead of GNU libtool which creates
libpathsea.lai
as a symlink.A more robust test that works with both GNU libtool and slibtool would be to create a file and symlink to test against rather than to depend on GNU libtool internals.
This was reported for Gentoo: https://bugs.gentoo.org/924405