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

liblldb.so present in lldb-devel and missing from shlibs #17649

Closed
asiekierka opened this issue Dec 20, 2019 · 3 comments
Closed

liblldb.so present in lldb-devel and missing from shlibs #17649

asiekierka opened this issue Dec 20, 2019 · 3 comments

Comments

@asiekierka
Copy link
Contributor

Affects lldb/lldb-devel 9.0.0_4.

It appears liblldb.so is missing from common/shlibs, while being necessary for packaging of intellij-idea-community-edition 2019.3+. Oddly, it is present in the "lldb-devel" package, while liblldb.so.9 and liblldb.so.9.0.0 are present in "lldb" - made more curious by the fact the Python library symlink in "lldb" points to and expects liblldb.so. I'm not the maintainer, but I think that specific symlink should be in the "lldb" package (as opposed to "lldb-devel") and mentioned in the common/shlibs list.

@pullmoll
Copy link
Member

pullmoll commented Dec 20, 2019

Not oddly, but intentionally *.so symbolic links are (almost always) in the *-devel packages.
When building a project which depends on e.g. liblldb.so the symbolic link is resolved and the actual linking is against the symbolic link's target. By looking at common/shlibs and finding e.g. liblldb.so.9 lldb-9.0.0_1 then xbps-src knows what library to depend on: lldb-9.0.0_1 or newer.

When building intellij-idea-community-edition-2019.3+ a makedepends which contains lldb-devel should work this way and the resulting binary should depend on /usr/lib/liblldb.so.9 not on /usr/lib/liblldb.so.

@asiekierka
Copy link
Contributor Author

asiekierka commented Dec 21, 2019

The problem is, the IDEA package (as well as PyCharm) is built based on JetBrains' binary release, not the source code repository. As most of it is Java code, there is little reason to build from source - except for those specific, small binaries used by specific parts of functionality.

It would be possible to adapt the IDEA package to build from source (Arch Linux does this), but it requires some patchwork.

@ericonr
Copy link
Member

ericonr commented Feb 5, 2021

The package has been updated multiple times already, so I believe thsi has been fully solved.

@ericonr ericonr closed this as completed Feb 5, 2021
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

No branches or pull requests

3 participants