Package: log4cxx Version: 0.10.0-10 Severity: important User: [email protected] Usertags: ftbfs-gcc-6 gcc-6-narrowing
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: g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" > -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" > -DPACKAGE_URL=\"\" -DPACKAGE=\"log4cxx\" -DVERSION=\"0.10.0\" > -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_MBSRTOWCS=1 -DHAVE_WCSTOMBS=1 -DHAVE_SYSLOG=1 -DHAVE_FWIDE=1 -I. > -I../../../src/main/include -I../../../src/main/include -Wdate-time > -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1.0 > -I/usr/include/apr-1.0 -I/usr/include -g -O2 -fstack-protector-strong > -Wformat -Werror=format-security -c loggerpatternconverter.cpp -o > loggerpatternconverter.o >/dev/null 2>&1 > locationinfo.cpp: In member function 'void > log4cxx::spi::LocationInfo::write(log4cxx::helpers::ObjectOutputStream&, > log4cxx::helpers::Pool&) const': > locationinfo.cpp:163:21: error: narrowing conversion of '237' from 'int' to > 'char' inside { } [-Wnarrowing] > 0x78, 0x70 }; > ^ > > locationinfo.cpp:163:21: error: narrowing conversion of '153' from 'int' to > 'char' inside { } [-Wnarrowing] > locationinfo.cpp:163:21: error: narrowing conversion of '187' from 'int' to > 'char' inside { } [-Wnarrowing] > locationinfo.cpp:163:21: error: narrowing conversion of '225' from 'int' to > 'char' inside { } [-Wnarrowing] > locationinfo.cpp:163:21: error: narrowing conversion of '145' from 'int' to > 'char' inside { } [-Wnarrowing] > locationinfo.cpp:163:21: error: narrowing conversion of '165' from 'int' to > 'char' inside { } [-Wnarrowing] -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise

