Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283181 - sci-libs/vtk-5.4.2 with qt flag enabled should depend on x11-libs/qt-opengl
Summary: sci-libs/vtk-5.4.2 with qt flag enabled should depend on x11-libs/qt-opengl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Markus Dittrich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-29 22:56 UTC by Jaroslaw Kalinowski
Modified: 2009-09-01 01:57 UTC (History)
2 users (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 Jaroslaw Kalinowski 2009-08-29 22:56:03 UTC
Emerging vtk (with: boost cg doc examples patented python qt4 tcl threads tk -java -mpi -qt3) without x11-libs/qt-opengl installed fails with "/work/VTK/GUISupport/Qt/Chart/vtkQtChartArea.cxx:54:21: error: QGLWidget: No such file or directory".

Reproducible: Didn't try

Steps to Reproduce:
1. Try emerging vtk-5.4.2 with boost cg doc examples patented python qt4 tcl threads tk -java -mpi -qt3, without  x11-libs/qt-opengl installed. Expect error at 97%.
2. Install x11-libs/qt-opengl
3. vtk should compile ok




[ 97%] .[32mBuilding CXX object GUISupport/Qt/Chart/CMakeFiles/vtkQtChart.dir/vtkQtChartArea.cxx.o                                                                                                                                
.[0mcd /var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/GUISupport/Qt/Chart && /usr/lib64/ccache/bin/c++   -DvtkQtChart_EXPORTS -DVTK_IN_VTK -DQT_DLL -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -DQT_PLUGIN -DQT_NO_DEBUG -DVTK_USE_QVTK
_QTOPENGL -DQT_DLL -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -O2 -march=core2 -mfpmath=387 -pipe   -Wno-deprecated -fPIC -I/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK -I/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/Common -I/var
/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/Utilities -I/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/VolumeRendering -I/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/Rendering -I/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/Utilitie
s/vtkalglib -I/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/Infovis -I/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/Geovis -I/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/Views -I/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/Paral
lel -I/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/Hybrid -I/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/Widgets -I/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/Rendering/Testing/Cxx -I/var/tmp/portage/sci-libs/vtk-5.4.2/work/V
TK/IO -I/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/Imaging -I/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/Graphics -I/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/GenericFiltering -I/var/tmp/portage/sci-libs/vtk-5.4.2/work/VT
K/Filtering -I/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/Common/Testing/Cxx -I/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/Utilities/vtklibproj4 -I/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/Utilities/DICOMParser -I/var/tmp
/portage/sci-libs/vtk-5.4.2/work/VTK/Utilities/vtknetcdf -I/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/Utilities/vtkexodus2/include -I/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/Utilities/MaterialLibrary -I/var/tmp/portage/s
ci-libs/vtk-5.4.2/work/VTK/Utilities/verdict -I/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/GUISupport/Qt -I/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/GUISupport/Qt/Chart -I/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/Utilit
ies/gl2ps -I/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/Utilities/ftgl/src -I/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/Utilities/ftgl -I/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/Utilities/TclTk/internals/tk8.4 -I/usr/in
clude/python2.6 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtDesigner   -o CMakeFiles/vtkQtChart.dir/vtkQtC
hartArea.cxx.o -c /var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/GUISupport/Qt/Chart/vtkQtChartArea.cxx                                                                                                                             
/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/GUISupport/Qt/Chart/vtkQtChartArea.cxx:54:21: error: QGLWidget: No such file or directory                                                                                            
/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/GUISupport/Qt/Chart/vtkQtChartArea.cxx: In constructor 'vtkQtChartArea::vtkQtChartArea(QWidget*)':                                                                                   
/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/GUISupport/Qt/Chart/vtkQtChartArea.cxx:119: error: 'QGLFormat' has not been declared                                                                                                 
/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/GUISupport/Qt/Chart/vtkQtChartArea.cxx:121: error: expected type-specifier before 'QGLWidget'                                                                                        
/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/GUISupport/Qt/Chart/vtkQtChartArea.cxx:121: error: expected `)' before 'QGLWidget'                                                                                                   
/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK/GUISupport/Qt/Chart/vtkQtChartArea.cxx:121: error: no matching function for call to 'vtkQtChartArea::setViewport(int*)'                                                              
/usr/include/qt4/QtGui/qabstractscrollarea.h:85: note: candidates are: void QAbstractScrollArea::setViewport(QWidget*)                                                                                                            
make[2]: *** [GUISupport/Qt/Chart/CMakeFiles/vtkQtChart.dir/vtkQtChartArea.cxx.o] Error 1                                                                                                                                         
make[2]: Leaving directory `/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK'                                                                                                                                                         
make[1]: *** [GUISupport/Qt/Chart/CMakeFiles/vtkQtChart.dir/all] Error 2                                                                                                                                                          
make[1]: Leaving directory `/var/tmp/portage/sci-libs/vtk-5.4.2/work/VTK'                                                                                                                                                         
make: *** [all] Error 2


Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-gentoo-1.12.11.1
Timestamp of tree: Mon, 24 Aug 2009 01:45:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -mfpmath=387 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=core2 -mfpmath=387 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirror.pw.edu.pl http://src.gentoo.pl"
LDFLAGS="-Wl,-O1"
LINGUAS="en pl de fr it ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip R X Xaw3d a52 aac aalib acl acpi alsa amd64 apache2 audiofile berkdb blas bluetooth branding bzip2 cairo cardbus cdparanoia cdr cli clisp cracklib crypt css cups cvs cxx dbus dia djvu doc dri dv dvd dvdr dvdread emacs emboss encode enscript examples exif fam ffmpeg fftw flac fontconfig fontforge fortran gcl gdbm gif gimp gimpprint ginac glitz glut gmp gnome gnome-keyring gnuplot gphoto2 gpm graphviz gsl gstreamer gtk gtk2 guile hal hddtemp hdf5 iconv ieee1394 imagemagick imlib ipv6 isdnlog jack java java6 jbig jpeg jpeg2k kde lapack latex lcms libgda libnotify lirc lm_sensors mad maildir matroska mbox mime mmx mng mono mp3 mpeg mplayer mudflap multilib musepack ncurses netcdf nis nls nptl nptlonly nsplugin ocaml octave odbc ofx ogg openbabel openexr opengl openmp pam pcmcia pcre pdf perl plotutils png postgres postscript povray pppd python qt4 quicktime raw rdesktop readline recode reflection rss ruby samba sbcl scanner sdl seamonkey session slang sox speex spell spl sse sse2 ssl subversion svg sysfs syslog tcl tcpd tetex theora threads tiff timidity tk truetype unicode usb vcd vim-syntax vorbis wavpack wifi wmf wxwindows x264 xine xml xorg xosd xpm xprint xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pl de fr it ru" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Markus Dittrich (RETIRED) gentoo-dev 2009-09-01 01:57:45 UTC
Thank you very much for the note. I've just fixed this
in portage cvs.

Best,
Markus