Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52722 - MythTV 0.15.1 Released
Summary: MythTV 0.15.1 Released
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
: 53174 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-01 13:33 UTC by Jeremy Johnson
Modified: 2004-09-10 14:04 UTC (History)
5 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 Jeremy Johnson 2004-06-01 13:33:31 UTC
MythTV 0.15.1 was released on May 31 (0.15 was released on May 26). It adds internal support for Zap2It TV listings. XMLTV will no longer work with it and is not supported anymore.

Also Zap2It changed their system to fully support MythTV now, but subscribers need a user account for free listing access and the current stable version of XMLTV in portage does not support this.

The XMLTV developers changed the name of tv_grab_na to tv_grab_na_dd in the more current, and supported releases as well so version 0.14 of Myth will not work with the newer XMLTV without some major work (took me a while to get it working properly).

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Sloan Poe 2004-06-01 15:02:22 UTC
while trying to install the 0.15.1 ebuild I get the following errors:

g++ -c -pipe `artsc-config --cflags` `directfb-config --cflags` -Wall -W -O3 -march=athlon-xp -fomit-frame-pointer `freetype-config --cflags` -D_REENTRANT -fPIC  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DMMX -DUSING_IVTV -DUSING_XVMC -DUSING_OPENGL_VSYNC -DUSING_XV -DUSING_DIRECTFB -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I../libmyth -I.. -Idvbdev -I../libavcodec -I/usr/qt/3/include -o channelbase.o channelbase.cpp
gcc -c -pipe -Wall -W -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -D_REENTRANT -fPIC  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DMMX -DUSING_IVTV -DUSING_XVMC -DUSING_OPENGL_VSYNC -DUSING_XV -DUSING_DIRECTFB -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I../libmyth -I.. -Idvbdev -I../libavcodec -I/usr/qt/3/include -o vsync.o vsync.c
In file included from vsync.c:38:
/usr/include/GL/glxext.h:374: error: syntax error before "glXGetProcAddress"
/usr/include/GL/glxext.h:376: error: syntax error before '*' token
/usr/include/GL/glxext.h:376: error: `__GLXextFuncPtr' declared as function returning a function
make[2]: *** [vsync.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/mythtv-0.15.1/work/mythtv-0.15.1/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/var/tmp/portage/mythtv-0.15.1/work/mythtv-0.15.1/libs'
make: *** [sub-libs] Error 2

!!! ERROR: media-tv/mythtv-0.15.1 failed.
!!! Function src_compile, Line 122, Exitcode 2
!!! compile problem
Comment 2 Sloan Poe 2004-06-01 15:12:35 UTC
A little more info.  I'm running xorg-x11 /usr/include/GL/glxext.h is part of that package.  Maybe its possible that mythtv isn't compatible with xorg-x11.  
Comment 3 Jauke Stavenga 2004-06-01 15:44:05 UTC
I've got the same error using xfree-4.3.0
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2004-06-01 16:18:49 UTC
Same error and here's an emerge info.... I've got x.org's x11.

emerge info
Portage 2.0.50-r7 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.40GHz
Gentoo Base System version 1.4.15
distcc 2.14 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O -pipe -fomit-frame-pointer -fexpensive-optimizations -ffast-math -falign-functions=4 -fforce-addr -funroll-loops -maccumulate-outgoing-args -frerun-loop-opt -fprefetch-loop-arrays -frerun-cse-after-loop -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O -pipe -fomit-frame-pointer -fexpensive-optimizations -ffast-math -falign-functions=4 -fforce-addr -funroll-loops -maccumulate-outgoing-args -frerun-loop-opt -fprefetch-loop-arrays -frerun-cse-after-loop -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync2.us.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts audiofile avi berkdb cdr crypt cups dvd encode esd faad flac foomaticdb footmaticdb gdbm gif gnome gnomedb gphoto2 gpm gstreamer gtk gtk2 imlib ipv6 java jpeg kde libg++ libwww mad mikmod mmx motif mozilla moznocompose moznoirc moznomail mozsvg mpeg mysql nas ncurses nls nogcj nptl nvidia oav oggvorbis opengl oss pam pcmcia pdflib perl pic png pnp ppds python qt quicktime readline samba sdl slang slp smooth spell sse ssl svga tcltk tcpd theora tiff truetype usb wmf x86 xml2 xmms xv zlib"
Comment 5 Joshua Ecklund 2004-06-01 17:03:17 UTC
Same error here.. I'm using the xfree 4.3.0-r5 package.  

Here's my emerge info:

Portage 2.0.50-r7 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.4-gentoo)
=================================================================
System uname: 2.6.4-gentoo i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.15
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon -march=athlon -O3 -pipe -fomit-frame-pointer -ffast-math -funroll-loops -fforce-addr -falign-functions=4"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon -march=athlon -O3 -pipe -fomit-frame-pointer -ffast-math -funroll-loops -fforce-addr -falign-functions=4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo http://adelie.polymtl.ca/ http://mirrors.tds.net/gentoo http://gentoo.mirrors.pair.com/ ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib aim alsa apm audiofile avi berkdb cdr crypt cups curl dga directfb dvd encode foomaticdb gd gdbm gif gpm gtk gtk2 icq imagemagick imlib java jpeg kde libg++ libwww mad mbox mikmod mmx motif mozilla mpeg mpi msn mysql ncurses nls nvidia oggvorbis opengl oscar pam pda pdflib perl png python qt quicktime readline samba sdl slang slp spell ssl svga tcltk tcpd tiff truetype usb wxwindows x86 xinerama xml2 xmms xosd xv yahoo zlib"

Comment 6 Eli Ben-Shoshan 2004-06-01 18:01:08 UTC
Looks like compiling this without opengl works just fine. I put the following in /etc/portage/package.use and was able to compile from start to end without a hitch:

media-tv/mythtv -opengl

you could also do the following:

USE="-opengl" emerge -v mythtv

Enjoy.
Comment 7 Doug Goldstein (RETIRED) gentoo-dev 2004-06-01 21:03:52 UTC
Just a quick copy and paste from the header files without much analyzing.

/usr/include/GL/glxext.h - Lines 290 through 292
#ifndef GLX_ARB_get_proc_address
typedef void (*__GLXextFuncPtr)(void);
#endif

/usr/include/GL/glxext.h - Lines 373 through 386 (the offending lines


#ifdef GLX_GLXEXT_PROTOTYPES
extern __GLXextFuncPtr glXGetProcAddress (const GLubyte *);
#endif /* GLX_GLXEXT_PROTOTYPES */
typedef __GLXextFuncPtr ( * PFNGLXGETPROCADDRESSPROC) (const GLubyte *procName);
#endif

#ifndef GLX_ARB_get_proc_address
#define GLX_ARB_get_proc_address 1
#ifdef GLX_GLXEXT_PROTOTYPES
extern __GLXextFuncPtr glXGetProcAddressARB (const GLubyte *);
#endif /* GLX_GLXEXT_PROTOTYPES */
typedef __GLXextFuncPtr ( * PFNGLXGETPROCADDRESSARBPROC) (const GLubyte *procName);
#endif


A quick grep comes up with...

grep '__GLXextFuncPtr' /usr/include/GL/*
/usr/include/GL/glxext.h:typedef void (*__GLXextFuncPtr)(void);
/usr/include/GL/glxext.h:extern __GLXextFuncPtr glXGetProcAddress (const GLubyte *);
/usr/include/GL/glxext.h:typedef __GLXextFuncPtr ( * PFNGLXGETPROCADDRESSPROC) (const GLubyte *procName);
/usr/include/GL/glxext.h:extern __GLXextFuncPtr glXGetProcAddressARB (const GLubyte *);
/usr/include/GL/glxext.h:typedef __GLXextFuncPtr ( * PFNGLXGETPROCADDRESSARBPROC) (const GLubyte *procName);


What's all this mean? I dunno. I didn't look too tired and writing a paper, but I'd guess it sounds like a whoops in the headers from X.

For now...

USE="-opengl" emerge mythtv.

Oh and not to be forgotten, mythfrontend is affected too (since it's only an ebuild to install just the frotnend).
Comment 8 Jauke Stavenga 2004-06-02 01:39:48 UTC
It isn't working without opengl for me too

Now I got an error about directfb:

g++ -c -pipe `artsc-config --cflags` `directfb-config --cflags` -Wall -W -O3 -march=athlon-xp -fomit-frame-pointer `freetype-config --cflags` -D_REENTRANT -fPIC  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DMMX -DUSING_IVTV -DUSING_XV -DUSING_DIRECTFB -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I../libmyth -I.. -Idvbdev -I../libavcodec -I/usr/qt/3/include -o videoout_directfb.o videoout_directfb.cpp
videoout_directfb.cpp: In member function `virtual bool
   VideoOutputDirectfb::Init(int, int, float, long unsigned int, int, int, int,
   int, long unsigned int)':
