Bug 211809 - graphics/blender: c++ compiler failure due to: error: no member named 'signbit' OR fatal error: 'stddef.h' file not found
Summary: graphics/blender: c++ compiler failure due to: error: no member named 'signb...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Marcus von Appen
URL:
Keywords:
Depends on: 211808
Blocks:
  Show dependency treegraph
 
Reported: 2016-08-13 12:15 UTC by O. Hartmann
Modified: 2016-10-07 12:30 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (mva)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2016-08-13 12:15:57 UTC
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>
Comment 1 O. Hartmann 2016-08-13 12:18:54 UTC
See also bug 211809 .
Comment 2 O. Hartmann 2016-10-02 10:03:22 UTC
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"?
Comment 3 O. Hartmann 2016-10-07 09:37:08 UTC
See Bug 213217
Comment 4 O. Hartmann 2016-10-07 12:30:28 UTC
Problem caused due to a doubled icnlude folder: /usr/include/include. Deleting the double solved the problem. Thanks to D. Andric and advice.