Bug 195470 - [patch] math/vtk6 build error
Summary: [patch] math/vtk6 build error
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Pietro Cerutti
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-28 12:38 UTC by Ivan Klymenko
Modified: 2015-01-26 16:12 UTC (History)
0 users

See Also:


Attachments
files_patch-Rendering_OpenGL_vtkXOpenGLRenderWindow.cxx (378 bytes, patch)
2014-11-28 12:38 UTC, Ivan Klymenko
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Klymenko 2014-11-28 12:38:37 UTC
Created attachment 149959 [details]
files_patch-Rendering_OpenGL_vtkXOpenGLRenderWindow.cxx

...
[ 83%] Building CXX object Rendering/Annotation/CMakeFiles/vtkRenderingAnnotation.dir/vtkLegendBoxActor.cxx.o
[ 83%] Building CXX object Rendering/Label/CMakeFiles/vtkRenderingLabel.dir/vtkLabelHierarchyIterator.cxx.o
[ 83%] Building CXX object Rendering/OpenGL/CMakeFiles/vtkRenderingOpenGL.dir/vtkUniformVariables.cxx.o
[ 83%] Building CXX object Rendering/Volume/CMakeFiles/vtkRenderingVolume.dir/vtkVolumeRayCastMapper.cxx.o
[ 83%] Building CXX object Rendering/Annotation/CMakeFiles/vtkRenderingAnnotation.dir/vtkLegendScaleActor.cxx.o
Linking CXX shared library ../../lib/libvtkRenderingLabel-6.1.so
[ 83%] Built target vtkRenderingLabel
[ 83%] Building CXX object Rendering/OpenGL/CMakeFiles/vtkRenderingOpenGL.dir/vtkXOpenGLRenderWindow.cxx.o
[ 83%] Building CXX object Rendering/Annotation/CMakeFiles/vtkRenderingAnnotation.dir/vtkPieChartActor.cxx.o
[ 83%] Building CXX object Rendering/Volume/CMakeFiles/vtkRenderingVolume.dir/vtkVolumeRayCastMIPFunction.cxx.o
In file included from /media/da0s1/obj/usr/ports/math/vtk6/work/VTK-6.1.0/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx:31:
In file included from /usr/local/include/GL/glx.h:333:
/usr/local/include/GL/glxext.h:480:143: error: unknown type name 'GLintptr'
typedef void ( *PFNGLXCOPYBUFFERSUBDATANVPROC) (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
                                                                                                                                              ^
/usr/local/include/GL/glxext.h:480:164: error: unknown type name 'GLintptr'
typedef void ( *PFNGLXCOPYBUFFERSUBDATANVPROC) (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
                                                                                                                                                                   ^
/usr/local/include/GL/glxext.h:480:186: error: unknown type name 'GLsizeiptr'; did you mean 'GLsizei'?
typedef void ( *PFNGLXCOPYBUFFERSUBDATANVPROC) (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
                                                                                                                                                                                         ^~~~~~~~~~
                                                                                                                                                                                         GLsizei
/usr/local/include/GL/gl.h:131:14: note: 'GLsizei' declared here
typedef int             GLsizei;        /* 4-byte signed */
                        ^
In file included from /media/da0s1/obj/usr/ports/math/vtk6/work/VTK-6.1.0/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx:31:
In file included from /usr/local/include/GL/glx.h:333:
/usr/local/include/GL/glxext.h:481:148: error: unknown type name 'GLintptr'
typedef void ( *PFNGLXNAMEDCOPYBUFFERSUBDATANVPROC) (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
                                                                                                                                                   ^
/usr/local/include/GL/glxext.h:481:169: error: unknown type name 'GLintptr'
typedef void ( *PFNGLXNAMEDCOPYBUFFERSUBDATANVPROC) (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
                                                                                                                                                                        ^
/usr/local/include/GL/glxext.h:481:191: error: unknown type name 'GLsizeiptr'; did you mean 'GLsizei'?
typedef void ( *PFNGLXNAMEDCOPYBUFFERSUBDATANVPROC) (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
                                                                                                                                                                                              ^~~~~~~~~~
                                                                                                                                                                                              GLsizei
/usr/local/include/GL/gl.h:131:14: note: 'GLsizei' declared here
typedef int             GLsizei;        /* 4-byte signed */
                        ^
[ 83%] Building CXX object Rendering/Annotation/CMakeFiles/vtkRenderingAnnotation.dir/vtkPolarAxesActor.cxx.o
Scanning dependencies of target vtkIOMINC
6 errors generated.
--- Rendering/OpenGL/CMakeFiles/vtkRenderingOpenGL.dir/vtkXOpenGLRenderWindow.cxx.o ---
*** [Rendering/OpenGL/CMakeFiles/vtkRenderingOpenGL.dir/vtkXOpenGLRenderWindow.cxx.o] Error code 1

make[4]: stopped in /media/da0s1/obj/usr/ports/math/vtk6/work/.build
1 error

make[4]: stopped in /media/da0s1/obj/usr/ports/math/vtk6/work/.build
--- Rendering/OpenGL/CMakeFiles/vtkRenderingOpenGL.dir/all ---
*** [Rendering/OpenGL/CMakeFiles/vtkRenderingOpenGL.dir/all] Error code 2

make[3]: stopped in /media/da0s1/obj/usr/ports/math/vtk6/work/.build
A failure has been detected in another branch of the parallel make

make[4]: stopped in /media/da0s1/obj/usr/ports/math/vtk6/work/.build
--- IO/MINC/CMakeFiles/vtkIOMINC.dir/all ---
*** [IO/MINC/CMakeFiles/vtkIOMINC.dir/all] Error code 2

make[3]: stopped in /media/da0s1/obj/usr/ports/math/vtk6/work/.build
A failure has been detected in another branch of the parallel make

make[4]: stopped in /media/da0s1/obj/usr/ports/math/vtk6/work/.build
--- Rendering/Volume/CMakeFiles/vtkRenderingVolume.dir/all ---
*** [Rendering/Volume/CMakeFiles/vtkRenderingVolume.dir/all] Error code 2

make[3]: stopped in /media/da0s1/obj/usr/ports/math/vtk6/work/.build
A failure has been detected in another branch of the parallel make

make[4]: stopped in /media/da0s1/obj/usr/ports/math/vtk6/work/.build
--- Rendering/Annotation/CMakeFiles/vtkRenderingAnnotation.dir/all ---
*** [Rendering/Annotation/CMakeFiles/vtkRenderingAnnotation.dir/all] Error code 2

make[3]: stopped in /media/da0s1/obj/usr/ports/math/vtk6/work/.build
4 errors

make[3]: stopped in /media/da0s1/obj/usr/ports/math/vtk6/work/.build
*** [all] Error code 2

make[2]: stopped in /media/da0s1/obj/usr/ports/math/vtk6/work/.build
1 error

make[2]: stopped in /media/da0s1/obj/usr/ports/math/vtk6/work/.build
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/math/vtk6
*** Error code 1

Stop.
make: stopped in /usr/ports/math/vtk6
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2014-11-28 22:46:59 UTC
Fix Summary and assign.