https://bugs.kde.org/show_bug.cgi?id=471281

            Bug ID: 471281
           Summary: Error building kdenlive inside container
    Classification: Applications
           Product: kdenlive
           Version: 22.12.3
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Installation
          Assignee: j...@kdenlive.org
          Reporter: mashkal2...@gmail.com
  Target Milestone: ---

SUMMARY
***
Error building kdenlive inside container
***


STEPS TO REPRODUCE
1. Follow the instructions from the build.md file inside an ubuntu 22.04
container: 
```
sudo apt install software-properties-common
sudo add-apt-repository ppa:kdenlive/kdenlive-master
sudo apt update
sudo apt remove kdenlive kdenlive-data
sudo apt install build-essential git cmake extra-cmake-modules libsm-dev
# KDE Frameworks 5, based on Qt5
sudo apt install libkf5archive-dev libkf5bookmarks-dev libkf5coreaddons-dev
libkf5config-dev libkf5configwidgets-dev libkf5dbusaddons-dev libkf5kio-dev
libkf5widgetsaddons-dev libkf5notifyconfig-dev libkf5newstuff-dev
libkf5xmlgui-dev libkf5declarative-dev libkf5notifications-dev
libkf5guiaddons-dev libkf5textwidgets-dev libkf5purpose-dev
libkf5iconthemes-dev libkf5crash-dev libkf5filemetadata-dev libkf5codecs-dev
kio kinit qtdeclarative5-dev libqt5svg5-dev qml-module-qtquick-controls
libqt5networkauth5-dev qtmultimedia5-dev qtquickcontrols2-5-dev qttools5-dev
breeze-icon-theme breeze
# Multimedia stack
sudo apt install frei0r-plugins ffmpeg
# MLT, except if you want to build it manually 
sudo apt install libmlt++-dev libmlt-dev melt
# Dependencies for localization
sudo apt install ruby subversion gnupg2 gettext
# KDE Frameworks 5, based on Qt5
sudo apt install libkf5archive-dev libkf5bookmarks-dev libkf5coreaddons-dev
libkf5config-dev libkf5configwidgets-dev libkf5dbusaddons-dev libkf5kio-dev
libkf5widgetsaddons-dev libkf5notifyconfig-dev libkf5newstuff-dev
libkf5xmlgui-dev libkf5declarative-dev libkf5notifications-dev
libkf5guiaddons-dev libkf5textwidgets-dev libkf5purpose-dev
libkf5iconthemes-dev libkf5crash-dev libkf5filemetadata-dev libkf5codecs-dev
kio kinit qtdeclarative5-dev libqt5svg5-dev qml-module-qtquick-controls
libqt5networkauth5-dev qtmultimedia5-dev qtquickcontrols2-5-dev qttools5-dev
breeze-icon-theme breeze
# Multimedia stack
sudo apt install frei0r-plugins ffmpeg
# MLT, except if you want to build it manually 
sudo apt install libmlt++-dev libmlt-dev melt
# Dependencies for localization
sudo apt install ruby subversion gnupg2 gettext
cd repos/kdenlive/
mkdir build && cd build
cd build/
cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DRELEASE_BUILD=OFF
make
make clean
make
make -j20
make
make -j20
```
2. 
3. 

OBSERVED RESULT
[  0%] Generating mo...
[  0%] Built target pofiles-28e9cd9342f40d775d3d467cf7a44d62
[  0%] Generating ts...
[  0%] Built target tsfiles-28e9cd9342f40d775d3d467cf7a44d62
[  0%] Automatic MOC for target media_ctrl
[  0%] Built target media_ctrl_autogen
[  1%] Built target media_ctrl
[  1%] Automatic MOC for target kiss_fft
[  1%] Built target kiss_fft_autogen
[  2%] Built target kiss_fft
[  2%] Automatic MOC for target kdenliveLib
[  2%] Built target kdenliveLib_autogen
[ 64%] Built target kdenliveLib
[ 65%] Automatic MOC for target kdenlive
[ 65%] Built target kdenlive_autogen
make[2]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/libv4l2.so',
needed by 'bin/kdenlive'.  Stop.
make[1]: *** [CMakeFiles/Makefile2:2245: src/CMakeFiles/kdenlive.dir/all] Error
2
make: *** [Makefile:146: all] Error 2


EXPECTED RESULT
no error

SOFTWARE/OS VERSIONS
This is inside the container, running under podman:

PRETTY_NAME="Ubuntu 22.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.2 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/";
SUPPORT_URL="https://help.ubuntu.com/";
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/";
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy";
UBUNTU_CODENAME=jammy

ADDITIONAL INFORMATION
container was created using `distrobox-create -n kdenlive-dev-nv -i
ubuntu:22.04 --nvidia`

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to