Skip to content

Some extensions have missing images/architectures #95

Open

Activity

  1. rotu commented on Nov 21, 2024

    @rotu

    Is this still the case?

  2. patrickelectric commented on Nov 21, 2024

    @patrickelectric
    Member

    The following are missing arm64 images:

    • blueos proxy
    • cerulean docs
    • cerulean dvl
    • dm connect
    • navigator webassistant
    • network scanner
    • node-red
    • nortek nucleos
    • oak-d video streams
    • openvscode
    • powerswitch calibration
    • starlink position
    • surftrak fixit
    • tether diagnostics
    • usbip
    • virtualhere
    • water linked dvl
    • water linked ugps
    • wl ugps external
    • yacht
  3. tejashah88 commented on Feb 12, 2025

    @tejashah88

    A small observation about the missing arm64 images: The original Oak-D Video Streams extension has a semi-consistent problem where building for the arm64 architecture yields a segmentation fault when trying to use ninja-build for installing the python dependencies. You can test this with the following:

    docker buildx build --platform linux/arm64/v8 . -t tejashah88/blueos-oakd-ext:latest --output type=image,push=false

    I was able to fix this by injecting the QEMU binaries as part of a multi-stage Docker build as shown here.

    # Use multiarch/qemu-user-static only for non-native architectures. Ending tag is excluded due to specifying platform
    # See https://docs.docker.com/reference/dockerfile/#automatic-platform-args-in-the-global-scope for more info
    FROM --platform=$BUILDPLATFORM multiarch/qemu-user-static AS qemu
    
    # Start with base image
    FROM luxonis/depthai-library:latest
    
    # Copy QEMU binary only when cross-compiling with ARM and ARM64
    COPY --from=qemu /usr/bin/qemu-*-static /usr/bin/
    
    # More build statements...

    I cannot say if that will fix the other extensions but it might be useful for any extension that interfaces with external I/O and is intended to work on both the Pi 3 and Pi 4 (or other devices).

  4. Williangalvani commented on Feb 12, 2025

    @Williangalvani
    MemberAuthor

    I'm getting issues getting CI to build these as well.
    my issue seems to be related to this
    docker/setup-qemu-action#198

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions