Package: avian Version: 1.1.0-4 Severity: normal User: [email protected] Usertags: ftbfs-gcc-6 gcc-6-nonnull
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. 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.68.0 (15 Jan 2016) on dl580gen9-02.hlinux ... > compiling build/linux-x86_64-openjdk/machine.o > g++ -m64 -Wall -Wextra -Werror -Wunused-parameter -Winit-self > -Wno-non-virtual-dtor -std=c++0x -fno-rtti -fno-exceptions -Iclasspath > "-I/usr/lib/jvm/java-7-openjdk-amd64/include" -Isrc > -Ibuild/linux-x86_64-openjdk -Iinclude -D__STDC_LIMIT_MACROS > -D_JNI_IMPLEMENTATION_ -DAVIAN_VERSION=\"1.1.0\" -DAVIAN_INFO="\"package > 1.1.0-4\"" -DUSE_ATOMIC_OPERATIONS -DAVIAN_JAVA_HOME=\""$(echo > "/usr/lib/jvm/java-7-openjdk-amd64/jre")"\" > -DAVIAN_EMBED_PREFIX=\"/avian-embedded\" -DTARGET_BYTES_PER_WORD=8 -fPIC > -fvisibility=hidden "-I/usr/lib/jvm/java-7-openjdk-amd64/include/linux" -Isrc > -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat > -Werror=format-security -O3 -DNDEBUG -flto -fuse-linker-plugin > -ffat-lto-objects -DAVIAN_PROCESS_compile -DBOOT_CLASSPATH=\"[classpathJar]\" > -DAVIAN_CLASSPATH=\"[classpathJar]\" -DAVIAN_TARGET_ARCH=AVIAN_ARCH_X86_64 > -DAVIAN_TARGET_FORMAT=AVIAN_FORMAT_ELF -c $(echo src/machine.cpp) -o > build/linux-x86_64-openjdk/machine.o > In file included from src/avian/jnienv.h:14:0, > from src/machine.cpp:11: > src/machine.cpp: In member function > 'vm::GcObject::as<vm::GcCleaner>(vm::Thread*)vm::GcCleaner*': > src/avian/machine.h:1705:3: error: nonnull argument 'this' compared to NULL > [-Werror=nonnull-compare] > if (this == 0) { > ^~ > src/machine.cpp: In member function > 'vm::GcObject::as<vm::GcSystemClassLoader>(vm::Thread*)vm::GcSystemClassLoader*': > src/avian/machine.h:1705:3: error: nonnull argument 'this' compared to NULL > [-Werror=nonnull-compare] > if (this == 0) { > ^~ > src/machine.cpp: In member function > 'vm::GcObject::as<vm::GcHashMap>(vm::Thread*)vm::GcHashMap*': > src/avian/machine.h:1705:3: error: nonnull argument 'this' compared to NULL > [-Werror=nonnull-compare] > if (this == 0) { > ^~ > src/machine.cpp: In member function > 'vm::GcObject::as<vm::GcExceptionInInitializerError>(vm::Thread*)vm::GcExceptionInInitializerError*': > src/avian/machine.h:1705:3: error: nonnull argument 'this' compared to NULL > [-Werror=nonnull-compare] > if (this == 0) { > ^~ > src/machine.cpp: In member function > 'vm::GcObject::as<vm::GcThrowable>(vm::Thread*)vm::GcThrowable*': > src/avian/machine.h:1705:3: error: nonnull argument 'this' compared to NULL > [-Werror=nonnull-compare] > if (this == 0) { > ^~ > cc1plus: all warnings being treated as errors > makefile:1689: recipe for target 'build/linux-x86_64-openjdk/machine.o' failed > make[2]: *** [build/linux-x86_64-openjdk/machine.o] Error 1 > make[2]: Leaving directory '/<<PKGBUILDDIR>>' > debian/rules:45: recipe for target 'override_dh_auto_build' failed > make[1]: *** [override_dh_auto_build] Error 2 -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise

