[Pkg-octave-devel] Bug#664921: octave-octgpr: FTBFS: pdist2_mw.cc:161:24: error: 'MArray2' does not name a type

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


Source: octave-octgpr
Version: 1.2.0-2
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:
> make[1]: Entering directory `/«PKGBUILDDIR»'
> make[1]: Nothing to be done for `update-config'.
> make[1]: Leaving directory `/«PKGBUILDDIR»'
>  fakeroot debian/rules binary
> test -x debian/rules
> dh_testroot
> dh_prep 
> dh_installdirs -A 
> mkdir -p "."
> Adding cdbs dependencies to debian/octave-octgpr.substvars
> dh_installdirs -poctave-octgpr 
> Checking the Octave version... ok
> mkdir -p /«PKGBUILDDIR»/debian/octave-octgpr/usr/share/octave/packages	\
> 		 /«PKGBUILDDIR»/debian/octave-octgpr/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-octgpr/usr/share/octave/packages'],		\
> 		      [pwd(),'/debian/octave-octgpr/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-h2sB2d)
> Copying directory (., /tmp/oct-h2sB2d)
> checking for mkoctfile... /usr/bin/mkoctfile
> checking for Fortran 77 compiler default output file name... a.out
> checking whether the Fortran 77 compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables... 
> checking for suffix of object files... o
> checking whether we are using the GNU Fortran 77 compiler... yes
> checking whether gfortran accepts -g... yes
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking how to run the C preprocessor... gcc -E
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking for stdlib.h... (cached) yes
> checking for string.h... (cached) yes
> checking for stdbool.h that conforms to C99... yes
> checking for _Bool... yes
> checking for an ANSI C-conforming const... yes
> checking for error_at_line... yes
> checking for stdlib.h... (cached) yes
> checking for GNU libc compatible malloc... yes
> checking for fprintf... yes
> checking for fflush... yes
> checking how to get verbose linking output from gfortran... -v
> checking for Fortran 77 libraries of gfortran...  -L/usr/lib/gcc/x86_64-linux-gnu/4.6 -L/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.6/../../.. -lgfortran -lm -lquadmath
> checking for dummy main to link with Fortran 77 libraries... none
> checking for Fortran 77 name-mangling scheme... lower case, underscore, no extra underscore
> checking /usr/bin/mkoctfile for $BLAS_LIBS... -lblas
> checking for library containing dtpsv... none required
> checking for library containing dspr... none required
> checking for library containing dpotrf... -llapack
> checking for library containing dgeqr2... none required
> checking for library containing dorm2r... none required
> checking for library containing dtrtrs... none required
> checking for library containing dpotri... none required
> checking for library containing dsyev... none required
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating config.h
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating config.h
> config.status: config.h is unchanged
>  
>   "$prefix" is /«PKGBUILDDIR»/debian/octave-octgpr/usr/share/octave/packages/octgpr-1.2.0
>   "$exec_prefix" is ${prefix}
> 
> 
> find . -name NOINSTALL -print    # shows which toolboxes won't be installed
> 
> pdist2_mw.cc:161:24: error: 'MArray2' does not name a type
> pdist2_mw.cc:161:24: error: ISO C++ forbids declaration of 'parameter' with no type [-fpermissive]
> pdist2_mw.cc:161:31: error: expected ',' or '...' before '<' token
> pdist2_mw.cc: In function 'Matrix get_dist_matrix(int)':
> pdist2_mw.cc:163:12: error: 'X' was not declared in this scope
> pdist2_mw.cc:165:3: error: 'MArray2' was not declared in this scope
> pdist2_mw.cc:165:12: error: expected primary-expression before '>' token
> pdist2_mw.cc:165:14: error: 'XT' was not declared in this scope
> pdist2_mw.cc:167:7: error: 'ssq' was not declared in this scope
> pdist2_mw.cc:170:12: error: 'p' was not declared in this scope
> pdist2_mw.cc: At global scope:
> pdist2_mw.cc:188:24: error: 'MArray2' does not name a type
> pdist2_mw.cc:188:24: error: ISO C++ forbids declaration of 'parameter' with no type [-fpermissive]
> pdist2_mw.cc:188:31: error: expected ',' or '...' before '<' token
> pdist2_mw.cc:188:1: error: redefinition of 'template<class T> Matrix get_dist_matrix(int)'
> pdist2_mw.cc:161:1: error: 'template<class T> Matrix get_dist_matrix(int)' previously declared here
> pdist2_mw.cc: In function 'Matrix get_dist_matrix(int)':
> pdist2_mw.cc:190:12: error: 'X' was not declared in this scope
> pdist2_mw.cc:190:23: error: 'Y' was not declared in this scope
> pdist2_mw.cc:192:3: error: 'MArray2' was not declared in this scope
> pdist2_mw.cc:192:12: error: expected primary-expression before '>' token
> pdist2_mw.cc:192:14: error: 'XT' was not declared in this scope
> pdist2_mw.cc:192:35: error: 'YT' was not declared in this scope
> pdist2_mw.cc:194:7: error: 'ssq' was not declared in this scope
> pdist2_mw.cc:197:12: error: 'p' was not declared in this scope
> pdist2_mw.cc: In function 'octave_value_list Fpdist2_mw(const octave_value_list&, int)':
> pdist2_mw.cc:264:52: error: no matching function for call to 'get_dist_matrix(Matrix, bool&, double&)'
> pdist2_mw.cc:264:52: note: candidate is:
> pdist2_mw.cc:161:1: note: template<class T> Matrix get_dist_matrix(int)
> pdist2_mw.cc:268:52: error: no matching function for call to 'get_dist_matrix(Matrix, Matrix, bool&, double&)'
> pdist2_mw.cc:268:52: note: candidate is:
> pdist2_mw.cc:161:1: note: template<class T> Matrix get_dist_matrix(int)
> pdist2_mw.cc:274:52: error: no matching function for call to 'get_dist_matrix(ComplexMatrix, bool&, double&)'
> pdist2_mw.cc:274:52: note: candidate is:
> pdist2_mw.cc:161:1: note: template<class T> Matrix get_dist_matrix(int)
> pdist2_mw.cc:278:52: error: no matching function for call to 'get_dist_matrix(ComplexMatrix, ComplexMatrix, bool&, double&)'
> pdist2_mw.cc:278:52: note: candidate is:
> pdist2_mw.cc:161:1: note: template<class T> Matrix get_dist_matrix(int)
> make[1]: *** [pdist2_mw.oct] Error 1

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