Skip to content
This repository was archived by the owner on Mar 23, 2025. It is now read-only.
This repository was archived by the owner on Mar 23, 2025. It is now read-only.

libcamera build error, gen-py-controls.py not found #37

Closed
@dschaub

Description

@dschaub

Hello! We're actually seeing the same build error as in #27, but opening a new issue since their request was different. We are trying to use libcamera, so we're wondering what could be causing this build error. Here's the failure again:

[186/209] Generating src/py/libcamera/py_gen_controls with a custom command
FAILED: src/py/libcamera/py_controls_generated.cpp
/build/source/src/py/libcamera/gen-py-controls.py --mode controls -o src/py/libcamera/py_controls_generated.cpp -t ../src/py/libcamera/py_controls_generated.cpp.in ../src/py/libcamera/../../libcamera/control_ids_draft.yaml ../src/py/libcamera/../../libcamera/control_ids_core.yaml ../src/py/libcamera/../../libcamera/control_ids_rpi.yaml
/bin/sh: /build/source/src/py/libcamera/gen-py-controls.py: not found

(Likely coming from this meson.build.)

We've tried making sure we're on the same version of nixpkgs, and we've tried on multiple machines. This error is while building against master (specifically b4ad649, but also on the new commits as of this morning). We've tried building v0.3.2 and got a different error, but we were interested in the Pi 5 updates and the fixes to libcamera that were merged a few weeks ago.

Happy to provide any more details that can help! Thanks!

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