-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[bug] Bugs in runtime_deployer
#16938
Comments
Another issue is that runtime_deploy does not keep any tree structure. I considered trying full_deploy instead and post-processing its output to merge all the packages together into one single tree, something like But there's also mystery with full_deploy, it doesn't seem to deploy the runtime libs:
This might be the same bug.
So, all regular files are |
I am not so sure about this. This is related to @uilianries PR in #17848 |
That's not my experience for the most part. Subdirs in lib/ are nearly always used for runtime plugin libraries, at least on non-Windows-oriented projects. This also means that they almost always have a way for locating the relevant plugin dirs, either via an env var or via some path relative to the executable. By flattening these directories you are likely to break any existing assumptions or configs about the layout. |
Hi, to better describe what I mean by the tree structure we most likely want to have to run the application, I should probably have referred to it as the basic FHS layout, with a single bin dir, a lib or lib64 alongside, and possibly other standardized dirs. |
Could you please clarify the "de-facto standard way of working". This is the reason why Conan made the I am not opposed to change the current |
By the way, I forgot to say thank you to the Conan team for their new Conan 2 design 👍. Maybe one still needs a half-thousand lines of scripts to get started with a working Conan+CMake integration up to the final app packaging but that's a BIG improvement compared to the older Conan 1 |
Describe the bug
Keeping the bug report info from #16527.
The
runtime_deployer
from #15382 is a very good addition to Conan, but the implementation currently has some defects:*.so
files (e.g.libz.so
) are copied, but not*.so.*
(e.g.libz.so.1
andlibz.so.1.3.1
).shutil.copy2(..., follow_symlinks=symlinks)
should beshutil.copy2(..., follow_symlinks=not symlinks)
.How to reproduce it
No response
The text was updated successfully, but these errors were encountered: