-
Notifications
You must be signed in to change notification settings - Fork 373
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
Setup.sh is broken on linux. And lots of things are broken on linux-aarch64 #5545
Comments
Changing https://github.com/rerun-io/rerun/blob/main/scripts/setup.sh#L38 to double quotes, and removing the quotes entirely from https://github.com/rerun-io/rerun/blob/main/scripts/setup.sh#L46 appear to fix the issue. |
Ok, more stuff. In Changing https://github.com/rerun-io/rerun/blob/main/scripts/setup_dev.sh#L19 from
to
resolves that issue. Note that I also had to install |
More notes. The
Except that that file tries to |
More things. So I have almost zero rust experience, and I'm trying to get this package working just based on Something in
Pixi is YET ANOTHER tool that had the wonderful kindness to chose a COMPLETLY ungooglable name. Urgh. I'm assuming the issue here is the lack of the appropriate target in Projects need to google the name they want to use, and if there are more then maybe like 500 results, NOT USE THE FREAKING NAME. |
OK, patching So far:
So far, I've just commented them out in the toml file. So far, things work without them, though I expect things to be broken later on. |
@fake-name as part of #5511, I'm fixing
Note that I also ran into nox being flagged as arch-dependent despite being pure python. I've moved it to |
Also note that our dev builds now have linux-aarch64 CLI builds and C++ SDK: https://github.com/rerun-io/rerun/releases/tag/prerelease Wheels and lower glibc version requirement for the above will be available once #5511 is merged (which I hope is soon). |
Sweet! Thanks. Sorry about my long rambling blathering. |
Note that that branch still has the I'm quite curious what platform it does work on. I'm stuck on this particular 20.04 release as it's the only distro supported by nvidia on the embedded device I'm working with. |
Yes, our |
Ideally, we aim to remove them altogether in favour of pixi: |
All I can say is please keep some sort of script around so people who just want to use the project can tell how to do things. Pixi is super unfortunately named and has been functionally google-bombed by the Target department store. It's completely unsearchable. Shell scripts are understood and if I see one, I know what to do. |
We had a lot of really bad experience with putting dev/install requirements in shell scripts - they don't run cross platform, it's hard to pin versions, it's hard to keep them tested etc.. With Pixi we found a very nice & approachable solution to solve this and the usage is documented in the repo, so I see no reason not to keep moving in that direction. Maybe it would help if we leave some links to their docs in some places? I'd also say that the current situation where we have broken .sh scripts is worse than having none. |
### What Almost everything has been taken over by `pixi` by now and these outdated / partially broken scripts keep confusing new-comers to the repo, so at this point they're clearly doing more bad than good. * Fixes #5545 * Fixes #4170 * There's still some stuff that should be moved to pixi but that's better covered by #3717 ### Checklist * [x] I have read and agree to [Contributor Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and the [Code of Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md) * [x] I've included a screenshot or gif (if applicable) * [x] I have tested the web demo (if applicable): * Using newly built examples: [app.rerun.io](https://app.rerun.io/pr/5552/index.html) * Using examples from latest `main` build: [app.rerun.io](https://app.rerun.io/pr/5552/index.html?manifest_url=https://app.rerun.io/version/main/examples_manifest.json) * Using full set of examples from `nightly` build: [app.rerun.io](https://app.rerun.io/pr/5552/index.html?manifest_url=https://app.rerun.io/version/nightly/examples_manifest.json) * [x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG * [x] If applicable, add a new check to the [release checklist](https://github.com/rerun-io/rerun/blob/main/tests/python/release_checklist)! - [PR Build Summary](https://build.rerun.io/pr/5552) - [Docs preview](https://rerun.io/preview/8da4ef3b503b5459274c73ea40bc0926b61dbae9/docs) <!--DOCS-PREVIEW--> - [Examples preview](https://rerun.io/preview/8da4ef3b503b5459274c73ea40bc0926b61dbae9/examples) <!--EXAMPLES-PREVIEW--> - [Recent benchmark results](https://build.rerun.io/graphs/crates.html) - [Wasm size tracking](https://build.rerun.io/graphs/sizes.html) --------- Co-authored-by: Emil Ernerfeldt <[email protected]>
My main issue with having build instructions only in the docs is you cannot execute them, so they're much, MUCH more likely to be wrong. For example, the current BUILD.md completely forgets to the need for the Shell scripting, as much as it sucks, is something you can generally assume people to have. If you want to use some new tooling, that's fine, but you should really ALSO have a shell script that will set them up the way the projects expects, so inexperienced people can install from source. |
Describe the bug
Some of the command escape sequencence in setup.sh are broken. Instead of trying to install
cmake
andlibarrow-dev
, it tries (and fails) to install a single package named'cmake libarrow-dev'
.To Reproduce
Steps to reproduce the behavior:
setup.sh
orsetup_dev.sh
Expected behavior
I'd expect the setup script to set things up.
Screenshots
N/A
Backtrace
Note that manually executing
sudo apt-get -y install 'cmake libarrow-dev'
fails. Instead, executingsudo apt-get -y install cmake libarrow-dev
works as expected.Desktop (please complete the following information):
Rerun version
Current in git, commit dab0322
Other notes
I'm only bothering with building from source because there are no Aarch64 wheels. All the documentation just says "install from pypi", except there's no source-only wheel, and the pre-baked wheels don't work on aarch64.
The text was updated successfully, but these errors were encountered: