Summary: | media-gfx/blender-2.68a - CMake Error at build_files/cmake/macros.cmake:174 (add_library): Cannot find source file: /usr/include/eigen3/Eigen/src/Core/Product.h | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrew Savchenko <bircoph> |
Component: | Current packages | Assignee: | Julian Ospald <hasufell> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bircoph, gentoo, graphics+disabled, lu_zero |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
environment emerge --info blender-2.68-eigen-checks.patch |
Description
Andrew Savchenko
![]() Created attachment 357290 [details]
build.log
Created attachment 357292 [details]
environment
Created attachment 357294 [details]
emerge --info
Created attachment 357298 [details, diff]
blender-2.68-eigen-checks.patch
Blender-2.68a itself is API-compatible with eigen-3.2.0. The problem is in braindead cmake checks for eigen: it checks all headers, even those not used by blender directly. This problem can be fixed by removing offending checks. Afterwards blender builds and works fine.
I can confirm this problem on ~amd64, eigen-3.1.4 from science overlay works fine. (In reply to Andrew Savchenko from comment #4) > Created attachment 357298 [details, diff] [details, diff] > blender-2.68-eigen-checks.patch > > Blender-2.68a itself is API-compatible with eigen-3.2.0. The problem is in > braindead cmake checks for eigen: it checks all headers, even those not used > by blender directly. This problem can be fixed by removing offending checks. > Afterwards blender builds and works fine. Confirmed here as well (~amd64, science overlay). Actually I'd suggest that current files/05-blender-2.68-unbundle-eigen3.patch should be modified - currently it fixes the paths to all individual include files to /usr/include (in intern/itasc/CMakeLists.txt) but it should actually simply remove these "source" lines. cmake is supposed to check included files itself. Best regards, Bernd science overlay looks unmaintained, it gives errors on cache generation and creates a lot of blockers for me, so don't expect me to test anything against that overlay however, the header checks are definitely useless + 29 Oct 2013; Julian Ospald <hasufell@gentoo.org> + files/05-blender-2.68-unbundle-eigen3.patch: + supposedly fix bug 482874 |