#28947·xbmc

No rule to make target 'libavcodec/x86/snowdsp.c', needed by 'libavcodec/x86/snowdsp.o'.

Author: NelsonSRCreated Aug 12, 2026Updated Sep 16, 2026
LabelsComponent: DependsTriage: Confirmed

Bug report

Describe the bug

Here is a clear and concise description of what the problem is:

[  1%] Built target build-JsonSchemaBuilder
[  1%] Performing build step for 'buildtexturepacker'
[100%] Built target TexturePacker
[  1%] No install step for 'buildtexturepacker'
[  1%] Completed 'buildtexturepacker'
[  1%] Built target buildtexturepacker
[  1%] Built target build-crossguid
[  1%] Performing build step for 'build-ffmpeg'
[ 12%] Performing build step for 'ffmpeg'
make[6]: *** No rule to make target 'libavcodec/x86/snowdsp.c', needed by 'libavcodec/x86/snowdsp.o'.  Stop.
make[5]: *** [CMakeFiles/ffmpeg.dir/build.make:86: ffmpeg-prefix/src/ffmpeg-stamp/ffmpeg-build] Error 2
make[4]: *** [CMakeFiles/Makefile2:87: CMakeFiles/ffmpeg.dir/all] Error 2
make[3]: *** [Makefile:136: all] Error 2
make[2]: *** [CMakeFiles/build-ffmpeg.dir/build.make:86: build/build-ffmpeg/src/build-ffmpeg-stamp/build-ffmpeg-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:7022: CMakeFiles/build-ffmpeg.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

Expected Behavior

Here is a clear and concise description of what was expected to happen:

a compiled Kodi binary

Actual Behavior

make install stops at 12% of building, reporting an error related with ffmpeg.

Possible Fix

To Reproduce

Steps to reproduce the behavior:

bash
#!/bin/bash
# file: kodi-building.sh 
#
# download, configure, build and install Kodi Media Player from its source code
# https://github.com/xbmc/xbmc/blob/master/docs/README.Linux.md

kodi_src="$HOME/kodi"
kodi_build="$HOME/kodi-build"
kodi_install_dir="/usr/local"

echo
echo "+----------------------------------------------------------------------------------------+"
echo "| cd $HOME                                                                               |"
echo "+----------------------------------------------------------------------------------------+"
echo
cd $HOME
echo $PWD

if [ -e "$kodi_src" ]
then
    # change to Kodi's source code directory
    echo
    echo "+----------------------------------------------------------------------------------------+"
    echo "| cd $kodi_src                                                                           |"
    echo "+----------------------------------------------------------------------------------------+"
    echo
    cd "$kodi_src"
    echo $PWD
   
    # update local copy of Kodi's current master branch
    echo
    echo "+----------------------------------------------------------------------------------------+"
    echo "| git pull                                                                               |"
    echo "+----------------------------------------------------------------------------------------+"
    echo
    git pull
else
    # clone Kodi's current master branch
    echo
    echo "+----------------------------------------------------------------------------------------+"
    echo "| git clone https://github.com/xbmc/xbmc kodi                                            |"
    echo "+----------------------------------------------------------------------------------------+"
    echo
    git clone https://github.com/xbmc/xbmc kodi

    # change to Kodi's source code directory
    echo
    echo "+----------------------------------------------------------------------------------------+"
    echo "| cd $kodi_src                                                                           |"
    echo "+----------------------------------------------------------------------------------------+"
    echo
    cd "$kodi_src"
    echo $PWD
fi

# build and install crossguid
echo
echo "+----------------------------------------------------------------------------------------+"
echo "| sudo make -C tools/depends/target/crossguid PREFIX=$kodi_install_dir                   |"
echo "+----------------------------------------------------------------------------------------+"
echo
sudo make -C tools/depends/target/crossguid PREFIX="$kodi_install_dir"

# build and install flatbuffers
echo
echo "+----------------------------------------------------------------------------------------+"
echo "| sudo make -C tools/depends/target/flatbuffers PREFIX=$kodi_install_dir                 |"
echo "+----------------------------------------------------------------------------------------+"
echo
sudo make -C tools/depends/target/flatbuffers PREFIX="$kodi_install_dir"

# build and install libfmt
echo
echo "+----------------------------------------------------------------------------------------+"
echo "| sudo make -C tools/depends/target/fmt PREFIX=$kodi_install_dir                         |"
echo "+----------------------------------------------------------------------------------------+"
echo
sudo make -C tools/depends/target/fmt PREFIX="$kodi_install_dir"

# build and install libspdlog
echo
echo "+----------------------------------------------------------------------------------------+"
echo "| sudo make -C tools/depends/target/spdlog PREFIX=$kodi_install_dir                      |"
echo "+----------------------------------------------------------------------------------------+"
echo
sudo make -C tools/depends/target/spdlog PREFIX="$kodi_install_dir"

# build and install wayland-protocols
echo
echo "+----------------------------------------------------------------------------------------+"
echo "| sudo make -C tools/depends/target/wayland-protocols PREFIX=$kodi_install_dir           |"
echo "+----------------------------------------------------------------------------------------+"
echo
sudo make -C tools/depends/target/wayland-protocols PREFIX="$kodi_install_dir"

# build and install waylandpp
echo
echo "+----------------------------------------------------------------------------------------+"
echo "| sudo make -C tools/depends/target/waylandpp PREFIX=$kodi_install_dir                   |"
echo "+----------------------------------------------------------------------------------------+"
echo
sudo make -C tools/depends/target/waylandpp PREFIX="$kodi_install_dir"

if [ ! -e "$kodi_build" ]
then
    # create an out-of-source build directory
    echo
    echo "+----------------------------------------------------------------------------------------+"
    echo "| mkdir $kodi_build                                                                      |"
    echo "+----------------------------------------------------------------------------------------+"
    echo
    mkdir "$kodi_build"
fi

# change to the building directory
echo
echo "+----------------------------------------------------------------------------------------+"
echo "| cd $kodi_build                                                                         |"
echo "+----------------------------------------------------------------------------------------+"
echo
cd "$kodi_build"
echo $PWD

# configure build with any combination of the three (default is "x11 wayland gbm")
echo
echo "+----------------------------------------------------------------------------------------+"
echo "| cmake \                                                                                |"
echo "|     ../kodi \                                                                          |"
echo "|     -DCMAKE_INSTALL_PREFIX=$kodi_install_dir \                                         |"
echo "|     -DCORE_PLATFORM_NAME='x11 wayland gbm' \                                           |"
echo "|     -DAPP_RENDER_SYSTEM=gl \                                                           |"
echo "|     -DENABLE_INTERNAL_FFMPEG=ON \                                                      |"
echo "|     -DENABLE_INTERNAL_FLATBUFFERS=ON \                                                 |"
echo "|     -DENABLE_INTERNAL_TAGLIB=ON \                                                      |"
echo "+----------------------------------------------------------------------------------------+"
echo
cmake \
    ../kodi \
    -DCMAKE_INSTALL_PREFIX="$kodi_install_dir" \
    -DCORE_PLATFORM_NAME="x11 wayland gbm" \
    -DAPP_RENDER_SYSTEM=gl \
    -DENABLE_INTERNAL_FFMPEG=ON \
    -DENABLE_INTERNAL_FLATBUFFERS=ON \
    -DENABLE_INTERNAL_TAGLIB=ON \
;

# building
echo
echo "+----------------------------------------------------------------------------------------+"
echo "| sudo cmake \                                                                           |"
echo "|     --build . \                                                                        |"
echo "|     -- VERBOSE=1 \                                                                     |"
echo "|     -j$(getconf _NPROCESSORS_ONLN)                                                     |"
echo "+----------------------------------------------------------------------------------------+"
echo
sudo cmake \
    --build . \
    -- VERBOSE=1 \
    -j$(getconf _NPROCESSORS_ONLN) \
    ;

# if everything went OK during the test, 
# the binaries can be installed to its place, 
# in this case "$kodi_install_dir".
echo
echo "+----------------------------------------------------------------------------------------+"
echo "| sudo make install                                                                      |"
echo "+----------------------------------------------------------------------------------------+"
echo
sudo make install

Debuglog

The debuglog can be found here: https://paste.kodi.tv/cakavovaqe:

Screenshots

Here are some links or screenshots to help explain the problem:

Additional context or screenshots (if appropriate)

Here is some additional context or explanation that might help:

Your Environment

Used Operating system:

  • Android

  • iOS

  • tvOS

  • Linux

  • macOS

  • Windows

  • Windows UWP

  • Operating system version/name: Debian GNU/Linux 13.6 “Trixie”

  • Kodi version: 22.0 (VERSION_CODE 21.90.801) Hash 700f5f80cf51b923b06f534014a16c237bb69cde

note: Once the issue is made we require you to update it with new information or Kodi versions should that be required. Team Kodi will consider your problem report however, we will not make any promises the problem will be solved.