This is your first official bzflag-2.0.0 bug report. # emerge "=games-action/bzflag-2.0.0.20050117" QA Notice: USE Flag 'kerberos' not in IUSE for games-action/bzflag-2.0.0.20050117 QA Notice: USE Flag 'curl' not in IUSE for games-action/bzflag-2.0.0.20050117 MainMenu.cxx:30:23: LoginMenu.h: No such file or directory MainMenu.cxx: In destructor `virtual MainMenu::~MainMenu()': MainMenu.cxx:125: warning: possible problem detected in invocation of delete operator: MainMenu.cxx:125: warning: invalid use of undefined type `struct LoginMenu' MainMenu.h:24: warning: forward declaration of `struct LoginMenu' MainMenu.cxx:125: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined. MainMenu.cxx: In member function `virtual void MainMenu::execute()': MainMenu.cxx:151: error: invalid use of undefined type `struct LoginMenu' MainMenu.h:24: error: forward declaration of `struct LoginMenu' MainMenu.cxx:152: error: no matching function for call to `HUDDialogStack::push(LoginMenu*&)' HUDDialogStack.h:34: error: candidates are: void HUDDialogStack::push(HUDDialog*) make[2]: *** [MainMenu.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1
Created attachment 49452 [details] make.conf
I was too quick to throw in the flag. It seems I had kerberos in my USE flags, but didn't have it installed. (Why? I don't know, must have seemed like a good idea at the time.) ./bzflag-2.0.0.20050117/src/bzflag/MainMenu.cxx: 29:#ifdef HAVE_KRB5 30:#include "LoginMenu.h" 31:#endif
I have kerboros installed, but bzflag does not emerge. Same error messages. I also added a -kerboros flag to /etc/portage/package.use for bzflag, which didn't change things.
Ack! Gawd... never mind. kerberos kerberos kerberos... NOT kerboros!
Same bug here ! I also have the kerberos flag set. [...] c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/usr/X11R6/include -I/usr/include/SDL -D_REENTRANT -Wall -W -Os -march=i686 -mmmx -msse -mfpmath=sse -pipe -fomit-frame-pointer -ffast-math -fno-exceptions -fsigned-char -c MainWindow.cxx MainMenu.cxx:30:23: LoginMenu.h: No such file or directory MainMenu.cxx: In destructor `virtual MainMenu::~MainMenu()': MainMenu.cxx:125: warning: possible problem detected in invocation of delete operator: MainMenu.cxx:125: warning: invalid use of undefined type `struct LoginMenu' MainMenu.h:24: warning: forward declaration of `struct LoginMenu' MainMenu.cxx:125: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined. c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/usr/X11R6/include -I/usr/include/SDL -D_REENTRANT -Wall -W -Os -march=i686 -mmmx -msse -mfpmath=sse -pipe -fomit-frame-pointer -ffast-math -fno-exceptions -fsigned-char -c MenuDefaultKey.cxx MainMenu.cxx: In member function `virtual void MainMenu::execute()': MainMenu.cxx:151: error: invalid use of undefined type `struct LoginMenu' MainMenu.h:24: error: forward declaration of `struct LoginMenu' MainMenu.cxx:152: error: no matching function for call to `HUDDialogStack::push (LoginMenu*&)' HUDDialogStack.h:34: error: candidates are: void HUDDialogStack::push(HUDDialog*) make[2]: *** [MainMenu.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/bzflag-2.0.0.20050117/work/bzflag-2.0.0.20050117/src/bzflag' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/bzflag-2.0.0.20050117/work/bzflag-2.0.0.20050117/src' make: *** [all-recursive] Error 1 !!! ERROR: games-action/bzflag-2.0.0.20050117 failed. !!! Function src_compile, Line 51, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message.
I had this error and have kerberos installed. Adding games-action/bzflag -kerberos to my package.use fixed compilation, so we can pretty sure where the problem is. This bug is real, and should not be marked resolved.
Agreed. Broken for me also. works with -kerberos in the package.use file.
It looks like with app-crypt/mit-krb5 or without any kerberos installed and yet having the kerberos flag set, bzflag fails to compile when it can't find LoginMenu.h wherever that is supposed to be, because it doesn't seem to be in app-crypt/mit-krb5-1.3.6-r1. # qpkg -l app-crypt/mit-krb5 | grep LoginMenu.h # qpkg -l games-action/bzflag | grep LoginMenu.h # And if I use app-crypt/heimdal instead of app-crypt/mit-krb5 it fails to compile when it can't find com_err.h, which does seem to be in app-crypt/heimdal-0.6.3-r1. # qpkg -l app-crypt/heimdal | grep com_err.h /usr/include/heimdal/com_err.h # Using app-crypt/heimdal instead of app-crypt/mit-krb5: # emerge app-crypt/heimdal # emerge games-action/bzflag ... ccache c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -Wall -W -O3 -march=athlon-xp -fmessage-length=0 -pipe -ffast-math -fno-exceptions -fsigned-char -c Authentication.cxx Authentication.cxx:24:21: com_err.h: No such file or directory Authentication.cxx: In static member function `static void Authentication::cleanUp()': Authentication.cxx:56: error: `com_err' undeclared (first use this function) Authentication.cxx:56: error: (Each undeclared identifier is reported only once for each function it appears in.) Authentication.cxx: In static member function `static void Authentication::init(const char*, int, const char*)': Authentication.cxx:87: error: `com_err' undeclared (first use this function) Authentication.cxx: In member function `void Authentication::setPrincipalName(char*, int)': Authentication.cxx:154: error: `com_err' undeclared (first use this function) Authentication.cxx: In member function `void Authentication::verifyCredential(char*, int)': Authentication.cxx:178: error: `com_err' undeclared (first use this function) make[2]: *** [Authentication.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/bzflag-2.0.0.20050117/work/bzflag-2.0.0.20050117/src/bzfs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/bzflag-2.0.0.20050117/work/bzflag-2.0.0.20050117/src' make: *** [all-recursive] Error 1
seems the current bzflag-2.x release's kerberos support is incomplete ... it's missing a few header/source files as you can see here for now i've just disabled it