Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 557602 - sci-libs/opencascade-6.9.0 fails to build: cannot find -lvtkInteractionStyle
Summary: sci-libs/opencascade-6.9.0 fails to build: cannot find -lvtkInteractionStyle
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-14 18:21 UTC by Priit Laes (IRC: plaes)
Modified: 2016-09-26 12:04 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
opencascade-6.9.0-build.log.xz (build.log.xz,144.07 KB, application/x-xz)
2015-08-14 18:26 UTC, Priit Laes (IRC: plaes)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Priit Laes (IRC: plaes) 2015-08-14 18:21:56 UTC
Installed version of sci-libs/vtk:

sci-libs/vtk-6.1.0-r1::gentoo  USE="X theora -R -all-modules (-aqua) -boost -cg -doc -examples -ffmpeg -gdal -imaging -java -json -kaapi -mpi -mysql -odbc -offscreen -postgres -python -qt4 -rendering -smp -tbb -tcl {-test} -tk -views -web -xdmf2" PYTHON_TARGETS="python2_7" VIDEO_CARDS="-nvidia"

sci-libs/opencascade-6.9.0:6.9.0::gentoo [6.8.0:6.8.0::gentoo] USE="tbb vtk -debug -doc -examples -freeimage -gl2ps -java -qt4

Build error:
[snip]
/bin/sh ../../../../libtool  --tag=CXX   --mode=link x86_64-pc-linux-gnu-g++  -O2 -pipe -march=core-avx-i -g -fpermissive -DCSFDB -DOCC_CONVERT_SIGNALS -DLIN -DLININTEL -D_GNU_SOURCE=1 -mmmx -msse -msse2 -mfpmath=sse -Wall -O2  -L/usr/lib64 -Wl,-O1 -Wl,--as-needed -lstdc++ -lrt -o libTKIVtk.la -rpath /usr/lib64/opencascade-6.9.0/ros/lin/lib64 IVtk_IShape.lo IVtk_IShapeData.lo IVtk_IShapeMesher.lo IVtk_IShapePickerAlgo.lo IVtk_IView.lo IVtk_Interface.lo IVtkOCC_SelectableObject.lo IVtkOCC_Shape.lo IVtkOCC_ShapeMesher.lo IVtkOCC_ShapePickerAlgo.lo IVtkOCC_ViewerSelector.lo IVtkTools.lo IVtkTools_DisplayModeFilter.lo IVtkTools_ShapeDataSource.lo IVtkTools_ShapeObject.lo IVtkTools_ShapePicker.lo IVtkTools_SubPolyDataFilter.lo IVtkVTK_ShapeData.lo IVtkVTK_View.lo  ../TKernel/libTKernel.la ../TKBRep/libTKBRep.la ../TKG2d/libTKG2d.la ../TKG3d/libTKG3d.la ../TKGeomAlgo/libTKGeomAlgo.la ../TKGeomBase/libTKGeomBase.la ../TKMath/libTKMath.la ../TKMesh/libTKMesh.la ../TKService/libTKService.la ../TKTopAlgo/libTKTopAlgo.la ../TKV3d/libTKV3d.la  -L/usr/lib64 -lvtkCommonCore -lvtkCommonDataModel -lvtkCommonExecutionModel -lvtkCommonMath -lvtkCommonTransforms  -lvtkRenderingCore -lvtkRenderingOpenGL  -lvtkFiltersGeneral -lvtkIOCore -lvtkIOImage -lvtkImagingCore -lvtkInteractionStyle   -ldl -lpthread 
libtool: link: x86_64-pc-linux-gnu-g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/crtbeginS.o  .libs/IVtk_IShape.o .libs/IVtk_IShapeData.o .libs/IVtk_IShapeMesher.o .libs/IVtk_IShapePickerAlgo.o .libs/IVtk_IView.o .libs/IVtk_Interface.o .libs/IVtkOCC_SelectableObject.o .libs/IVtkOCC_Shape.o .libs/IVtkOCC_ShapeMesher.o .libs/IVtkOCC_ShapePickerAlgo.o .libs/IVtkOCC_ViewerSelector.o .libs/IVtkTools.o .libs/IVtkTools_DisplayModeFilter.o .libs/IVtkTools_ShapeDataSource.o .libs/IVtkTools_ShapeObject.o .libs/IVtkTools_ShapePicker.o .libs/IVtkTools_SubPolyDataFilter.o .libs/IVtkVTK_ShapeData.o .libs/IVtkVTK_View.o   -Wl,-rpath -Wl,/var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKernel/.libs -Wl,-rpath -Wl,/var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKBRep/.libs -Wl,-rpath -Wl,/var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKG2d/.libs -Wl,-rpath -Wl,/var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKG3d/.libs -Wl,-rpath -Wl,/var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKGeomAlgo/.libs -Wl,-rpath -Wl,/var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKGeomBase/.libs -Wl,-rpath -Wl,/var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKMath/.libs -Wl,-rpath -Wl,/var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKMesh/.libs -Wl,-rpath -Wl,/var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKService/.libs -Wl,-rpath -Wl,/var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKTopAlgo/.libs -Wl,-rpath -Wl,/var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKV3d/.libs -Wl,-rpath -Wl,/var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKShHealing/.libs -Wl,-rpath -Wl,/var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKHLR/.libs -Wl,-rpath -Wl,/usr/lib64/opencascade-6.9.0/ros/lin/lib64 -L/var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKernel/.libs -L/var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKBRep/.libs -L/var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKG2d/.libs -L/var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKG3d/.libs -L/var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKGeomAlgo/.libs -L/var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKGeomBase/.libs -L/var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKMath/.libs -L/var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKMesh/.libs -L/var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKService/.libs -L/var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKTopAlgo/.libs -L/var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKShHealing/.libs -L/var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKHLR/.libs -L/usr/lib64 ../TKernel/.libs/libTKernel.so -L/usr ../TKBRep/.libs/libTKBRep.so ../TKG2d/.libs/libTKG2d.so ../TKG3d/.libs/libTKG3d.so ../TKGeomAlgo/.libs/libTKGeomAlgo.so ../TKGeomBase/.libs/libTKGeomBase.so ../TKMath/.libs/libTKMath.so ../TKMesh/.libs/libTKMesh.so ../TKService/.libs/libTKService.so ../TKTopAlgo/.libs/libTKTopAlgo.so ../TKV3d/.libs/libTKV3d.so /var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKService/.libs/libTKService.so -lXmu /var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKShHealing/.libs/libTKShHealing.so /var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKMesh/.libs/libTKMesh.so /var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKHLR/.libs/libTKHLR.so /var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKTopAlgo/.libs/libTKTopAlgo.so /var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKGeomAlgo/.libs/libTKGeomAlgo.so /var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKBRep/.libs/libTKBRep.so /var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKGeomBase/.libs/libTKGeomBase.so /var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKG3d/.libs/libTKG3d.so /var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKG2d/.libs/libTKG2d.so /var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKMath/.libs/libTKMath.so /var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKernel/.libs/libTKernel.so -lrt -ltbb -ltbbmalloc -lXt -lX11 -lGLU -lGL -lfreetype -lvtkCommonCore -lvtkCommonDataModel -lvtkCommonExecutionModel -lvtkCommonMath -lvtkCommonTransforms -lvtkRenderingCore -lvtkRenderingOpenGL -lvtkFiltersGeneral -lvtkIOCore -lvtkIOImage -lvtkImagingCore -lvtkInteractionStyle -ldl -lpthread -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64/crtn.o  -O2 -march=core-avx-i -g -mmmx -msse -msse2 -mfpmath=sse -O2 -Wl,-O1 -Wl,--as-needed   -Wl,-soname -Wl,libTKIVtk.so.0 -o .libs/libTKIVtk.so.0.0.0
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lvtkInteractionStyle
collect2: error: ld returned 1 exit status
Makefile:514: recipe for target 'libTKIVtk.la' failed
make[3]: *** [libTKIVtk.la] Error 1
make[3]: Leaving directory '/var/tmp/portage/sci-libs/opencascade-6.9.0/work/opencascade-6.9.0/adm/lin/amk/TKIVtk'
[/snip]
Comment 1 Priit Laes (IRC: plaes) 2015-08-14 18:26:30 UTC
Created attachment 409016 [details]
opencascade-6.9.0-build.log.xz

