Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52819 - media-tv/mythtv-0.15.1 gcc-3.4 compilation fix
Summary: media-tv/mythtv-0.15.1 gcc-3.4 compilation fix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-02 14:47 UTC by Herbie Hopkins (RETIRED)
Modified: 2004-07-10 08:47 UTC (History)
2 users (show)

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


Attachments
gcc-3.4-fix.patch (gcc-3.4-fix.patch,1.73 KB, patch)
2004-06-02 14:50 UTC, Herbie Hopkins (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Herbie Hopkins (RETIRED) gentoo-dev 2004-06-02 14:47:11 UTC
mythtv-0.15.1 (and mythfrontend) do not currently compile with gcc-3.4. Attached is a patch to fix this (works for both mythtv-0.15.1 and mythfrontend-0.15.1)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Herbie Hopkins (RETIRED) gentoo-dev 2004-06-02 14:50:04 UTC
Created attachment 32548 [details, diff]
gcc-3.4-fix.patch

information came from the mythtv-devel mailing list. The fifowriter.* stuff has
apparently been commited to cvs now.
Comment 2 Disenchanted (RETIRED) gentoo-dev 2004-06-28 09:53:42 UTC
Ebuild with fixes commited, give it some times, then sync, then compile
Thank You for the patch.
Comment 3 Rutger Hendriks 2004-07-10 06:45:41 UTC
unfortunately that doesn't seem to work here

# ebuild /usr/portage/media-tv/mythtv/mythtv-0.15.1-r1.ebuild unpack
>>> md5 src_uri ;-) mythtv-0.15.1.tar.bz2
X
opengl
>>> Unpacking source...
>>> Unpacking mythtv-0.15.1.tar.bz2 to /var/tmp/portage/mythtv-0.15.1-r1/work
directfb
 * Applying mythtv-0.15-directfb.patch...                                                                                                                               [ ok ]
/usr/sbin/ebuild.sh: line 1: gcc-major-version: command not found
/usr/sbin/ebuild.sh: line 1: gcc-minor-version: command not found
/usr/sbin/ebuild.sh: line 67: [: : integer expression expected
>>> Source unpacked.

The DirectFB patch works, but the gcc-3.4-fix.patch doesn't

# emerge info
Portage 2.0.50-r8 (gcc34-amd64-2004.1, gcc-3.4.1, glibc-2.3.4.20040605-r0, 2.6.7-gentoo-r9)
=================================================================
System uname: 2.6.7-gentoo-r9 x86_64 4
Gentoo Base System version 1.5.1
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=k8 -fomit-frame-pointer -momit-leaf-frame-pointer -fweb -frename-registers -pipe"
CHOST="x86_64-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/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -fomit-frame-pointer -momit-leaf-frame-pointer -fweb -frename-registers -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.tiscali.nl/pub/mirror/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="S3TC X aac aalib acpi acpi4linux alsa amd64 apm arts asterisk audiofile avi berkdb cdr chroot crypt cups dga directfb divx4linux dv dvd dvdr encode faad fbcon fbdev ffmpeg fftw flac flash foomaticdb gd gdbm ggi gif gphoto2 gpm gstreamer gtk2 icq ieee1394 imagemagick imap imlib imlib2 irmc jabber java javascript joystick jpeg kde kerberos krb4 lcd lcms ldap libcaca libg++ libwww linguas_en_GB linguas_nl lirc live mad mbox mikmod mng motif mozdomi mozilla mozp3p mozsvg mozxmlterm mpeg mpeg4 mpi msn mysql nas ncurses net nls nptl oav offensive oggvorbis opengl opie oss pam pda pdflib perl pic plotutils png python qt quicktime readline samba sasl sdl slang slp speex spell ssl tcltk tcpd tetex theora tiff transcode truetype usb v4l v4l2 videos wmf xml2 xmms xosd xprint xrandr xv xvid zlib zvbi"
Comment 4 Herbie Hopkins (RETIRED) gentoo-dev 2004-07-10 08:47:13 UTC
hmm, looks like the -r1 ebuild does not inherit gcc. Edit the ebuild and add gcc to the end of the inherit line at the begining of the ebuild.