Package: openhpi Version: 2.14.1-1.4 Severity: important User: [email protected] 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 ... > libtool: compile: x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. > -I../../include -I../../utils -I../../utils -g -O2 -pthread > -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wall > -Wpointer-arith -Wformat=2 -Wformat-security -Wformat-nonliteral -Wcast-qual > -Wcast-align -Wshadow -Wwrite-strings -Wredundant-decls -Wno-strict-aliasing > -fno-strict-aliasing -Wno-unused-value -D_GNU_SOURCE -D_REENTRANT > -fexceptions -MT ipmi.lo -MD -MP -MF .deps/ipmi.Tpo -c ipmi.cpp -fPIC -DPIC > -o .libs/ipmi.o > In file included from ../../include/openhpi.h:29:0, > from ipmi_domain.h:36, > from ipmi.h:30, > from ipmi.cpp:22: > ipmi.cpp: In function 'void* IpmiOpen(GHashTable*, unsigned int, > oh_evt_queue*)': > ../../include/oh_error.h:49:37: error: unable to find string literal operator > 'operator""format' with 'const char [18]', 'long unsigned int' arguments > syslog(3, "ERROR: (%s, %d, "format")", __FILE__, __LINE__,## __VA_ARGS__); > \ > ^ > > ipmi.cpp:297:8: note: in expansion of macro 'err' > err( "No config file provided.....ooops!" ); > ^~~ > > ../../include/oh_error.h:51:35: error: unable to find string literal operator > 'operator""format' with 'const char [10]', 'long unsigned int' arguments > fprintf(stderr, "%s:%d ("format")\n", __FILE__, __LINE__, ## > __VA_ARGS__); \ > ^ > > ipmi.cpp:297:8: note: in expansion of macro 'err' > err( "No config file provided.....ooops!" ); > ^~~ > > ../../include/oh_error.h:49:37: error: unable to find string literal operator > 'operator""format' with 'const char [18]', 'long unsigned int' arguments > syslog(3, "ERROR: (%s, %d, "format")", __FILE__, __LINE__,## __VA_ARGS__); > \ > ^ > > ipmi.cpp:341:8: note: in expansion of macro 'err' > err("cannot allocate handler"); > ^~~ > > ../../include/oh_error.h:51:35: error: unable to find string literal operator > 'operator""format' with 'const char [10]', 'long unsigned int' arguments > fprintf(stderr, "%s:%d ("format")\n", __FILE__, __LINE__, ## > __VA_ARGS__); \ > ^ > > ipmi.cpp:341:8: note: in expansion of macro 'err' > err("cannot allocate handler"); > ^~~ > > ../../include/oh_error.h:49:37: error: unable to find string literal operator > 'operator""format' with 'const char [18]', 'long unsigned int' arguments > syslog(3, "ERROR: (%s, %d, "format")", __FILE__, __LINE__,## __VA_ARGS__); > \ > ^ > > ipmi.cpp:354:8: note: in expansion of macro 'err' > err("cannot allocate RPT cache"); > ^~~ > > ../../include/oh_error.h:51:35: error: unable to find string literal operator > 'operator""format' with 'const char [10]', 'long unsigned int' arguments > fprintf(stderr, "%s:%d ("format")\n", __FILE__, __LINE__, ## > __VA_ARGS__); \ ...

