Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79419 - games-action/bzflag-2.0.0.20050117 fails to emerge: `LoginMenu.h: No such file or directory'
Summary: games-action/bzflag-2.0.0.20050117 fails to emerge: `LoginMenu.h: No such fil...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-24 23:15 UTC by Justin Findlay
Modified: 2005-03-12 22:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
make.conf (make.conf,15.23 KB, text/plain)
2005-01-24 23:15 UTC, Justin Findlay
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Findlay 2005-01-24 23:15:03 UTC
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
Comment 1 Justin Findlay 2005-01-24 23:15:40 UTC
Created attachment 49452 [details]
make.conf
Comment 2 Justin Findlay 2005-01-24 23:32:15 UTC
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
Comment 3 Dan A. Dickey 2005-01-26 09:00:31 UTC
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.
Comment 4 Dan A. Dickey 2005-01-26 12:45:32 UTC
Ack!  Gawd... never mind.
kerberos kerberos kerberos...
NOT kerboros!
Comment 5 Vincent Riquer 2005-01-29 06:55:41 UTC
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.

Comment 6 Ben Schwartz 2005-02-10 08:08:05 UTC
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.
Comment 7 James C. Georgas 2005-03-06 10:31:14 UTC
Agreed. Broken for me also. works with -kerberos in the package.use file.
Comment 8 Justin Findlay 2005-03-06 15:01:24 UTC
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
Comment 9 SpanKY gentoo-dev 2005-03-12 22:17:49 UTC
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