Created attachment 455016 [details] Environment Every time that I try to compile sci-visualization/paraview-5.1.2 package it fail!
Created attachment 455018 [details] Build Log
Created attachment 455020 [details] Emerge info
Created attachment 455022 [details] pqv info
In file included from /usr/include/qt5/QtGui/qopengl.h:108:0, from /usr/include/qt5/QtOpenGL/qgl.h:39, from /usr/include/qt5/QtOpenGL/QGLContext:1, from /var/tmp/portage/sci-visualization/paraview-5.1.2/work/ParaView-v5.1.2/VTK/GUISupport/QtOpenGL/QVTKGraphicsItem.h:29, from /var/tmp/portage/sci-visualization/paraview-5.1.2/work/ParaView-v5.1.2/VTK/GUISupport/QtOpenGL/QVTKGraphicsItem.cxx:25: /usr/include/qt5/QtGui/qopengles2ext.h:22:9: error: ‘khronos_int64_t’ does not name a type typedef khronos_int64_t GLint64; ^ /usr/include/qt5/QtGui/qopengles2ext.h:23:9: error: ‘khronos_uint64_t’ does not name a type typedef khronos_uint64_t GLuint64; ^
I've tried to verify this but hit a different error, though still OpenGL related. Can you try installing `media-libs/glu` and telling me if it compiles after that? I need to know if the same fix will work.
Created attachment 455182 [details] Build Log after glu reinstall
The package media-libs was already installed, then I made that 1 - emerge -C media-libs/freeglut media-libs/glu virtual/glu 2 - emerge -uDN @world 3 - emerge @preserved-rebuild 4 - emerge -uDN paraview The compilation won't finished again. Best regards
After a good amount of research I've tracked down the issue to various qt packages (qtgui and qtopengl) being built with gles2 USE enabled. The decision was made to require these qt packages not be built with gles2 support. Pull request here addresses this: https://github.com/gentoo/gentoo/pull/3035 That said, I've looked over your `emerge --info` and noticed that you have way too many USE flags, possibly all global USE flags defined. Gentoo really wasn't meant to be used like that. The idea is that you let your install selected profile decide reasonable base settings, then use USE in make.conf for features you want all packages to have that are not in profiles, and finally use `/etc/portage/package.use` to one-off customize individual packages. While I still continued on tracking the bug after noticing this, I'd ask that you please refrain from reporting additional bugs until you've clean up your `make.conf` file to be more sane. The Gentoo Handbook will provide specific guidance on basic installation.
Oh Crap!
Thanks a lot for the help! 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