Bug 465745 - Build kbackup from the repo as flatpack cannot find this under its repositories. Presented with errors after attempted build
Summary: Build kbackup from the repo as flatpack cannot find this under its repositori...
Status: RESOLVED NOT A BUG
Alias: None
Product: kbackup
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Martin Koller
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-15 06:19 UTC by Maize
Modified: 2023-02-15 08:56 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maize 2023-02-15 06:19:35 UTC
SUMMARY
Trying to build kbackup from the repo as flatpack cannot find this under its repositories. Presented with errors after attempted build



STEPS TO REPRODUCE
1.  Pull from the repo @ https://invent.kde.org/utilities/kbackup/-/tree/master
2.  cmake ..   <-- error after here


OBSERVED RESULT

CMake Warning at CMakeLists.txt:49 (find_package):
  By not providing "FindKF5DocTools.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "KF5DocTools", but CMake did not find one.

Could not find a package configuration file provided by "KF5DocTools"
  (requested version 5.100.0) with any of the following names:

    KF5DocToolsConfig.cmake
    kf5doctools-config.cmake

  Add the installation prefix of "KF5DocTools" to CMAKE_PREFIX_PATH or set
  "KF5DocTools_DIR" to a directory containing one of the above files.  If
  "KF5DocTools" provides a separate development package or SDK, be sure it
  has been installed.


CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find LibArchive (missing: LibArchive_LIBRARY
  LibArchive_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindLibArchive.cmake:67 (find_package_handle_standard_args)
  src/CMakeLists.txt:21 (find_package)


EXPECTED RESULT

Software to build correctly in order to install

SOFTWARE/OS VERSIONS
Windows: #definitelynope 
macOS:  #hellnope
Linux/KDE Plasma:  6.1.10 Fedora


KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Comment 1 Martin Koller 2023-02-15 08:33:25 UTC
You are missing some development packages.
Here on my openSuse they are called kdoctools-devel and libarchive-devel

>SOFTWARE/OS VERSIONS
>Windows: #definitelynope 
>macOS:  #hellnope

ROTFL !!
Comment 2 Maize 2023-02-15 08:56:07 UTC
(In reply to Martin Koller from comment #1)
> You are missing some development packages.
> Here on my openSuse they are called kdoctools-devel and libarchive-devel
> 
> >SOFTWARE/OS VERSIONS
> >Windows: #definitelynope 
> >macOS:  #hellnope
> 
> ROTFL !!

For me they were kf5-kdoctools-devel & libarchive-devel
But wanted to make this issue known as not all users know how to fix these issues especially when there isnt anything in the doicumentation beyond the basic cammands to install, as a lot are not compiler friendly, and a wall of red text is like "woah". simple fix but there should definately have a deps list if there is going to something that depends on software not commonly found on end user install of linux.
 
> >SOFTWARE/OS VERSIONS
> >Windows: #definitelynope 
> >macOS:  #hellnope
> 
> ROTFL !!

Was hopeing to cheer some one up with that haha