Skip to content

Instructions for building from source don't work on NVIDIA Jetson #858

Description

@benmccann

Description

  • Version: main
  • Platform: NVIDIA L4T 36

Steps To Reproduce

https://github.com/foxglove/foxglove-sdk/blob/main/ros/src/foxglove_bridge/README.md#build-from-source

 => ERROR [ 3/10] RUN rustup toolchain install nightly --component rust-src                                                                  0.1s
------
 > [ 3/10] RUN rustup toolchain install nightly --component rust-src:
------
Dockerfile:7
--------------------
   5 |     WORKDIR /app
   6 |     
   7 | >>> RUN rustup toolchain install nightly --component rust-src
   8 |     RUN rustup toolchain install ${MSRV_RUST_VERSION}
   9 |     RUN rustup component add rustfmt clippy
--------------------
ERROR: failed to build: failed to solve: process "/bin/sh -c rustup toolchain install nightly --component rust-src" did not complete successfully: failed to create endpoint 69opafv6rnxioehdfiytcsvup on network bridge: Unable to enable DIRECT ACCESS FILTERING - DROP rule:  (iptables failed: iptables --wait -t raw -A PREROUTING -d 172.17.0.2 ! -i docker0 -j DROP: iptables v1.8.7 (legacy): can't initialize iptables table `raw': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
 (exit status 3))
make: *** [Makefile:10: image] Error 1

Expected Behavior

The preferred solution would be to provide an arm64 Docker image. I'd prefer not to have to compile from source in the first place. Unfortunately I can't just install from the repository because I'm using Jazzy, which isn't yet available on NVIDIA's L4T

Otherwise, I should be able to compile from source using the instructions provided in the README

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions