[Debian-med-packaging] Bug#899129: error: 'char16_t' does not name a type; did you mean 'wchar_t'? (Was: Bug#899129: prime-phylo: FTBFS: cd obj-x86_64-linux-gnu && make -j8 -Oline returned exit code 2)

Adrian Bunk bunk at debian.org
Sun May 20 17:34:38 BST 2018


Control: tags -1 - help moreinfo

On Sun, May 20, 2018 at 09:05:48AM +0200, Andreas Tille wrote:
> Control: tags -1 help
> 
> Hi,
> 
> the build log of prime-phylo[1] has:
> 
> ...
> cd /build/prime-phylo-1.0.11/obj-x86_64-linux-gnu/src/cxx/libraries/prime && /usr/bin/c++  -DONLY_ONE_TIMESAMPLE -DPERTURBED_NODE -Dprime_phylo_EXPORTS -I/build/prime-phylo-1.0.11/obj-x86_64-linux-gnu/src/cxx/libraries/prime -I/build/prime-phylo-1.0.11/src/cxx/libraries/prime -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -I/usr/lib/x86_64-linux-gnu/openmpi/include -I/usr/  lib/x86_64-linux-gnu/openmpi/include/ompi/mpi/cxx -I/usr/include/libxml2 -I/build/prime-phylo-1.0.11/src/cxx/libraries -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx -I/usr/lib/openmpi/include/openmpi/ompi/mpi/cxx  -g -O2 -fdebug-prefix-map=/build/prime-phylo-1.0.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -    Wreorder -Wall -fexceptions -g -fPIC   -std=gnu++98 -o CMakeFiles/prime-phylo.dir/TreeInputOutput.cc.o -c /build/prime-phylo-1.0.11/src/cxx/libraries/prime/TreeInputOutput.cc
> In file included from /usr/include/unicode/utypes.h:38:0,
>                  from /usr/include/unicode/ucnv_err.h:88,
>                  from /usr/include/unicode/ucnv.h:52,
>                  from /usr/include/libxml2/libxml/encoding.h:31,
>                  from /usr/include/libxml2/libxml/parser.h:810,
>                  from /usr/include/libxml2/libxml/globals.h:18,
>                  from /usr/include/libxml2/libxml/threads.h:35,
>                  from /usr/include/libxml2/libxml/xmlmemory.h:218,
>                  from /usr/include/libxml2/libxml/tree.h:1307,
>                  from /build/prime-phylo-1.0.11/src/cxx/libraries/prime/TreeInputOutput.hh:9,
>                  from /build/prime-phylo-1.0.11/src/cxx/libraries/prime/TreeInputOutput.cc:1:
> /usr/include/unicode/umachine.h:347:13: error: 'char16_t' does not name a type; did you mean 'wchar_t'?
>      typedef char16_t UChar;
>              ^~~~~~~~
>              wchar_t
> In file included from /usr/include/unicode/utypes.h:39:0,
>                  from /usr/include/unicode/ucnv_err.h:88,
>                  from /usr/include/unicode/ucnv.h:52,
>                  from /usr/include/libxml2/libxml/encoding.h:31,
>                  from /usr/include/libxml2/libxml/parser.h:810,
>                  from /usr/include/libxml2/libxml/globals.h:18,
>                  from /usr/include/libxml2/libxml/threads.h:35,
>                  from /usr/inclmake[3]: Entering directory '/build/prime-phylo-1.0.11/obj-x86_64-linux-gnu'
> ...
> 
> and similar things.  Any idea how to fix this?

Remove fix-gcc-6.patch, instead of it add
  export DEB_CXXFLAGS_MAINT_APPEND = -fpermissive
to debian/rules.

> Kind regards
> 
>        Andreas.
>...

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



More information about the Debian-med-packaging mailing list