videoout_directfb.cpp:340: error: `DSCAPS_DOUBLE' undeclared (first use this
   function)
videoout_directfb.cpp:340: error: (Each undeclared identifier is reported only
   once for each function it appears in.)
videoout_directfb.cpp:309: warning: unused variable `DFBDisplayLayerDescription
   ldesc'
videoout_directfb.cpp: In function `DFBEnumerationResult LayerCallback(unsigned
   int, DFBDisplayLayerDescription, void*)':
videoout_directfb.cpp:764: warning: unused variable `IDirectFBSurface*surface'
videoout_directfb.cpp: In member function `virtual bool
   VideoOutputDirectfb::Init(int, int, float, long unsigned int, int, int, int,
   int, long unsigned int)':
videoout_directfb.cpp:305: warning: unused parameter `int winw'
videoout_directfb.cpp:305: warning: unused parameter `int winh'
videoout_directfb.cpp: In member function `virtual void
   VideoOutputDirectfb::Show(FrameScanType)':
videoout_directfb.cpp:555: warning: unused parameter `FrameScanType t'
make[2]: *** [videoout_directfb.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/mythtv-0.15.1/work/mythtv-0.15.1/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/var/tmp/portage/mythtv-0.15.1/work/mythtv-0.15.1/libs'
make: *** [sub-libs] Error 2

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

In the version 0.15 ebuild there was a patch, but this was removed in the 0.15.1 ebuild??
Comment 9 Sloan Poe 2004-06-02 06:39:20 UTC
I managed to get it to compile with USE="-directfb -opengl".  It took me a while.  For some reason I kept getting compiler segfaults.  Finally I have my mythtv running again.  Just a quick tip for those upgrading to the zap2it service.  Make sure that you associate your input with your new source, or else mythtv won't record any of your programs.  It took me a little while to figure this one out.  All my recording profiles were there, but no programs were scheduled to be recorded.

good luck to you all.
Comment 10 Eli Ben-Shoshan 2004-06-02 07:48:45 UTC
Looks like someone hit the problem on the head on the mythtv-users mailing list:

On Wed, 2004-06-02 at 00:49, Bryan Halter wrote:

>> When I try to compile (emerge mythtv) on my gentoo box I get the
>> following errors:
>> 
>> /usr/include/GL/glxext.h:363: error: syntax error before
>> "glXGetProcAddress"


That's a frequent problem on Gentoo with a number of applications.

You should do opengl-update to set the default to xfree.  Then it will
compile.  Then change the default back to nvidia or whatever is
appropriate for your hardware.  Apparently nVidia wasn't smart enough to
make their include files compatible with the default.

I'll give this a try when I get home later on today.
Comment 11 Matthew Daubenspeck 2004-06-02 08:34:10 UTC
I just tried to compile after the opengl-update xfree, and it compiled fine.
Comment 12 André Terpstra 2004-06-02 10:45:15 UTC
"opengl-update xfree" doens
Comment 13 André Terpstra 2004-06-02 10:45:15 UTC
"opengl-update xfree" doens´t help here. Tried it on 2 machines and now get other compile errors.
Comment 14 André Terpstra 2004-06-02 12:24:43 UTC
Here's the error message:

g++ -c -pipe `artsc-config --cflags` `directfb-config --cflags` -Wall -W -O3 -march=pentium4 -fomit-frame-pointer `freetype-config --cflags` -D_REENTRANT -fPIC  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DMMX -DUSING_IVTV -DLCD_DEVICE -DUSING_XVMC -DUSING_OPENGL_VSYNC -DUSING_XV -DUSING_DIRECTFB -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I../libmyth -I.. -Idvbdev -I../libavcodec -I/usr/qt/3/include -o videoout_directfb.o videoout_directfb.cpp
videoout_directfb.cpp: In member function `virtual bool
   VideoOutputDirectfb::Init(int, int, float, long unsigned int, int, int, int,
   int, long unsigned int)':
