Subject: pkg/29385: package games/enigma fails build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <almeyers@consult-meyers.com>
List: pkgsrc-bugs
Date: 02/15/2005 13:09:00
>Number:         29385
>Category:       pkg
>Synopsis:       package games/enigma fails build
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 15 13:09:00 +0000 2005
>Originator:     A L Meyers
>Release:        latest cvs pkgsrc bootstrapped to Mandrake Linux 10.1 i386
>Organization:
>Environment:
Linux localhost.localdomain 2.6.8.1-12mdk #1 Fri Oct 1 12:53:41 CEST 2004 i686 AMD Athlon(tm) XP 2800+ unknown GNU/Linux

>Description:
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src   -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/SDL -D_REENTRANT -O2 -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/include -DGLX_GLXEXT_LEGACY -g -MT dict.o -MD -MP -MF ".deps/dict.Tpo" \
  -c -o dict.o `test -f 'dict.cc' || echo './'`dict.cc; \
then mv -f ".deps/dict.Tpo" ".deps/dict.Po"; \
else rm -f ".deps/dict.Tpo"; exit 1; \
fi
In file included from dict.cc:1:
dict.hh:104: error: using typedef-name `px::Dict<T>::iterator' after `class'
dict.hh:105: error: using typedef-name `px::Dict<T>::const_iterator' after `class'
dict.hh: In member function `const T& px::Dict<T>::lookup(const std::string&) const':
dict.hh:129: error: there are no arguments to `XInvalidKey' that depend on a template parameter, so a declaration of `XInvalidKey' must be available
dict.hh:129: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
make[3]: *** [dict.o] Fehler 1
make[3]: Leaving directory `/usr/pkgsrc/games/enigma/work/enigma-0.81/src/px'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/usr/pkgsrc/games/enigma/work/enigma-0.81/src'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/usr/pkgsrc/games/enigma/work/enigma-0.81/src'
make: *** [all-recursive] Fehler 1
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/games/enigma
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /usr/pkgsrc/games/enigma/work/.work.log
===>
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/games/enigma

>How-To-Repeat:
do "bmake install" in games/enigma
>Fix:
none known