Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 654326 - app-office/ledger-3.1.1[python]: CMake Error at /.../FindBoost.cmake:2044 (message):
Summary: app-office/ledger-3.1.1[python]: CMake Error at /.../FindBoost.cmake:2044 (me...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Erik Mackdanz
URL:
Whiteboard:
Keywords:
: 690180 690712 (view as bug list)
Depends on: 660980
Blocks: boost-1.71
  Show dependency tree
 
Reported: 2018-04-29 11:37 UTC by Toralf Förster
Modified: 2019-07-25 19:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.61 KB, text/plain)
2018-04-29 11:37 UTC, Toralf Förster
Details
app-office:ledger-3.1.1:20180428-155315.log (app-office:ledger-3.1.1:20180428-155315.log,5.77 KB, text/plain)
2018-04-29 11:37 UTC, Toralf Förster
Details
CMakeError.log (CMakeError.log,29.83 KB, text/plain)
2018-04-29 11:37 UTC, Toralf Förster
Details
CMakeOutput.log (CMakeOutput.log,57.63 KB, text/plain)
2018-04-29 11:37 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,73.88 KB, text/plain)
2018-04-29 11:37 UTC, Toralf Förster
Details
environment (environment,161.26 KB, text/plain)
2018-04-29 11:37 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.60 KB, application/x-bzip)
2018-04-29 11:37 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.81 KB, application/x-bzip)
2018-04-29 11:37 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,36.35 KB, application/x-bzip)
2018-04-29 11:37 UTC, Toralf Förster
Details
Patch fixing CMakeLists.txt to find libboost_python-2.7.so (ledger-3.1.1-boost_python.patch,368 bytes, text/plain)
2018-07-07 11:38 UTC, plapadoo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-04-29 11:37:18 UTC
-- Found PythonInterp: /var/tmp/portage/app-office/ledger-3.1.1/temp/python2.7/bin/python (found version "2.7.14") 
-- Found PythonLibs: /usr/lib/libpython2.7.so (found version "2.7.14") 
CMake Error at /usr/share/cmake/Modules/FindBoost.cmake:2044 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.65.0

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-ffmpeg4_20180425-205701

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
  [3]   pypy3 (fallback)
  [4]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems)
  [2]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:


emerge -qpv app-office/ledger
[ebuild  N    ] app-office/ledger-3.1.1  USE="python -doc -emacs" PYTHON_TARGETS="python2_7"
Comment 1 Toralf Förster gentoo-dev 2018-04-29 11:37:21 UTC
Created attachment 528870 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-04-29 11:37:24 UTC
Created attachment 528872 [details]
app-office:ledger-3.1.1:20180428-155315.log
Comment 3 Toralf Förster gentoo-dev 2018-04-29 11:37:27 UTC
Created attachment 528874 [details]
CMakeError.log
Comment 4 Toralf Förster gentoo-dev 2018-04-29 11:37:30 UTC
Created attachment 528876 [details]
CMakeOutput.log
Comment 5 Toralf Förster gentoo-dev 2018-04-29 11:37:33 UTC
Created attachment 528878 [details]
emerge-history.txt
Comment 6 Toralf Förster gentoo-dev 2018-04-29 11:37:37 UTC
Created attachment 528880 [details]
environment
Comment 7 Toralf Förster gentoo-dev 2018-04-29 11:37:40 UTC
Created attachment 528882 [details]
etc.portage.tbz2
Comment 8 Toralf Förster gentoo-dev 2018-04-29 11:37:43 UTC
Created attachment 528884 [details]
logs.tbz2
Comment 9 Toralf Förster gentoo-dev 2018-04-29 11:37:45 UTC
Created attachment 528886 [details]
temp.tbz2
Comment 10 plapadoo 2018-07-07 11:38:37 UTC
Created attachment 538690 [details]
Patch fixing CMakeLists.txt to find libboost_python-2.7.so

The attached patch fixes the build. However, it introduces a warning:

CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1723 (message):
  No header defined for python-2.7; skipping header check

So I am not sure if this is the best way to fix the build.
Comment 11 Larry the Git Cow gentoo-dev 2018-07-20 04:03:01 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2642ca2a2e080d478b417a37edd1500cf1c283fd

commit 2642ca2a2e080d478b417a37edd1500cf1c283fd
Author:     Erik Mackdanz <stasibear@gentoo.org>
AuthorDate: 2018-07-20 04:01:29 +0000
Commit:     Erik Mackdanz <stasibear@gentoo.org>
CommitDate: 2018-07-20 04:02:31 +0000

    app-office/ledger: Bug fixes, EAPI=6
    
    Closes: https://bugs.gentoo.org/635730
    Closes: https://bugs.gentoo.org/635924
    Closes: https://bugs.gentoo.org/642804
    Closes: https://bugs.gentoo.org/654326
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 .../files/ledger-3.1.1-r1-boost-python.patch       |  13 +++
 app-office/ledger/ledger-3.1.1-r1.ebuild           | 125 +++++++++++++++++++++
 2 files changed, 138 insertions(+)
Comment 12 Erik Mackdanz gentoo-dev 2018-07-20 04:06:32 UTC
Thank you for this fix.  I've incorporated it to -r1.
Comment 13 Andreas Sturmlechner gentoo-dev 2019-07-18 18:04:36 UTC
*** Bug 690180 has been marked as a duplicate of this bug. ***
Comment 14 Andreas Sturmlechner gentoo-dev 2019-07-18 18:05:53 UTC
Not fixed, reproducible with both 3.1.1-r2 and 3.1.2, see dupe.
Comment 15 Larry the Git Cow gentoo-dev 2019-07-18 20:58:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed2d9347b7da75bada1ffd581ad7903646427e0b

commit ed2d9347b7da75bada1ffd581ad7903646427e0b
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-07-18 20:57:31 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-07-18 20:58:03 +0000

    app-office/ledger: Fix build with >=boost-1.70
    
    Closes: https://bugs.gentoo.org/654326
    Package-Manager: Portage-2.3.69, Repoman-2.3.16
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 app-office/ledger/ledger-3.1.2.ebuild | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
Comment 16 Andreas Sturmlechner gentoo-dev 2019-07-25 19:06:50 UTC
*** Bug 690712 has been marked as a duplicate of this bug. ***