Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kpathsea: don't depend on GNU libtool internals #65

Closed
wants to merge 1 commit into from

Conversation

orbea
Copy link

@orbea orbea commented Feb 22, 2024

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.

This was reported for Gentoo: https://bugs.gentoo.org/924405

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.

This was reported for Gentoo: https://bugs.gentoo.org/924405
@orbea orbea force-pushed the kpathsea-kpsereadlink-slibtool branch from e03d247 to 076911c Compare February 22, 2024 16:04
@kberry
Copy link
Collaborator

kberry commented Feb 22, 2024

thanks much. i applied it (with trivial changes).

@kberry kberry closed this Feb 22, 2024
@orbea orbea deleted the kpathsea-kpsereadlink-slibtool branch February 23, 2024 02:27
@orbea
Copy link
Author

orbea commented Feb 23, 2024

Thank you very much for the quick review!

orbea added a commit to orbea/gentoo that referenced this pull request Feb 23, 2024
gentoo-bot pushed a commit to gentoo/gentoo that referenced this pull request Mar 16, 2024
Closes: https://bugs.gentoo.org/924405
Upstream-PR: TeX-Live/texlive-source#65
Upstream-Commit: TeX-Live/texlive-source@9c4aec9
Signed-off-by: orbea <orbea@riseup.net>
Closes: #35494
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants