[Pkg-octave-devel] Bug#667306: octave3.2: ftbfs with GCC-4.7

Matthias Klose doko at debian.org
Tue Apr 3 23:11:20 UTC 2012


Package: octave3.2
Version: 3.2.4-12
Severity: important
Tags: sid wheezy
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.7

The package fails to build in a test rebuild on at least amd64 with
gcc-4.7/g++-4.7, but succeeds to build with gcc-4.6/g++-4.6. The
severity of this report may be raised before the wheezy release.

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]

The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/octave3.2_3.2.4-12_unstable-gcc47.log
The last lines of the build log are at the end of this report.

Some hints on fixing these issues can be found at
http://gcc.gnu.org/gcc-4.7/porting_to.html

To build with GCC 4.7, either set CC=gcc-4.7 CXX=g++-4.7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

[...]
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
make[3]: Leaving directory `/«PKGBUILDDIR»/liboctave'
make[2]: *** [liboctave] Error 2
make[1]: *** [all] Error 2
make: *** [make-arch-stamp] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2





More information about the Pkg-octave-devel mailing list