Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 945731 - sci-libs/vtk-9.3.0-r3 GUISupport/Qt/QVTKOpenGLWindow.cxx:255:43: error: 'GL_BACK_LEFT' was not declared in this scope
Summary: sci-libs/vtk-9.3.0-r3 GUISupport/Qt/QVTKOpenGLWindow.cxx:255:43: error: 'GL_B...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Paul Zander
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-02 11:10 UTC by CaptainBlood
Modified: 2024-12-02 21:00 UTC (History)
3 users (show)

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


Attachments
build log (sci-libs:vtk-9.3.0-r3:20241202-021942.log.gz,201.04 KB, application/gzip)
2024-12-02 11:10 UTC, CaptainBlood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description CaptainBlood 2024-12-02 11:10:46 UTC
Created attachment 913056 [details]
build log

eix sci-libs/vtk
[I] sci-libs/vtk
     Available versions:  [m]~9.1.0(0/9.1)^t[1] 9.3.0-r3(0/9.3)^t {all-modules (+)boost cuda debug doc examples (+)ffmpeg +freetype (+)gdal gles2-only imaging java las +logging mpi mysql odbc opencascade openmp openvdb pdal postgres python qt5 qt6 +rendering sdl tbb test +threads tk (+)views vtkm web PYTHON_SINGLE_TARGET="(+)python3_10 python3_11 python3_12" VIDEO_CARDS="nvidia"}
     Installed versions:  9.3.0-r3(0/9.3)^t(01:53:48 25/11/2024)(boost freetype imaging mpi python qt5 rendering tbb views -all-modules -cuda -debug -doc -examples -ffmpeg -gdal -gles2-only -java -las -logging -mysql -odbc -opencascade -openmp -openvdb -pdal -postgres -qt6 -sdl -test -threads -tk -vtkm -web PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12" VIDEO_CARDS="-nvidia")
--------------------------------------------------------------------------------
Only qt6 switch and testing gles2-only
emerge -p -v sci-libs/vtk
[ebuild   R    ] sci-libs/vtk-9.3.0-r3:0/9.3::gentoo  USE="-all-modules boost (-cuda) (-debug) -doc -examples -ffmpeg freetype -gdal gles2-only* imaging -java -las -logging mpi -mysql -odbc -opencascade -openmp -openvdb -pdal -postgres python (-qt5*) qt6* rendering -sdl tbb -test -threads -tk views -vtkm -web" PYTHON_SINGLE_TARGET="-python3_10 python3_11 -python3_12" VIDEO_CARDS="-nvidia" 0 KiB
--------------------------------------------------------------------------------
emerge --info
Portage 3.0.66.1 (python 3.11.10-final-0, default/linux/amd64/23.0/split-usr, gcc-14, glibc-2.40-r5, 6.12.1-gentoo-std x86_64)
=================================================================
System uname: Linux-6.12.1-gentoo-std-x86_64-Intel-R-_Core-TM-_i3-6100_CPU_@_3.70GHz-with-glibc2.40
KiB Mem:     3930332 total,   1208996 free
KiB Swap:  200772604 total, 199946768 free

Timestamp of repository gentoo: Mon, 02 Dec 2024 01:15:00 +0000
Head commit of repository gentoo: a7405fd71777ad20dc5d71ac07946b647770b4e0

sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p3) 2.43.1
distcc 3.4 x86_64-pc-linux-gnu [disabled]
ccache version 4.10.2 [disabled]
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.5::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.5.2::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           2.7.18_p16-r2::gentoo, 3.10.15_p2::gentoo, 3.11.10_p1::gentoo, 3.12.7_p1::gentoo, 3.13.0::gentoo
dev-lang/rust:             1.79.0-r100::gentoo, 1.82.0-r100::gentoo
dev-lang/rust-bin:         1.71.1-r100::gentoo, 1.74.1-r100::gentoo, 1.75.0-r100::gentoo, 1.77.1-r100::gentoo, 1.79.0-r100::gentoo, 1.80.1-r100::gentoo, 1.81.0-r100::gentoo, 1.82.0-r100::gentoo
dev-util/ccache:           4.10.2-r1::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.55.1::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.42-r2::gentoo, 2.43-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 18.1.8-r6::gentoo, 19.1.4::gentoo
sys-devel/gcc:             13.3.1_p20241115::gentoo, 14.2.1_p20241116::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             18.1.8::gentoo, 19.1.4::gentoo
sys-devel/llvm:            15.0.7-r7::gentoo, 18.1.8-r6::gentoo, 19.1.4::gentoo
sys-kernel/linux-headers:  6.11::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r5::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=native -O2 -pipe -Wa,-mbranches-within-32B-boundaries                                                                                                       "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -mtune=native -O2 -pipe -Wa,-mbranches-within-32B-boundaries                                                                                                       "
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--alert y --alphabetical --ask-enter-invalid --autounmask y --autounmask-only n --autounmask-unrestricted-atoms y --autounmask-write y --complete-graph y --misspell-suggestions n --noconfmem --nospinner --tree --with-bdeps y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=core2 -mtune=native -O2 -pipe -Wa,-mbranches-within-32B-boundaries                                                                                                       "
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-march=core2 -mtune=native -O2 -pipe -Wa,-mbranches-within-32B-boundaries                                                                                                       "
GENTOO_MIRRORS="http://gentoo.mirrors.ovh.net/gentoo-distfiles/      http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/      http://ftp.halifax.rwth-aachen.de/gentoo/      http://ftp.free.fr/mirrors/ftp.gentoo.org/      http://mirrors.soeasyto.com/distfiles.gentoo.org/      http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/      http://mirror.leaseweb.com/gentoo/      http://www.mirrorservice.org/sites/distfiles.gentoo.org/      http://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/      http://mirror.bytemark.co.uk/gentoo/"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,-fuse-ld=mold "
LEX="flex"
LINGUAS="fr"
MAKEOPTS="-j3 -l3"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="lzma"
PORTAGE_COMPRESS_FLAGS="-9"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
RUSTFLAGS="-Ctarget-cpu=native -Cllvm-args=-x86-branches-within-32B-boundaries "
SHELL="/bin/bash"
USE="amd64 asm custom-cflags emacs eselect-ldso fortran gentoo-vm gtk-doc minimal modules-compress modules-sign ocamlopt pgo split-usr test-rust verify-sig" ABI_X86="64" ALSA_CARDS="hda-intel" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="fr" LUA_SINGLE_TARGET="lua5-4" LUA_TARGETS="lua5-4" PERL_FEATURES="ithreads" PHP_TARGETS="php8-2" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_USER_TARGETS="aarch64" RUBY_TARGETS="ruby32" VIDEO_CARDS="intel"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
--------------------------------------------------------------------------------
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_OPENGLWIDGETS_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -Dkiss_fft_scalar=double -DvtkRenderingCore_AUTOINIT_INCLUDE=\"/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0_build/CMakeFiles/vtkModuleAutoInit_be7301261a49b13d6a9b1d9e110eacd8.h\" -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0_build/GUISupport/Qt/GUISupportQt_autogen/include -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0_build/GUISupport/Qt -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0/GUISupport/Qt -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0_build/Common/Core -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0/Common/Core -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0_build/Rendering/Core -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0/Rendering/Core -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0_build/Common/DataModel -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0/Common/DataModel -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0_build/Common/Math -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0/Common/Math -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0_build/ThirdParty/kissfft/vtkkissfft -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0/ThirdParty/kissfft/vtkkissfft -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0_build/Common/Transforms -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0/Common/Transforms -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0_build/Common/ExecutionModel -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0/Common/ExecutionModel -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0_build/Filters/Core -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0/Filters/Core -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0_build/Common/Misc -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0/Common/Misc -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0_build/Rendering/OpenGL2 -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0/Rendering/OpenGL2 -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0_build/Filters/General -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0/Filters/General -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0_build/IO/Image -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0/IO/Image -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0_build/Imaging/Core -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0/Imaging/Core -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0_build/Rendering/HyperTreeGrid -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0/Rendering/HyperTreeGrid -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0_build/Rendering/UI -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0/Rendering/UI -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0_build/Interaction/Widgets -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0/Interaction/Widgets -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0_build/Filters/Sources -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0/Filters/Sources -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0_build/Rendering/Context2D -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0/Rendering/Context2D -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0_build/Common/System -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0/Common/System -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0_build/Filters/Extraction -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0/Filters/Extraction -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0_build/Interaction/Style -I/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0/Interaction/Style -isystem /var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0_build/Utilities/KWIML -isystem /var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0/Utilities/KWIML -isystem /var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0_build/Utilities/KWSys -isystem /var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0/Utilities/KWSys -isystem /var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0_build/ThirdParty/kissfft -isystem /var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0/ThirdParty/kissfft -isystem /var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0_build/ThirdParty/glew -isystem /var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0/ThirdParty/glew -isystem /usr/include/qt6/QtOpenGL -isystem /usr/include/qt6 -isystem /usr/include/qt6/QtCore -isystem /usr/lib64/qt6/mkspecs/linux-g++ -isystem /usr/include/qt6/QtGui -isystem /usr/include/qt6/QtWidgets -isystem /usr/include/qt6/QtOpenGLWidgets  -march=core2 -mtune=native -O2 -flto=1 -fuse-linker-plugin -fno-fat-lto-objects -pipe -Wa,-mbranches-within-32B-boundaries  -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -MD -MT GUISupport/Qt/CMakeFiles/GUISupportQt.dir/QVTKOpenGLWindow.cxx.o -MF GUISupport/Qt/CMakeFiles/GUISupportQt.dir/QVTKOpenGLWindow.cxx.o.d -o GUISupport/Qt/CMakeFiles/GUISupportQt.dir/QVTKOpenGLWindow.cxx.o -c /var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0/GUISupport/Qt/QVTKOpenGLWindow.cxx
/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0/GUISupport/Qt/QVTKOpenGLWindow.cxx: In member function 'virtual void QVTKOpenGLWindow::paintGL()':
/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0/GUISupport/Qt/QVTKOpenGLWindow.cxx:255:43: error: 'GL_BACK_LEFT' was not declared in this scope
  255 |         this->defaultFramebufferObject(), GL_BACK_LEFT, QRect(QPoint(0, 0), deviceSize));
      |                                           ^~~~~~~~~~~~
/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0/GUISupport/Qt/QVTKOpenGLWindow.cxx:257:43: error: 'GL_BACK_RIGHT' was not declared in this scope
  257 |         this->defaultFramebufferObject(), GL_BACK_RIGHT, QRect(QPoint(0, 0), deviceSize));
      |                                           ^~~~~~~~~~~~~
/var/no-tmpfs/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0/GUISupport/Qt/QVTKOpenGLWindow.cxx:262:43: error: 'GL_BACK_LEFT' was not declared in this scope
  262 |         this->defaultFramebufferObject(), GL_BACK_LEFT, QRect(QPoint(0, 0), deviceSize));
      |                                           ^~~~~~~~~~~~
ninja: build stopped: subcommand failed.
 * ERROR: sci-libs/vtk-9.3.0-r3::gentoo failed (compile phase):
 *   ninja -v -j3 -l3 failed
Comment 1 CaptainBlood 2024-12-02 11:43:05 UTC
same without gles2-only