Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 85917

Summary: media-sound/mixxx-1.4.2 failes to compile
Product: Gentoo Linux Reporter: Mathias Van Moortel <Mathias>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal CC: flameeyes
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mathias Van Moortel 2005-03-19 09:06:57 UTC
Emerging mixxx failed. I have tried with gcc i686-pc-linux-gnu-3.3.4 and i686-pc-linux-gnu-3.4.3. Both give the same error:

: undefined reference to `QGLWidget::qt_property(int, int, QVariant*)'
.obj/moc_wvisualwaveform.o(.text+0x1d2): In function `WVisualWaveform::qt_cast(char const*)':
: undefined reference to `QGLWidget::qt_cast(char const*)'
.obj/moc_wvisualwaveform.o(.gnu.linkonce.r._ZTV15WVisualWaveform+0xac): undefined reference to `QGLWidget::setMouseTracking(bool)'
.obj/moc_wvisualwaveform.o(.gnu.linkonce.r._ZTV15WVisualWaveform+0x108): undefined reference to`QGLWidget::reparent(QWidget*, unsigned int, QPoint const&, bool)'
.obj/moc_wvisualwaveform.o(.gnu.linkonce.r._ZTV15WVisualWaveform+0x148): undefined reference to`QGLWidget::paintEvent(QPaintEvent*)'
.obj/moc_wvisualwaveform.o(.gnu.linkonce.r._ZTV15WVisualWaveform+0x150): undefined reference to`QGLWidget::resizeEvent(QResizeEvent*)'
.obj/moc_wvisualwaveform.o(.gnu.linkonce.r._ZTV15WVisualWaveform+0x1c0): undefined reference to`QGLWidget::makeCurrent()'
.obj/moc_wvisualwaveform.o(.gnu.linkonce.r._ZTV15WVisualWaveform+0x1c4): undefined reference to`QGLWidget::swapBuffers()'
.obj/moc_wvisualwaveform.o(.gnu.linkonce.r._ZTV15WVisualWaveform+0x1c8): undefined reference to`QGLWidget::setFormat(QGLFormat const&)'
.obj/moc_wvisualwaveform.o(.gnu.linkonce.r._ZTV15WVisualWaveform+0x1cc): undefined reference to`QGLWidget::setContext(QGLContext*, QGLContext const*, bool)'
.obj/moc_wvisualwaveform.o(.gnu.linkonce.r._ZTV15WVisualWaveform+0x1d0): undefined reference to`QGLWidget::renderPixmap(int, int, bool)'
.obj/moc_wvisualwaveform.o(.gnu.linkonce.r._ZTV15WVisualWaveform+0x1d4): undefined reference to`QGLWidget::grabFrameBuffer(bool)'
.obj/moc_wvisualwaveform.o(.gnu.linkonce.r._ZTV15WVisualWaveform+0x1d8): undefined reference to`QGLWidget::makeOverlayCurrent()'
.obj/moc_wvisualwaveform.o(.gnu.linkonce.r._ZTV15WVisualWaveform+0x1dc): undefined reference to`QGLWidget::updateGL()'
.obj/moc_wvisualwaveform.o(.gnu.linkonce.r._ZTV15WVisualWaveform+0x1e0): undefined reference to`QGLWidget::updateOverlayGL()'
.obj/moc_wvisualwaveform.o(.gnu.linkonce.r._ZTV15WVisualWaveform+0x1f0): undefined reference to`QGLWidget::initializeOverlayGL()'
.obj/moc_wvisualwaveform.o(.gnu.linkonce.r._ZTV15WVisualWaveform+0x1f4): undefined reference to`QGLWidget::resizeOverlayGL(int, int)'
.obj/moc_wvisualwaveform.o(.gnu.linkonce.r._ZTV15WVisualWaveform+0x1f8): undefined reference to`QGLWidget::paintOverlayGL()'
.obj/moc_wvisualwaveform.o(.gnu.linkonce.r._ZTV15WVisualWaveform+0x1fc): undefined reference to`QGLWidget::glInit()'
.obj/moc_wvisualwaveform.o(.gnu.linkonce.r._ZTV15WVisualWaveform+0x200): undefined reference to`QGLWidget::glDraw()'
.obj/moc_wvisualwaveform.o(.gnu.linkonce.r._ZTI15WVisualWaveform+0x8): undefined reference to `typeinfo for QGLWidget'
collect2: ld returned 1 exit status
make: *** [mixxx] Error 1

!!! ERROR: media-sound/mixxx-1.4.2 failed.
!!! Function src_compile, Line 51, Exitcode 2
!!! make failed



Reproducible: Always
Steps to Reproduce:
1. emerge mixxx
2.
3.

Actual Results:  
Make fails.


Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20050125-r1, 2.6.11-
nitro0n i686)
=================================================================
System uname: 2.6.11-nitro0n i686 AMD Athlon(tm) MP 2400+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 27 2005, 12:56:14)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-mp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/
config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/
config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-mp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X acpi alsa apm arts artswrappersuid avi berkdb bitmap-fonts cdparanoia cdr 
crypt curl divx4linux dv dvd dvdr dvdread emboss encode esd flac font-server fortran gif gimp 
glut gphoto2 gtk gtk2 imagemagick imlib javascriptjpeg kde mad mmx motif mozilla mp3 mpeg 
ncurses nptl nptlonly nvidia ogg oggvorbis opengl oss pam pdflib png python qt quicktime 
readline samba sdl sse ssl svga tcpd tiff transcode truetype truetype-fonts type1-fonts xine 
xinerama xml xml2 xmms xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Jan Brinkmann (RETIRED) gentoo-dev 2005-03-20 14:14:27 UTC
*** Bug 85913 has been marked as a duplicate of this bug. ***
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-03-20 17:38:55 UTC
I'm not sure about it as I don't have way to install it (masked under amd64) but probably the problem resides in QT.

Have you built qt with or without opengl support?
Have you tried to run revdep-rebuild?
Comment 3 Mathias Van Moortel 2005-03-21 10:36:31 UTC
I have recompiled QT without the opengl USE flag (it was compiled with opengl). I also ran revdep-rebuild, no packages needed to be recompiled. I then emerged mixxx again but got the same error. I also tried to compile it with the jack USE flag but that also didn't work. 
Any other ideas? 
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2005-03-21 14:07:46 UTC
Yeah, you need qt build with opengl enabled, and you need to use the same compiler for qt and mixxx
Comment 5 Mathias Van Moortel 2005-03-28 05:03:42 UTC
Hmm, I have recompiled QT and all kde stuff that uses the opengl USE flag. And now Mixxx compiles without errors. 

Solved :)
Comment 6 Jan Brinkmann (RETIRED) gentoo-dev 2005-03-28 09:19:48 UTC
marking as fixed wrt to comment #5