paraview FTBFS: strcmp not declared, HDF5 incompatibility

Bug #522386 reported by Kamal Mostafa
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
paraview (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: paraview

http://launchpadlibrarian.net/38112192/buildlog_ubuntu-lucid-i386.paraview_3.4.0-4ubuntu5_FAILEDTOBUILD.txt.gz

make[3]: Entering directory `/build/buildd/paraview-3.4.0/obj-i486-linux-gnu'
[ 50%] Building CXX object Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfArray.o
In file included from /build/buildd/paraview-3.4.0/Utilities/Xdmf2/libsrc/XdmfArray.h:28,
                 from /build/buildd/paraview-3.4.0/Utilities/Xdmf2/libsrc/XdmfArray.cxx:25:
/build/buildd/paraview-3.4.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h: In member function 'XdmfInt32 XdmfDataDesc::SetHeavyDataSetName(const char*)':
/build/buildd/paraview-3.4.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h:198: error: 'strcmp' was not declared in this scope
/build/buildd/paraview-3.4.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h:198: error: 'strlen' was not declared in this scope
/build/buildd/paraview-3.4.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h:198: error: 'strcpy' was not declared in this scope

... then, once that is fixed, FTBFS due to incompatible function prototypes from the system HDF5 library libhdf5-serial-dev.

Related branches

Changed in paraview (Ubuntu):
assignee: nobody → Kamal Mostafa (kamalmostafa)
status: New → In Progress
Revision history for this message
Kamal Mostafa (kamalmostafa) wrote :

Attached branch fixes both problems causing paraview FTBFS in Ubuntu Lucid:

    - Utilities/Xdmf2/libsrc/XdmfObject.h: add required #include <string.h>.

    - debian/rules, control: build with PARAVIEW_USE_SYSTEM_HDF5=OFF to use
      internal hdf5 library, as paraview requires an earlier version of
      libhdf5-serial-dev than Ubuntu Lucid's 1.8.3-2.1.

Note: A much newer version of paraview is present at Debian, but held up by issues with libhdf5.

Changed in paraview (Ubuntu):
assignee: Kamal Mostafa (kamalmostafa) → nobody
status: In Progress → Confirmed
Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

Hi,

As debian has patches, please add your change to Utilities/Xdmf2/libsrc/XdmfObject.h as a patch.

Thanks,
Fabrice

Changed in paraview (Ubuntu):
status: Confirmed → Incomplete
Changed in paraview (Ubuntu):
assignee: nobody → Kamal Mostafa (kamalmostafa)
status: Incomplete → In Progress
Revision history for this message
Kamal Mostafa (kamalmostafa) wrote :

Oops! Thanks for catching that Fabrice. New branch attached applies the change as a quilt patch.

Changed in paraview (Ubuntu):
assignee: Kamal Mostafa (kamalmostafa) → nobody
status: In Progress → Confirmed
Revision history for this message
StefanPotyra (sistpoty) wrote :

uploading, Thanks!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package paraview - 3.4.0-4ubuntu6

---------------
paraview (3.4.0-4ubuntu6) lucid; urgency=low

  * Fix two problems which cause paraview FTBFS in Ubuntu Lucid: (LP: #522386)
    - debian/patches/XdmfObject_string.patch:
      + #include <string.h> in Utilities/Xdmf2/libsrc/XdmfObject.h
    - debian/rules, control: build with PARAVIEW_USE_SYSTEM_HDF5=OFF to use
      internal hdf5 library, as paraview requires an earlier version of
      libhdf5-serial-dev than Ubuntu Lucid's 1.8.3-2.1.
 -- Kamal Mostafa <email address hidden> Fri, 19 Feb 2010 15:38:43 -0800

Changed in paraview (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.