$ emerge --info
Portage 2.2.20.1 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.3, glibc-2.21-r1, 4.1.0-rc5+ x86_64)
=================================================================
System uname: Linux-4.1.0-rc5+-x86_64-Intel-R-_Core-TM-_i5-3337U_CPU_@_1.80GHz-with-gentoo-2.2
KiB Mem:    12039724 total,   1053156 free
KiB Swap:    2097148 total,   2087804 free
Timestamp of repository gentoo: Fri, 14 Aug 2015 15:30:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25.1 p1.0) 2.25.1
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.0::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:
gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
crossdev
    location: /home/plaes/code/gentoo/crossdev
    masters: gentoo gnome
    priority: 0
gnome
    location: /home/plaes/code/gentoo/gnome
    masters: gentoo
    priority: 1
plaes-local
    location: /home/plaes/code/gentoo/local
    masters: gentoo
    priority: 2
esteid
    location: /home/plaes/code/gentoo/gentoo-esteid
    masters: gentoo
    priority: 3
games-overlay
    location: /var/lib/layman/games-overlay
    masters: gentoo
    priority: 50
science
    location: /var/lib/layman/science
    masters: gentoo
    priority: 50
steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core-avx-i -g"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=core-avx-i -g"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 avahi berkdb blas bluetooth branding bzip2 cairo cdda cdr clang cli cracklib crypt cups cxx daap dbus djvu dri dts dvd dvdr emboss encode exif fam firefox flac fortran fuse gcj gdbm gif glamor glpk gphoto2 hdf5 iconv icu idn introspection ipv6 jpeg lapack lcms libnotify libsecret mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl offensive ogg openexr opengl openmp pam pango pch pcre pdf playlist png policykit ppds pulseaudio qt3support qt5 readline rtmp sdl session smartcard sparse spell sse sse2 sse4_1 sse4_2 ssl ssse3 startup-notification svg systemd tcpd theora tiff truetype udev udisks unicode upnp-av upower usb v4l vaapi vdpau vorbis vpx wayland x264 xcb xml xmp xv xvid xvmc zeroconf zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="synaptics evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="arm" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.3 3.4"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Priit Laes (IRC: plaes) 2015-08-15 07:21:53 UTC
I did some research and it seems that vtkinteractionstyle library gets built if any of these USE flags are set for sci-libs/vtk:

