Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134589 - mythtv-0.19_p9163-r1 does not compile
Summary: mythtv-0.19_p9163-r1 does not compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Low normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-27 23:18 UTC by Peter Declercq
Modified: 2006-06-04 16:02 UTC (History)
0 users

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 Peter Declercq 2006-05-27 23:18:25 UTC
When I try to emerge mythtv 0.19 I get Make errors.

start emerge --info --------------------------------------------------------
Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.16-gentoo-r8 i686)
=================================================================
System uname: 2.6.16-gentoo-r8 i686 Intel(R) Celeron(R) CPU 2.00GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE=""
ALSA_CARDS="intel8x0"
ARCH="x86"
AUTOCLEAN="yes"
BASH_ENV="/etc/spork/is/not/valid/profile.env"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLORTERM=""
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CVS_RSH="ssh"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -pipe"
DESKTOP_SESSION="default"
DISPLAY=":0.0"
DISTDIR="/usr/portage/distfiles"
DM_CONTROL="/var/run/xdmctl"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_WARNING_DELAY="10"
FEATURES="autoconfig distlocks sandbox sfperms strict"
FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
GS_LIB="/root/.fonts"
GTK2_RC_FILES="/etc/gtk-2.0/gtkrc:/root/.gtkrc-2.0:/root/.kde3.5/share/config/gtkrc-2.0"
GTK_RC_FILES="/etc/gtk/gtkrc:/root/.gtkrc:/root/.kde3.5/share/config/gtkrc"
G_BROKEN_FILENAMES="1"
G_FILENAME_ENCODING="UTF-8"
HOME="/root"
HOSTNAME="mythbox"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/info"
KDEDIRS="/usr"
KDE_FULL_SESSION="true"
KDE_MULTIHEAD="false"
KERNEL="linux"
KONSOLE_DCOP="DCOPRef(konsole-12185,konsole)"
KONSOLE_DCOP_SESSION="DCOPRef(konsole-12185,session-1)"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LOGNAME="root"
MAKEOPTS="-j2"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/man:/usr/qt/3/doc/man"
OLDPWD="/mnt/flash"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/usr/kde/3.5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4.4:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 ppc-macos s390 sh sparc x86 x86-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_CALLER="emerge"
PORTAGE_GID="250"
PORTAGE_MASTER_PID="27197"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PRELINK_PATH=""
PRELINK_PATH_MASK=""
PWD="/"
PYTHONPATH="/usr/lib/portage/pym"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
RPMDIR="/usr/portage/rpm"
RSYNC_RETRIES="3"
RSYNC_TIMEOUT="180"
SESSION_MANAGER="local/mythbox:/tmp/.ICE-unix/12094"
SHELL="/bin/bash"
SHLVL="2"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TERM="xterm"
USE="x86 X alsa apache2 audiofile avi berkdb bitmap-fonts bzip2 cli cpudetection crypt cups dbox2 dga dri dts dvb dvd dvdread eds emboss encode esd expat fam foomaticdb fortran gdbm gif glut gpm gstreamer gtk gtk2 idn imlib ipv6 isdnlog ivtv jpeg libg++ libwww lirc mad mikmod mmx mng motif mp3 mpeg mplayer mysql ncurses nls nptl ogg opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection samba sdl session spell spl sse ssl tcpd tiff truetype truetype-fonts type1-fonts udev usb v4l vcd vidix vorbis win32codecs xine xinerama xml xml2 xmms xorg xv xvid zlib video_cards_sis userland_GNU kernel_linux elibc_glibc"
USER="root"
USERLAND="GNU"
USE_EXPAND="FRITZCAPI_CARDS FCDSL_CARDS VIDEO_CARDS DVB_CARDS INPUT_DEVICES LINGUAS USERLAND KERNEL ELIBC"
VIDEO_CARDS="sis"
WINDOWID="29360133"
XARGS="xargs -r"
XCURSOR_THEME="default"
XDG_CONFIG_DIRS="/usr/kde/3.5/etc/xdg"
XDG_DATA_DIRS="/usr/kde/3.5/share:/usr/share"
XDM_MANAGED="/var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched,rsvd,method=classic"
XINITRC="/etc/X11/xinit/xinitrc"
_="/usr/bin/emerge"
End emerge --info --------------------------------------------------------


