Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630740 - media-gfx/openvdb-4.0.0 - openvdb/python/pyFloatGrid.cc:50:9: error: ‘py::numeric’ has not been declared
Summary: media-gfx/openvdb-4.0.0 - openvdb/python/pyFloatGrid.cc:50:9: error: ‘py::num...
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: https://github.com/dreamworksanimatio...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-11 21:32 UTC by Dennis Schridde
Modified: 2017-09-23 08:38 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,56.53 KB, text/x-log)
2017-09-11 21:32 UTC, Dennis Schridde
Details
emerge --info (emerge.info,7.91 KB, application/x-info)
2017-09-12 18:55 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2017-09-11 21:32:21 UTC
Created attachment 494068 [details]
build.log

cd /var/tmp/portage/media-gfx/openvdb-4.0.0/work/openvdb-4.0.0_build/openvdb && /usr/bin/x86_64-pc-linux-gnu-g++ -DOPENVDB_3_ABI_COMPATIBLE -Dpyopenvdb_EXPORTS -I/var/tmp/portage/media-gfx/openvdb-4.0.0/work/openvdb-4.0.0 -I/usr/include/python3.5m -I/usr/include/OpenEXR -I/var/tmp/portage/media-gfx/openvdb-4.0.0/work/openvdb-4.0.0/openvdb/. -I/var/tmp/portage/media-gfx/openvdb-4.0.0/work/openvdb-4.0.0_build/dwa   -DNDEBUG -pipe -O2 -march=bdver3 -std=c++14 -fPIC   -pthread -fPIC -DOPENVDB_PRIVATE -DOPENVDB_USE_BLOSC -DOPENVDB_USE_GLFW_3 -o CMakeFiles/pyopenvdb.dir/python/pyFloatGrid.cc.o -c /var/tmp/portage/media-gfx/openvdb-4.0.0/work/openvdb-4.0.0/openvdb/python/pyFloatGrid.cc                                         
/var/tmp/portage/media-gfx/openvdb-4.0.0/work/openvdb-4.0.0/openvdb/python/pyFloatGrid.cc: In function ‘void exportFloatGrid()’:                                                      
/var/tmp/portage/media-gfx/openvdb-4.0.0/work/openvdb-4.0.0/openvdb/python/pyFloatGrid.cc:50:9: error: ‘py::numeric’ has not been declared                                            
     py::numeric::array::set_module_and_type("numpy", "ndarray");                          
         ^~~~~~~
make[2]: *** [openvdb/CMakeFiles/pyopenvdb.dir/build.make:63: openvdb/CMakeFiles/pyopenvdb.dir/python/pyFloatGrid.cc.o] Error 1
Comment 1 Jonas Stein gentoo-dev 2017-09-12 07:06:25 UTC
Thank you for the report. Please *attach* the --info,
https://wiki.gentoo.org/wiki/Bugzilla/Bug_report_guide#Report_a_build-time_bug_.28emerge_failed.29
and reopen this ticket (Status:unconfirmed).
Comment 2 Dennis Schridde 2017-09-12 18:55:50 UTC
Created attachment 494256 [details]
emerge --info
Comment 3 Jonathan Scruggs (RETIRED) gentoo-dev 2017-09-12 20:02:31 UTC
This is a known issue. There is a bug report upstream. The only thing I can do is make a hard blocker to >=boost-1.65 in the ebuild.

You will just need to mask this version off and downgrade until it's resolved.
Comment 4 Jonathan Scruggs (RETIRED) gentoo-dev 2017-09-21 16:18:46 UTC
I managed to make a working solution, so I made an upstream PR here:
https://github.com/dreamworksanimation/openvdb/pull/173

In the meantime, I have v4.0.2 in a PR with this patch:
https://github.com/gentoo/gentoo/pull/5754

Hopefully this resolves the issue.
Comment 5 Larry the Git Cow gentoo-dev 2017-09-23 08:38:19 UTC
The bug has been closed via the following commit(s):

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

commit d63b3a02afa72407023a48914255dc8fbdf1bebf
Author:     Jonathan Scruggs <j.scruggs@gmail.com>
AuthorDate: 2017-09-21 09:29:30 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2017-09-23 08:37:23 +0000

    media-gfx/openvdb: version bump to 4.0.2
    
    * Changed hardcoded paths to GNUInstallDirs
    * Patch to fixnumeric removal in Boost 1.65
    * Use PkgConfig to find OpenEXR and IlmBase
    
    Bug: https://bugs.gentoo.org/612942
    Closes: https://bugs.gentoo.org/611842
    Closes: https://bugs.gentoo.org/630740
    Closes: https://github.com/gentoo/gentoo/pull/5754

 media-gfx/openvdb/Manifest             |  2 +
 media-gfx/openvdb/metadata.xml         |  4 +-
 media-gfx/openvdb/openvdb-3.2.0.ebuild |  1 -
 media-gfx/openvdb/openvdb-4.0.0.ebuild |  1 -
 media-gfx/openvdb/openvdb-4.0.2.ebuild | 74 ++++++++++++++++++++++++++++++++++
 5 files changed, 78 insertions(+), 4 deletions(-)