Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 601762 - =sci-visualization/paraview-5.1.2 failure to build due to missing glu depend
Summary: =sci-visualization/paraview-5.1.2 failure to build due to missing glu depend
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2016-12-06 05:53 UTC by Chris White
Modified: 2017-01-26 19:07 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris White 2016-12-06 05:53:30 UTC
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.
Comment 1 Chris White 2016-12-06 16:52:59 UTC
Fixes in pull request now:

https://github.com/gentoo/gentoo/pull/3035
Comment 2 Matthias Maier gentoo-dev 2017-01-26 19:07:30 UTC
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