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
tests: Remove .libs from linker paths. #24
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Will look at this on the weekend. Thanks for your PR. |
I took a look at libspiro and found some issues, here is the PR fontforge/libspiro#31. |
I hadn't expected removing .libs to be the correct format. |
orbea
added a commit
to orbea/libuninameslist
that referenced
this pull request
May 14, 2022
When building libuninameslist with --enable-frenchlib and slibtool the build will fail when it can't find -luninameslist-fr. However if libuninameslist is already installed to the system it will compile successfully using the already installed version of uninameslist-fr.so instead of the locally built new library. This can be fixed by linking with the libtool archive (.la) instead as should be done for internal dependencies while -l linker flags should be only for external dependencies. Additionally I removed the now redundant DEPENDENCIES and LIBADD line. GNU libtool is less strict about user errors and will silently hide such issues. I missed this second issue until now when I fixed the previous issue in PR fontforge#24. Gentoo Bug: https://bugs.gentoo.org/779670
orbea
added a commit
to orbea/libuninameslist
that referenced
this pull request
May 14, 2022
When building libuninameslist with --enable-frenchlib and slibtool the build will fail when it can't find -luninameslist-fr. However if libuninameslist is already installed to the system it will compile successfully using the already installed version of uninameslist-fr.so instead of the locally built new library. This can be fixed by linking with the libtool archive (.la) instead as should be done for internal dependencies while -l linker flags should be only for external dependencies. Additionally I removed the now redundant DEPENDENCIES and LIBADD line. GNU libtool is less strict about user errors and will silently hide such issues. I missed this second issue until now when I fixed the previous issue in PR fontforge#24. Gentoo Bug: https://bugs.gentoo.org/779670
orbea
added a commit
to orbea/libuninameslist
that referenced
this pull request
May 14, 2022
When building libuninameslist with --enable-frenchlib and slibtool the build will fail when it can't find -luninameslist-fr. However if libuninameslist is already installed to the system it will compile successfully using the already installed version of uninameslist-fr.so instead of the locally built new library. This can be fixed by linking with the libtool archive (.la) instead as should be done for internal dependencies while -l linker flags should be only for external dependencies. Additionally I removed the now redundant DEPENDENCIES and LIBADD line. GNU libtool is less strict about user errors and will silently hide such issues. I missed this second issue until now when I fixed the previous issue in PR fontforge#24. Gentoo Bug: https://bugs.gentoo.org/779670
orbea
added a commit
to orbea/libuninameslist
that referenced
this pull request
May 14, 2022
When building libuninameslist with --enable-frenchlib and slibtool the build will fail when it can't find -luninameslist-fr. However if libuninameslist is already installed to the system it will compile successfully using the already installed version of uninameslist-fr.so instead of the locally built new library. This can be fixed by linking with the libtool archive (.la) instead as should be done for internal dependencies while -l linker flags should be only for external dependencies. Additionally I removed the now redundant DEPENDENCIES and LIBADD line. GNU libtool is less strict about user errors and will silently hide such issues. I missed this second issue until now when I fixed the previous issue in PR fontforge#24. Gentoo Bugs: https://bugs.gentoo.org/779670 https://bugs.gentoo.org/792474
orbea
added a commit
to orbea/gentoo
that referenced
this pull request
May 16, 2022
The patch fixes undefined references with slibtool when libuninameslist is not already installed where it links with the installed package rather than the newly compiled library. The other bug was already fixed in upstream before the latest release. Bug: https://bugs.gentoo.org/792474 Upstream-PR: fontforge/libuninameslist#27 Upstream-Commit: 77f4eea51b87c2e7a36cd3e1e64b424cdd5f7ad8 Bug: https://bugs.gentoo.org/779670 Upstream-PR: fontforge/libuninameslist#24 Upstream-Commit: 9192c8dfee8c9e437e841962fec78cba1093d0d6 Signed-off-by: orbea <orbea@riseup.net>
orbea
added a commit
to orbea/gentoo
that referenced
this pull request
May 16, 2022
The patch fixes undefined references with slibtool when libuninameslist is not already installed where it links with the installed package rather than the newly compiled library. The other bug was already fixed in upstream before the latest release. Bug: https://bugs.gentoo.org/792474 Upstream-PR: fontforge/libuninameslist#27 Upstream-Commit: fontforge/libuninameslist@77f4eea Bug: https://bugs.gentoo.org/779670 Upstream-PR: fontforge/libuninameslist#24 Upstream-Commit: fontforge/libuninameslist@9192c8d Signed-off-by: orbea <orbea@riseup.net>
orbea
added a commit
to orbea/gentoo
that referenced
this pull request
May 16, 2022
The patch fixes undefined references with slibtool when libuninameslist is not already installed where it links with the installed package rather than the newly compiled library. The other bug was already fixed in upstream before the latest release. Bug: https://bugs.gentoo.org/792474 Upstream-PR: fontforge/libuninameslist#27 Upstream-Commit: fontforge/libuninameslist@77f4eea Bug: https://bugs.gentoo.org/779670 Upstream-PR: fontforge/libuninameslist#24 Upstream-Commit: fontforge/libuninameslist@9192c8d Signed-off-by: orbea <orbea@riseup.net>
gentoo-bot
pushed a commit
to gentoo/gentoo
that referenced
this pull request
May 16, 2022
The patch fixes undefined references with slibtool when libuninameslist is not already installed where it links with the installed package rather than the newly compiled library. The other bug was already fixed in upstream before the latest release. Bug: https://bugs.gentoo.org/792474 Upstream-PR: fontforge/libuninameslist#27 Upstream-Commit: fontforge/libuninameslist@77f4eea Bug: https://bugs.gentoo.org/779670 Upstream-PR: fontforge/libuninameslist#24 Upstream-Commit: fontforge/libuninameslist@9192c8d Signed-off-by: orbea <orbea@riseup.net> Signed-off-by: Sam James <sam@gentoo.org>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When building libuninameslist with slibtool (https://dev.midipix.org/cross/slibtool) it fails.
This is because
tests/Makefile.am
adds.libs
to the LDADD lines which is not correct. Ideally the build system should not use the.libs
directories directly as they are for internal$(LIBTOOL)
usage. GNU libtool does not fail because it is a lot more permissive.Please see this downstream issue: https://bugs.gentoo.org/779670