Created attachment 343922 [details] build log On my hardened ~amd64 machine I see the following error when trying to merge opencv-2.4.4a. === /usr/bin/cmake -H/var/tmp/portage/media-libs/opencv-2.4.4a/work/opencv-2.4.4 -B/var/tmp/portage/media-libs/opencv-2.4.4a/work/opencv-2.4.4a_build --check-build-system CMakeFiles/Makefile.cmake 0 CMake Error: Parse error in cache file /var/tmp/portage/media-libs/opencv-2.4.4a/work/opencv-2.4.4a_build/CMakeCache.txt. Offending entry: /usr/lib64/python2.7/site-packages/numpy/core/include Re-run cmake error reading : CMakeFiles/Makefile.cmake === I see a somewhat similar error with opencv-2.4.3. My system python is python-3.2. In the file CMakeCache.txt I found only one line referring to numpy which is the following === //Path to numpy headers PYTHON_NUMPY_INCLUDE_DIR:PATH=Emutramp; OFF === This seems like a spurious output. I see the "Emutramp: OFF" message occasionally on the command line, but could not yet determine, what exactly causes it. One thing that produces this reliably is the emerge command.
Created attachment 343924 [details] emerge --info
remerge the libffi
I remerged libffi-3.0.12 from hardened-dev (since libffi-3.0.13 from main tree has the same problem as 3.0.12). Unfortunately this didn't change anything.
Merging libffi-3.0.13 from hardened-dev solved the problem.
Tried 2.4.6.1 already?
(In reply to Andreas K. Hüttel from comment #5) > Tried 2.4.6.1 already? I just looked and opencv-2.4.6.1 as well as opencv-2.4.7 work with libffi-3.0.13-r1 from the main tree.