-
Notifications
You must be signed in to change notification settings - Fork 148
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
LD_LIBRARY_PATH stripped when explicitly extending workspace #350
Comments
@mikepurvis Does this happen if both workspaces have |
Both workspaces are merged installspaces, and the second extends the first's installspace. I'm working on a MWE for you. |
The issue is that the
After sourcing that, I still have LD_PRELOAD set, but now:
So I can no longer find the specified library. I can probably hack around this by mangling the path post-sourcing, but this is something catkin_tools needs to handle better. |
So if you build with an implicit underlay do you see the same problem? |
I believe so, yeah (but I don't see the problem with 0.3.x, with either explicit or implicit extension). |
Alright. It would be great to have a complete out-of-the-box repro, when you have time to put it together. I suspect the resultspace loading is cleaning out variables that should be making it through. |
Here you are:
EDIT: Interesting— if I change the overlay to extend implicitly, it actually does succeed. So that may be an acceptable workaround for now. |
…environment if there are no env hooks in the resultspace (fixes #350)
* resultspace: Fixing environment cache checking which could blow away environment if there are no env hooks in the resultspace (fixes #350) * resultspace: Base loaded resultspace env off of current environment, unless otherwise specified * resultspace: Avoid caching issue when loading the same resultspace with different base environments
System Info
Build / Run Issue
I'm building two catkin workspace inside a dpkg-buildpackage environment, one which extends the other. The first one (which starts with
catkin
) succeeds, and then the second one bails out right at the beginning, with the first thing it tries to build, which iscatkin_tools_prebuild
for a linked develspace or the first actual package with isolated develspace.Error is:
The text was updated successfully, but these errors were encountered: