Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10815 - if use=nas, emerge qt-3.0.5-r2 is broken
Summary: if use=nas, emerge qt-3.0.5-r2 is broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-16 02:43 UTC by Kurt Hindenburg
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 Kurt Hindenburg 2002-11-16 02:43:28 UTC
[...]
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED
-DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT
-DQT_NO_NIS -DQT_NAS_SUPPORT -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_AQUA
-DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_COMPACT -I/usr/X11R6/include/freetype2
-I/mnt/zeta/var/tmp/portage/qt-3.0.5-r2/work/qt-x11-free-3.0.5/include
-I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/
-I/mnt/zeta/var/tmp/portage/qt-3.0.5-r2/work/qt-x11-free-3.0.5/mkspecs/linux-g++
-o .obj/release-shared-mt/qsound_x11.o kernel/qsound_x11.cpp
kernel/qsound_x11.cpp:51:28: audio/audiolib.h: No such file or directory
kernel/qsound_x11.cpp:52:28: audio/soundlib.h: No such file or directory
kernel/qsound_x11.cpp:54: syntax error before `*' token
kernel/qsound_x11.cpp:66: 'AuBucketID' is used as a type, but is not defined as 
   a type.
kernel/qsound_x11.cpp: In constructor `QAuBucketNAS::QAuBucketNAS(int)':
kernel/qsound_x11.cpp:58: class `QAuBucketNAS' does not have any field named `
   id'
kernel/qsound_x11.cpp: In destructor `virtual QAuBucketNAS::~QAuBucketNAS()':
kernel/qsound_x11.cpp:62: `nas' undeclared (first use this function)
kernel/qsound_x11.cpp:62: (Each undeclared identifier is reported only once for 
   each function it appears in.)
kernel/qsound_x11.cpp:63: `AuBucketID' undeclared (first use this function)
kernel/qsound_x11.cpp:63: parse error before `;' token
kernel/qsound_x11.cpp: In constructor `QAuServerNAS::QAuServerNAS(QObject*)':
kernel/qsound_x11.cpp:97: `AuOpenServer' undeclared (first use this function)
kernel/qsound_x11.cpp:100: `AuServerConnectionNumber' undeclared (first use 
   this function)
kernel/qsound_x11.cpp: In destructor `virtual QAuServerNAS::~QAuServerNAS()':
kernel/qsound_x11.cpp:112: `AuCloseServer' undeclared (first use this function)
kernel/qsound_x11.cpp: In member function `virtual void 
   QAuServerNAS::play(const QString&)':
kernel/qsound_x11.cpp:121: `AuFixedPoint' undeclared (first use this function)
kernel/qsound_x11.cpp:121: parse error before `=' token
kernel/qsound_x11.cpp:122: `AuNone' undeclared (first use this function)
kernel/qsound_x11.cpp:122: `volume' undeclared (first use this function)
kernel/qsound_x11.cpp:122: `AuSoundPlayFromFile' undeclared (first use this 
   function)
kernel/qsound_x11.cpp:123: `AuFlush' undeclared (first use this function)
kernel/qsound_x11.cpp:120: warning: unused variable `int iv'
kernel/qsound_x11.cpp: At global scope:
kernel/qsound_x11.cpp:132: `AuServer' was not declared in this scope
kernel/qsound_x11.cpp:132: parse error before `,' token
kernel/qsound_x11.cpp: In function `void callback(...)':
kernel/qsound_x11.cpp:134: `e' undeclared (first use this function)
kernel/qsound_x11.cpp:135: `p' undeclared (first use this function)
kernel/qsound_x11.cpp:136: `AuEventTypeElementNotify' undeclared (first use 
   this function)
kernel/qsound_x11.cpp:137: `AuElementNotifyKindState' undeclared (first use 
   this function)
kernel/qsound_x11.cpp:138: `AuStateStop' undeclared (first use this function)
kernel/qsound_x11.cpp: In member function `virtual void 
   QAuServerNAS::play(QSound*)':
