Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259956 - media-tv/mythtv-0.21_p18314-r1 failed.
Summary: media-tv/mythtv-0.21_p18314-r1 failed.
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-23 01:04 UTC by Jason
Modified: 2009-08-03 01:29 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 Jason 2009-02-23 01:04:06 UTC
emerging myth fails.
Upgrading from 0.20



Reproducible: Always

Steps to Reproduce:
1. emerge mythtv
2.
3.

Actual Results:  
/usr/include/X11/Xmd.h:137: error: conflicting declaration 'typedef long int INT32'
/usr/qt/3/include/qglobal.h:706: error: 'INT32' has a previous declaration as 'typedef int INT32'
util-opengl.h:132: error: '__GLXextFuncPtr' does not name a type
util-opengl.h:169: error: 'PFNGLXGETVIDEOSYNCSGIPROC' does not name a type
util-opengl.h:170: error: 'PFNGLXWAITVIDEOSYNCSGIPROC' does not name a type
vsync.cpp: In member function 'virtual bool OpenGLVideoSync::TryInit()':
vsync.cpp:566: error: 'gMythGLXGetVideoSyncSGI' was not declared in this scope
vsync.cpp: In member function 'virtual void OpenGLVideoSync::Start()':
vsync.cpp:647: error: 'gMythGLXGetVideoSyncSGI' was not declared in this scope
vsync.cpp:649: error: 'gMythGLXWaitVideoSyncSGI' was not declared in this scope
vsync.cpp: In member function 'virtual void OpenGLVideoSync::WaitForFrame(int)':
vsync.cpp:674: error: 'gMythGLXGetVideoSyncSGI' was not declared in this scope
vsync.cpp:680: error: 'gMythGLXWaitVideoSyncSGI' was not declared in this scope
vsync.cpp:689: error: 'gMythGLXWaitVideoSyncSGI' was not declared in this scope
make[2]: *** [vsync.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/work/mythtv-0.21/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/work/mythtv-0.21/libs'
make: *** [sub-libs] Error 2
 * 
 * ERROR: media-tv/mythtv-0.21_p18314-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3454:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed";
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/temp/environment'.
 * 

>>> Failed to emerge media-tv/mythtv-0.21_p18314-r1, Log file:

>>>  '/var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/temp/build.log'

 * Messages for package media-tv/mythtv-0.21_p18314-r1:

 * This ebuild now uses a heavily stripped down version of your CFLAGS
 * 
 * ERROR: media-tv/mythtv-0.21_p18314-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3454:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed";
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/temp/environment'.


Expected Results:  
myth should not fail installation

emerge --info
Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 i686)
=================================================================
System uname: Linux-2.6.22-gentoo-r9-i686-Intel-R-_Pentium-R-_III_CPU_1133MHz-with-glibc2.0
Timestamp of tree: Sun, 22 Feb 2009 22:30:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i486-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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
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="3dnow X a52 aac acl alsa apache2 automount berkdb bindist bzip2 caps cdb cddb cdr cli cracklib crypt cups curl dbus dri dts dvb dvd dvdr encode esd exif fam ffmpeg fftw firefox flac fortran gd gdbm gif gpm gstreamer gtk gtk2 hal iconv ieee1394 ipv6 isdnlog java javascript joystick jpeg ldap libdvdread lirc lm_sensors mad mailwrapper midi mikmod mmx mp3 mpeg mudflap mysql ncurses nls nptl nptlonly nsplugin ntponly nxclient ogg opengl openmp pam pcre pdf perl png posix pppd python qt3 quicktime readline reflection samba sdl server session spell spl ssl startup-notification sysfs tcpd theora threads transcode truetype type1 unicode usb v4l vcd vorbis wifi win32codecs x86 xcomposite xine xml xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="atiusb" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jason 2009-02-24 18:59:33 UTC
Well I tried this  ....
http://forums.gentoo.org/viewtopic-t-715572-highlight-mythtv+conflicting+declaration+typedef+int+int32.html

1. eselect opengl from nvidia to xorg-x11
2. emerge newer mythtv .21 (stable version)
3. eselect opengl from xorg-x11 to nvidia

This solved my problem ... leaving open for you to decide if this is still a bug since emerging with nvidia consistently failed.
Comment 2 Steve Dibb (RETIRED) gentoo-dev 2009-03-03 16:57:51 UTC
Are you really building Myth on a 486?
Comment 3 Jason 2009-03-06 02:08:56 UTC
No, I didn't think it made a big difference. Could this be related to the problem I had?

Comment 4 Jason 2009-03-06 02:48:19 UTC
And CHOST="i486-pc-linux-gnu" is the default for a stage3-x86-2008.0.tar.bz2 install.
Comment 5 Steve Dibb (RETIRED) gentoo-dev 2009-05-30 01:13:21 UTC
(In reply to comment #4)
> And CHOST="i486-pc-linux-gnu" is the default for a stage3-x86-2008.0.tar.bz2
> install.
> 

Right, x86 install is for i486 and under.  Any modern computer should be using at least the 686 install.

Start over, try that, and report back.  I'm betting you'll have lots more success.
Comment 6 Doug Goldstein (RETIRED) gentoo-dev 2009-08-03 01:29:36 UTC
What version of the nvidia-drivers where you using? I'm willing to bet if you tried a more up to date version you'd have a better experience.