Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727338 - sci-libs/vtk-8.2.0 : /.../QVTKOpenGLNativeWidget.cxx: error: QOpenGLFunctions_3_2_Core was not declared in this scope
Summary: sci-libs/vtk-8.2.0 : /.../QVTKOpenGLNativeWidget.cxx: error: QOpenGLFunctions...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernd
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-06-06 17:39 UTC by Toralf Förster
Modified: 2022-02-21 23:24 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.17 KB, text/plain)
2020-06-06 17:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,181.42 KB, text/plain)
2020-06-06 17:39 UTC, Toralf Förster
Details
environment (environment,211.64 KB, text/plain)
2020-06-06 17:39 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,20.66 KB, application/x-bzip)
2020-06-06 17:39 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,10.54 KB, application/x-bzip)
2020-06-06 17:39 UTC, Toralf Förster
Details
sci-libs:vtk-8.2.0:20200606-150448.log.bz2 (sci-libs:vtk-8.2.0:20200606-150448.log.bz2,51.75 KB, application/x-bzip)
2020-06-06 17:39 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,94.97 KB, application/x-bzip)
2020-06-06 17:39 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 2020-06-06 17:39:30 UTC
/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/GUISupport/Qt/QVTKOpenGLNativeWidget.cxx: In member function virtual void QVTKOpenGLNativeWidget::paintGL():
/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0/GUISupport/Qt/QVTKOpenGLNativeWidget.cxx:537:3: error: QOpenGLFunctions_3_2_Core was not declared in this scope; did you mean QOpenGLFunctionsPrivate?
  537 |   QOpenGLFunctions_3_2_Core* f =
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
      |   QOpenGLFunctionsPrivate

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.1.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.43.1 *
  [2]   rust-bin-1.44.0
The following VMs are available for generation-2:
*)	IcedTea JDK 3.16.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat 06 Jun 2020 02:05:50 PM UTC

emerge -qpvO sci-libs/vtk
[ebuild  N    ] sci-libs/vtk-8.2.0  USE="X qt5 -R -all-modules (-aqua) -boost -doc (-examples) -ffmpeg -gdal -imaging -java -json -mpi -odbc -offscreen -postgres -python -rendering -tbb -tcl -test -theora -tk -views -web -xdmf2" PYTHON_SINGLE_TARGET="python3_7 -python3_6 -python3_8" VIDEO_CARDS="-nvidia"
Comment 1 Toralf Förster gentoo-dev 2020-06-06 17:39:32 UTC
Created attachment 643672 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-06-06 17:39:35 UTC
Created attachment 643674 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-06-06 17:39:38 UTC
Created attachment 643676 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-06-06 17:39:41 UTC
Created attachment 643678 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-06-06 17:39:44 UTC
Created attachment 643680 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-06-06 17:39:46 UTC
Created attachment 643682 [details]
sci-libs:vtk-8.2.0:20200606-150448.log.bz2
Comment 7 Toralf Förster gentoo-dev 2020-06-06 17:39:49 UTC
Created attachment 643684 [details]
temp.tbz2
Comment 8 Bernd 2021-06-22 18:32:06 UTC
@Toral can you confirm this issue is still happening with 8.2.0-r3? I couldn't reproduce it when using the USE flag from your log, i.e. USE="X qt5".
Comment 9 Larry the Git Cow gentoo-dev 2021-06-25 13:05:16 UTC
The bug has been referenced in the following commit(s):

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

commit a4f2a634a69b0d1b7315af5238136b335acb558e
Author:     Bernd Waibel <waebbl-gentoo@posteo.net>
AuthorDate: 2021-06-23 14:37:58 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2021-06-25 13:05:03 +0000

    sci-libs/vtk: solve RUNPATH issue
    
    - fix issue with NULL DT_RUNPATH when USE=mpi
    - remove obsolete docinto with USE=tcl
    - bug #727338 is not reproducible
    
    Bug: https://bugs.gentoo.org/727338
    Closes: https://bugs.gentoo.org/778170
    Closes: https://bugs.gentoo.org/795840
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 sci-libs/vtk/vtk-8.2.0-r4.ebuild | 375 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 375 insertions(+)
Comment 10 Larry the Git Cow gentoo-dev 2022-02-21 23:24:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=456dff1993bc8dd2dabd3a7642ffcb8229b30407

commit 456dff1993bc8dd2dabd3a7642ffcb8229b30407
Author:     Bernd Waibel <waebbl-gentoo@posteo.net>
AuthorDate: 2022-02-04 19:15:16 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-02-21 23:23:52 +0000

    sci-libs/vtk: let v9 build against ffmpeg-5
    
    Backports an upstream patch to successfully build against
    media-video/ffmpeg-5.
    
    Closes: https://bugs.gentoo.org/831595
    Closes: https://bugs.gentoo.org/727338
    Closes: https://bugs.gentoo.org/660582
    
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
    Closes: https://github.com/gentoo/gentoo/pull/24081
    Signed-off-by: Sam James <sam@gentoo.org>

 ...-IO-FFMPEG-support-FFmpeg-5.0-API-changes.patch | 141 +++++++++++++++++++++
 sci-libs/vtk/vtk-9.0.3-r4.ebuild                   |   1 +
 sci-libs/vtk/vtk-9.1.0.ebuild                      |   3 +-
 3 files changed, 144 insertions(+), 1 deletion(-)