Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 652266 - media-gfx/openvdb-4.0.2 : CMake Error at /.../FindBoost.cmake:2044 (message):
Summary: media-gfx/openvdb-4.0.2 : CMake Error at /.../FindBoost.cmake:2044 (message):
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jonathan Scruggs (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 660980
Blocks:
  Show dependency tree
 
Reported: 2018-04-02 23:06 UTC by Toralf Förster
Modified: 2018-08-04 18:21 UTC (History)
6 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.30 KB, text/plain)
2018-04-02 23:06 UTC, Toralf Förster
Details
CMakeError.log (CMakeError.log,3.11 KB, text/plain)
2018-04-02 23:06 UTC, Toralf Förster
Details
CMakeOutput.log (CMakeOutput.log,50.49 KB, text/plain)
2018-04-02 23:06 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,188.89 KB, text/plain)
2018-04-02 23:06 UTC, Toralf Förster
Details
environment (environment,157.54 KB, text/plain)
2018-04-02 23:06 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.33 KB, application/x-bzip)
2018-04-02 23:06 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.11 KB, application/x-bzip)
2018-04-02 23:06 UTC, Toralf Förster
Details
media-gfx:openvdb-4.0.2:20180402-212929.log (media-gfx:openvdb-4.0.2:20180402-212929.log,5.82 KB, text/plain)
2018-04-02 23:06 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,34.99 KB, application/x-bzip)
2018-04-02 23:06 UTC, Toralf Förster
Details
openvdb-4.0.2-fix-cmake-3.11-compat.patch (openvdb-4.0.2-fix-cmake-3.11-compat.patch,502 bytes, patch)
2018-07-12 18:50 UTC, Dennis Schridde
Details | Diff

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-02 23:06:02 UTC
-- Found PythonInterp: /var/tmp/portage/media-gfx/openvdb-4.0.2/temp/python3.5/bin/python (found version "3.5.5") 
-- Found PythonLibs: /usr/lib/libpython3.5m.so (found version "3.5.5") 
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-plasma_20180324-222611

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

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]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems)
  [2]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.7.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv media-gfx/openvdb
[ebuild  N    ] media-gfx/openvdb-4.0.2  USE="abi3-compat python -doc" PYTHON_SINGLE_TARGET="python3_5 -python2_7 -python3_4 -python3_6" PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6"
Comment 1 Toralf Förster gentoo-dev 2018-04-02 23:06:05 UTC
Created attachment 526382 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-04-02 23:06:08 UTC
Created attachment 526384 [details]
CMakeError.log
Comment 3 Toralf Förster gentoo-dev 2018-04-02 23:06:12 UTC
Created attachment 526386 [details]
CMakeOutput.log
Comment 4 Toralf Förster gentoo-dev 2018-04-02 23:06:15 UTC
Created attachment 526388 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2018-04-02 23:06:18 UTC
Created attachment 526390 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2018-04-02 23:06:21 UTC
Created attachment 526392 [details]
etc.portage.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-04-02 23:06:23 UTC
Created attachment 526394 [details]
logs.tbz2
Comment 8 Toralf Förster gentoo-dev 2018-04-02 23:06:27 UTC
Created attachment 526396 [details]
media-gfx:openvdb-4.0.2:20180402-212929.log
Comment 9 Toralf Förster gentoo-dev 2018-04-02 23:06:30 UTC
Created attachment 526398 [details]
temp.tbz2
Comment 10 xdev52 2018-06-16 22:19:24 UTC
I confirm. It happens on my configuration too inluding:

PYTHON_SINGLE_TARGET="python3_6"
PYTHON_SINGLE_TARGET="python3_5"

=====

 media-gfx/openvdb-4.0.2::gentoo

-- Found PythonInterp: /var/tmp/portage/media-gfx/openvdb-4.0.2/temp/python3.6/bin/python (found version "3.6.5") 
-- Found PythonLibs: /usr/lib/libpython3.6m.so (found version "3.6.5") 
CMake Error at /usr/share/cmake/Modules/FindBoost.cmake:2044 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.65.0

  Boost include path: /usr/include

  Could not find the following Boost libraries:

          boost_python

  No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
  directory containing Boost libraries or BOOST_ROOT to the location of
  Boost.
Call Stack (most recent call first):
  openvdb/python/CMakeLists.txt:6 (FIND_PACKAGE)

======

ls -l /usr/lib64/ | grep boost_pyth
lrwxrwxrwx 1 root root        22 06-16 17:12 libboost_python-2.7-mt.so -> libboost_python-2.7.so
lrwxrwxrwx 1 root root        29 06-16 17:11 libboost_python-2.7.so -> libboost_python-2.7.so.1.65.0
-rwxr-xr-x 1 root root    278232 06-16 17:13 libboost_python-2.7.so.1.65.0
lrwxrwxrwx 1 root root        22 06-16 17:12 libboost_python-3.5-mt.so -> libboost_python-3.5.so
lrwxrwxrwx 1 root root        29 06-16 17:12 libboost_python-3.5.so -> libboost_python-3.5.so.1.65.0
-rwxr-xr-x 1 root root    265880 06-16 17:13 libboost_python-3.5.so.1.65.0
lrwxrwxrwx 1 root root        22 06-16 17:12 libboost_python-3.6-mt.so -> libboost_python-3.6.so
lrwxrwxrwx 1 root root        29 06-16 17:12 libboost_python-3.6.so -> libboost_python-3.6.so.1.65.0
-rwxr-xr-x 1 root root    265880 06-16 17:13 libboost_python-3.6.so.1.65.0

============

sh bash 4.4_p23
ld GNU ld (Gentoo 2.30 p3) 2.30.0
ccache version 3.3.4 [enabled]
app-shells/bash:          4.4_p23::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.14-r2::gentoo, 3.5.5-r1::gentoo, 3.6.5-r1::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.11.4::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6::gentoo
sys-apps/openrc:          0.37::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r3::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo, 7.3.0-r3::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r3::gentoo
sys-kernel/linux-headers: 4.14::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r4::gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
Comment 11 Dennis Schridde 2018-07-12 18:50:42 UTC
Created attachment 539326 [details, diff]
openvdb-4.0.2-fix-cmake-3.11-compat.patch

Attached patch, in addition to the proposed patch for bug #660980 and dev-utils/cmake-3.11, fixes this issue.
Comment 12 Larry the Git Cow gentoo-dev 2018-08-04 18:21:59 UTC
The bug has been closed via the following commit(s):

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

commit 74320c01dacb7c27d6901caac7ef67e47f0114e7
Author:     Jonathan Scruggs <j.scruggs@gmail.com>
AuthorDate: 2018-08-04 17:09:39 +0000
Commit:     Jonathan Scruggs <dracwyrm@gentoo.org>
CommitDate: 2018-08-04 18:21:37 +0000

    media-gfx/openvdb: revision bump to fix FindBoost
    
    Add patch from Dennis Schridde <devurandom@gmx.net> to fix finding
    boost with CMake 3.11
    Closes: https://bugs.gentoo.org/652266
    Closes: https://github.com/gentoo/gentoo/pull/9443

 .../files/openvdb-4.0.2-findboost-fix.patch        | 11 +++
 media-gfx/openvdb/openvdb-4.0.2-r1.ebuild          | 79 ++++++++++++++++++++++
 2 files changed, 90 insertions(+)