Bug 56101 - mythtv-0.15.1-r1 fails
|
Bug#:
56101
|
Product: Admin
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: media-tv@gentoo.org
|
Reported By: mkashouty@gmail.com
|
|
Component: CVS
|
|
|
URL:
|
|
Summary: mythtv-0.15.1-r1 fails
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-07-04 21:02 0000
|
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.
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.
yeah i missed that didnt i... added the line back to the ebuild and it compiled
fine.... shouldnt that be put into cvs then?
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
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.