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

migrations: make libc check more resilient #3665

Merged
merged 1 commit into from
Feb 9, 2017

Conversation

ghost
Copy link

@ghost ghost commented Feb 8, 2017

@hsanjuan you should be able to build go-ipfs from this branch and copy it into the container, and it should work then.

Fixes #3661.

There are a couple of cases in which ldd won't operate on an executable,
for example when the executable is statically linked.

This patch makes the call to ldd to ldd more resilient against errors,
and looks for the system libc, instead of the libc go-ipfs was linked against.

License: MIT
Signed-off-by: Lars Gierth larsg@systemli.org

Fixes #3661.

There are a couple of cases in which ldd won't operate on an executable,
for example when the executable is statically linked.

This patch makes the call to ldd to ldd more resilient against errors,
and looks for the system libc, instead of the libc go-ipfs was linked against.

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
@ghost ghost added kind/bug A bug in existing code (including security flaws) topic/repo Topic repo labels Feb 8, 2017
@ghost ghost requested review from whyrusleeping and Kubuxu February 8, 2017 17:59
@ghost ghost added the status/in-progress In progress label Feb 8, 2017
@ghost ghost added this to the ipfs 0.4.5 milestone Feb 8, 2017
Copy link
Member

@whyrusleeping whyrusleeping left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@whyrusleeping whyrusleeping merged commit 0969505 into master Feb 9, 2017
@whyrusleeping whyrusleeping deleted the fix/repo-migration-musl branch February 9, 2017 01:34
@whyrusleeping whyrusleeping removed the status/in-progress In progress label Feb 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in existing code (including security flaws) topic/repo Topic repo
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants