Bug#720646: salome-kernel: FTBFS against boost 1.54

Andreas Moog andreas.moog at warperbbs.de
Tue Aug 27 18:15:15 UTC 2013


Hello Andreas, Hello Debian Science Team:

A patch for the mentioned build issue is attached to this message.
Unfortunately, the build then fails with:

> /bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DPACKAGE_NAME=\"Salome2\ Project\" -DPACKAGE_TARNAME=\"SalomeKERNEL\" -DPACKAGE_VERSION=\"7.2.0\" -DPACKAGE_STRING=\"Salome2\ Project\ 7.2.0\" -DPACKAGE_BUGREPORT=\"paul.rascle at edf.fr\" -DPACKAGE_URL=\"\" -DPACKAGE=\"SalomeKERNEL\" -DVERSION=\"7.2.0\" -DHAVE_SALOME_CONFIG=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_LIBRT=1 -DHAVE_LIBM=1 -DHAVE_NAMESPACES=/\*\*/ -DF77_FUNC\(name,NAME\)=name\ ##\ _ -DF77_FUNC_\(name,NAME\)=name\ ##\ _ -DSIZEOF_LONG=8 -DSIZEOF_INT=4 -DSIZEOF_FORTRAN_INTEGER=4 -DCAL_INT=int -DHAVE_PTHREAD=1 -DWITH_NUMPY=/\*\*/ -D__OSVERSION__=2 -DOMNIORB=/\*\*/ -DCORBA_HAVE_POA=/\*\*/ -DCORBA_ORB_INIT_HAVE_3_ARGS=/\*\*/ -DCORBA_ORB_INIT_THIRD_ARG=/\*\*/ -I. -I../../../src/DF   -DHAVE_SOCKET -DHAVE_MPI2   -
I../../salome_adm -include SALOMEconfig.h -D_OCC64  -g -Wparentheses -Wreturn-type -Wunused -pthread -c -o libDF_la-DF_Attribute.lo `test -f 'DF_Attribute.cxx' || echo '../../../src/DF/'`DF_Attribute.cxx
> libtool: compile:  g++ "-DPACKAGE_NAME=\"Salome2 Project\"" -DPACKAGE_TARNAME=\"SalomeKERNEL\" -DPACKAGE_VERSION=\"7.2.0\" "-DPACKAGE_STRING=\"Salome2 Project 7.2.0\"" -DPACKAGE_BUGREPORT=\"paul.rascle at edf.fr\" -DPACKAGE_URL=\"\" -DPACKAGE=\"SalomeKERNEL\" -DVERSION=\"7.2.0\" "-DHAVE_SALOME_CONFIG=/**/" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_LIBRT=1 -DHAVE_LIBM=1 "-DHAVE_NAMESPACES=/**/" "-DF77_FUNC(name,NAME)=name ## _" "-DF77_FUNC_(name,NAME)=name ## _" -DSIZEOF_LONG=8 -DSIZEOF_INT=4 -DSIZEOF_FORTRAN_INTEGER=4 -DCAL_INT=int -DHAVE_PTHREAD=1 "-DWITH_NUMPY=/**/" -D__OSVERSION__=2 "-DOMNIORB=/**/" "-DCORBA_HAVE_POA=/**/" "-DCORBA_ORB_INIT_HAVE_3_ARGS=/**/" "-DCORBA_ORB_INIT_THIRD_ARG=/**/" -I. -I../../../src/DF -DHAVE_SOCKET -DHAVE_MPI2 -I../../salome_adm -include SALOMEconfig.
h -D_OCC64 -g -Wparentheses -Wreturn-type -Wunused -pthread -c ../../../src/DF/DF_Attribute.cxx  -fPIC -DPIC -o .libs/libDF_la-DF_Attribute.o
> In file included from ../../../src/DF/DF_Attribute.cxx:20:0:
> ../../../src/DF/DF_definitions.hxx: In constructor 'df_shared_ptr<T>::df_shared_ptr(const df_shared_ptr<Y>&)':
> ../../../src/DF/DF_definitions.hxx:50:30: error: 'dynamic_cast_tag' is not a member of 'boost::detail'
>        boost::shared_ptr<T>(r,boost::detail::dynamic_cast_tag())
>                               ^
> make[3]: *** [libDF_la-DF_Attribute.lo] Error 1

This error isn't fixed upstream as well, the latest version 7.2.0 fails
in a similar manner.

Cheers,
  Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_boost.m4.diff
Type: text/x-patch
Size: 1464 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20130827/4306c4d6/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20130827/4306c4d6/attachment.sig>


More information about the debian-science-maintainers mailing list