Bug#314705: [Pkg-octave-devel] Bug#314705: octave2.1: FTBFS (amd64/gcc-4.0): trying to instantiate 'template<class T> template<class U> octave_int::octave_int(U)'

Rafael Laboissiere Rafael Laboissiere <rafael@debian.org>, 314705@bugs.debian.org
Tue, 21 Jun 2005 08:53:46 +0200


* Andreas Jochens <aj@andaco.de> [2005-06-17 23:29]:

> Package: octave2.1
> Version: 2.1.69-1
> Severity: normal
> Tags: patch
> 
> When building 'octave2.1' on amd64/unstable with gcc-4.0,
> I get the following error:
> 
> lex.l:208: error: 'bracket_brace_paren_nesting_level::<anonymous enum>' is/uses anonymous type
> lex.l:208: error:   trying to instantiate 'template<class T> template<class U> octave_int::octave_int(U)'
> make[3]: *** [pic/lex.o] Error 1
> make[3]: Leaving directory `/octave2.1-2.1.69/src'
> 
> With the attached patch 'octave2.1' can be compiled
> on amd64 using gcc-4.0.

I uploaded 2.1.71-1 to experimental.  This version has different upstream
files lex.l and toplev.cc, whcih are concerned by your p[atch.  Could you
please try to build the package on amd64 and report back the results?

-- 
Rafael