Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 417405 - media-tv/mythtv-0.24.1_p20110524 - In function 'int __glCheck__(const QString&, const char*, int)': mythrender_opengl.cpp:38: error: 'gluErrorString' was not declared in this scope
Summary: media-tv/mythtv-0.24.1_p20110524 - In function 'int __glCheck__(const QString...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
: 407845 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-05-24 18:25 UTC by Michael Sullivan
Modified: 2012-07-17 01:13 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log from failed emerge (media-tv:mythtv-0.24.1_p20110524:20120524-171912.log,277.34 KB, text/plain)
2012-05-24 18:27 UTC, Michael Sullivan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Sullivan 2012-05-24 18:25:24 UTC
media-tv/mythtv-0.24.1_p20110524 failed to build.  I believe the problem is with the int __glCheck__(const QString&, const char*, int)' function in mythrender_opengl.cpp

Reproducible: Always

Steps to Reproduce:
1. emerge mythtv
2.
3.
Actual Results:  
Mythtv failed to emerge

Expected Results:  
Mythtv should have emerged successfully

camille ~ # emerge --info
Portage 2.1.10.49 (default/linux/x86/10.0/desktop, gcc-4.4.5, glibc-2.14.1-r3, 3.2.12-gentoo i686)
=================================================================
System uname: Linux-3.2.12-gentoo-i686-with-gentoo-2.0.3
Timestamp of tree: Tue, 22 May 2012 05:00:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     1.3.7-r1, 2.1.11-r3
dev-lang/python:          2.5.4-r4, 2.6.6-r2, 2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.5-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.3.4, 4.4.5, 4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA dlj-1.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests binpkg-logs buildpkg distlocks ebuild-locks fixlafiles news nostrip parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en fr es"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages/camille"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--human-readable"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --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="X a52 aac acl acpi additions alsa apache2 arts asterisk audiofile automount avi bash-completion bind-mysql bitmap-fonts bluetooth branding browserplugin bzip2 cairo candy cdda cdr cgi cli consolekit cracklib crypt ctype cups cxx dba dbus declarative divx4linux doc dri dts dvb dvd dvdr dvdread emboss encode evo examples exif expat f77 fam ffmpeg flac flash flashblock foomaticdb fortran ftp gallium gdbm gentoo gif glut gnome gphoto2 gpm gstreamer gtk gtk2 guile hal iconv imap imlib ipv6 ithreads ivtv jack jack-tempfs jadetex java jikes joystick jpeg kde lcms ldap lib libclamav libg++ libnotify libwww lirc mad mikmod mmx mmx2 mmxext mng mode-owner modules moonlight motif mp3 mp4 mpeg mplayer mpm-leader mudflap mysql mythtv nas nautilus ncurses new-login nls nntp nptl nptlonly nsplugin offensive ogg oggvorbis opengl openmp oss pam pango pcre pdf perl php png policykit portaudio ppds pppd python qt qt3support qt4 quicktime readline ruby sasl sdl seamonkey semantic-desktop session slp snmp spell sql ssl startup-notification static-libs svg svga syslog tcl tcltk tcpd threads tidy tiff truetype udev udisks unicode upower usb userlocales v4l v4l2 vanilla vhosts vorbis win32codecs wxwidgets x264 x86 xcb xml xml2 xmms xorg xulrunner xv xvid zaptel zlib" ALSA_CARDS="hda-intel" 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en fr es" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="i915 intel mga savage sis tdfx" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Comment 1 Michael Sullivan 2012-05-24 18:27:12 UTC
Created attachment 312977 [details]
Build log from failed emerge
Comment 2 David Kredba 2012-06-16 12:31:41 UTC
Add #include <GL/glu.h> to it.

In case of gcc-4.7 add #include <unistd.h> too.
Comment 3 David Kredba 2012-06-17 13:03:38 UTC
There is list of files where #iclude <unistd.h> is missing for gcc-4.7:

mythtv/libs/libmythtv/audioinputoss.cpp
mythtv/libs/libmyth/programinfoupdater.cpp
mythtv/libs/libmythupnp/upnpdevice.cpp
mythtv/libs/libmythupnp/upnptasknotify.cpp
mythtv/libs/libmythupnp/upnptasksearch.cpp
mythtv/libs/libmythui/mythrender_opengl.cpp + #include <GL/glu.h>
mythtv/libs/libmythui/mythrender_vdpau.cpp
mythtv/libs/libmythdb/mythdownloadmanager.cpp
mythtv/libs/libmythdb/remotefile.cpp
mythtv/libs/libmythdb/mythcorecontext.cpp
mythtv/libs/libmythdb/lcddevice.cpp
mythtv/libs/libmythdb/httpcomms.cpp
mythtv/libs/libmythdb/mythdbcon.cpp
mythtv/libs/libmythdb/mythsocketthread.cpp
mythtv/libs/libmythdb/mythsocket.cpp
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2012-06-22 04:02:41 UTC
*** Bug 407845 has been marked as a duplicate of this bug. ***
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2012-07-10 04:15:28 UTC
Is this the same issue you experienced with 0.25.1 or was that a different error? Or have things resolved themselves with 0.25.1? I'd like to just deprecate out 0.24.x and move to 0.25.x if possible.
Comment 6 Doug Goldstein (RETIRED) gentoo-dev 2012-07-17 01:13:21 UTC
At this point I'm going to deprecate MythTV 0.24.x out of the tree and suggest people use MythTV 0.25.x. If issues like this still occur with 0.25.x please open a new issue.