[Pkg-ime-devel] Bug#811945: ucimf-openvanilla: FTBFS with GCC 6: unable to find string literal operator

Martin Michlmayr tbm at hpe.com
Wed Jan 20 03:57:47 UTC 2016


Package: ucimf-openvanilla
Version: 2.10.11-2
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-literal-operator

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> /bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../include   -g -O2 -c -o openvanilla_la-openvanilla.lo `test -f 'openvanilla.cpp' || echo './'`openvanilla.cpp
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -c openvanilla.cpp  -fPIC -DPIC -o .libs/openvanilla_la-openvanilla.o
> In file included from openvanilla.cpp:26:0:
> openvanilla.cpp: In member function 'virtual void OVImfService::notify(const char*)':
> debug.h:9:93: error: unable to find string literal operator 'operator""format' with 'const char [9]', 'long unsigned int' arguments
>  #define UCIMF_DEBUG(format...)          {extern int LogFd; if( LogFd >=0 ){ dprintf( LogFd, "[DEBUG]:"format);} }
>                                                                                              ^
> 
> debug.h:12:28: note: in expansion of macro 'UCIMF_DEBUG'
>  #define UrDEBUG(format...) UCIMF_DEBUG(format)
>                             ^~~~~~~~~~~
> 
> openvanilla.cpp:147:2: note: in expansion of macro 'UrDEBUG'
>   UrDEBUG( "%s\n", msg );
>   ^~~~~~~
> 
> Makefile:333: recipe for target 'openvanilla_la-openvanilla.lo' failed
> make[3]: *** [openvanilla_la-openvanilla.lo] Error 1

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise



More information about the Pkg-ime-devel mailing list