Given the following USE flags: ---------------- [ebuild N ~] sci-visualization/paraview-5.1.2::gentoo-git USE="openmp qt5 sqlite -boost -cg -coprocessing -development -doc -examples -ffmpeg -mpi -mysql -nvcontrol -plugins -python -tcl {-test} -tk" PYTHON_TARGETS="python2_7" 0 KiB ---------------- A compile of paraview produces the following error: --------------------------------------------- -I/var/tmp/portage/sci-visualization/paraview-5.1.2/work/paraview-5.1.2_build/VTK/ThirdParty/glew -I/var/tmp/portage/sci-visualization/paraview-5 .1.2/work/ParaView-v5.1.2/VTK/ThirdParty/glew -I/var/tmp/portage/sci-visualization/paraview-5.1.2/work/ParaView-v5.1.2/VTK/ThirdParty/glew/vtkglew -I/var/tmp/portage/sci-visualization/paraview-5.1.2/work/Pa raView-v5.1.2/VTK/ThirdParty/glew/vtkglew/include -DNDEBUG -O2 -pipe -march=native -w -w -fPIC -o CMakeFiles/vtkglew.dir/src/glew.c.o -c /var/tmp/portage/sci-visualization/paraview-5.1.2/work/ParaVie w-v5.1.2/VTK/ThirdParty/glew/vtkglew/src/glew.c make[2]: *** No rule to make target '/usr/lib64/libGLU.so', needed by 'lib/libvtkglew-pv5.1.so.1'. Stop. --------------------------------------------- libGLU is provided by `media-libs/glu`, but depend wise should probably use `virtual/glu`. Nothing I've seen in the cmake files shows that this area of the source tree is conditionally compiled based on a USE flag.
Fixes in pull request now: https://github.com/gentoo/gentoo/pull/3035
commit baa2918450ee90522af6d37bfd6aa6400da91735 Author: Chris White <cwprogram@live.com> Date: Tue Dec 6 00:43:40 2016 -0800 sci-visualization/paraview: add -gles2 USE depend After some research on a compilation error with the package maintainer it was determined that the build errors caused by having qtgui and qtopengl compiled with gles2 USE enabled were enough to warrant forcing a negated USE dep on both packages in the ebuild. Verified amd64 compilation without gles2 enabled qt packages Verified complaints when attempting to emerge the package with gles2 enabled qt packages commit c480a2000618f4533545388174b8686d5f7a7a28 Author: Chris White <cwprogram@live.com> Date: Tue Dec 6 00:37:25 2016 -0800 sci-visualization/paraview: add glu depend Paraview requires glu to compile one of the VTK components. This satisfies the requirement by adding a depend on virtual/glu. Verified amd64 compliation Verified lack of glu provider will cause it to appear in the emerge pretend listing