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

Travis: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.18' not found #60

Closed
gnunicorn opened this issue Feb 21, 2017 · 3 comments
Closed

Comments

@gnunicorn
Copy link

First of: Thanks for this great work. It makes it soo much faster to setup cross compiled and general auto-publishing with Rust! Thanks so much.

Coming to the problem. Some of our dependencies, somewhere deeper down depend on the backtrace and that doesn't compile in the travis setup :( . I've already tried installing other libc6 bindings but I can't find any way to fix this.

   Compiling backtrace v0.3.0

Build failed, waiting for other jobs to finish...

error: failed to run custom build command for `backtrace v0.3.0`

process didn't exit successfully: `/target/release/build/backtrace-e882241ff52c7727/build-script-build` (exit code: 1)

--- stderr

/target/release/build/backtrace-e882241ff52c7727/build-script-build: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.18' not found (required by /target/release/build/backtrace-e882241ff52c7727/build-script-build)

Full Travis log and the Travis config file used to come to this. I appreciate any input/hints/ideas!

@johannhof
Copy link
Contributor

Try removing dist: trusty from your .travis.yml. Maybe that causes other things to fail, but it's worth a try. :)

@gnunicorn
Copy link
Author

@johannhof been there - same issue.

@gnunicorn
Copy link
Author

I think I found "the problem". So cross uses docker images internally to build for the targets, right? Well, it looks like x86_64-unknown-linux-gnu only supports libc 2.15.

Which is reported there accordingly, so I'll close this here.

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

Successfully merging a pull request may close this issue.

2 participants