Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8649 - media-sound/apollo-1.1.1-r1 compilation fails (with gcc 3.2 [1.4_rc1])
Summary: media-sound/apollo-1.1.1-r1 compilation fails (with gcc 3.2 [1.4_rc1])
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Hannes Mehnert (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-02 08:21 UTC by Jonas Berlin
Modified: 2003-02-04 19:42 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 Jonas Berlin 2002-10-02 08:21:21 UTC
>>> emerge media-sound/apollo-1.1.1-r1 to /
>>> md5 ;-) apollo-src-1.1.1-1.tar.bz2
>>> Unpacking source...
>>> Unpacking apollo-src-1.1.1-1.tar.bz2
>>> Source unpacked.
g++ -c -Wall -Wno-ctor-dtor-privacy -O2 -DNO_DEBUG -I/usr/qt/3/include -o obj/qmconfig.o 
qmconfig.cpp
In file included from /usr/include/g++-v32/backward/iostream.h:31,
                 from qmconfig.cpp:36:
/usr/include/g++-v32/backward/backward_warning.h:32:2: warning: #warning This file includes at 
least one deprecated or antiquated header. Please consider using one of the 32 headers found in 
section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> 
header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this 
warning use -Wno-deprecated.
g++ -c -Wall -Wno-ctor-dtor-privacy -O2 -DNO_DEBUG -I/usr/qt/3/include -o obj/qmsongitem.o 
qmsongitem.cpp
qmsongitem.cpp: In member function `virtual void 
   QmSongItem::paintCell(QPainter*, const QColorGroup&, int, int, int)':
qmsongitem.cpp:181: invalid use of undefined type `struct QPainter'
/usr/qt/3/include/qwindowdefs.h:65: forward declaration of `struct QPainter'
qmsongitem.cpp:184: invalid use of undefined type `struct QPainter'
/usr/qt/3/include/qwindowdefs.h:65: forward declaration of `struct QPainter'
qmsongitem.cpp:186: invalid use of undefined type `struct QPainter'
/usr/qt/3/include/qwindowdefs.h:65: forward declaration of `struct QPainter'
qmsongitem.cpp:188: invalid use of undefined type `struct QPainter'
/usr/qt/3/include/qwindowdefs.h:65: forward declaration of `struct QPainter'
qmsongitem.cpp:193: invalid use of undefined type `struct QPainter'
/usr/qt/3/include/qwindowdefs.h:65: forward declaration of `struct QPainter'
qmsongitem.cpp:195: invalid use of undefined type `struct QPainter'
/usr/qt/3/include/qwindowdefs.h:65: forward declaration of `struct QPainter'
qmsongitem.cpp:197: invalid use of undefined type `struct QPainter'
/usr/qt/3/include/qwindowdefs.h:65: forward declaration of `struct QPainter'
qmsongitem.cpp:199: invalid use of undefined type `struct QPainter'
/usr/qt/3/include/qwindowdefs.h:65: forward declaration of `struct QPainter'
qmsongitem.cpp:205: invalid use of undefined type `struct QPainter'
/usr/qt/3/include/qwindowdefs.h:65: forward declaration of `struct QPainter'
qmsongitem.cpp:208: invalid use of undefined type `struct QPainter'
/usr/qt/3/include/qwindowdefs.h:65: forward declaration of `struct QPainter'
qmsongitem.cpp:217: invalid use of undefined type `struct QPainter'
/usr/qt/3/include/qwindowdefs.h:65: forward declaration of `struct QPainter'
qmsongitem.cpp: In member function `virtual void 
   QmSongItem::paintFocus(QPainter*, const QColorGroup&, const QRect&)':
qmsongitem.cpp:236: invalid use of undefined type `struct QPainter'
/usr/qt/3/include/qwindowdefs.h:65: forward declaration of `struct QPainter'
qmsongitem.cpp:239: invalid use of undefined type `struct QPainter'
/usr/qt/3/include/qwindowdefs.h:65: forward declaration of `struct QPainter'
make: *** [obj/qmsongitem.o] Error 1
Comment 1 Hannes Mehnert (RETIRED) gentoo-dev 2002-10-02 19:55:55 UTC
seems that apollo-1.1.1 is qt2 only. 
there is also apollo-1.4.1 available (currently working on an ebuild for it). 
Comment 2 Hannes Mehnert (RETIRED) gentoo-dev 2002-10-04 15:28:09 UTC
just committed apollo-1.4.1.ebuild. Please test. 
Comment 3 Dan Armak (RETIRED) gentoo-dev 2002-10-05 07:55:01 UTC
With kde in USE I get:    
 Apollo is now configured for building. Just run make.   
   
g++ -c -pipe -w -Wno-ctor-dtor-privacy -O2  -DENABLE_MPG123 -DOS_UNIX   
-DAPOLLO_USE_STL -DUSING_QT3 -DAPOLLO_USE_KDE -DENABLE_MPG123_BUFFER   
-DENABLE_MAD -DENABLE_ID3 -DQT_NO_DEBUG -I/usr/qt/3/include   
-I/usr/include/stlport -I../../image/usr/kde/cvs -I.   
-I../../image/usr/kde/cvs/include -I../../image/usr/kde/cvs/include/kde   
-I/usr/include -I/usr/include -Imoc/ -I/usr/qt/3/mkspecs/linux-g++ -o   
obj/main.o main.cpp   
g++ -c -pipe -w -Wno-ctor-dtor-privacy -O2  -DENABLE_MPG123 -DOS_UNIX   
-DAPOLLO_USE_STL -DUSING_QT3 -DAPOLLO_USE_KDE -DENABLE_MPG123_BUFFER   
-DENABLE_MAD -DENABLE_ID3 -DQT_NO_DEBUG -I/usr/qt/3/include   
-I/usr/include/stlport -I../../image/usr/kde/cvs -I.   
-I../../image/usr/kde/cvs/include -I../../image/usr/kde/cvs/include/kde   
-I/usr/include -I/usr/include -Imoc/ -I/usr/qt/3/mkspecs/linux-g++ -o   
obj/qmaboutdialog.o qmaboutdialog.cpp   
In file included from qmapplication.h:32,   
                 from main.cpp:27:   
kde/qmapplication_kde.h:31:18: kapp.h: No such file or directory   
In file included from qmapplication.h:32,   
                 from main.cpp:27:   
kde/qmapplication_kde.h:40: parse error before `{' token   
kde/qmapplication_kde.h:61: `QWidget' was not declared in this scope   
kde/qmapplication_kde.h:61: `filter' was not declared in this scope   
kde/qmapplication_kde.h:61: variable or field `installX11EventFilter' declared   
   void   
kde/qmapplication_kde.h:63: parse error before `protected'   
In file included from qmrecoverymanager.h:33,   
                 from main.cpp:51:   
qmconfig.h:128: ISO C++ forbids declaration of `auto_ptr' with no type   
qmconfig.h:128: template-id `auto_ptr<QmConfig>' used as a declarator   
qmconfig.h:128: parse error before `;' token   
In file included from main.cpp:51:   
qmrecoverymanager.h:71: ISO C++ forbids declaration of `auto_ptr' with no type   
qmrecoverymanager.h:71: template-id `auto_ptr<QmRecoveryManager>' used as a   
   declarator   
qmrecoverymanager.h:71: parse error before `;' token   
main.cpp: In function `int main(int, char**)':   
main.cpp:161: no method `QmApplication::init'   
main.cpp:162: variable `QmApplication a' has initializer but incomplete type   
make: *** [obj/main.o] Error 1   
----------   
  
Without kde in USE I still get a part of the above: 
Apollo is now configured for building. Just run make. 
 
g++ -c -pipe -w -Wno-ctor-dtor-privacy -O2  -DENABLE_MPG123 -DOS_UNIX 
-DAPOLLO_USE_STL -DUSING_QT3 -DENABLE_MPG123_BUFFER -DENABLE_MAD -DENABLE_ID3 
-DQT_NO_DEBUG -I/usr/qt/3/include -I/usr/include/stlport -I/usr/include 
-I/usr/include -Imoc/ -I/usr/qt/3/mkspecs/linux-g++ -o obj/main.o main.cpp 
g++ -c -pipe -w -Wno-ctor-dtor-privacy -O2  -DENABLE_MPG123 -DOS_UNIX 
-DAPOLLO_USE_STL -DUSING_QT3 -DENABLE_MPG123_BUFFER -DENABLE_MAD -DENABLE_ID3 
-DQT_NO_DEBUG -I/usr/qt/3/include -I/usr/include/stlport -I/usr/include 
-I/usr/include -Imoc/ -I/usr/qt/3/mkspecs/linux-g++ -o obj/qmaboutdialog.o 
qmaboutdialog.cpp 
In file included from qmrecoverymanager.h:33, 
                 from main.cpp:51: 
qmconfig.h:128: ISO C++ forbids declaration of `auto_ptr' with no type 
qmconfig.h:128: template-id `auto_ptr<QmConfig>' used as a declarator 
qmconfig.h:128: parse error before `;' token 
In file included from main.cpp:51: 
qmrecoverymanager.h:71: ISO C++ forbids declaration of `auto_ptr' with no type 
qmrecoverymanager.h:71: template-id `auto_ptr<QmRecoveryManager>' used as a 
   declarator 
qmrecoverymanager.h:71: parse error before `;' token 
make: *** [obj/main.o] Error 1 
---------- 
 
This is kde 3.1beta2 and qt from a recent qt-copy (i.e. qt-3.1.x tree). Don't 
know if that's the reason for this; don't have time to test further just now. 
Oh, gcc 3.2. 
  
Comment 4 Hannes Mehnert (RETIRED) gentoo-dev 2002-10-05 10:35:36 UTC
currently apollo does not work with stl (i wrote the developers about this). 
it also does not work with kde... 
it works if you don't have STLport installed and don't compile it with 
"--with-kde". I'm working with the apollo developers together to solve this. 
Comment 5 Hannes Mehnert (RETIRED) gentoo-dev 2002-10-08 13:58:22 UTC
Jonas, please test and comment if apollo-1.4.1 works for you (emerge sync; 
unmask apollo-1.4.1). 
 
The developers of apollo are working on solutions to get apollo work with kde3 
and with stl. 
 
I think if this ebuild works, we can close this bug. 
Comment 6 Jonas Berlin 2002-10-09 20:39:29 UTC
It compiled and started up.