[Pkg-octave-devel] Bug#474826: matwrap: FTBFS: simple.h:1:22: error: iostream.h: No such file or directory

Lucas Nussbaum lucas at lucas-nussbaum.net
Mon Apr 7 19:59:33 UTC 2008


Package: matwrap
Version: 0.57-9
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20080407 qa-ftbfs
Justification: FTBFS on i386

Hi,

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

This rebuild was done with gcc 4.3 instead of gcc 4.2, because gcc 4.3 is now
the default on most architectures (even if it's not the case on i386 yet).
Feel free to downgrade this bug to 'important' if your package is only built
on i386, and this bug is specific to gcc 4.3 (i.e the package builds fine with
gcc 4.2).

Relevant part:
> DC-Build-Header: matwrap 0.57-9 / Mon Apr 07 20:23:18 +0200 2008
> Automatic build of matwrap_0.57-9 on bordereau-14.bordeaux.grid5000.fr by sbuild/amd64 0.57.0
> Build started at 20080407-2023
> ******************************************************************************
> Failed to open ./matwrap_0.57-9.dsc
> Checking available source versions...
> Fetching source files...
> Reading package lists...
> Building dependency tree...
> Reading state information...
> Need to get 93.7kB of source archives.
> Get:1 http://idpot.grenoble.grid5000.fr sid/main matwrap 0.57-9 (dsc) [884B]
> Get:2 http://idpot.grenoble.grid5000.fr sid/main matwrap 0.57-9 (tar) [88.3kB]
> Get:3 http://idpot.grenoble.grid5000.fr sid/main matwrap 0.57-9 (diff) [4503B]
> Fetched 93.7kB in 0s (362kB/s)
> Download complete and in download only mode
> ** Using build dependencies supplied by package:
> Build-Depends: cdbs, debhelper (>= 4.0.0)
> Build-Depends-Indep: octave2.1-headers (>= 1:2.1.73-14) | octave3.0-headers
> Checking for already installed source dependencies...
> cdbs: missing
> debhelper: missing
> Using default version 6.0.11
> octave2.1-headers: missing
> Using default version 1:2.1.73-18+b1
> octave3.0-headers: missing
> Checking for source dependency conflicts...
> Reading package lists...
> Building dependency tree...
> Reading state information...
> The following packages were automatically installed and are no longer required:
>   g++-4.2 libstdc++6-4.2-dev
> Use 'apt-get autoremove' to remove them.
> The following extra packages will be installed:
>   bsdmainutils gettext gettext-base groff-base html2text intltool-debian
>   libblas-dev libblas3gf libfftw3-3 libfftw3-dev libhdf5-serial-1.6.6-0
>   libhdf5-serial-dev libjpeg62-dev liblapack-dev liblapack3gf libncurses5-dev
>   libreadline5-dev man-db octave2.1 po-debconf texinfo
> Suggested packages:
>   wamerican wordlist whois vacation devscripts doc-base dh-make cvs
>   gettext-doc groff libhdf5-doc www-browser octave2.1-doc octave2.1-emacsen
>   octave2.1-htmldoc octave2.1-info texinfo-doc-nonfree texlive-base
>   texlive-generic-recommended texlive-latex-base
> Recommended packages:
>   autotools-dev curl wget lynx gnuplot libatlas3gf-base libcompress-zlib-perl
>   libmail-box-perl libmail-sendmail-perl
> The following NEW packages will be installed:
>   bsdmainutils cdbs debhelper gettext gettext-base groff-base html2text
>   intltool-debian libblas-dev libblas3gf libfftw3-3 libfftw3-dev
>   libhdf5-serial-1.6.6-0 libhdf5-serial-dev libjpeg62-dev liblapack-dev
>   liblapack3gf libncurses5-dev libreadline5-dev man-db octave2.1
>   octave2.1-headers po-debconf texinfo
> 0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded.
> Need to get 25.6MB of archives.
> After this operation, 78.9MB of additional disk space will be used.
> WARNING: The following packages cannot be authenticated!
>   bsdmainutils groff-base man-db gettext-base texinfo html2text gettext
>   intltool-debian po-debconf debhelper cdbs libblas3gf libblas-dev libfftw3-3
>   libfftw3-dev libhdf5-serial-1.6.6-0 libjpeg62-dev libhdf5-serial-dev
>   liblapack3gf liblapack-dev libncurses5-dev libreadline5-dev octave2.1
>   octave2.1-headers
> Authentication warning overridden.
> Get:1 http://idpot.grenoble.grid5000.fr sid/main bsdmainutils 6.1.10 [172kB]
> Get:2 http://idpot.grenoble.grid5000.fr sid/main groff-base 1.18.1.1-20 [846kB]
> Get:3 http://idpot.grenoble.grid5000.fr sid/main man-db 2.5.1-3 [997kB]
> Get:4 http://idpot.grenoble.grid5000.fr sid/main gettext-base 0.17-2 [123kB]
> Get:5 http://idpot.grenoble.grid5000.fr sid/main texinfo 4.11.dfsg.1-4 [710kB]
> Get:6 http://idpot.grenoble.grid5000.fr sid/main html2text 1.3.2a-3 [98.9kB]
> Get:7 http://idpot.grenoble.grid5000.fr sid/main gettext 0.17-2 [2683kB]
> Get:8 http://idpot.grenoble.grid5000.fr sid/main intltool-debian 0.35.0+20060710.1 [30.8kB]
> Get:9 http://idpot.grenoble.grid5000.fr sid/main po-debconf 1.0.12.1 [237kB]
> Get:10 http://idpot.grenoble.grid5000.fr sid/main debhelper 6.0.11 [522kB]
> Get:11 http://idpot.grenoble.grid5000.fr sid/main cdbs 0.4.52 [921kB]
> Get:12 http://idpot.grenoble.grid5000.fr sid/main libblas3gf 1.2-1.5 [310kB]
> Get:13 http://idpot.grenoble.grid5000.fr sid/main libblas-dev 1.2-1.5 [312kB]
> Get:14 http://idpot.grenoble.grid5000.fr sid/main libfftw3-3 3.1.2-3 [1076kB]
> Get:15 http://idpot.grenoble.grid5000.fr sid/main libfftw3-dev 3.1.2-3 [1489kB]
> Get:16 http://idpot.grenoble.grid5000.fr sid/main libhdf5-serial-1.6.6-0 1.6.6-4 [629kB]
> Get:17 http://idpot.grenoble.grid5000.fr sid/main libjpeg62-dev 6b-14 [186kB]
> Get:18 http://idpot.grenoble.grid5000.fr sid/main libhdf5-serial-dev 1.6.6-4 [750kB]
> Get:19 http://idpot.grenoble.grid5000.fr sid/main liblapack3gf 3.1.1-0.4 [2887kB]
> Get:20 http://idpot.grenoble.grid5000.fr sid/main liblapack-dev 3.1.1-0.4 [3004kB]
> Get:21 http://idpot.grenoble.grid5000.fr sid/main libncurses5-dev 5.6+20080308-1 [1504kB]
> Get:22 http://idpot.grenoble.grid5000.fr sid/main libreadline5-dev 5.2-3 [220kB]
> Get:23 http://idpot.grenoble.grid5000.fr sid/main octave2.1 1:2.1.73-18+b1 [5560kB]
> Get:24 http://idpot.grenoble.grid5000.fr sid/main octave2.1-headers 1:2.1.73-18+b1 [294kB]
> debconf: delaying package configuration, since apt-utils is not installed
> Fetched 25.6MB in 4s (5420kB/s)
> Selecting previously deselected package bsdmainutils.
> (Reading database ... 20898 files and directories currently installed.)
> Unpacking bsdmainutils (from .../bsdmainutils_6.1.10_i386.deb) ...
> Selecting previously deselected package groff-base.
> Unpacking groff-base (from .../groff-base_1.18.1.1-20_i386.deb) ...
> Selecting previously deselected package man-db.
> Unpacking man-db (from .../man-db_2.5.1-3_i386.deb) ...
> Selecting previously deselected package gettext-base.
> Unpacking gettext-base (from .../gettext-base_0.17-2_i386.deb) ...
> Selecting previously deselected package texinfo.
> Unpacking texinfo (from .../texinfo_4.11.dfsg.1-4_i386.deb) ...
> Selecting previously deselected package html2text.
> Unpacking html2text (from .../html2text_1.3.2a-3_i386.deb) ...
> Selecting previously deselected package gettext.
> Unpacking gettext (from .../gettext_0.17-2_i386.deb) ...
> Selecting previously deselected package intltool-debian.
> Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ...
> Selecting previously deselected package po-debconf.
> Unpacking po-debconf (from .../po-debconf_1.0.12.1_all.deb) ...
> Selecting previously deselected package debhelper.
> Unpacking debhelper (from .../debhelper_6.0.11_all.deb) ...
> Selecting previously deselected package cdbs.
> Unpacking cdbs (from .../archives/cdbs_0.4.52_all.deb) ...
> Selecting previously deselected package libblas3gf.
> Unpacking libblas3gf (from .../libblas3gf_1.2-1.5_i386.deb) ...
> Selecting previously deselected package libblas-dev.
> Unpacking libblas-dev (from .../libblas-dev_1.2-1.5_i386.deb) ...
> Selecting previously deselected package libfftw3-3.
> Unpacking libfftw3-3 (from .../libfftw3-3_3.1.2-3_i386.deb) ...
> Selecting previously deselected package libfftw3-dev.
> Unpacking libfftw3-dev (from .../libfftw3-dev_3.1.2-3_i386.deb) ...
> Selecting previously deselected package libhdf5-serial-1.6.6-0.
> Unpacking libhdf5-serial-1.6.6-0 (from .../libhdf5-serial-1.6.6-0_1.6.6-4_i386.deb) ...
> Selecting previously deselected package libjpeg62-dev.
> Unpacking libjpeg62-dev (from .../libjpeg62-dev_6b-14_i386.deb) ...
> Selecting previously deselected package libhdf5-serial-dev.
> Unpacking libhdf5-serial-dev (from .../libhdf5-serial-dev_1.6.6-4_i386.deb) ...
> Selecting previously deselected package liblapack3gf.
> Unpacking liblapack3gf (from .../liblapack3gf_3.1.1-0.4_i386.deb) ...
> Selecting previously deselected package liblapack-dev.
> Unpacking liblapack-dev (from .../liblapack-dev_3.1.1-0.4_i386.deb) ...
> Selecting previously deselected package libncurses5-dev.
> Unpacking libncurses5-dev (from .../libncurses5-dev_5.6+20080308-1_i386.deb) ...
> Selecting previously deselected package libreadline5-dev.
> Unpacking libreadline5-dev (from .../libreadline5-dev_5.2-3_i386.deb) ...
> Selecting previously deselected package octave2.1.
> Unpacking octave2.1 (from .../octave2.1_1%3a2.1.73-18+b1_i386.deb) ...
> Selecting previously deselected package octave2.1-headers.
> Unpacking octave2.1-headers (from .../octave2.1-headers_1%3a2.1.73-18+b1_i386.deb) ...
> Setting up bsdmainutils (6.1.10) ...
> Setting up groff-base (1.18.1.1-20) ...
> Setting up man-db (2.5.1-3) ...
> Building database of manual pages ...
> Setting up gettext-base (0.17-2) ...
> Setting up texinfo (4.11.dfsg.1-4) ...
> Setting up html2text (1.3.2a-3) ...
> Setting up gettext (0.17-2) ...
> Setting up intltool-debian (0.35.0+20060710.1) ...
> Setting up po-debconf (1.0.12.1) ...
> Setting up debhelper (6.0.11) ...
> Setting up cdbs (0.4.52) ...
> Setting up libblas3gf (1.2-1.5) ...
> Setting up libblas-dev (1.2-1.5) ...
> Setting up libfftw3-3 (3.1.2-3) ...
> Setting up libfftw3-dev (3.1.2-3) ...
> Setting up libhdf5-serial-1.6.6-0 (1.6.6-4) ...
> Setting up libjpeg62-dev (6b-14) ...
> Setting up libhdf5-serial-dev (1.6.6-4) ...
> Setting up liblapack3gf (3.1.1-0.4) ...
> Setting up liblapack-dev (3.1.1-0.4) ...
> Setting up libncurses5-dev (5.6+20080308-1) ...
> Setting up libreadline5-dev (5.2-3) ...
> Setting up octave2.1 (1:2.1.73-18+b1) ...
> Setting up octave2.1-headers (1:2.1.73-18+b1) ...
> Checking correctness of source dependencies...
> Kernel: Linux 2.6.18-3-amd64 i386 (x86_64)
> Toolchain package versions: libc6-dev_2.7-10 linux-libc-dev_2.6.24-5 gcc-4.3_4.3.0-3 g++-4.3_4.3.0-3 binutils_2.18.1~cvs20080103-4 libstdc++6-4.3-dev_4.3.0-3 libstdc++6_4.3.0-3
> ------------------------------------------------------------------------------
> gpg: Signature made Tue Jan  8 09:29:03 2008 CET using DSA key ID 4A5D72FE
> gpg: Can't check signature: public key not found
> dpkg-source: extracting matwrap in matwrap-0.57
> dpkg-source: unpacking matwrap_0.57.orig.tar.gz
> dpkg-source: applying ./matwrap_0.57-9.diff.gz
> dpkg-buildpackage: source package matwrap
> dpkg-buildpackage: source version 0.57-9
> dpkg-buildpackage: source changed by Rafael Laboissiere <rafael at debian.org>
> dpkg-buildpackage: host architecture i386
>  /usr/bin/fakeroot debian/rules clean
> test -x debian/rules
> dh_testroot
> ( cd share/matwrap/Examples/simple ;	\
> 	  make clean )
> make[1]: Entering directory `/build/user/matwrap-0.57/share/matwrap/Examples/simple'
> rm -f -rf wrap_m *.o *_matlab.c *_octave.cc *.mexaxp *.oct \
> 	*.mex4 *_stub.m *_matlab.c octave-core so_locations *.ct tela_simple
> make[1]: Leaving directory `/build/user/matwrap-0.57/share/matwrap/Examples/simple'
> /usr/bin/make -f debian/rules reverse-config
> make[1]: Entering directory `/build/user/matwrap-0.57'
> make[1]: Nothing to be done for `reverse-config'.
> make[1]: Leaving directory `/build/user/matwrap-0.57'
> if [ "reverse-patches" = "reverse-patches" ]; then rm -f debian/stamp-patched; fi
> patches: debian/patches/50_namespace-std-for-string.patch debian/patches/60_strip-file-extension.patch debian/patches/install.pl-get-manpage.patch debian/patches/library-path-gcc-4.patch debian/patches/makefile-build-target.patch
> Patch debian/patches/makefile-build-target.patch is not applied.
> Patch debian/patches/library-path-gcc-4.patch is not applied.
> Patch debian/patches/install.pl-get-manpage.patch is not applied.
> Patch debian/patches/60_strip-file-extension.patch is not applied.
> Patch debian/patches/50_namespace-std-for-string.patch is not applied.
> if [ "reverse-patches" != "reverse-patches" ]; then touch debian/stamp-patched; fi
> if [ "reverse-patches" != "reverse-patches" ] ; then \
> 		/usr/bin/make -f debian/rules update-config ; \
> 	fi
> for dir in debian/patches ; do \
> 	    rm -f $dir/*.log ; \
> 	done
> dh_clean 
> /usr/bin/make  -C . CFLAGS="-g -Wall -O2" CXXFLAGS="-g -Wall -O2" CPPFLAGS="" LDFLAGS=""  -k clean
> make[1]: Entering directory `/build/user/matwrap-0.57'
> make[1]: *** No rule to make target `clean'.
> make[1]: Leaving directory `/build/user/matwrap-0.57'
> make: [makefile-clean] Error 2 (ignored)
> rm -f debian/stamp-makefile-build
>  dpkg-source -b matwrap-0.57
> dpkg-source: building matwrap using existing matwrap_0.57.orig.tar.gz
> dpkg-source: building matwrap in matwrap_0.57-9.diff.gz
> dpkg-source: warning: file debian/watch has no final newline (either original or modified version)
> dpkg-source: building matwrap in matwrap_0.57-9.dsc
>  debian/rules build
> test -x debian/rules
> mkdir -p "."
> /usr/bin/make -f debian/rules reverse-config
> make[1]: Entering directory `/build/user/matwrap-0.57'
> make[1]: Nothing to be done for `reverse-config'.
> make[1]: Leaving directory `/build/user/matwrap-0.57'
> if [ "debian/stamp-patched" = "reverse-patches" ]; then rm -f debian/stamp-patched; fi
> patches: debian/patches/50_namespace-std-for-string.patch debian/patches/60_strip-file-extension.patch debian/patches/install.pl-get-manpage.patch debian/patches/library-path-gcc-4.patch debian/patches/makefile-build-target.patch
> Trying patch debian/patches/50_namespace-std-for-string.patch at level 1 ... success.
> Trying patch debian/patches/60_strip-file-extension.patch at level 1 ... success.
> Trying patch debian/patches/install.pl-get-manpage.patch at level 1 ... success.
> Trying patch debian/patches/library-path-gcc-4.patch at level 1 ... success.
> Trying patch debian/patches/makefile-build-target.patch at level 1 ... success.
> if [ "debian/stamp-patched" != "reverse-patches" ]; then touch debian/stamp-patched; fi
> if [ "debian/stamp-patched" != "reverse-patches" ] ; then \
> 		/usr/bin/make -f debian/rules update-config ; \
> 	fi
> make[1]: Entering directory `/build/user/matwrap-0.57'
> make[1]: Nothing to be done for `update-config'.
> make[1]: Leaving directory `/build/user/matwrap-0.57'
> /usr/bin/make  -C . CFLAGS="-g -Wall -O2" CXXFLAGS="-g -Wall -O2" CPPFLAGS="" LDFLAGS=""  
> make[1]: Entering directory `/build/user/matwrap-0.57'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/build/user/matwrap-0.57'
> touch debian/stamp-makefile-build
> DEB_MAKE_CHECK_TARGET unset, not running checks
> # Run checks
> ( cd share/matwrap/Examples/simple ;		\
> 	  make PERL="perl -I../.." octave ;		\
> 	  echo "simple_stub; demo" | octave -qf )
> make[1]: Entering directory `/build/user/matwrap-0.57/share/matwrap/Examples/simple'
> perl -I../.. -w ../../../../bin/matwrap -language octave simple.h \
> 		-o simple_octave.cc -stub simple_stub.m
> mkoctfile simple_octave.cc
> In file included from simple_octave.cc:7:
> simple.h:1:22: error: iostream.h: No such file or directory
> In file included from simple_octave.cc:7:
> simple.h: In function 'numtype print_num(numtype)':
> simple.h:20: error: 'cout' was not declared in this scope
> simple.h: In function 'void print_vec(const numtype*, unsigned int, numtype*)':
> simple.h:31: error: 'cout' was not declared in this scope
> simple.h: In function 'void print_mat(const numtype*, unsigned int, unsigned int, numtype*)':
> simple.h:46: error: 'cout' was not declared in this scope
> simple.h: In function 'void print_cmat(const char*, unsigned int, unsigned int, char*)':
> simple.h:62: error: 'cout' was not declared in this scope
> simple.h: In function 'void print_str(const char*)':
> simple.h:90: error: 'cout' was not declared in this scope
> In file included from /usr/include/H5FDgass.h:28,
>                  from /usr/include/hdf5.h:47,
>                  from /usr/include/octave-2.1.73/octave/ov.h:38,
>                  from /usr/include/octave-2.1.73/octave/oct-obj.h:37,
>                  from /usr/include/octave-2.1.73/octave/ov-fcn.h:37,
>                  from /usr/include/octave-2.1.73/octave/ov-builtin.h:33,
>                  from /usr/include/octave-2.1.73/octave/defun-int.h:29,
>                  from /usr/include/octave-2.1.73/octave/defun-dld.h:31,
>                  from /usr/include/octave-2.1.73/octave/oct.h:36,
>                  from simple_octave.cc:10:
> /usr/include/string.h: At global scope:
> /usr/include/string.h:100: error: declaration of 'int strcmp(const char*, const char*) throw ()' throws different exceptions
> simple.h:94: error: from previous declaration 'int strcmp(const char*, const char*)'
> make[1]: *** [simple_octave.oct] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2008/04/07

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 containing a sid i386
environment.  Internet was not accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the Pkg-octave-devel mailing list