USE="imaging"
--  * vtkInteractionStyle, needed by 2 modules:
        vtkInteractionImage
        vtkInteractionWidgets
USE="qt4"
--  * vtkInteractionStyle, needed by 3 modules:
        vtkGUISupportQt
        vtkInteractionWidgets
        vtkViewsInfovis
USE="rendering"
--  * vtkInteractionStyle, needed by 5 modules:
        VTK_Group_Rendering
        vtkGeovisCore
        vtkInteractionImage
        vtkInteractionWidgets
        vtkViewsInfovis
USE="views"
--  * vtkInteractionStyle, needed by 3 modules:
        vtkGeovisCore
        vtkInteractionWidgets
        vtkViewsInfovis
Comment 3 giskard 2015-08-23 11:29:19 UTC
(In reply to Priit Laes (IRC: plaes) from comment #2)
> I did some research and it seems that vtkinteractionstyle library gets built
> if any of these USE flags are set for sci-libs/vtk:
> 
> USE="imaging"
> --  * vtkInteractionStyle, needed by 2 modules:
>         vtkInteractionImage
>         vtkInteractionWidgets
> USE="qt4"
> --  * vtkInteractionStyle, needed by 3 modules:
>         vtkGUISupportQt
>         vtkInteractionWidgets
>         vtkViewsInfovis
> USE="rendering"
> --  * vtkInteractionStyle, needed by 5 modules:
>         VTK_Group_Rendering
>         vtkGeovisCore
>         vtkInteractionImage
>         vtkInteractionWidgets
>         vtkViewsInfovis
> USE="views"
> --  * vtkInteractionStyle, needed by 3 modules:
>         vtkGeovisCore
>         vtkInteractionWidgets
>         vtkViewsInfovis

yes! it works for me! I came across the same problem, first the vtk failed to build at the configure phase with all-module included in use, when removed it, it just can safely built, but opencascade failed at build time without the USE you mentioned,now I have managed to install freecad!
I think opencascade should have an explicate declaration of this problem, hope it can be fixed soon!
Thanks a lot!
Comment 4 Michael Weber (RETIRED) gentoo-dev 2015-08-24 08:10:28 UTC
(In reply to rtgiskard from comment #3)
> (In reply to Priit Laes (IRC: plaes) from comment #2)
> > I did some research and it seems that vtkinteractionstyle library gets built
> > if any of these USE flags are set for sci-libs/vtk:
> > 
> > USE="imaging"
> > --  * vtkInteractionStyle, needed by 2 modules:
> >         vtkInteractionImage
> >         vtkInteractionWidgets
> > USE="qt4"
> > --  * vtkInteractionStyle, needed by 3 modules:
> >         vtkGUISupportQt
> >         vtkInteractionWidgets
> >         vtkViewsInfovis
> > USE="rendering"
> > --  * vtkInteractionStyle, needed by 5 modules:
> >         VTK_Group_Rendering
> >         vtkGeovisCore
> >         vtkInteractionImage
> >         vtkInteractionWidgets
> >         vtkViewsInfovis
> > USE="views"
> > --  * vtkInteractionStyle, needed by 3 modules:
> >         vtkGeovisCore
> >         vtkInteractionWidgets
> >         vtkViewsInfovis
> 
So, opencascade-6.9.0 should
DEPEND=|| ( sci-libs/vtk[imaging] sci-libs/vtk[qt4] sci-libs/vtk[rendering] sci-libs/vtk[views] )

I've sci-libs/vtk[qt4], so i didn't catch the error.
Comment 5 onra.aros 2015-12-15 00:01:00 UTC
The bug does not seem to be fixed yet ? I had the same problem today and solved it with the USE=imaging flag for sci-libs/vtk.
Comment 6 Toralf Förster gentoo-dev 2016-01-17 10:22:54 UTC
failed today here too @ amd64-13.0-unstable_20160110-214700
Comment 7 Anton Bernatskiy 2016-09-10 21:54:41 UTC
Failed for me. Fixed by rebuilding vtk with USE="all-modules".
Comment 8 Michael Weber (RETIRED) gentoo-dev 2016-09-26 12:04:51 UTC
commit f50af8ad1cd34db7f2e841d36222d8d507e011fd
Author: Michael Weber <xmw@gentoo.org>
Date:   Mon Sep 26 14:03:56 2016 +0200

    sci-libs/opencascade: USE=vtk needs vtkInteractionStyle, bug 557602.
    
    Package-Manager: portage-2.2.28

sci-libs/opencascade/opencascade-6.9.0.ebuild
sci-libs/opencascade/opencascade-6.9.1.ebuild