Bug 424799 - Build Error: "Boost_INCLUDE_DIR-NOTFOUND"
Summary: Build Error: "Boost_INCLUDE_DIR-NOTFOUND"
Status: RESOLVED FIXED
Alias: None
Product: frameworks-activities-stats
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.72.0
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Ivan Čukić
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-29 13:41 UTC by Paul McQuade
Modified: 2020-07-31 17:34 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Full log (6.69 KB, text/x-log)
2020-07-29 13:44 UTC, Paul McQuade
Details
Patch File (460 bytes, patch)
2020-07-29 15:09 UTC, Paul McQuade
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul McQuade 2020-07-29 13:41:37 UTC
SUMMARY
I was following along with the Get Involved guide: https://community.kde.org/Get_Involved/development

At the "Building software with kdesrc-build" stage the following error occurred:

Unable to configure kactivities-stats with CMake!
Unable to configure kactivities-stats with KDE

kactivities-stats didn't build, stopping here.

I looked at the logs the find this:
CMake Error in src/CMakeLists.txt:
  Found relative path while evaluating include directories of
  "KF5ActivitiesStats":

    "Boost_INCLUDE_DIR-NOTFOUND"


STEPS TO REPRODUCE
1. Run "kdesrc-build"
2. Crashes


SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.19.3
KDE Frameworks Version: 5.72.0
Qt Version: 5.15.0
Kernel Version: 5.7.9-1-MANJARO

ADDITIONAL INFORMATION
Picture of crash:
https://imgur.com/a/FSRpEPI
Comment 1 Paul McQuade 2020-07-29 13:44:41 UTC
Created attachment 130487 [details]
Full log
Comment 2 Paul McQuade 2020-07-29 15:09:25 UTC
With advice from <krop> on IRC. I Created a small patch file.
It may help build the program from source.

MORE INFO:
https://paste.opensuse.org/76000243
Comment 3 Paul McQuade 2020-07-29 15:09:56 UTC
Created attachment 130490 [details]
Patch File

Needs Testing
Comment 4 Nicolas Fella 2020-07-29 15:13:58 UTC
Please open a merge request with this patch on https://invent.kde.org/frameworks/kactivities-stats
Comment 5 Paul McQuade 2020-07-29 19:16:30 UTC
These are the steps i went through: https://youtu.be/CZrzVM0YWKA
Comment 6 Christophe Marin 2020-07-31 17:34:17 UTC
Git commit c8208572abb0d77d76bad6bbba23a0cbd6268251 by Christophe Giboudeaux.
Committed on 31/07/2020 at 17:34.
Pushed by cgiboudeaux into branch 'master'.

Ignore BoostConfig.cmake if present

The Boost config file when present doesn't provide CMake variables
compatible with the ones in FindBoost.cmake.

M  +1    -0    CMakeLists.txt
M  +0    -1    autotests/CMakeLists.txt
M  +1    -1    src/CMakeLists.txt
M  +0    -1    tests/model/CMakeLists.txt

https://invent.kde.org/frameworks/kactivities-stats/commit/c8208572abb0d77d76bad6bbba23a0cbd6268251