Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31724 - media-tv/mythtv-0.12 fails to compile
Summary: media-tv/mythtv-0.12 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-21 22:07 UTC by Urgo
Modified: 2003-10-28 08:32 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 Urgo 2003-10-21 22:07:11 UTC
The new mythtv ebuild (0.12) fails to compile.  The old version (0.11) is
currently installed.

Reproducible: Always
Steps to Reproduce:
1. emerge mythtv


Actual Results:  
g++ -c -pipe -Wall -W -O3 -march=pentium2 -fomit-frame-pointer `freetype-config
--cflags` -D_REENTRANT  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\"
-DMMX -DUSING_DVB -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/linux/include/linux/dvb
-I../libmyth -I.. -I../libavcodec -I../libavformat -I../libdvbdev
-I/usr/qt/3/include -o videosource.o videosource.cpp
videosource.cpp: In member function `void
   DVBConfigurationGroup::probeCard(const QString&)':
videosource.cpp:415: `DVB_DEV_FRONTEND' undeclared (first use this function)
videosource.cpp:415: (Each undeclared identifier is reported only once for each
   function it appears in.)
videosource.cpp:415: `dvbdevice' undeclared (first use this function)
make[2]: *** [videosource.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/mythtv-0.12/work/mythtv-0.12/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/var/tmp/portage/mythtv-0.12/work/mythtv-0.12/libs'
make: *** [sub-libs] Error 2

!!! ERROR: media-tv/mythtv-0.12 failed.
!!! Function src_compile, Line 89, Exitcode 2
!!! compile problem

Expected Results:  
mythtv 0.12 should be installed

Portage 2.0.49-r13-2 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22)
=================================================================
System uname: 2.4.22 i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="oss apm libg++ mikmod nls xmms gdbm berkdb gpm esd motif 3dfx 3dnow aalib
acl alsa apache2 arts avi cdr crypt cups curl dga directfb dvb emacs encode
ethereal fbcon foomaticdb gd ggi gif gnome gstreamer gtk gtk2 imlib ipv6 java
jpeg kde libwww lirc mad matrox memlimit mmx mozilla mpeg mpi mysql ncurses
nocardbus oggvorbis opengl pam ppds pdflib perl png python qt quicktime readline
samba sasl sdl slang slp spell sse ssl svga tcltk tcpd tiff truetype usb videos
wmf X Xaw3d xface xosd xml xml2 xv zlib x86"
Comment 1 Adam Bolte 2003-10-23 23:30:58 UTC
I too can confirm exactly the same error, where 0.11 is currently installed
also.

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22)
=================================================================
System uname: 2.4.22 i686 AMD Athlon(tm) XP 2100+
Gentoo Base System version 1.4.3.10
distcc 2.9 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="x86 foomaticdb libg++ berkdb gpm 3dnow aalib acl acpi alsa apache2 apm
arts avi bonobo cdr cjk crypt cscope cups curl dedicated dga directfb doc
dvb dvd emacs encode esd ethereal evo fbcon flash gb gd gdbm ggi gif gnome
gphoto2 gstreamer gtk2 gtk gtkhtml guile imap imlib jack java jikes joystick
jpeg junit kde ladcca lcms leim libgda libwww mad mbox mcal mikmod memlimit
mmx motif mozilla mpeg mpi mule mysql nas ncurses nls nocd odbc oggvorbis
opengl oss pam pda pdflib perl plotutils png prelude python qt quicktime
readline ruby samba sasl scanner sdl slang slp snmp spell ssl svga tcltk
tcpd tetex tiff truetype usb videos wmf wxwindows X Xaw3d xinerama xosd xml
xml2 xmms xv zeo zlib"
Comment 2 Max Kalika (RETIRED) gentoo-dev 2003-10-27 20:11:14 UTC
Disable dvb in your USE flags and try again.  It doesn't quite work in this
version.  I saw some fixes upstream for dvb support -- haven't investigated
though.  If I can't make dvb stuff work with the 0.5.0 version that is in
portage, I might disable it all together in mythtv.

Again, for now, just do add -dvb to your USE flags in /etc/make.conf or:

  # USE=-dvb emerge mythtv

and make sure everything else works.
Comment 3 Urgo 2003-10-27 22:45:17 UTC
Max Kalika's suggestion is a valid work-around.  I took dvb out of my use
flags (just removed it, did not negate it) and mythtv 0.12 compiled without
a problem.
Comment 4 Max Kalika (RETIRED) gentoo-dev 2003-10-28 08:32:22 UTC
I disabled DVB support for now.