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
backends: Add missing dependencies #37
Conversation
When building the backends with slibtool they will fail with undefined references to libmatemixer.la. This is because they use -no-undefined which slibtool explicitly supports while GNU libtool will silently ignore it. Gentoo Bug: https://bugs.gentoo.org/785232
Heh, this might even fix #25. |
Seems very plausible. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I cannot reproduce this issue (Fedora 35), but this builds just fine without any issues.
It should be possible to reproduce this with GNU libtool by changing the instances of Also slibtool is trivial to compile and test locally. https://dev.midipix.org/cross/slibtool
And for libmatemixer it can tested by making sure the slibtool wrapper scripts are in the
Where |
Includes a patch to fix undefined references exposed with slibtool. Bug: https://bugs.gentoo.org/785232 Upstream-PR: mate-desktop/libmatemixer#37 Signed-off-by: orbea <orbea@riseup.net>
Includes a patch to fix undefined references exposed with slibtool. Bug: https://bugs.gentoo.org/785232 Upstream-PR: mate-desktop/libmatemixer#37 Signed-off-by: orbea <orbea@riseup.net> Closes: #26014 Signed-off-by: Sam James <sam@gentoo.org>
ldd shows libmatemixer.so.0 afer this PR. LGTM, even if there aren't symbol resolution errors at runtime, i.e. Before$ ldd /usr/lib64/libmatemixer/libmatemixer-alsa.so After$ ldd /usr/lib64/libmatemixer/libmatemixer-alsa.so |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks for the merge!
That should be fine on linux at least, I'm not sure if mate is concerned about other platforms? |
Ok, thanks for the tip. Yes, it can lead to probability issues. |
Do we have anyone here who can test this on one of the BSD's? |
Restores prematurely removed patch to fix undefined references exposed by slibtool. Bug: https://bugs.gentoo.org/785232 Closes: https://bugs.gentoo.org/921214 Upstream-PR: mate-desktop/libmatemixer#37 Upstream-Commit: mate-desktop/libmatemixer@cb9e62b Signed-off-by: orbea <orbea@riseup.net>
Restores prematurely removed patch to fix undefined references exposed by slibtool. Bug: https://bugs.gentoo.org/785232 Closes: https://bugs.gentoo.org/921214 Upstream-PR: mate-desktop/libmatemixer#37 Upstream-Commit: mate-desktop/libmatemixer@cb9e62b Signed-off-by: orbea <orbea@riseup.net>
Restores prematurely removed patch to fix undefined references exposed by slibtool. Bug: https://bugs.gentoo.org/785232 Closes: https://bugs.gentoo.org/921214 Upstream-PR: mate-desktop/libmatemixer#37 Upstream-Commit: mate-desktop/libmatemixer@cb9e62b Signed-off-by: orbea <orbea@riseup.net> Closes: #35811 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
When building the backends with slibtool they will fail with undefined references to
libmatemixer.la
. This is because they use -no-undefined which slibtool explicitly supports while GNU libtool will silently ignore it.Gentoo Bug: https://bugs.gentoo.org/785232