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

Error: old string incorrect `:�' when linking #3

Closed
asmeurer opened this issue Jul 18, 2016 · 14 comments
Closed

Error: old string incorrect `:�' when linking #3

asmeurer opened this issue Jul 18, 2016 · 14 comments

Comments

@asmeurer
Copy link
Member

Linking packages ...
Error: old string incorrect `:�'                                                                                                                        |   0%
Error: post-link failed for: conda-forge::openssl-1.0.2h-0

This was when running conda skeleton. I can't reproduce it outside of that.

@jakirkham
Copy link
Member

No clue. I don't think we even have post-link scripts for openssl or its dependencies. conda info?

@asmeurer
Copy link
Member Author

So I recently moved conda-forge above defaults. I think maybe what happened is it thought it was using the conda-forge openssl, but it was really using the one from defaults in my cache. The one in defaults does use a post-link script, to support older versions of conda that don't support binary prefix relocation.

I don't understand why this would result in this crash, though.

@jakirkham
Copy link
Member

We ran into this earlier today when doing a Heroku deployment. Not really sure why this is happening as there are no post-link steps in our openssl package or in the feedstock FWICT.

cc @pelson

@asmeurer
Copy link
Member Author

But the defaults openssl does have one. So somehow it is getting called instead.

@jakirkham
Copy link
Member

Asking @msarahan about it to see if he has any ideas.

@asmeurer
Copy link
Member Author

Based on strings ~/anaconda/pkgs/openssl-1.0.2h-1/bin/.openssl-libcrypto-fix, the error is indeed coming from the defaults post-link (and that exact error string isn't in conda).

@jakirkham
Copy link
Member

Ran into a case of this in a CI build. Hopefully this helps narrow it down more.

@msarahan
Copy link
Member

Sorry, I've got nothing on this. Like @asmeurer suggested, I suspect caching misbehavior, particularly if the build strings are identical. It may be beneficial to start adding "cf" to all of our build strings to prevent this from happening. I'm not sure if @mcg1969 might have better ideas.

CC'ing @kalefranz as Conda lead - this is more his area.

@jakirkham
Copy link
Member

It may be beneficial to start adding "cf" to all of our build strings to prevent this from happening. I'm not sure if @mcg1969 might have better ideas.

Probably would work, but it is going to be pretty kludgy adding that everywhere. I hope we can do much better than that.

@jakirkham
Copy link
Member

Created a simple reproducer. Building this Dockerfile will generate the error everytime. An example build showing this failure can be seen on Quay.

@jakirkham
Copy link
Member

Raising as issue ( conda/conda#3319 ).

@kalefranz
Copy link
Member

Yeah I think this is probably a pretty ugly conda bug.

On Aug 18, 2016, at 2:56 PM, jakirkham [email protected] wrote:

Raising as issue ( conda/conda#3319 ).


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@frol
Copy link
Member

frol commented Oct 27, 2016

Upgrading Conda from 4.2.9 to 4.2.11 solved the issue for me.

@jakirkham
Copy link
Member

This was an issue with defaults (i.e. not a conda-forge issue), which I believe has been resolved. Going to close this out.

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

5 participants