<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>52819</bug_id>
          
          <creation_ts>2004-06-02 14:47 0000</creation_ts>
          <short_desc>media-tv/mythtv-0.15.1 gcc-3.4 compilation fix</short_desc>
          <delta_ts>2004-07-10 08:47:13 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>herbs@gentoo.org</reporter>
          <assigned_to>gcc-porting@gentoo.org</assigned_to>
          <cc>loial@home.nl</cc>
    
    <cc>media-tv@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>herbs@gentoo.org</who>
            <bug_when>2004-06-02 14:47:11 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>herbs@gentoo.org</who>
            <bug_when>2004-06-02 14:50:04 0000</bug_when>
            <thetext>Created an attachment (id=32548)
gcc-3.4-fix.patch

information came from the mythtv-devel mailing list. The fifowriter.* stuff has
apparently been commited to cvs now.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>morfic@gentoo.org</who>
            <bug_when>2004-06-28 09:53:42 0000</bug_when>
            <thetext>Ebuild with fixes commited, give it some times, then sync, then compile
Thank You for the patch.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>loial@home.nl</who>
            <bug_when>2004-07-10 06:45:41 0000</bug_when>
            <thetext>unfortunately that doesn&apos;t seem to work here

# ebuild /usr/portage/media-tv/mythtv/mythtv-0.15.1-r1.ebuild unpack
&gt;&gt;&gt; md5 src_uri ;-) mythtv-0.15.1.tar.bz2
X
opengl
&gt;&gt;&gt; Unpacking source...
&gt;&gt;&gt; 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
&gt;&gt;&gt; Source unpacked.

The DirectFB patch works, but the gcc-3.4-fix.patch doesn&apos;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=&quot;amd64 ~amd64&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O2 -march=k8 -fomit-frame-pointer -momit-leaf-frame-pointer -fweb -frename-registers -pipe&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -march=k8 -fomit-frame-pointer -momit-leaf-frame-pointer -fweb -frename-registers -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs ccache sandbox&quot;
GENTOO_MIRRORS=&quot;ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.tiscali.nl/pub/mirror/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.nl.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>herbs@gentoo.org</who>
            <bug_when>2004-07-10 08:47:13 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>32548</attachid>
            <date>2004-06-02 14:50 0000</date>
            <desc>gcc-3.4-fix.patch</desc>
            <filename>gcc-3.4-fix.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtdXIgbXl0aHR2LTAuMTUuMS5vcmlnL2xpYnMvbGlibXl0aHR2L2ZpZm93cml0ZXIuY3Bw
IG15dGh0di0wLjE1LjEvbGlicy9saWJteXRodHYvZmlmb3dyaXRlci5jcHAKLS0tIG15dGh0di0w
LjE1LjEub3JpZy9saWJzL2xpYm15dGh0di9maWZvd3JpdGVyLmNwcAkyMDA0LTA2LTAyIDIxOjA2
OjU0LjQyNzg2NjYwOCArMDEwMAorKysgbXl0aHR2LTAuMTUuMS9saWJzL2xpYm15dGh0di9maWZv
d3JpdGVyLmNwcAkyMDA0LTA2LTAyIDIxOjA4OjM3Ljk0MjEzMDA0OCArMDEwMApAQCAtMjEsOSAr
MjEsOSBAQAogICAgIG1heGJsa3NpemUgPSBuZXcgbG9uZ1tjb3VudF07CiAgICAga2lsbHdyID0g
bmV3IGludFtjb3VudF07CiAgICAgZmJjb3VudCA9IG5ldyBpbnRbY291bnRdOwotICAgIGZpZm9f
YnVmID0gbmV3IChzdHJ1Y3QgZmlmb19idWYgKilbY291bnRdOwotICAgIGZiX2lucHRyID0gbmV3
IChzdHJ1Y3QgZmlmb19idWYgKilbY291bnRdOwotICAgIGZiX291dHB0ciA9IG5ldyAoc3RydWN0
IGZpZm9fYnVmICopW2NvdW50XTsKKyAgICBmaWZvX2J1ZiA9IG5ldyBmaWZvX3B0cltjb3VudF07
CisgICAgZmJfaW5wdHIgPSBuZXcgZmlmb19wdHJbY291bnRdOworICAgIGZiX291dHB0ciA9IG5l
dyBmaWZvX3B0cltjb3VudF07CiAgICAgZmlmb3RocmRzID0gbmV3IHB0aHJlYWRfdFtjb3VudF07
CiAgICAgZmlmb19sb2NrID0gbmV3IHB0aHJlYWRfbXV0ZXhfdCBbY291bnRdO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U1BS0VfQ1hYRkxBR1NfUkVMRUFTRSA9IC1PMyAtbWFyY2g9cGVudGl1bXBy
byAtZm9taXQtZnJhbWUtcG9pbnRlcgorICAgICAgICBRTUFLRV9DWFhGTEFHU19SRUxFQVNFID0g
LU8zIC1tYXJjaD1wZW50aXVtcHJvIC1mb21pdC1mcmFtZS1wb2ludGVyIC1mcGVybWlzc2l2ZQog
ICAgICAgICBRTUFLRV9DRkxBR1NfUkVMRUFTRSA9ICQke1FNQUtFX0NYWEZMQUdTX1JFTEVBU0V9
CiB9CiAK
</data>        

          </attachment>
    </bug>

</bugzilla>