Skip to content

Replacing Databroker #59

Description

@paul-hbst-fsti

I am trying to run the sdv-runtime with the most recent version of the databroker (v0.6.0). Built the binaries using the official kuksa-databroker repository and replaced the binaries in this repo.

OS: WSL Ubuntu 24.04
Docker version: 28.3.2

When trying to build the docker image of the sdv-runtime locally I receive the following error:

=> ERROR [python-builder 10/13] RUN cd vehicle_signal_specification/vss-t  0.4s
------
 > [python-builder 10/13] RUN cd vehicle_signal_specification/vss-tools/     && pip3 install --no-deps --target /home/dev/python-packages .     && python3 vspec2json.py -I ../spec -u ../spec/units.yaml         -o /build/overlays/diagnostics_extension.vspec         -o /build/overlays/passenger_extension.vspec         -o /build/overlays/occupant_extension.vspec         ../spec/VehicleSignalSpecification.vspec vss.json:
0.365 /bin/sh: 1: cd: can't cd to vehicle_signal_specification/vss-tools/
------

 2 warnings found (use docker --debug to expand):
 - UndefinedVar: Usage of undefined variable '$PYTHONPATH' (line 49)
 - UndefinedVar: Usage of undefined variable '$PYTHONPATH' (line 96)
Dockerfile:58
--------------------
  57 |     # Generate extended VSS JSON with overlay files
  58 | >>> RUN cd vehicle_signal_specification/vss-tools/ \
  59 | >>>     && pip3 install --no-deps --target /home/dev/python-packages . \
  60 | >>>     && python3 vspec2json.py -I ../spec -u ../spec/units.yaml \
  61 | >>>         -o /build/overlays/diagnostics_extension.vspec \
  62 | >>>         -o /build/overlays/passenger_extension.vspec \
  63 | >>>         -o /build/overlays/occupant_extension.vspec \
  64 | >>>         ../spec/VehicleSignalSpecification.vspec vss.json
  65 |
--------------------
ERROR: failed to build: failed to solve: process "/bin/sh -c cd vehicle_signal_specification/vss-tools/     && pip3 install --no-deps --target /home/dev/python-packages .     && python3 vspec2json.py -I ../spec -u ../spec/units.yaml         -o /build/overlays/diagnostics_extension.vspec         -o /build/overlays/passenger_extension.vspec         -o /build/overlays/occupant_extension.vspec         ../spec/VehicleSignalSpecification.vspec vss.json" did not complete successfully: exit code: 2

Is this caused because of the binary switch or am I missing anything else?

Kind regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions