Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 223609 - media-plugins/mythflix-0.21_p17105 fails to build due to syntax error
Summary: media-plugins/mythflix-0.21_p17105 fails to build due to syntax error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-25 21:22 UTC by Kevin
Modified: 2008-05-27 14:15 UTC (History)
0 users

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 Kevin 2008-05-25 21:22:31 UTC
When attempting to emerge media-plugins/mythflix-0.21_p17105 it dies when trying to compile mythflixqueue.cpp

Most likely this is an upstream issue but the ebuild doesn't work because someone who checked the code into mythtv broke the build. So the SVN revision that gets checked out by this ebuild should be adjusted to a point where this bug is fixed.

Reproducible: Always

Steps to Reproduce:
1.emerge media-plugins/mythflix-0.21_p17105

Actual Results:  
d mythflix && /usr/qt/3/bin/qmake mythflix.pro "QMAKE=/usr/qt/3/bin/qmake" -o Makefile
cd mythflix && make -f Makefile
make[1]: Entering directory `/var/tmp/portage/media-plugins/mythflix-0.21_p17105/work/mythplugins-0.21/mythflix'
cd mythflix && /usr/qt/3/bin/qmake mythflix.pro "QMAKE=/usr/qt/3/bin/qmake" -o Makefile
cd mythflix && make -f Makefile
make[2]: Entering directory `/var/tmp/portage/media-plugins/mythflix-0.21_p17105/work/mythplugins-0.21/mythflix/mythflix'
g++ -c -pipe -march=pentium4 -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS -Wall -W -g -D_REENTRANT -DPIC -fPIC  -D_GNU_SOURCE -DPREFIX=\"/usr\" -DMMX -Di386 -D_FILE_OFFSET_BITS=64 -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/qt/3/include -o main.o main.cpp
g++ -c -pipe -march=pentium4 -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS -Wall -W -g -D_REENTRANT -DPIC -fPIC  -D_GNU_SOURCE -DPREFIX=\"/usr\" -DMMX -Di386 -D_FILE_OFFSET_BITS=64 -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/qt/3/include -o mythflixqueue.o mythflixqueue.cpp
mythflixqueue.cpp: In member function 'void MythFlixQueue::updateInfoView()':
mythflixqueue.cpp:363: error: expected primary-expression before '<<' token
mythflixqueue.cpp:363: error: expected primary-expression before '<<' token
mythflixqueue.cpp:363: error: expected primary-expression before '<<' token
mythflixqueue.cpp:363: error: expected primary-expression before '<' token
mythflixqueue.cpp:363: error: expected primary-expression before '.' token
mythflixqueue.cpp:364: error: expected primary-expression before '<<' token
mythflixqueue.cpp:364: error: expected primary-expression before '<<' token
mythflixqueue.cpp:364: error: expected primary-expression before '<' token
mythflixqueue.cpp:364: error: expected primary-expression before '.' token
mythflixqueue.cpp:365: error: expected primary-expression before '<<' token
mythflixqueue.cpp:365: error: expected primary-expression before '<<' token
mythflixqueue.cpp:365: error: expected primary-expression before '<' token
mythflixqueue.cpp:365: error: expected primary-expression before '.' token
mythflixqueue.cpp:367: error: expected `;' before 'int'
mythflixqueue.cpp:369: error: 'length' was not declared in this scope
mythflixqueue.cpp:370: error: expected primary-expression before '==' token
mythflixqueue.cpp:370: error: expected primary-expression before '==' token
mythflixqueue.cpp:370: error: expected primary-expression before '==' token
mythflixqueue.cpp:370: error: expected primary-expression before '=' token
mythflixqueue.cpp:371: error: expected primary-expression before 'int'
mythflixqueue.cpp:371: error: expected `;' before 'int'
mythflixqueue.cpp:372: error: redeclaration of 'int index'
mythflixqueue.cpp:368: error: 'int index' previously declared here
mythflixqueue.cpp:374: error: expected primary-expression before '==' token
mythflixqueue.cpp:374: error: expected primary-expression before '==' token
mythflixqueue.cpp:374: error: expected primary-expression before '==' token
mythflixqueue.cpp:374: error: expected primary-expression before '=' token
mythflixqueue.cpp:375: error: expected primary-expression before 'int'
mythflixqueue.cpp:375: error: expected `;' before 'int'
mythflixqueue.cpp:377: error: expected primary-expression before '==' token
mythflixqueue.cpp:377: error: expected primary-expression before '==' token
mythflixqueue.cpp:377: error: expected primary-expression before '==' token
mythflixqueue.cpp:377: error: expected primary-expression before '=' token
mythflixqueue.cpp:378: error: expected primary-expression before 'int'
mythflixqueue.cpp:378: error: expected `;' before 'int'
mythflixqueue.cpp:379: error: redeclaration of 'int index'
mythflixqueue.cpp:368: error: 'int index' previously declared here
mythflixqueue.cpp:381: error: expected primary-expression before '>>' token
mythflixqueue.cpp:381: error: expected primary-expression before '>>' token
mythflixqueue.cpp:381: error: expected primary-expression before '>>' token
mythflixqueue.cpp:381: error: expected primary-expression before '>' token
mythflixqueue.cpp:381: error: expected primary-expression before '.' token
mythflixqueue.cpp:382: error: expected primary-expression before '>>' token
mythflixqueue.cpp:382: error: expected primary-expression before '>>' token
mythflixqueue.cpp:382: error: expected primary-expression before '>' token
mythflixqueue.cpp:382: error: expected primary-expression before '.' token
mythflixqueue.cpp:383: error: expected primary-expression before '>>' token
mythflixqueue.cpp:383: error: expected primary-expression before '>>' token
mythflixqueue.cpp:383: error: expected primary-expression before '>' token
mythflixqueue.cpp:383: error: expected primary-expression before '.' token
mythflixqueue.cpp:385: error: expected `;' before 'QString'
mythflixqueue.cpp:387: error: 'fileprefix' was not declared in this scope
make[2]: *** [mythflixqueue.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-plugins/mythflix-0.21_p17105/work/mythplugins-0.21/mythflix/mythflix'
make[1]: *** [sub-mythflix] Error 2
make[1]: Leaving directory `/var/tmp/portage/media-plugins/mythflix-0.21_p17105/work/mythplugins-0.21/mythflix'
make: *** [sub-mythflix] Error 2
 *
 * ERROR: media-plugins/mythflix-0.21_p17105 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2476:  Called mythtv-plugins_src_compile
 *             environment, line 2220:  Called die
 * The specific snippet of code:
 *       emake || die "make failed to compile"
 *  The die message:
 *   make failed to compile



This is when being built against mythtv-0.21_p17100 but I don't think that is the issue here.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-05-26 02:42:21 UTC
emerge --info please, and do attach the full build log as well.
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2008-05-27 14:15:39 UTC
Based on the fact that I can't reproduce this on 2 stable amd64 machines, and because the items the compiler takes issue with "<<", "==", ">>" don't exist on the lines the compiler is talking about. Additionally, since those tokens are used by subversion when there's some local changes on your drive that conflict with what's in the repository requiring a manual merge, I'm going to say you made some local changes to Mythflix and then emerged a newer version that had code changes in the exact same place. Maybe you applied a patch before we officially had the patch in Portage, who knows.

But basically, either resolve the conflicts in /usr/portage/distfiles/svn-src/mythplugins/ that you made with patching. Or delete the entire directory and let the ebuild check it out again.