Bug#846372: FTBFS: /<<BUILDDIR>>/vtk6-6.3.0+dfsg1/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfH5Driver.cxx:190:1: error: braces around scalar initializer for type ‘herr_t (*)(H5FD_t*) {aka int (*)(H5FD_t*) }’

Iain Lane iain at orangesquash.org.uk
Wed Nov 30 18:29:04 UTC 2016


On Wed, Nov 30, 2016 at 05:59:52PM +0000, Iain Lane wrote:
> Package: src:vtk6
> Version: 6.3.0+dfsg1-2
> Severity: serious
> Tags: upstream patch
> 
> Hey,
> 
> Looks like vtk6 fails with the new hdf5.
> 
> > cd /<<BUILDDIR>>/vtk6-6.3.0+dfsg1/debian/build/Common/Core && /usr/bin/mpic++   -DVTK_IN_VTK -DvtkCommonCore_EXPORTS -I/<<BUILDDIR>>/vtk6-6.3.0+dfsg1/ThirdParty/utf8/source -I/<<BUILDDIR>>/vtk6-6.3.0+dfsg1/debian/build/Common/DataModel -I/<<BUILDDIR>>/vtk6-6.3.0+dfsg1/debian/build/Utilities/KWSys -I/<<BUILDDIR>>/vtk6-6.3.0+dfsg1/Utilities/KWSys -I/<<BUILDDIR>>/vtk6-6.3.0+dfsg1/debian/build/Common/Core -I/<<BUILDDIR>>/vtk6-6.3.0+dfsg1/Common/Core  -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/vtk6-6.3.0+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -fPIC   -fvisibility=hidden -fvisibility-inlines-hidden -o CMakeFiles/vtkCommonCore.dir/vtkInformationVariantVectorKey.cxx.o -c /<<BUILDDIR>>/vtk6-6.3.0+dfsg1/Common/Core/vtkInformationVariantVectorKey.cxx
> > /<<BUILDDIR>>/vtk6-6.3.0+dfsg1/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfH5Driver.cxx:190:1: error: braces around scalar initializer for type ‘herr_t (*)(H5FD_t*) {aka int (*)(H5FD_t*)}’
> >  };
> >  ^
> > ThirdParty/xdmf2/vtkxdmf2/libsrc/CMakeFiles/vtkxdmf2.dir/build.make:785: recipe for target 'ThirdParty/xdmf2/vtkxdmf2/libsrc/CMakeFiles/vtkxdmf2.dir/XdmfH5Driver.cxx.o' failed
> > make[4]: *** [ThirdParty/xdmf2/vtkxdmf2/libsrc/CMakeFiles/vtkxdmf2.dir/XdmfH5Driver.cxx.o] Error 1
> > make[4]: *** Waiting for unfinished jobs....
> 
> I'm testing the attached patch to fix it. If it works I'll NMU to
> DELAYED/5 (and you can cancel/etc if you want). Also if it works, would
> you be able to help me forward it please?

Doesn't work, still FTBFS in the same way. I don't yet understand why -
I added some #warning to the file and they don't end up in the build
log either. I'll look more tomorrow.

Cheers,

-- 
Iain Lane                                  [ iain at orangesquash.org.uk ]
Debian Developer                                   [ laney at debian.org ]
Ubuntu Developer                                   [ laney at ubuntu.com ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20161130/63efa8c3/attachment.sig>


More information about the debian-science-maintainers mailing list