kernel/qsound_x11.cpp:151: parse error before `=' token
kernel/qsound_x11.cpp:152: `class QAuBucketNAS' has no member named `id'
kernel/qsound_x11.cpp:153: `AuSoundPlayFromBucket' undeclared (first use this 
   function)
kernel/qsound_x11.cpp:150: warning: unused variable `int iv'
kernel/qsound_x11.cpp: In member function `virtual void 
   QAuServerNAS::init(QSound*)':
kernel/qsound_x11.cpp:175: `AuSoundCreateBucketFromFile' undeclared (first use 
   this function)
kernel/qsound_x11.cpp: In member function `void QAuServerNAS::dataReceived()':
kernel/qsound_x11.cpp:185: `AuHandleEvents' undeclared (first use this 
   function)
make[1]: *** [.obj/release-shared-mt/qsound_x11.o] Error 1
make[1]: *** Waiting for unfinished jobs....
kernel/qapplication_x11.cpp: In function `void qt_init_internal(int*, char**, 
   Display*, long unsigned int, long unsigned int)':
kernel/qapplication_x11.cpp:1924: warning: `XEventClass*ev_class' might be used 
   uninitialized in this function
kernel/qapplication_x11.cpp: In member function `bool 
   QETWidget::translateXinputEvent(const
XEvent*)':kernel/qapplication_x11.cpp:4894: warning: `XDevice*dev' might be used 
   uninitialized in this function
make[1]: Leaving directory
`/mnt/zeta/var/tmp/portage/qt-3.0.5-r2/work/qt-x11-free-3.0.5/src'
make: *** [sub-src] Error 2

!!! ERROR: x11-libs/qt-3.0.5-r2 failed.
!!! Function src_compile, Line 75, Exitcode 2
!!! (no error message)

emerge -V
Portage 2.0.44 (default-x86-1.4, gcc-3.2, glibc-2.2.5-r4,2.2.5-r7)
Comment 1 Hannes Mehnert (RETIRED) gentoo-dev 2002-11-16 11:30:04 UTC
please post the otutput of emerge info 
Comment 2 Kurt Hindenburg 2002-11-16 20:14:11 UTC
I unemerged nas and removed the +nas from the USE and qt compiled/installed O.K.
Comment 3 Dan Armak (RETIRED) gentoo-dev 2002-11-28 15:12:25 UTC
That doesn't help much, we'd like to trace down this bug :-) You were missing 
/usr/include/audio/audiolib.h, which comes with nas. Try emerging nas again and 
seeing if you get that file. 
 
How about trying qt-3.1.0-r1? With nas support, that is. 
Comment 4 Kurt Hindenburg 2002-11-28 17:36:01 UTC
After a fresh 'emerge nas' :

Apparently nas installs stuff in /usr/X11R6/

(root@rachael)-(18:37)-(~)> ll /usr/X11R6/include/audio/audiolib.h 
-r--r--r--    1 root     root        51230 Nov 28 18:36
/usr/X11R6/include/audio/audiolib.h

I don't have an /usr/include/audio directory.
Comment 5 Hannes Mehnert (RETIRED) gentoo-dev 2002-11-29 21:53:23 UTC
ok, than this file exists and qt should compile (have you tried this yet, if not, please 
do)? 
Comment 6 Kurt Hindenburg 2002-11-30 19:07:50 UTC
Well, it compiled O.K. this time (qt-3.0.5-r2).  I'm not sure what is different from previous, although I upgraded gcc (3.2-r2 -> 3.2-r4) and installed KDE.    
Comment 7 Dan Armak (RETIRED) gentoo-dev 2002-12-01 14:26:57 UTC
OK, so can we close this? 
Comment 8 Hannes Mehnert (RETIRED) gentoo-dev 2002-12-16 21:28:41 UTC
everything works fine now, so i close this.