Skip to content

handbrake: cant build its ffmpeg #211297

@ghost

Description

Describe the bug

As title says, the ffmpeg that handbrake uses can't be built, complaining about missing sdl2.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Try to install handbrake
  2. Get the error

Expected behavior

Handbrake is installable

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

error: builder for '/nix/store/l0gbll3kck6jr8f61affw0ja88znv4jk-ffmpeg-full-4.4.1.drv' failed with exit code 1;
       last 10 log lines:
       > patching file libavcodec/hevc_mp4toannexb_bsf.c
       > configuring
       > configure flags: --disable-static --prefix=/nix/store/kq9iks048pqjwvbzajvcgnsj057wva0z-ffmpeg-full-4.4.1 --target_os=linux --arch=x86_64 --enable-gpl --enable-version3 --disable-nonfree --enable-shared --enable-pic --disable-small --enable-runtime-cpudetect --disable-lto --enable-gray --enable-swscale-alpha --enable-hardcoded-tables --enable-safe-bitstream-reader --enable-pthreads --disable-w32threads --disable-os2threads --enable-network --enable-pixelutils --enable-ffmpeg --enable-ffplay --enable-ffprobe --enable-avcodec --enable-avdevice --enable-avfilter --enable-avformat --enable-avutil --enable-postproc --enable-swresample --enable-swscale --enable-doc --disable-htmlpages --enable-manpages --disable-podpages --disable-txtpages --enable-bzlib --enable-libcelt --enable-cuda --enable-cuda-llvm --enable-libdav1d --disable-libfdk-aac --disable-libflite --enable-fontconfig --enable-libfreetype --enable-frei0r --enable-libfribidi --enable-libgme --enable-gnutls --enable-libgsm --enable-ladspa --enable-libmp3lame --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdc1394 --enable-libdrm --enable-iconv --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmysofa --enable-libopenmpt --enable-libopus --enable-librsvg --enable-libsrt --enable-libssh --enable-libtheora --enable-libv4l2 --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvmaf --enable-libvpx --enable-libwebp --enable-xlib --enable-libxcb --enable-libxcb-shm --enable-libxcb-xfixes --enable-libxcb-shape --enable-libxml2 --enable-lzma --enable-cuvid --enable-nvdec --enable-nvenc --enable-openal --enable-opencl --enable-libopencore-amrnb --disable-opengl --enable-libopenh264 --enable-libopenjpeg --disable-openssl --enable-libpulse --enable-librav1e --enable-libsvtav1 --disable-librtmp --enable-sdl2 --enable-libsoxr --enable-libspeex --enable-libvidstab --enable-libvo-amrwbenc --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzmq --enable-libzimg --enable-zlib --enable-vulkan --enable-libglslang --enable-libsmbclient --disable-debug --enable-optimizations --disable-extra-warnings --disable-stripping
       > ERROR: sdl2 requested but not found
       >
       > If you think configure made a mistake, make sure you are using the latest
       > version from Git.  If the latest version fails, report the problem to the
       > [email protected] mailing list or IRC #ffmpeg on irc.libera.chat.
       > Include the log file "ffbuild/config.log" produced by configure as this will help
       > solve the problem.
       For full logs, run 'nix log /nix/store/l0gbll3kck6jr8f61affw0ja88znv4jk-ffmpeg-full-4.4.1.drv'.
error: 1 dependencies of derivation '/nix/store/yl2qnvs5i7i7l0xsms62mcim24r7pckr-handbrake-1.5.1.drv' failed to build
building '/nix/store/78k0bh5malzd32dm77nkcm56xs3m3q37-discord-0.0.22.drv'...
error: 1 dependencies of derivation '/nix/store/5b7pszn77b5n66chnl2zp6a2ikzz5q8z-handbrake-1.5.1-fish-completions.drv' failed to build

Notify maintainers

@acowley @wmertens @Anton-Latukha

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.3-zen1, NixOS, 23.05 (Stoat), 23.05pre443927.6dccdc45851`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.12.0`
 - channels(root): `"nixos"`
 - channels(m911t): `"home-manager"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions