blender/build_files/build_environment
Nathan Burnham 2c13085cc4 install_linux_packages: Fix for Fedora ≥ 41 (DNF5)
DNF5 (default from Fedora 41, released 2024-10-29) removed the redundant `--all` argument for `dnf info` (see [Changes between DNF and DNF5][0])—trying to use it returns `Unknown argument "--all" for command "info".`. Because this response contains no version information, no query for any package name variation will ever meet version requirements and the script fails at the first mandatory package.

The developer docs provide an alternative set of commands for installing the basic build dependencies, so this mainly affects building with system packages, but it does affect all currently supported and upcoming versions of Blender (4.2 LTS, 4.5 LTS, 5.0 and main) on Fedora ≥ 41.

[0]: https://dnf5.readthedocs.io/en/latest/changes_from_dnf4.7.html#changes-to-individual-commands

Pull Request: https://projects.blender.org/blender/blender/pulls/148424
2025-10-20 15:50:24 +02:00
..
cmake Merge branch 'blender-v5.0-release' 2025-10-15 16:19:19 +02:00
linux Deps: Library changes for Blender 5.0 2025-10-02 18:34:11 +02:00
patches Fix: OSL shadeops module fails to load in OptiX 2025-10-15 16:18:46 +02:00
utils Cleanup: resolve pylint warnings 2025-05-23 14:03:20 +10:00
windows Deps: Library changes for Blender 5.0 2025-10-02 18:34:11 +02:00
CMakeLists.txt Deps: Library changes for Blender 5.0 2025-10-02 18:34:11 +02:00
dependencies.dot Deps: Library changes for Blender 5.0 2025-10-02 18:34:11 +02:00
install_linux_packages.py install_linux_packages: Fix for Fedora ≥ 41 (DNF5) 2025-10-20 15:50:24 +02:00