-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
0.10.0 changes libdir unexpectedly #379
Comments
I think it's perhaps specific to using Adding more debugging to CI I see that
where-as using
So perhaps our |
that, and adjusting the I think this change was introduced in 1d3c7d3 - should it have broken our workflow like this? Perhaps the approach we're using was overly brittle to begin with? |
We got the request to do that and I bumped the version exactly because it will change the behaviour on debian-like distributions. The simple way to undo it is to pass |
That sounds like a nicer workaround, thank you!
That would be great 👍 I think it would have helped me figure out the issue a little bit faster. I've updated the issue title to reflect this isn't really a regression so much as a breaking change I didn't expect. I think we can close this out. Thanks for letting me rubber duck debug in your issue tracker :-) |
I'm sorry it got you by surprise, thank you for reporting it! |
Hi folks,
Over in rustls-ffi we have a GitHub workflow and Makefile that tests building a
.so
/.pc
for rustls and then building our demo applications with it +pkg-config
.I noticed that after the job switched to installing the just-released 0.10.0 that it started to fail with output indicating
pkg-config
isn't finding the.pc
file anymore. Switching the job to use 0.9.32 fixed the build, so I'm fairly confident that something about rustls-ffi and cargo-c 0.10.0 is at fault.Confusingly, when I reproduce the build locally on my NixOS system with cargo 1.81.0-nightly, pkg-config 0.29.2 and cargo-c 0.10.0 everything seems to "just work" (?). The
.pc
file produced in my local testing seems identical between versions (with the exception oflibdir
changing fromlibdir=${exec_prefix}/lib
(0.9.29) tolibdir=${prefix}/lib
(0.10.0) (but sinceprefix == exec_prefix
in the.pc
this change doesn't feel particularly meaningful).Do you have any thoughts or ideas for next debugging steps? Thanks!
The text was updated successfully, but these errors were encountered: