Subject: Re: pkg/29385: package games/enigma fails build
To: None <heinz@netbsd.org>
From: A L Meyers <me@privacy.net>
List: pkgsrc-bugs
Date: 04/03/2005 01:09:40
heinz@netbsd.org wrote:

>Synopsis: package games/enigma fails build
>
>State-Changed-From-To: analyzed->feedback
>State-Changed-By: heinz@netbsd.org
>State-Changed-When: Mon, 28 Mar 2005 12:13:30 +0000
>State-Changed-Why:
>What's the status of the suggested workaround?
>
>
>
>
>  
>
Hello Heinz,

Thanks for the inputs.  Regret having to report that games/enigma still
does not build.  Greetings, Lux

Here is the output:

if g++ -DHAVE_CONFIG_H -I. -I. -I../../src   -I/usr/pkg/include 
-I/usr/pkg/include/SDL -DGLX_GLXEXT_LEGACY -I/usr/include 
-I/usr/pkg/gcc34/include 
-I/usr/pkg/gcc34/lib/gcc/i686-pc-linux-gnu/3.4.3/include 
-I/usr/pkg/include/SDL -D_REENTRANT -O2 -I/usr/pkg/include 
-I/usr/pkg/include/SDL -DGLX_GLXEXT_LEGACY -I/usr/include 
-I/usr/pkg/gcc34/include 
-I/usr/pkg/gcc34/lib/gcc/i686-pc-linux-gnu/3.4.3/include -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] Error 1
make[3]: Leaving directory 
`/usr/pkgsrc/games/enigma/work/enigma-0.81/src/px'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/pkgsrc/games/enigma/work/enigma-0.81/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/pkgsrc/games/enigma/work/enigma-0.81/src'
make: *** [all-recursive] Error 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