Builders (unstable) can't find SDL2

Am on unstable channel:

$ nix-info -m
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.86, NixOS, 23.05 (Stoat), 23.05pre442253.befc83905c9`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.12.0`
 - channels(rolf): `""`
 - channels(root): `"home-manager, nixos"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

After a recent update, I’m hitting build failures (e.g., ffmpeg, conky), with package builds stumbling at the same point:

[ 67%] Building CXX object src/CMakeFiles/conky_core.dir/i8k.cc.o
/nix/store/iiq295j1z4q1sxmdbrl2j8ma3l5ns4wr-gcc-wrapper-11.3.0/bin/c++ -std=gnu++11 -I"/nix/store/q1g6ywsgzllhmm65cqvdsidbmiaawg3z-R-4.2.2/lib/R/include" -DNDEBUG -Imio/include -DWIN32_LEAN_AND_MEAN -Ispdlog/include -DFMT_HEADER_ONLY -I'/nix/store/smjbnqqhvi6a8igqmy30a7n22jww1fh3-r-cpp11-0.4.3/library/cpp11/include' -I'/nix/store/n8v7fa8ikky0rm4gzhz928aq3kydz3la-r-progress-1.2.2/library/progress/include' -I'/nix/store/ipnz9jymp9knga7dlza90364z2qr1prw-r-tzdb-0.3.0/library/tzdb/include'    -fpic  -g -O2  -c vroom_int.cc -o vroom_int.o
[ 68%] Building CXX object src/CMakeFiles/conky_core.dir/mixer.cc.o
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
ffmpeg-user@ffmpeg.org 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.

The error is similar to this one. Wondered if anyone was having similar problems. Thanks!

1 Like