[Pkg-octave-devel] Bug#674399: octave3.2: FTBFS: oct-inttypes.h:673:53: error: 'truncate_int' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]

Lucas Nussbaum lucas at lucas-nussbaum.net
Thu May 24 09:34:23 UTC 2012


Source: octave3.2
Version: 3.2.4-12
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20120524 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H -I/usr/include/freetype2 -Wall -W -Wshadow -Wold-style-cast -Wformat -O2 -g -pthread MArray-i.cc -o pic/MArray-i.o
> In file included from MArray-i.cc:27:0:
> oct-inttypes.h: In instantiation of 'static T octave_int_arith_base<T, true>::mul(T, T) [with T = signed char]':
> oct-inttypes.h:848:3:   required from 'octave_int<T> octave_int<T>::operator*(const octave_int<T>&) const [with T = signed char]'
> MArray.cc:182:1:   required from 'MArray<T> operator*(const MArray<T>&, const T&) [with T = octave_int<signed char>]'
> MArray-i.cc:45:1:   required from here
> oct-inttypes.h:673:53: error: 'truncate_int' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
> oct-inttypes.h:673:53: note: declarations in dependent base 'octave_int_base<signed char>' are not found by unqualified lookup
> oct-inttypes.h:673:53: note: use 'octave_int_arith_base::truncate_int' instead
> oct-inttypes.h: In instantiation of 'static T octave_int_arith_base<T, true>::mul(T, T) [with T = short int]':
> oct-inttypes.h:848:3:   required from 'octave_int<T> octave_int<T>::operator*(const octave_int<T>&) const [with T = short int]'
> MArray.cc:182:1:   required from 'MArray<T> operator*(const MArray<T>&, const T&) [with T = octave_int<short int>]'
> MArray-i.cc:46:1:   required from here
> oct-inttypes.h:673:53: error: 'truncate_int' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
> oct-inttypes.h:673:53: note: declarations in dependent base 'octave_int_base<short int>' are not found by unqualified lookup
> oct-inttypes.h:673:53: note: use 'octave_int_arith_base::truncate_int' instead
> oct-inttypes.h: In instantiation of 'static T octave_int_arith_base<T, true>::mul(T, T) [with T = int]':
> oct-inttypes.h:848:3:   required from 'octave_int<T> octave_int<T>::operator*(const octave_int<T>&) const [with T = int]'
> MArray.cc:182:1:   required from 'MArray<T> operator*(const MArray<T>&, const T&) [with T = octave_int<int>]'
> MArray-i.cc:47:1:   required from here
> oct-inttypes.h:673:53: error: 'truncate_int' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
> oct-inttypes.h:673:53: note: declarations in dependent base 'octave_int_base<int>' are not found by unqualified lookup
> oct-inttypes.h:673:53: note: use 'octave_int_arith_base::truncate_int' instead
> oct-inttypes.h: In instantiation of 'static T octave_int_arith_base<T, false>::mul(T, T) [with T = unsigned char]':
> oct-inttypes.h:848:3:   required from 'octave_int<T> octave_int<T>::operator*(const octave_int<T>&) const [with T = unsigned char]'
> MArray.cc:182:1:   required from 'MArray<T> operator*(const MArray<T>&, const T&) [with T = octave_int<unsigned char>]'
> MArray-i.cc:55:1:   required from here
> oct-inttypes.h:420:53: error: 'truncate_int' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
> oct-inttypes.h:420:53: note: declarations in dependent base 'octave_int_base<unsigned char>' are not found by unqualified lookup
> oct-inttypes.h:420:53: note: use 'octave_int_arith_base::truncate_int' instead
> oct-inttypes.h: In instantiation of 'static T octave_int_arith_base<T, false>::mul(T, T) [with T = short unsigned int]':
> oct-inttypes.h:848:3:   required from 'octave_int<T> octave_int<T>::operator*(const octave_int<T>&) const [with T = short unsigned int]'
> MArray.cc:182:1:   required from 'MArray<T> operator*(const MArray<T>&, const T&) [with T = octave_int<short unsigned int>]'
> MArray-i.cc:56:1:   required from here
> oct-inttypes.h:420:53: error: 'truncate_int' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
> oct-inttypes.h:420:53: note: declarations in dependent base 'octave_int_base<short unsigned int>' are not found by unqualified lookup
> oct-inttypes.h:420:53: note: use 'octave_int_arith_base::truncate_int' instead
> oct-inttypes.h: In instantiation of 'static T octave_int_arith_base<T, false>::mul(T, T) [with T = unsigned int]':
> oct-inttypes.h:848:3:   required from 'octave_int<T> octave_int<T>::operator*(const octave_int<T>&) const [with T = unsigned int]'
> MArray.cc:182:1:   required from 'MArray<T> operator*(const MArray<T>&, const T&) [with T = octave_int<unsigned int>]'
> MArray-i.cc:57:1:   required from here
> oct-inttypes.h:420:53: error: 'truncate_int' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
> oct-inttypes.h:420:53: note: declarations in dependent base 'octave_int_base<unsigned int>' are not found by unqualified lookup
> oct-inttypes.h:420:53: note: use 'octave_int_arith_base::truncate_int' instead
> make[3]: *** [pic/MArray-i.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/05/24/octave3.2_3.2.4-12_unstable.log

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.





More information about the Pkg-octave-devel mailing list