On recent CURRENT (FreeBSD 12.0-CURRENT #10 r304020: Fri Aug 12 22:39:57 CEST 2016) with most recent ports tree and ports so far up to date (r420159), the port graphics/blender fails to update from belnder 2.76b_1 to 2.77a or fails to be freshly installed with the error shown below: [...] [ 1%] Building CXX object intern/ghost/CMakeFiles/bf_intern_ghost.dir/intern/GHOST_EventManager.cpp.o In file included from /usr/ports/graphics/blender/work/blender-2.77a/intern/libmv/intern/autotrack.cc:27: In file included from /usr/ports/graphics/blender/work/blender-2.77a/intern/libmv/intern/autotrack.h:30: In file included from /usr/ports/graphics/blender/work/blender-2.77a/intern/libmv/intern/frame_accessor.h:32: In file included from /usr/ports/graphics/blender/work/blender-2.77a/intern/libmv/intern/image.h:31: In file included from /usr/ports/graphics/blender/work/blender-2.77a/intern/libmv/libmv/image/image.h:24: /usr/include/c++/v1/cmath:309:9: error: no member named 'signbit' in the global namespace; did you mean '__signbit'? using ::signbit; ~~^ /usr/include/include/math.h:192:5: note: '__signbit' declared here int __signbit(double) __pure2; ^ In file included from /usr/ports/graphics/blender/work/blender-2.77a/intern/libmv/intern/autotrack.cc:27: In file included from /usr/ports/graphics/blender/work/blender-2.77a/intern/libmv/intern/autotrack.h:30: In file included from /usr/ports/graphics/blender/work/blender-2.77a/intern/libmv/intern/frame_accessor.h:32: In file included from /usr/ports/graphics/blender/work/blender-2.77a/intern/libmv/intern/image.h:31: In file included from /usr/ports/graphics/blender/work/blender-2.77a/intern/libmv/libmv/image/image.h:24: /usr/include/c++/v1/cmath:310:9: error: no member named 'fpclassify' in the global namespace using ::fpclassify; ~~^ /usr/include/c++/v1/cmath:311:9: error: no member named 'isfinite' in the global namespace using ::isfinite; ~~^ /usr/include/c++/v1/cmath:312:9: error: no member named 'isinf' in the global namespace using ::isinf; [...] In file included from /usr/ports/graphics/blender/work/blender-2.77a/intern/libmv/libmv/image/tuple.h:24: In file included from /usr/include/c++/v1/algorithm:624: In file included from /usr/include/c++/v1/initializer_list:47: /usr/include/c++/v1/cstddef:43:15: fatal error: 'stddef.h' file not found #include_next <stddef.h>
See also bug 211809 .
I still can not compile blender and opencv-core on one specific machine and I have no idea why. In poudriere, it works. I need some assistance for catching the problem, maybe there are remnants of old C++/g++ libraries/headers in the system which didn't got cleaned up by "make delete-old"?
See Bug 213217
Problem caused due to a doubled icnlude folder: /usr/include/include. Deleting the double solved the problem. Thanks to D. Andric and advice.