Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 909520 - sci-libs/vtk-9.2.6 - /.../QVTKOpenGLWindow.cxx: error: GL_BACK_LEFT was not declared in this scope
Summary: sci-libs/vtk-9.2.6 - /.../QVTKOpenGLWindow.cxx: error: GL_BACK_LEFT was not d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-02 12:03 UTC by Toralf Förster
Modified: 2024-01-10 12:41 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.77 KB, text/plain)
2023-07-02 12:03 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,29.09 KB, text/plain)
2023-07-02 12:03 UTC, Toralf Förster
Details
environment (environment,223.59 KB, text/plain)
2023-07-02 12:03 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,780 bytes, application/x-xz)
2023-07-02 12:03 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,16.61 KB, application/x-xz)
2023-07-02 12:03 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,2.53 KB, application/x-xz)
2023-07-02 12:03 UTC, Toralf Förster
Details
sci-libs:vtk-9.2.6:20230702-114243.log.xz (sci-libs:vtk-9.2.6:20230702-114243.log.xz,84.09 KB, application/x-xz)
2023-07-02 12:03 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,128.52 KB, application/x-xz)
2023-07-02 12:03 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-07-02 12:03:41 UTC
too long lines were shrinked:

[2089/14136] /usr/bin/x86_64-pc-linux-gnu-g++ -DGUISupportQt_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DVTK_IN_VTK -Dkiss_fft_scalar=double -DvtkRenderingCore_AUTOINIT_INCLUDE=\"/var/tmp/portage/sci-libs/vtk-9.2.6/work/VTK-9.2.6_build/CMakeFi
[2090/14136] /usr/bin/x86_64-pc-linux-gnu-g++ -DGUISupportQt_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DVTK_IN_VTK -Dkiss_fft_scalar=double -DvtkRenderingCore_AUTOINIT_INCLUDE=\"/var/tmp/portage/sci-libs/vtk-9.2.6/work/VTK-9.2.6_build/CMakeFi
[2091/14136] /usr/bin/x86_64-pc-linux-gnu-g++ -DGUISupportQt_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DVTK_IN_VTK -Dkiss_fft_scalar=double -DvtkRenderingCore_AUTOINIT_INCLUDE=\"/var/tmp/portage/sci-libs/vtk-9.2.6/work/VTK-9.2.6_build/CMakeFi
FAILED: GUISupport/Qt/CMakeFiles/GUISupportQt.dir/QVTKOpenGLWindow.cxx.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DGUISupportQt_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DVTK_IN_VTK -Dkiss_fft_scalar=double -DvtkRenderingCore_AUTOINIT_INCLUDE=\"/var/tmp/portage/sci-libs/vtk-9.2.6/work/VTK-9.2.6_build/CMakeFiles/vtkModule
/var/tmp/portage/sci-libs/vtk-9.2.6/work/VTK-9.2.6/GUISupport/Qt/QVTKOpenGLWindow.cxx: In member function 'virtual void QVTKOpenGLWindow::paintGL()':
/var/tmp/portage/sci-libs/vtk-9.2.6/work/VTK-9.2.6/GUISupport/Qt/QVTKOpenGLWindow.cxx:266:43: error: 'GL_BACK_LEFT' was not declared in this scope
  266 |         this->defaultFramebufferObject(), GL_BACK_LEFT, QRect(QPoint(0, 0), deviceSize));
      |                                           ^~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-20230702-022503

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.4
Available Rust versions:
  [1]   rust-1.69.0 *
GENTOO_VM=openjdk-bin-8  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER=""
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 

php cli (if any):

  HEAD of ::gentoo
commit 4fb577bea977c4092a0929328082fc3a83017f93
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Jul 2 02:01:59 2023 +0000

    2023-07-02 02:01:58 UTC

emerge -qpvO sci-libs/vtk
[ebuild  N    ] sci-libs/vtk-9.2.6  USE="examples java logging mysql openmp qt5 rendering sdl threads -all-modules -boost (-cuda) (-debug) -doc -ffmpeg -freetype -gdal -imaging -las -mpi -odbc -openvdb -pdal -postgres -python -qt6 -tbb -test -tk -views -vtkm -web" PYTHON_SINGLE_TARGET="python3_11 -python3_10" VIDEO_CARDS="-nvidia"
Comment 1 Toralf Förster gentoo-dev 2023-07-02 12:03:42 UTC
Created attachment 865004 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-07-02 12:03:43 UTC
Created attachment 865005 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-07-02 12:03:44 UTC
Created attachment 865006 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-07-02 12:03:45 UTC
Created attachment 865007 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-07-02 12:03:46 UTC
Created attachment 865008 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-07-02 12:03:46 UTC
Created attachment 865009 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-07-02 12:03:47 UTC
Created attachment 865010 [details]
sci-libs:vtk-9.2.6:20230702-114243.log.xz
Comment 8 Toralf Förster gentoo-dev 2023-07-02 12:03:49 UTC
Created attachment 865011 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-12 21:14:06 UTC
FWIW -r1 compiled fine (at 1 image):

/home/tinderbox/img/17.1_systemd-20231113-080511/var/log/emerge.log
2023-11-22T23:15:07 >>> sci-libs/vtk-9.2.6-r1: 1 hour, 34 minutes, 42 seconds
Comment 10 Larry the Git Cow gentoo-dev 2024-01-10 12:41:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0167fc77186716079471d895b32b2283ca8b7fc4

commit 0167fc77186716079471d895b32b2283ca8b7fc4
Author:     Paul Zander <negril.nx+gentoo@gmail.com>
AuthorDate: 2023-07-06 14:26:47 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-10 12:41:01 +0000

    sci-libs/vtk: add 9.3.0
    
    Closes: https://bugs.gentoo.org/918898
    Closes: https://bugs.gentoo.org/909520
    Closes: https://bugs.gentoo.org/909380
    Closes: https://bugs.gentoo.org/908874
    Closes: https://bugs.gentoo.org/906264
    Closes: https://bugs.gentoo.org/906075
    Closes: https://bugs.gentoo.org/887505
    Closes: https://bugs.gentoo.org/840776
    Closes: https://bugs.gentoo.org/835659
    
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/34432
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-libs/vtk/Manifest                              |   6 +
 sci-libs/vtk/files/vtk-9.2.5-pegtl-3.x.patch       | 136 +++
 ...ix-Java-error-with-integer-enum-overloads.patch |  51 ++
 sci-libs/vtk/files/vtk-9.3.0-java.patch            |  11 +
 sci-libs/vtk/files/vtk-9.3.0-opencascade.patch     |  17 +
 sci-libs/vtk/files/vtk-9.3.0-pdal-2.6.0.patch      |  77 ++
 .../vtk-9.3.0-too-many-initializer-values.patch    |  20 +
 sci-libs/vtk/metadata.xml                          |   1 +
 sci-libs/vtk/vtk-9.3.0.ebuild                      | 909 +++++++++++++++++++++
 9 files changed, 1228 insertions(+)