[Pkg-octave-devel] Bug#664918: octave-fixed: FTBFS: Array-f.cc:63:29: fatal error: octave/MArray2.cc: No such file or directory

Lucas Nussbaum lucas at lucas-nussbaum.net
Wed Mar 21 20:29:06 UTC 2012


Source: octave-fixed
Version: 0.7.10-3
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20120321 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
>  debian/rules build
> test -x debian/rules
> mkdir -p "."
> cd doc/ && makeinfo fixed.texi
>  fakeroot debian/rules binary
> test -x debian/rules
> dh_testroot
> dh_prep 
> dh_installdirs -A 
> mkdir -p "."
> cd doc/ && makeinfo fixed.texi
> Adding cdbs dependencies to debian/octave-fixed.substvars
> dh_installdirs -poctave-fixed 
> Checking the Octave version... ok
> mkdir -p /«PKGBUILDDIR»/debian/octave-fixed/usr/share/octave/packages	\
> 		 /«PKGBUILDDIR»/debian/octave-fixed/usr/lib/x86_64-linux-gnu/octave/packages
> [ -e PKG_ADD ] && mv PKG_ADD PKG_ADD.bak
> make: [install-pkg] Error 1 (ignored)
> /usr/bin/octave --no-history --silent --no-init-file --eval				\
> 		 "pkg ('prefix', [pwd(),'/debian/octave-fixed/usr/share/octave/packages'],		\
> 		      [pwd(),'/debian/octave-fixed/usr/lib/x86_64-linux-gnu/octave/packages']);			\
> 		 pkg ('local_list', [pwd(),'/local-list']);		\
> 		 pkg ('global_list', [pwd(),'/global-list']);	\
> 		 if (exist ('PKG_ADD.bak') == 2),			\
> 		     movefile ('PKG_ADD.bak', 'PKG_ADD');		\
> 		 endif;							\
> 		 pkg -verbose -nodeps install ."
> warning: X11 DISPLAY environment variable not set
> mkdir (/tmp/oct-rwv7cv)
> Copying directory (., /tmp/oct-rwv7cv)
> warning: X11 DISPLAY environment variable not set
> warning: X11 DISPLAY environment variable not set
> checking for mkoctfile... /usr/bin/mkoctfile
> checking for octave... /usr/bin/octave
> checking for OCTAVE_VERSION in Octave... 3.6.1
> checking for octave_config_info('canonical_host_type') in Octave... x86_64-pc-linux-gnu
> checking whether ln -s works... yes
> configure: creating ./config.status
> config.status: creating Makeconf
>  
> 
> octave-forge is configured with
>    octave:      /usr/bin/octave (version 3.6.1)
>    mkoctfile:	/usr/bin/mkoctfile for Octave 
> 
> Building fixed package version 0.7.10
>  
> Array-f.cc:63:29: fatal error: octave/MArray2.cc: No such file or directory
> compilation terminated.
> In file included from fixedMatrix.h:29:0,
>                  from fixedColVector.cc:36:
> /usr/include/octave-3.6.1/octave/../octave/MArray2.h:32:2: warning: #warning Using MArray2<T> is deprecated. Use MArray<T>. [-Wcpp]
> In file included from fixedColVector.cc:36:0:
> fixedMatrix.h:98:22: error: 'Array2' does not name a type
> fixedMatrix.h:98:22: error: ISO C++ forbids declaration of 'parameter' with no type [-fpermissive]
> fixedMatrix.h:98:28: error: expected ',' or '...' before '<' token
> fixedMatrix.h: In constructor 'FixedMatrix::FixedMatrix(int, int)':
> fixedMatrix.h:61:57: warning: 'MArray<T>::MArray(octave_idx_type, const T&) [with T = FixedPoint, octave_idx_type = int]' is deprecated (declared at /usr/include/octave-3.6.1/octave/../octave/MArray.h:49) [-Wdeprecated-declarations]
> fixedMatrix.h: In constructor 'FixedMatrix::FixedMatrix(int, int, FixedPoint)':
> fixedMatrix.h:63:84: error: no matching function for call to 'MArray<FixedPoint>::MArray(int&, int&, const FixedPoint&)'
> fixedMatrix.h:63:84: note: candidates are:
> /usr/include/octave-3.6.1/octave/../octave/MArray.h:61:3: note: template<class U> MArray::MArray(const Array<U>&)
> /usr/include/octave-3.6.1/octave/../octave/MArray.h:58:3: note: MArray<T>::MArray(const MArray<T>&) [with T = FixedPoint]
> /usr/include/octave-3.6.1/octave/../octave/MArray.h:58:3: note:   candidate expects 1 argument, 3 provided
> /usr/include/octave-3.6.1/octave/../octave/MArray.h:55:12: note: MArray<T>::MArray(const dim_vector&, const T&) [with T = FixedPoint]
> /usr/include/octave-3.6.1/octave/../octave/MArray.h:55:12: note:   candidate expects 2 arguments, 3 provided
> /usr/include/octave-3.6.1/octave/../octave/MArray.h:52:12: note: MArray<T>::MArray(const dim_vector&) [with T = FixedPoint]
> /usr/include/octave-3.6.1/octave/../octave/MArray.h:52:12: note:   candidate expects 1 argument, 3 provided
> /usr/include/octave-3.6.1/octave/../octave/MArray.h:49:3: note: MArray<T>::MArray(octave_idx_type, const T&) [with T = FixedPoint, octave_idx_type = int]
> /usr/include/octave-3.6.1/octave/../octave/MArray.h:49:3: note:   candidate expects 2 arguments, 3 provided
> /usr/include/octave-3.6.1/octave/../octave/MArray.h:46:12: note: MArray<T>::MArray(octave_idx_type) [with T = FixedPoint, octave_idx_type = int]
> /usr/include/octave-3.6.1/octave/../octave/MArray.h:46:12: note:   candidate expects 1 argument, 3 provided
> /usr/include/octave-3.6.1/octave/../octave/MArray.h:44:3: note: MArray<T>::MArray() [with T = FixedPoint]
> /usr/include/octave-3.6.1/octave/../octave/MArray.h:44:3: note:   candidate expects 0 arguments, 3 provided
> fixedMatrix.h: In constructor 'FixedMatrix::FixedMatrix(int)':
> fixedMatrix.h:98:68: error: 'a' was not declared in this scope
> fixedMatrix.h: In constructor 'FixedMatrix::FixedMatrix(FixedPoint*, int, int)':
> fixedMatrix.h:251:75: error: no matching function for call to 'MArray<FixedPoint>::MArray(FixedPoint*&, int&, int&)'
> fixedMatrix.h:251:75: note: candidates are:
> /usr/include/octave-3.6.1/octave/../octave/MArray.h:61:3: note: template<class U> MArray::MArray(const Array<U>&)
> /usr/include/octave-3.6.1/octave/../octave/MArray.h:58:3: note: MArray<T>::MArray(const MArray<T>&) [with T = FixedPoint]
> /usr/include/octave-3.6.1/octave/../octave/MArray.h:58:3: note:   candidate expects 1 argument, 3 provided
> /usr/include/octave-3.6.1/octave/../octave/MArray.h:55:12: note: MArray<T>::MArray(const dim_vector&, const T&) [with T = FixedPoint]
> /usr/include/octave-3.6.1/octave/../octave/MArray.h:55:12: note:   candidate expects 2 arguments, 3 provided
> /usr/include/octave-3.6.1/octave/../octave/MArray.h:52:12: note: MArray<T>::MArray(const dim_vector&) [with T = FixedPoint]
> /usr/include/octave-3.6.1/octave/../octave/MArray.h:52:12: note:   candidate expects 1 argument, 3 provided
> /usr/include/octave-3.6.1/octave/../octave/MArray.h:49:3: note: MArray<T>::MArray(octave_idx_type, const T&) [with T = FixedPoint, octave_idx_type = int]
> /usr/include/octave-3.6.1/octave/../octave/MArray.h:49:3: note:   candidate expects 2 arguments, 3 provided
> /usr/include/octave-3.6.1/octave/../octave/MArray.h:46:12: note: MArray<T>::MArray(octave_idx_type) [with T = FixedPoint, octave_idx_type = int]
> /usr/include/octave-3.6.1/octave/../octave/MArray.h:46:12: note:   candidate expects 1 argument, 3 provided
> /usr/include/octave-3.6.1/octave/../octave/MArray.h:44:3: note: MArray<T>::MArray() [with T = FixedPoint]
> /usr/include/octave-3.6.1/octave/../octave/MArray.h:44:3: note:   candidate expects 0 arguments, 3 provided
> In file included from fixedColVector.cc:37:0:
> fixedRowVector.h: In constructor 'FixedRowVector::FixedRowVector(int)':
> fixedRowVector.h:53:58: warning: 'MArray<T>::MArray(octave_idx_type) [with T = FixedPoint, octave_idx_type = int]' is deprecated (declared at /usr/include/octave-3.6.1/octave/../octave/MArray.h:46) [-Wdeprecated-declarations]
> fixedRowVector.h: In constructor 'FixedRowVector::FixedRowVector(int, FixedPoint)':
> fixedRowVector.h:84:70: warning: 'MArray<T>::MArray(octave_idx_type, const T&) [with T = FixedPoint, octave_idx_type = int]' is deprecated (declared at /usr/include/octave-3.6.1/octave/../octave/MArray.h:49) [-Wdeprecated-declarations]
> fixedRowVector.h: In constructor 'FixedRowVector::FixedRowVector(FixedPoint*, int)':
> fixedRowVector.h:181:67: error: invalid conversion from 'FixedPoint*' to 'int' [-fpermissive]
> /usr/include/octave-3.6.1/octave/../octave/MArray.h:49:3: error:   initializing argument 1 of 'MArray<T>::MArray(octave_idx_type, const T&) [with T = FixedPoint, octave_idx_type = int]' [-fpermissive]
> fixedRowVector.h:181:67: warning: 'MArray<T>::MArray(octave_idx_type, const T&) [with T = FixedPoint, octave_idx_type = int]' is deprecated (declared at /usr/include/octave-3.6.1/octave/../octave/MArray.h:49) [-Wdeprecated-declarations]
> In file included from fixedColVector.cc:38:0:
> fixedColVector.h: In constructor 'FixedColumnVector::FixedColumnVector(int)':
> fixedColVector.h:53:61: warning: 'MArray<T>::MArray(octave_idx_type) [with T = FixedPoint, octave_idx_type = int]' is deprecated (declared at /usr/include/octave-3.6.1/octave/../octave/MArray.h:46) [-Wdeprecated-declarations]
> fixedColVector.h: In constructor 'FixedColumnVector::FixedColumnVector(int, FixedPoint)':
> fixedColVector.h:85:73: warning: 'MArray<T>::MArray(octave_idx_type, const T&) [with T = FixedPoint, octave_idx_type = int]' is deprecated (declared at /usr/include/octave-3.6.1/octave/../octave/MArray.h:49) [-Wdeprecated-declarations]
> fixedColVector.h: In constructor 'FixedColumnVector::FixedColumnVector(FixedPoint*, int)':
> fixedColVector.h:182:70: error: invalid conversion from 'FixedPoint*' to 'int' [-fpermissive]
> /usr/include/octave-3.6.1/octave/../octave/MArray.h:49:3: error:   initializing argument 1 of 'MArray<T>::MArray(octave_idx_type, const T&) [with T = FixedPoint, octave_idx_type = int]' [-fpermissive]
> fixedColVector.h:182:70: warning: 'MArray<T>::MArray(octave_idx_type, const T&) [with T = FixedPoint, octave_idx_type = int]' is deprecated (declared at /usr/include/octave-3.6.1/octave/../octave/MArray.h:49) [-Wdeprecated-declarations]
> fixedColVector.cc: In constructor 'FixedColumnVector::FixedColumnVector(const MArray<int>&, const MArray<int>&)':
> fixedColVector.cc:44:36: warning: 'MArray<T>::MArray(octave_idx_type) [with T = FixedPoint, octave_idx_type = int]' is deprecated (declared at /usr/include/octave-3.6.1/octave/../octave/MArray.h:46) [-Wdeprecated-declarations]
> fixedColVector.cc: In constructor 'FixedColumnVector::FixedColumnVector(const ColumnVector&, const ColumnVector&)':
> fixedColVector.cc:57:36: warning: 'MArray<T>::MArray(octave_idx_type) [with T = FixedPoint, octave_idx_type = int]' is deprecated (declared at /usr/include/octave-3.6.1/octave/../octave/MArray.h:46) [-Wdeprecated-declarations]
> fixedColVector.cc: In constructor 'FixedColumnVector::FixedColumnVector(const MArray<int>&, const MArray<int>&, const FixedColumnVector&)':
> fixedColVector.cc:70:35: warning: 'MArray<T>::MArray(octave_idx_type) [with T = FixedPoint, octave_idx_type = int]' is deprecated (declared at /usr/include/octave-3.6.1/octave/../octave/MArray.h:46) [-Wdeprecated-declarations]
> fixedColVector.cc: In constructor 'FixedColumnVector::FixedColumnVector(const ColumnVector&, const ColumnVector&, const FixedColumnVector&)':
> fixedColVector.cc:84:35: warning: 'MArray<T>::MArray(octave_idx_type) [with T = FixedPoint, octave_idx_type = int]' is deprecated (declared at /usr/include/octave-3.6.1/octave/../octave/MArray.h:46) [-Wdeprecated-declarations]
> fixedColVector.cc: In constructor 'FixedColumnVector::FixedColumnVector(unsigned int, unsigned int, const FixedColumnVector&)':
> fixedColVector.cc:98:35: warning: 'MArray<T>::MArray(octave_idx_type) [with T = FixedPoint, octave_idx_type = int]' is deprecated (declared at /usr/include/octave-3.6.1/octave/../octave/MArray.h:46) [-Wdeprecated-declarations]
> fixedColVector.cc: In constructor 'FixedColumnVector::FixedColumnVector(const MArray<int>&, const MArray<int>&, const ColumnVector&)':
> fixedColVector.cc:106:35: warning: 'MArray<T>::MArray(octave_idx_type) [with T = FixedPoint, octave_idx_type = int]' is deprecated (declared at /usr/include/octave-3.6.1/octave/../octave/MArray.h:46) [-Wdeprecated-declarations]
> fixedColVector.cc: In constructor 'FixedColumnVector::FixedColumnVector(const ColumnVector&, const ColumnVector&, const ColumnVector&)':
> fixedColVector.cc:120:35: warning: 'MArray<T>::MArray(octave_idx_type) [with T = FixedPoint, octave_idx_type = int]' is deprecated (declared at /usr/include/octave-3.6.1/octave/../octave/MArray.h:46) [-Wdeprecated-declarations]
> fixedColVector.cc: In constructor 'FixedColumnVector::FixedColumnVector(unsigned int, unsigned int, const ColumnVector&)':
> fixedColVector.cc:134:35: warning: 'MArray<T>::MArray(octave_idx_type) [with T = FixedPoint, octave_idx_type = int]' is deprecated (declared at /usr/include/octave-3.6.1/octave/../octave/MArray.h:46) [-Wdeprecated-declarations]
> fixedColVector.cc: In constructor 'FixedColumnVector::FixedColumnVector(const MArray<int>&, const MArray<int>&, const ColumnVector&, const ColumnVector&)':
> fixedColVector.cc:143:35: warning: 'MArray<T>::MArray(octave_idx_type) [with T = FixedPoint, octave_idx_type = int]' is deprecated (declared at /usr/include/octave-3.6.1/octave/../octave/MArray.h:46) [-Wdeprecated-declarations]
> fixedColVector.cc: In constructor 'FixedColumnVector::FixedColumnVector(const ColumnVector&, const ColumnVector&, const ColumnVector&, const ColumnVector&)':
> fixedColVector.cc:160:35: warning: 'MArray<T>::MArray(octave_idx_type) [with T = FixedPoint, octave_idx_type = int]' is deprecated (declared at /usr/include/octave-3.6.1/octave/../octave/MArray.h:46) [-Wdeprecated-declarations]
> fixedColVector.cc: In constructor 'FixedColumnVector::FixedColumnVector(unsigned int, unsigned int, const ColumnVector&, const ColumnVector&)':
> fixedColVector.cc:176:35: warning: 'MArray<T>::MArray(octave_idx_type) [with T = FixedPoint, octave_idx_type = int]' is deprecated (declared at /usr/include/octave-3.6.1/octave/../octave/MArray.h:46) [-Wdeprecated-declarations]
> fixedColVector.cc: In function 'FixedColumnVector operator*(const FixedMatrix&, const FixedColumnVector&)':
> fixedColVector.cc:449:38: error: no matching function for call to 'FixedColumnVector::resize(int&, FixedPoint)'
> fixedColVector.cc:449:38: note: candidates are:
> /usr/include/octave-3.6.1/octave/../octave/Array.h:459:8: note: void Array<T>::resize(octave_idx_type) [with T = FixedPoint, octave_idx_type = int]
> /usr/include/octave-3.6.1/octave/../octave/Array.h:459:8: note:   candidate expects 1 argument, 2 provided
> /usr/include/octave-3.6.1/octave/../octave/Array.h:462:8: note: void Array<T>::resize(octave_idx_type, octave_idx_type, const T&) [with T = FixedPoint, octave_idx_type = int]
> /usr/include/octave-3.6.1/octave/../octave/Array.h:462:8: note:   no known conversion for argument 2 from 'FixedPoint' to 'int'
> /usr/include/octave-3.6.1/octave/../octave/Array.h:468:8: note: void Array<T>::resize(const dim_vector&, const T&) [with T = FixedPoint]
> /usr/include/octave-3.6.1/octave/../octave/Array.h:468:8: note:   no known conversion for argument 1 from 'int' to 'const dim_vector&'
> fixedColVector.cc: In function 'FixedColumnVector elem_pow(const FixedColumnVector&, const FixedColumnVector&)':
> fixedColVector.cc:554:26: warning: 'void Array<T>::resize(octave_idx_type) [with T = FixedPoint, octave_idx_type = int]' is deprecated (declared at /usr/include/octave-3.6.1/octave/../octave/Array.h:459) [-Wdeprecated-declarations]
> fixedColVector.cc:561:26: warning: 'void Array<T>::resize(octave_idx_type) [with T = FixedPoint, octave_idx_type = int]' is deprecated (declared at /usr/include/octave-3.6.1/octave/../octave/Array.h:459) [-Wdeprecated-declarations]
> fixedColVector.cc:568:26: warning: 'void Array<T>::resize(octave_idx_type) [with T = FixedPoint, octave_idx_type = int]' is deprecated (declared at /usr/include/octave-3.6.1/octave/../octave/Array.h:459) [-Wdeprecated-declarations]
> make[1]: *** [fixedColVector.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/03/21/octave-fixed_0.7.10-3.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