[Debian-med-packaging] Bug#478500: insighttoolkit - FTBFS: error: math.h: No such file or directory

Steve M. Robbins steve at sumost.ca
Tue Apr 29 14:09:16 UTC 2008


Hello,

I need more information:

1. what architecture is this
2. it looks like GCC 4.3 is used, yes?
3. where is complete build log?


On Tue, Apr 29, 2008 at 01:40:45PM +0200, Bastian Blank wrote:
> Package: insighttoolkit
> Version: 3.4.0-4
> Severity: serious
> 
> There was an error while trying to autobuild your package:
> 
> > Automatic build of insighttoolkit_3.4.0-4 on lxdebian.bfinv.de by sbuild/s390 98
> [...]
> > [ 64%] wrap_VXLNumericsPython.xml from 
> > [ 64%] wrap_VXLNumericsPython.idx from 
> > [ 64%] wrap_vnl_matrix.xml from 
> > In file included from /usr/include/c++/4.3/complex:51,
> >                  from /build/buildd/insighttoolkit-3.4.0/Utilities/vxl/vcl/iso/vcl_complex.h:6,
> >                  from /build/buildd/insighttoolkit-3.4.0/Utilities/vxl/vcl/vcl_complex.h:62,
> >                  from /build/buildd/insighttoolkit-3.4.0/Wrapping/CSwig/VXLNumerics/wrap_vnl_matrix.cxx:17:
> > /usr/include/c++/4.3/cmath:51:23: error: math.h: No such file or directory
> > In file included from /usr/include/c++/4.3/bits/postypes.h:47,
> >                  from /usr/include/c++/4.3/iosfwd:47,
> >                  from /usr/include/c++/4.3/ios:44,
> >                  from /usr/include/c++/4.3/istream:45,
> >                  from /usr/include/c++/4.3/sstream:44,
> >                  from /usr/include/c++/4.3/complex:52,
> >                  from /build/buildd/insighttoolkit-3.4.0/Utilities/vxl/vcl/iso/vcl_complex.h:6,
> >                  from /build/buildd/insighttoolkit-3.4.0/Utilities/vxl/vcl/vcl_complex.h:62,
> >                  from /build/buildd/insighttoolkit-3.4.0/Wrapping/CSwig/VXLNumerics/wrap_vnl_matrix.cxx:17:
> > /usr/include/c++/4.3/cwchar:52:24: error: wchar.h: No such file or directory
> 
> math.h and wchar.h are standard headers. The build overrides critical
> compiler information.

How come the compiler cannot find standard headers?  Do they exist on
your system?  What path?  

Can you start the build by hand; then, when it fails, run "make VERBOSE=1" to
see what -I options are on the compile line?

Chimo,
-Steve

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20080429/5f3a7a46/attachment.pgp 


More information about the Debian-med-packaging mailing list