-
Notifications
You must be signed in to change notification settings - Fork 79
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
Ubuntu 18.04 cannot build (multiple imports and types errors) #73
Comments
Thanks for the bug report. How can this be reproduced, what exactly are you building and how? |
Using these dependencies always breaks the build for me, with the systems and versions specified above:
And also (this one can run only on nightly):
|
Your problem is that you depend on postgres 0.4 (which is ancient), which depends on openssl 0.2, which depends on openssl-sys 0.2, which in turn depends on the ancient pkg-config 0.1.7. If you switch to postgres 0.15 it's all fine. And also nothing will actually depend on pkg-config anymore. I can't reproduce it with the second of dependencies, nothing there depends on pkg-config. |
Thanks. Much appreciated. |
Hi,
I am trying to build different libraries (mostly Rust-based Web servers) depending from this library in Ubuntu and I get consistently this error multiple times, with different libraries and different Rust versions (stable
1.29
and nightly1.30.0
) when runningcargo build
with a toml that specifies deps that requirespkg-config
:I did a brief investigation on the dependency tree and found out that:
the newest version depends from the old one (
0.1.7
), that breaks the build.This is the Dockerfile I am using to build the containers:
NOTE: i get the same error on my local machine outside the container.
The text was updated successfully, but these errors were encountered: