<?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>56101</bug_id>
          
          <creation_ts>2004-07-04 21:02 0000</creation_ts>
          <short_desc>mythtv-0.15.1-r1 fails</short_desc>
          <delta_ts>2004-07-10 17:36:51 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Admin</product>
          <component>CVS</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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mkashouty@gmail.com</reporter>
          <assigned_to>media-tv@gentoo.org</assigned_to>
          <cc>chrb@gentoo.org</cc>
    
    <cc>morfic@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>mkashouty@gmail.com</who>
            <bug_when>2004-07-04 21:02:15 0000</bug_when>
            <thetext>i have the previous version installed though it segfaults when trying to setup the input device. but this version wont build.


scheduledrecording.h:100: warning: unused parameter &apos;newValue&apos;
scheduledrecording.h:102: warning: unused parameter &apos;newValue&apos;
g++ -c -pipe `artsc-config --cflags` -Wall -W `freetype-config --cflags` -D_REENTRANT -fPIC  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\&quot;/usr\&quot; -DUSING_IVTV -DUSING_OPENGL_VSYNC -DUSING_XV -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 RingBuffer.o RingBuffer.cpp
g++ -c -pipe `artsc-config --cflags` -Wall -W `freetype-config --cflags` -D_REENTRANT -fPIC  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\&quot;/usr\&quot; -DUSING_IVTV -DUSING_OPENGL_VSYNC -DUSING_XV -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 RTjpegN.o RTjpegN.cpp
RTjpegN.cpp: In member function `int RTjpeg::b2s(int16_t*, int8_t*, uint8_t)&apos;:
RTjpegN.cpp:136: error: ISO C++ forbids cast to non-reference type used as lvalue
RTjpegN.cpp:145: error: ISO C++ forbids cast to non-reference type used as lvalue
RTjpegN.cpp:174: error: ISO C++ forbids cast to non-reference type used as lvalue
RTjpegN.cpp:186: error: ISO C++ forbids cast to non-reference type used as lvalue
RTjpegN.cpp:203: error: ISO C++ forbids cast to non-reference type used as lvalue
RTjpegN.cpp:224: error: ISO C++ forbids cast to non-reference type used as lvalue
RTjpegN.cpp:234: error: ISO C++ forbids cast to non-reference type used as lvalue
RTjpegN.cpp:241: error: ISO C++ forbids cast to non-reference type used as lvalue
make[2]: *** [RTjpegN.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/mythtv-0.15.1-r1/work/mythtv-0.15.1/libs/libmythtv&apos;
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/var/tmp/portage/mythtv-0.15.1-r1/work/mythtv-0.15.1/libs&apos;
make: *** [sub-libs] Error 2

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


Gentoo Base System version 1.5.1
Portage 2.0.50-r8 (gcc34-amd64-2004.1, gcc-3.4.0, glibc-2.3.4.20040605-r0, 2.6.7-mm5)
=================================================================
System uname: 2.6.7-mm5 x86_64 5
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 -pipe -ftracers -fweb&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 /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -march=k8 -pipe -ftracers -fweb&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs ccache sandbox&quot;
GENTOO_MIRRORS=&quot;http://gentoo.chem.wisc.edu/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.gentoo.org/gentoo-portage&quot;
USE=&quot;X alsa amd64 apm arts avi berkdb cdr crypt dvd dvdr encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mikmod motif mpeg multilib mysql ncurses nls ntpl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl tcpd truetype xml2 xmms xv zlib&quot;



Reproducible: Always
Steps to Reproduce:
1.
2.
3.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>herbs@gentoo.org</who>
            <bug_when>2004-07-06 12:57:22 0000</bug_when>
            <thetext>This error was fixed by the application of the gcc-3.4-fix.patch which was applied in the ebuild for mythtv-0.15.1 (see bug #52819). This patch does not seem to have been carried forward to the new version mythtv-0.15.1-r1.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mkashouty@gmail.com</who>
            <bug_when>2004-07-06 17:14:41 0000</bug_when>
            <thetext>yeah i missed that didnt i... added the line back to the ebuild and it compiled fine.... shouldnt that be put into cvs then?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>morfic@gentoo.org</who>
            <bug_when>2004-07-06 20:42:01 0000</bug_when>
            <thetext>maybe we can ask chrb kindly to readd the patch required for users of gcc-3.4 just copy the appropriate section from the .15.1 ebuild and paste into -r1 commit after verifying it compiles with gcc-3.4, or if that fails ill readd after i can commit stuff again (cant test things while emerge -e world isnt done)

thanks in advance for your efforts
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chrb@gentoo.org</who>
            <bug_when>2004-07-07 03:14:40 0000</bug_when>
            <thetext>done</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>herbs@gentoo.org</who>
            <bug_when>2004-07-10 08:49:55 0000</bug_when>
            <thetext>you forgot to add an inherit gcc to the begining of the ebuild. Without it the gcc-major/minor-version commands do not work and so the patch never gets applied.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chrb@gentoo.org</who>
            <bug_when>2004-07-10 17:36:51 0000</bug_when>
            <thetext>fixed.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>