Bug 241165 - cad/opencascade: Fails to configure without qmake
Summary: cad/opencascade: Fails to configure without qmake
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Thierry Thomas
Keywords: needs-qa
Depends on:
Reported: 2019-10-09 19:52 UTC by dgilbert
Modified: 2019-10-11 08:40 UTC (History)
1 user (show)

See Also:
thierry: maintainer-feedback+
koobs: merge-quarterly?

Patch to add qmake (417 bytes, patch)
2019-10-09 19:52 UTC, dgilbert
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description dgilbert 2019-10-09 19:52:09 UTC
Created attachment 208213 [details]
Patch to add qmake

So... Included here is a patch to add qmake.  The port doesn't even configure without it right now.

In the end, it doesn't compile due to a missing header I can't find yet.  I tried configuring for vtk8 rather than vtk6, but that didn't work.

... so help?  Maintainer?
Comment 1 dgilbert 2019-10-09 19:55:24 UTC
Hrm... log too big to attach.  Here' is the pertinent part:

FAILED: src/TKIVtkDraw/CMakeFiles/TKIVtkDraw.dir/__/IVtkDraw/IVtkDraw.cxx.o 
/usr/local/libexec/ccache/c++  -DHAVE_FFMPEG -DHAVE_FREEIMAGE -DHAVE_TBB -DHAVE_VTK -DOCC_CONVERT_SIGNALS -DTKIVtkDraw_EXPORTS -DvtkRenderingContext2D_AUTOINIT="1(vtkRenderingContextOpenGL)" -DvtkRenderingCore_AUTOINIT="4(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingFreeTypeOpenGL,vtkRenderingOpenGL)" -DvtkRenderingFreeType_AUTOINIT="1(vtkRenderingMatplotlib)" -DvtkRenderingVolume_AUTOINIT="1(vtkRenderingVolumeOpenGL)" -I/usr/local/include/vtk-6.2 -I/usr/local/include/freetype2 -I/usr/local/include/python2.7 -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -Iusr/local/include/OpenCASCADE -std=c++0x -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -fexceptions -fPIC -Wall -Wextra  -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -DNo_Exception -fPIC -MD -MT src/TKIVtkDraw/CMakeFiles/TKIVtkDraw.dir/__/IVtkDraw/IVtkDraw.cxx.o -MF src/TKIVtkDraw/CMakeFiles/TKIVtkDraw.dir/__/IVtkDraw/IVtkDraw.cxx.o.d -o src/TKIVtkDraw/CMakeFiles/TKIVtkDraw.dir/__/IVtkDraw/IVtkDraw.cxx.o -c /wrkdirs/usr/ports/cad/opencascade/work/opencascade-7.4.0/src/IVtkDraw/IVtkDraw.cxx
/wrkdirs/usr/ports/cad/opencascade/work/opencascade-7.4.0/src/IVtkDraw/IVtkDraw.cxx:121:10: fatal error: 'vtkXRenderWindowInteractor.h' file not found
#include <vtkXRenderWindowInteractor.h>
1 error generated.

the whole log can be poked at:

Comment 2 Thierry Thomas freebsd_committer 2019-10-09 20:35:48 UTC
It seems that your VTK package if not complete:

$ locate vtkXRenderWindowInteractor.h

$ pkg which /usr/local/include/vtk-6.2/vtkXRenderWindowInteractor.h
/usr/local/include/vtk-6.2/vtkXRenderWindowInteractor.h was installed by package vtk6-6.2.0_9
Comment 3 dgilbert 2019-10-09 22:42:25 UTC
Ok.  It seems to be the option to GL render that removes that file.