videoout_directfb.cpp:340: error: `DSCAPS_DOUBLE' undeclared (first use this
   function)
videoout_directfb.cpp:340: error: (Each undeclared identifier is reported only
   once for each function it appears in.)
videoout_directfb.cpp:309: warning: unused variable `DFBDisplayLayerDescription
   ldesc'
videoout_directfb.cpp: In function `DFBEnumerationResult LayerCallback(unsigned
   int, DFBDisplayLayerDescription, void*)':
videoout_directfb.cpp:764: warning: unused variable `IDirectFBSurface*surface'
videoout_directfb.cpp: In member function `virtual bool
   VideoOutputDirectfb::Init(int, int, float, long unsigned int, int, int, int,
   int, long unsigned int)':
videoout_directfb.cpp:305: warning: unused parameter `int winw'
videoout_directfb.cpp:305: warning: unused parameter `int winh'
videoout_directfb.cpp: In member function `virtual void
   VideoOutputDirectfb::Show(FrameScanType)':
videoout_directfb.cpp:555: warning: unused parameter `FrameScanType t'
make[2]: *** [videoout_directfb.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/mythfrontend-0.15.1/work/mythtv-0.15.1/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/var/tmp/portage/mythfrontend-0.15.1/work/mythtv-0.15.1/libs'
make: *** [sub-libs] Error 2

!!! ERROR: media-tv/mythfrontend-0.15.1 failed.
!!! Function src_compile, Line 123, Exitcode 2
!!! compile problem

Comment 15 Ajay Sharma 2004-06-02 13:26:34 UTC
the "opengl-update xfree" trick works for me, compiling with opengl and withOUT directfb:

# emerge -pv mythtv
[ebuild   R   ] media-tv/mythtv-0.15.1  +alsa +arts -cle266 -directfb -dvb -lcd -lirc -nvidia +opengl  0 kB 
Comment 16 Daniel Ahlberg (RETIRED) gentoo-dev 2004-06-02 14:46:22 UTC
Added a check for the curret OpenGL implementation to the ebuild. Thanks!
Comment 17 Daniel Ahlberg (RETIRED) gentoo-dev 2004-09-10 14:04:06 UTC
*** Bug 53174 has been marked as a duplicate of this bug. ***