Bug 452681

Summary: Error installing from source
Product: [Applications] umbrello Reporter: Alexsandr <dvd2gold>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED NOT A BUG    
Severity: critical CC: fella
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: the log file from /home/ia/src/umbrello/build/CMakeFiles/
Finding a package to install screen05.jpg

Description Alexsandr 2022-04-16 19:48:21 UTC
Created attachment 148192 [details]
the log file from /home/ia/src/umbrello/build/CMakeFiles/

Lubuntu 20.04
To begin with, I will inform you that the command line described in the instructions is not correct.
This does not work:
git clone git://anongit.kde.org/umbrello 
You need to write like this:
git clone https://anongit.kde.org/umbrello

Please advise how to fix the following error?

ia@PC:~$ mkdir -p $HOME/src
ia@PC:~$ cd $HOME/src
ia@PC:~/src$ git clone git://anongit.kde.org/umbrello
Клонирование в «umbrello»…
fatal: ошибка внешнего репозитория: Please use the https: protocol to connect to anongit
ia@PC:~/src$ git clone https://anongit.kde.org/umbrello
Клонирование в «umbrello»…
warning: переадресация на https://invent.kde.org/sdk/umbrello.git/
remote: Enumerating objects: 88169, done.
remote: Counting objects: 100% (2075/2075), done.
remote: Compressing objects: 100% (777/777), done.
remote: Total 88169 (delta 1446), reused 1901 (delta 1297), pack-reused 86094
Получение объектов: 100% (88169/88169), 22.33 МиБ | 4.55 МиБ/с, готово.
Определение изменений: 100% (74295/74295), готово.
ia@PC:~/src$ cd umbrello
ia@PC:~/src/umbrello$ mkdir build
ia@PC:~/src/umbrello$ cd build
ia@PC:~/src/umbrello/build$ cmake -DCMAKE_INSTALL_PREFIX=$HOME/umbrello -DBUILD_KF5=1 -DCMAKE_BUILD_TYPE=Debug ../
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at CMakeLists.txt:6 (cmake_policy):
  The OLD behavior for policy CMP0028 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


Installing in /home/ia/umbrello. Run /home/ia/src/umbrello/build/prefix.sh to set the environment for umbrello.
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 (find_package):
  Could not find a package configuration file provided by "Qt5Svg" with any
  of the following names:

    Qt5SvgConfig.cmake
    qt5svg-config.cmake

  Add the installation prefix of "Qt5Svg" to CMAKE_PREFIX_PATH or set
  "Qt5Svg_DIR" to a directory containing one of the above files.  If "Qt5Svg"
  provides a separate development package or SDK, be sure it has been
  installed.
Call Stack (most recent call first):
  CMakeLists.txt:97 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/ia/src/umbrello/build/CMakeFiles/CMakeOutput.log".

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

ia@PC:~/src/umbrello/build$ sudo su
root@PC:/home/ia/src/umbrello/build# cmake -DCMAKE_INSTALL_PREFIX=$HOME/umbrello -DBUILD_KF5=1 -DCMAKE_BUILD_TYPE=Debug ../
CMake Deprecation Warning at CMakeLists.txt:6 (cmake_policy):
  The OLD behavior for policy CMP0028 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


Installing in /root/umbrello. Run /home/ia/src/umbrello/build/prefix.sh to set the environment for umbrello.
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 (find_package):
  Could not find a package configuration file provided by "Qt5Svg" with any
  of the following names:

    Qt5SvgConfig.cmake
    qt5svg-config.cmake

  Add the installation prefix of "Qt5Svg" to CMAKE_PREFIX_PATH or set
  "Qt5Svg_DIR" to a directory containing one of the above files.  If "Qt5Svg"
  provides a separate development package or SDK, be sure it has been
  installed.
Call Stack (most recent call first):
  CMakeLists.txt:97 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/ia/src/umbrello/build/CMakeFiles/CMakeOutput.log".
root@PC:/home/ia/src/umbrello/build#
Comment 1 Tobias Fella 2022-04-16 21:40:45 UTC
Install the dev package for qtsvg. Depending on your distro this could be called something like qtsvg-dev
Comment 2 Alexsandr 2022-04-17 04:17:23 UTC
Created attachment 148199 [details]
Finding a package to install screen05.jpg
Comment 3 Alexsandr 2022-04-17 04:19:42 UTC
I tried to find this package, but a similar one is already installed there (it's on the top line). I don't know what else should I install? Attached a screenshot above.