Skip to content

build_container: add vhost-device-media dependencies#146

Merged
RuoqingHe merged 1 commit into
rust-vmm:mainfrom
aesteve-rh:add-media-deps
Apr 22, 2026
Merged

build_container: add vhost-device-media dependencies#146
RuoqingHe merged 1 commit into
rust-vmm:mainfrom
aesteve-rh:add-media-deps

Conversation

@aesteve-rh
Copy link
Copy Markdown
Contributor

@aesteve-rh aesteve-rh commented Apr 15, 2026

Add linux-libc-dev and FFmpeg development libraries required by the vhost-device-media crate:

  • linux-libc-dev: provides sys/time.h needed by v4l2r's bindgen when processing videodev2.h. While libc6-dev is already installed, clang (used by bindgen) may not find the headers without this package.

  • libavcodec-dev, libavutil-dev: needed by the virtio-media ffmpeg-decoder backend.

Summary of the PR

Please summarize here why the changes in this PR are needed.

Requirements

Before submitting your PR, please make sure you addressed the following
requirements:

  • All commits in this PR have Signed-Off-By trailers (with
    git commit -s), and the commit message has max 60 characters for the
    summary and max 75 characters for each description line.
  • All added/changed functionality has a corresponding unit/integration
    test.
  • All added/changed public-facing functionality has entries in the "Upcoming
    Release" section of CHANGELOG.md (if no such section exists, please create one).
  • Any newly added unsafe code is properly documented.

Add linux-libc-dev and FFmpeg development libraries required by the
vhost-device-media crate:

- linux-libc-dev: provides sys/time.h needed by v4l2r's bindgen when
  processing videodev2.h. While libc6-dev is already installed, clang
  (used by bindgen) may not find the headers without this package.

- libavcodec-dev, libavutil-dev: needed by the virtio-media
  ffmpeg-decoder backend.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Albert Esteve <aesteve@redhat.com>
@aesteve-rh
Copy link
Copy Markdown
Contributor Author

Related: rust-vmm/vhost-device#944

@RuoqingHe RuoqingHe merged commit ace8da2 into rust-vmm:main Apr 22, 2026
3 checks passed
@aesteve-rh aesteve-rh deleted the add-media-deps branch April 22, 2026 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants