Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56101 - mythtv-0.15.1-r1 fails
Summary: mythtv-0.15.1-r1 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Git (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-04 21:02 UTC by merwan kashouty
Modified: 2011-10-30 22:47 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 merwan kashouty 2004-07-04 21:02:15 UTC
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 'newValue'
scheduledrecording.h:102: warning: unused parameter 'newValue'
g++ -c -pipe `artsc-config --cflags` -Wall -W `freetype-config --cflags` -D_REENTRANT -fPIC  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -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=\"/usr\" -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)':
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'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/var/tmp/portage/mythtv-0.15.1-r1/work/mythtv-0.15.1/libs'
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="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=k8 -pipe -ftracers -fweb"
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 /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe -ftracers -fweb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="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"



Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Herbie Hopkins (RETIRED) gentoo-dev 2004-07-06 12:57:22 UTC
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.
Comment 2 merwan kashouty 2004-07-06 17:14:41 UTC
yeah i missed that didnt i... added the line back to the ebuild and it compiled fine.... shouldnt that be put into cvs then?
Comment 3 Disenchanted (RETIRED) gentoo-dev 2004-07-06 20:42:01 UTC
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
Comment 4 Chris Bainbridge (RETIRED) gentoo-dev 2004-07-07 03:14:40 UTC
done
Comment 5 Herbie Hopkins (RETIRED) gentoo-dev 2004-07-10 08:49:55 UTC
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.
Comment 6 Chris Bainbridge (RETIRED) gentoo-dev 2004-07-10 17:36:51 UTC
fixed.