The errors that are found are:
...
make[2]: Entering directory `/var/tmp/portage/mythtv-0.19_p9163-r1/work/mythtv-0.19/programs/mythuitest'
...
../../libs/libmythui/libmythui-0.19.so: undefined reference to `QGLWidget::staticMetaObject()'
collect2: ld returned 1 exit status
make[2]: *** [mythuitest] Error 1
make[2]: Leaving directory `/var/tmp/portage/mythtv-0.19_p9163-r1/work/mythtv-0.19/programs/mythuitest'
make[1]: *** [sub-mythuitest] Error 2
make[1]: *** Waiting for unfinished jobs....
...
make[2]: Leaving directory `/var/tmp/portage/mythtv-0.19_p9163-r1/work/mythtv-0.19/programs/mythfrontend'
make[1]: Leaving directory `/var/tmp/portage/mythtv-0.19_p9163-r1/work/mythtv-0.19/programs'
make: *** [sub-programs] Error 2
...
Comment 1 Peter Declercq 2006-05-27 23:20:12 UTC
These are the use flags mythtv is compiled with:
ebuild  N    ] media-tv/mythtv-0.19_p9163-r1  +alsa (-altivec) -arts -backendonly +dbox2 -debug +dvb +dvd -frontendonly -ieee1394 -jack -joystick -lcd +lirc +mmx -oggvorbis +opengl -video_cards_i810 -video_cards_nvidia -video_cards_via -xvmc 0 kB
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-05-27 23:24:49 UTC
Don't restrict bugs without any reason, please...
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2006-05-28 00:12:47 UTC
try to run "eselect opengl show" then "eselect opengl list" then "eselect opengl set --use-old"

Post the output of those here.

What version of QT do you have?
Comment 4 Peter Declercq 2006-05-28 01:10:13 UTC
Output is:

mythbox ~ # eselect opengl show
xorg-x11
mythbox ~ # eselect opengl list
Available OpenGL implementations:
  [1]   xorg-x11 *
mythbox ~ # eselect opengl set --use-old
Switching to xorg-x11 OpenGL interface... done

My version of qt is:
# emerge -va qt
I get: [ebuild   R   ] x11-libs/qt-4.1.2

And if I do:
#  emerge -va =x11-libs/qt-3.3.6-r1
I get: [ebuild   R   ] x11-libs/qt-3.3.6-r1

If I get it right I got them both
Comment 5 Chris Leppanen 2006-05-29 18:04:03 UTC
I'm having the same problem
Comment 6 Doug Goldstein (RETIRED) gentoo-dev 2006-05-29 19:10:08 UTC
emerge -pv qt
Comment 7 Chris Leppanen 2006-05-29 19:16:14 UTC
[ebuild  NS   ] x11-libs/qt-4.1.2  -accessibility -cups -debug -doc -examples -firebird -gif -jpeg -mng +mysql -nas -nis -odbc +opengl -png -postgres -sqlite -xinerama +zlib 27,269 kB
Comment 8 Chris Leppanen 2006-05-29 19:49:10 UTC
theres also this:
emerge -av =x11-libs/qt-3.3.6-r1
[ebuild   R   ] x11-libs/qt-3.3.6-r1  -cups -debug -doc -examples -firebird -gif -immqt -immqt-bc -ipv6 +mysql -nas -nis -odbc +opengl -postgres -sqlite -xinerama 0 kB
Comment 9 Peter Declercq 2006-05-30 11:01:09 UTC
[ebuild   R   ] x11-libs/qt-4.1.2  -accessibility +cups -debug -doc -examples -firebird +gif +jpeg +mng +mysql -nas -nis -odbc +opengl +png -postgres -sqlite +xinerama +zlib 0 kB

And

[ebuild   R   ] x11-libs/qt-3.3.6-r1  +cups -debug -doc -examples -firebird +gif -immqt -immqt-bc +ipv6 +mysql* -nas -nis -odbc +opengl* -postgres -sqlite +xinerama 0 kB

Dough, Is there really no way we can convince you to put 0.18.1 back.
Now I've got it running stable on one machine. Now I'm shure I'm not the only on e with this problem. I know it's not a solution for this bug and I intend to continue trying to get 0.19 working. PLEASE
Comment 10 Chris Leppanen 2006-06-03 01:14:18 UTC
I tried downloading the source and compiling and got the same error, so maybe it's an upstream.  I'll look into that.
Comment 11 Peter Declercq 2006-06-03 09:41:35 UTC
I also tried that, doesn't work.
I tried to re-emerge with the flag mythbackendonly and it still stops compiling.
I'm wondering if it's not due to the specific video card, in my case it's a sis chipset.
Comment 12 Jesus de Santos Garcia 2006-06-03 12:59:50 UTC
Same problem here. Unable to compile due to the linkage problem in qt. 

BTW, before compiling this package my current version of qt was 3.3.6-r1 (and doing emerge --update --deep only showed 3.3.6-r1). I had to do emerge qt to get 4.1.2 installed (and slotted,?) Mythtv donot seem to depend properly from qt. 

More things, if you disable opengl in mythtv (and in xorg, qt ...) it will complain that you don't have opengl flag in xorg, qt... So opengl doesn't seem to be an option, does it?
Comment 13 Chris Leppanen 2006-06-03 20:25:58 UTC
mythtv depends on qt-3 not 4, so the dependency checking is fine
Comment 14 Peter Declercq 2006-06-04 03:54:51 UTC
In our (CHhis and me) case I have both versions of QT on my system, as shown earlier in the posts.
In all logic we should unmerge qt 4.something and then re-emerge qt3.something to get the linking right. I'll first try the unmerge without re-emergeing qt3. 
This means that the dependencies are a problem on new gentoo builds.
I'll keep you posted.

Comment 15 Peter Declercq 2006-06-04 04:07:25 UTC
O.K. having unmerged qt4 and try to emerge mythtv I get this:

 * Qt is missing MySQL support. Please add
 * 'mysql' to your USE flags, and re-emerge Qt.

This means that mythtv was trying to use qt4 modules instead of qt3.
I'm now going to re-emerge qt3 (it takes a hell of a time to compile).
Comment 16 Peter Declercq 2006-06-04 04:09:41 UTC
Here is the output of emerge when I want to re-emerge qt3:

Calculating dependencies ...done!
[ebuild   R   ] x11-libs/qt-3.3.6-r1  +cups -debug -doc -examples -firebird +gif -immqt -immqt-bc +ipv6 +mysql* -nas -nis -odbc +opengl* -postgres -sqlite +xinerama 0 kB

Anybody knows wnat the asterisk at the end of +mysql means?
Comment 17 Peter Declercq 2006-06-04 06:52:47 UTC
It works now. I've been able to compile mythtv 0.19.
What to do:
Unmerge qt.4.
Re-emerge qt3.3.6-r1
Done.
And then to think it was all the time under our noses.
I'll close the post in the forum.
Comment 18 Chris Leppanen 2006-06-04 14:54:56 UTC
(In reply to comment #16)
> Here is the output of emerge when I want to re-emerge qt3:
> 
> Calculating dependencies ...done!
> [ebuild   R   ] x11-libs/qt-3.3.6-r1  +cups -debug -doc -examples -firebird
> +gif -immqt -immqt-bc +ipv6 +mysql* -nas -nis -odbc +opengl* -postgres -sqlite
> +xinerama 0 kB
> 
> Anybody knows wnat the asterisk at the end of +mysql means?
> 

the asterisk means that the use flag was added and is not currently in use
Comment 19 Doug Goldstein (RETIRED) gentoo-dev 2006-06-04 16:02:03 UTC
OpenGL is required for MythTV. However the OpenGL USE flag in MythTV is used to enable or disable certain extra OpenGL uses that on some people's systems work worse on their video card then the QT software renderer.

QT3 is horribly broken with QT4 sometimes. It's disgusting and the QT herders have tried to fix it and right now its probably the best we're going to be able to do.

I use QT at the office (paid license) and the thing is a mess when I try to use KDE. Unfortunately the best way to handle your QT3 apps is to mask QT4 if you don't really need QT4. Since virtually nothing in Portage uses QT4 yet, you can just mask it.