Bug#962555: scilab: FTBFS with libicu (>= 66)

Julien Puydt julien.puydt at gmail.com
Mon Jun 15 14:46:51 BST 2020


Hi,

sorry I didn't find the time to answer faster.

Le mardi 09 juin 2020 à 15:35 -0400, Boyuan Yang a écrit :
> During a local rebuild of your package, it seems that package scilab
> currently FTBFS against new version of libicu library:
> 
> ======================
> In file included from /usr/include/unicode/uenum.h:23,
>                  from /usr/include/unicode/ucnv.h:53,
>                  from /usr/include/libxml2/libxml/encoding.h:31,
>                  from /usr/include/libxml2/libxml/parser.h:810,
>                  from /usr/include/libxml2/libxml/xmlerror.h:10,
>                  from /usr/include/libxml2/libxml/xpath.h:26,
>                  from src/cpp/dynamic_modules.cpp:27:
> /usr/include/unicode/localpointer.h:67:1: error: template with C
> linkage
>    67 | template<typename T>
>       | ^~~~~~~~
> src/cpp/dynamic_modules.cpp:21:1: note: ‘extern "C"’ linkage started
> here
>    21 | extern "C"
>       | ^~~~~~~~~~
> In file included from /usr/include/unicode/uenum.h:23,
>                  from /usr/include/unicode/ucnv.h:53,
>                  from /usr/include/libxml2/libxml/encoding.h:31,
>                  from /usr/include/libxml2/libxml/parser.h:810,
>                  from /usr/include/libxml2/libxml/xmlerror.h:10,
>                  from /usr/include/libxml2/libxml/xpath.h:26,
>                  from src/cpp/dynamic_modules.cpp:27:
> /usr/include/unicode/localpointer.h:190:1: error: template with C
> linkage
>   190 | template<typename T>
>       | ^~~~~~~~
> src/cpp/dynamic_modules.cpp:21:1: note: ‘extern "C"’ linkage started
> here
>    21 | extern "C"
>       | ^~~~~~~~~~
> In file included from /usr/include/unicode/uenum.h:23,
>                  from /usr/include/unicode/ucnv.h:53,
>                  from /usr/include/libxml2/libxml/encoding.h:31,
>                  from /usr/include/libxml2/libxml/parser.h:810,
>                  from /usr/include/libxml2/libxml/xmlerror.h:10,
>                  from /usr/include/libxml2/libxml/xpath.h:26,
>                  from src/cpp/dynamic_modules.cpp:27:
> /usr/include/unicode/localpointer.h:365:1: error: template with C
> linkage
>   365 | template<typename T>
>       | ^~~~~~~~
> src/cpp/dynamic_modules.cpp:21:1: note: ‘extern "C"’ linkage started
> here
>    21 | extern "C"
>       | ^~~~~~~~~~
> In file included from /usr/include/unicode/uenum.h:23,
>                  from /usr/include/unicode/ucnv.h:53,
>                  from /usr/include/libxml2/libxml/encoding.h:31,
>                  from /usr/include/libxml2/libxml/parser.h:810,
>                  from /usr/include/libxml2/libxml/xmlerror.h:10,
>                  from /usr/include/libxml2/libxml/xpath.h:26,
>                  from src/cpp/dynamic_modules.cpp:27:
> /usr/include/unicode/ucnv.h:585:1: error: conflicting declaration of
> C
> function ‘void icu_67::swap(icu_67::LocalUConverterPointer&,
> icu_67::LocalUConverterPointer&)’
>   585 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUConverterPointer,
> UConverter,
> ucnv_close);
>       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/unicode/uenum.h:68:1: note: previous declaration ‘void
> icu_67::swap(icu_67::LocalUEnumerationPointer&,
> icu_67::LocalUEnumerationPointer&)’
>    68 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUEnumerationPointer,
> UEnumeration, uenum_close);
>       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> make[4]: *** [Makefile:882: src/cpp/libscifunctions_manager_la-
> dynamic_modules.lo] Error 1
> make[4]: Leaving directory
> '/<<PKGBUILDDIR>>/scilab/modules/functions_manager'
> make[3]: *** [Makefile:843: all-recursive] Error 1
> =============================

Doesn't it look like libxml2 gets broken by new libicu, and hence
scilab gets broken?

Cheers,

JP



More information about the debian-science-maintainers mailing list