[Pkg-octave-devel] Bug#664935: octave-ad: FTBFS: ov-grad.cc:74:41: error: no matching function for call to 'octave_value::print_with_name(std::ostream&, const char [6], bool) const'
Lucas Nussbaum
lucas at lucas-nussbaum.net
Wed Mar 21 20:29:01 UTC 2012
Source: octave-ad
Version: 1.0.6-4
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 "."
> fakeroot debian/rules binary
> test -x debian/rules
> dh_testroot
> dh_prep
> dh_installdirs -A
> mkdir -p "."
> Adding cdbs dependencies to debian/octave-ad.substvars
> dh_installdirs -poctave-ad
> Checking the Octave version... ok
> mkdir -p /«PKGBUILDDIR»/debian/octave-ad/usr/share/octave/packages \
> /«PKGBUILDDIR»/debian/octave-ad/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-ad/usr/share/octave/packages'], \
> [pwd(),'/debian/octave-ad/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-Fuxa9K)
> Copying directory (., /tmp/oct-Fuxa9K)
> warning: X11 DISPLAY environment variable not set
> warning: X11 DISPLAY environment variable not set
> warning: X11 DISPLAY environment variable not set
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C 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 C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking for mkoctfile... /usr/bin/mkoctfile
> retrieving compile and link flags from /usr/bin/mkoctfile
> checking for F77_FUNC... yes
> 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 for octave_config_info('SHLEXT') in Octave... so
> checking whether ln -s works... yes
> checking for ranlib... ranlib
> checking for strip... strip
> checking for makeinfo... makeinfo
> checking for makeinfo --no-split... yes
> checking for texi2dvi... texi2dvi
> checking that texi2dvi runs... no
> checking for texi2html... no
> checking for dvipdf... no
> checking for dvips... no
> configure: creating ./config.status
> config.status: creating Makeconf
>
> "$prefix" is /«PKGBUILDDIR»/debian/octave-ad/usr/share/octave/packages/ad-1.0.6
> "$exec_prefix" is ${prefix}
>
> octave commands will install into the following directories:
> m-files: /usr/share/octave/3.6.1/site/m/octave-forge
> oct-files: /usr/lib/x86_64-linux-gnu/octave/3.6.1/site/oct/x86_64-pc-linux-gnu/octave-forge
> binaries: /usr/lib/x86_64-linux-gnu/octave/3.6.1/site/exec/x86_64-pc-linux-gnu
> alternatives:
> m-files: /usr/share/octave/3.6.1/site/octave-forge-alternatives/m
> oct-files: /usr/lib/x86_64-linux-gnu/octave/3.6.1/site/octave-forge-alternatives/oct/x86_64-pc-linux-gnu
>
> shell commands will install into the following directories:
> binaries: ${exec_prefix}/bin
> man pages: ${datarootdir}/man
> libraries: ${exec_prefix}/lib
> headers: ${prefix}/include
>
> octave-forge is configured with
> octave: /usr/bin/octave (version 3.6.1)
> mkoctfile: /usr/bin/mkoctfile for Octave 1
> X11 support:
> makeinfo: makeinfo --no-split
> texi2dvi:
> texi2html:
> mkdoc: /tmp/oct-Fuxa9K/src/admin/mkdoc
> mktexi: /tmp/oct-Fuxa9K/src/admin/mktexi
> dvips:
> dvipdf:
>
> find . -name NOINSTALL -print # shows which toolboxes won't be installed
>
> ov-grad.cc: In function 'octave_value eye_mx(octave_idx_type)':
> ov-grad.cc:50:60: warning: 'Array<T>::Array(octave_idx_type) [with T = int, octave_idx_type = int]' is deprecated (declared at /usr/include/octave-3.6.1/octave/../octave/Array.h:179) [-Wdeprecated-declarations]
> ov-grad.cc:53:45: warning: 'Array<T>::Array(octave_idx_type, const T&) [with T = double, octave_idx_type = int]' is deprecated (declared at /usr/include/octave-3.6.1/octave/../octave/Array.h:185) [-Wdeprecated-declarations]
> ov-grad.cc: In member function 'virtual void octave_gradient::print(std::ostream&, bool) const':
> ov-grad.cc:74:41: error: no matching function for call to 'octave_value::print_with_name(std::ostream&, const char [6], bool) const'
> ov-grad.cc:74:41: note: candidate is:
> /usr/include/octave-3.6.1/octave/../octave/ov.h:1002:8: note: void octave_value::print_with_name(std::ostream&, const string&) const
> /usr/include/octave-3.6.1/octave/../octave/ov.h:1002:8: note: candidate expects 2 arguments, 3 provided
> ov-grad.cc:77:66: error: no matching function for call to 'octave_value::print_with_name(std::ostream&, const char [24], bool)'
> ov-grad.cc:77:66: note: candidate is:
> /usr/include/octave-3.6.1/octave/../octave/ov.h:1002:8: note: void octave_value::print_with_name(std::ostream&, const string&) const
> /usr/include/octave-3.6.1/octave/../octave/ov.h:1002:8: note: candidate expects 2 arguments, 3 provided
> make[1]: *** [ov-grad.o] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2012/03/21/octave-ad_1.0.6-4.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