-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Error: environment variable OUT_DIR
not defined on ARMv7
#6836
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
Comments
I would suspect this version of Cargo is too old. |
Thanks @ehuss, Now open in the Debian issue tracker: Issue 926748, Cargo is too old. It may be fixed in two or three years. (Personally, I've found filing Debian bugs in a waste of time. Nothing seems to get fixed). Is there anything that can be done in the meantime? I tried to drop back to v0.17.0 of geckodriver. That versions seems to be roughly the equivalent package for cargo 0.15.0 (if I am parsing dates correctly). It produces errors like:
About all I can seem to do is move the cargo errors around. Does anyone know if cargo works on RPI's? |
Debian stretch is stable. It means there will be no new versions of packages. Filing "Cargo is too old" bug to Debian stable release is indeed waste of time, not because Debian doesn't fix bugs (it does), but because that's against Debian policy and hence it will never be fixed. The next Debian release, buster, is currently in full freeze and will release soon. It will have recent Cargo that works. |
Thanks @sanxiyn. It does not matter to me what Debian does as long as they fix the broken build. Let's wait and see if it gets fixed. I'm not a betting man, but I would happily take this wager from you.
Yeah, this is pretty much useless. I need a solution now for what is in the field. |
I closed your Debian issue, because you are not helping Debian and Debian issue tracker is not an appropriate venue to vent. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I'm going to close this issue as it looks like this is tied back to an older Cargo which is likely fixed in more recent versions of Cargo. I see that some recent comments have been hidden by default, but I'd like to remind all here to remain civil in our discourse and always respect the Rust Code of Conduct. Continued violations of that will result in more moderation actions being taken. |
To state the obvious, it is currently broken in the field. What happens in the future is of no use to users now. |
Cargo issue tracker may not be the right place, but I do think this needs to be tracked somewhere, since actual use case is broken. |
@noloader: I understand your frustration from debugging a problem only to discover it was due to using an old version of a tool. I think you have some misunderstandings about Debian releases, and hopefully I can help you take better advantage of Debian in your situation: You appear to be using Debian version "stable" (aka "stretch"). The whole point of "stable" is that it changes rarely (typically 1-3 years), and this is desirable for "stable" environments like servers, deployed embedded devices, etc. The software in "stretch" was frozen in mid-2017, which is why your version of cargo is old, and why you don't see bugs being fixed in the versions you are using. If you want newer tools, which you most definitely do if you are using this as your Rust development environment, I strongly recommend you upgrade to Debian's "testing" release (aka "buster"). This is a rolling release, meaning it is effectively released continuously (after some light testing in the "unstable" release). If you use "testing" you would have cargo 0.33 (at time of writing), which is substantially newer. There are plenty of instructions on the internet describing how to do this upgrade. The basic version is replace the string "stable" or "stretch" with "testing" in If ever you are curious about versions of tools in the different Debian releases, you can use the search engine on packages.debian.org. Here is the result for cargo. Note that in your case in particular you are interested in the versions reported for the "armhf" architecture. I hope you can understand why "too old" bugs against the stable release are going to be closed without action. The package in a previous release is not going to be updated (that's the point of declaring a release snapshot!), and it's a bit like pointing out that the version of some software you have on an old CD on the shelf was not the latest version that was released last week (no kidding! :) |
Uh oh!
There was an error while loading. Please reload this page.
I'm trying to build geckodriver from sources. The project depends upon rust and cargo. The platform is a Raspberry Pi 3B+ running Raspbian (fully patched). I'm building on the device, so it is a native build. I despise cross compiles because they are such a pain in the ass. I'm happy to build on-device and trade the extra 10 minutes of build time for peace of mind.
The RPI 3B+ is fully patched, and it is/has:
cargo build
on the RPI 3B+ results in:This may be relevant:
Unfortunately, I know nothing about rust or cargo. I'm told we have to use it for this task. Also see Geckodriver | Issue 1540.
Here are some related bug reports for the docs and test suite, but I'm not sure what needs to be done when building the tools: Issue 908, Issue 879, and Issue 847.
The text was updated successfully, but these errors were encountered: