Package: src:openjdk-8-jre-dcevm Version: 8u112-1 Severity: normal Tags: sid buster User: [email protected] Usertags: ftbfs-gcc-7
Please keep this issue open in the bug tracker for the package it was filed for. If a fix in another package is required, please file a bug for the other package (or clone), and add a block in this package. Please keep the issue open until the package can be built in a follow-up test rebuild. The package fails to build in a test rebuild on at least amd64 with gcc-7/g++-7, but succeeds to build with gcc-6/g++-6. The severity of this report may be raised before the buster release. There is no need to fix this issue in time for the stretch release. The full build log can be found at: http://people.debian.org/~doko/logs/gcc7-20170126/openjdk-8-jre-dcevm_8u112-1_unstable_gcc7.log The last lines of the build log are at the end of this report. To build with GCC 7, either set CC=gcc-7 CXX=g++-7 explicitly, or install the gcc, g++, gfortran, ... packages from experimental. apt-get -t=experimental install g++ Common build failures are new warnings resulting in build failures with -Werror turned on, or new/dropped symbols in Debian symbols files. For other C/C++ related build failures see the porting guide at http://gcc.gnu.org/gcc-7/porting_to.html [...] from /<<PKGBUILDDIR>>/src/share/vm/prims/jvm.h:30, from /<<PKGBUILDDIR>>/src/os/linux/vm/decoder_linux.cpp:25: /usr/include/dirent.h:183:12: note: declared here extern int readdir_r (DIR *__restrict __dirp, ^~~~~~~~~ Compiling /<<PKGBUILDDIR>>/src/share/vm/classfile/defaultMethods.cpp rm -f defaultMethods.o g++ -DLINUX -D_GNU_SOURCE -DAMD64 -DPRODUCT -I. -I/<<PKGBUILDDIR>>/src/share/vm/prims -I/<<PKGBUILDDIR>>/src/share/vm -I/<<PKGBUILDDIR>>/src/share/vm/precompiled -I/<<PKGBUILDDIR>>/src/cpu/x86/vm -I/<<PKGBUILDDIR>>/src/os_cpu/linux_x86/vm -I/<<PKGBUILDDIR>>/src/os/linux/vm -I/<<PKGBUILDDIR>>/src/os/posix/vm -I../generated -DHOTSPOT_RELEASE_VERSION="\"25.71-b01-dcevm-light\"" -DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"user42\"" -DHOTSPOT_LIB_ARCH=\"amd64\" -DHOTSPOT_VM_DISTRO="\"Dynamic Code Evolution\"" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++98 -Wno-error=deprecated-declarations -fno-lifetime-dse -fno-delete-null-pointer-checks -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_linux_x86 -DTARGET_OS_ARCH_MODEL_linux_x86_64 -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1 -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden -m64 -pipe -fno-s trict-aliasing -g -fno-omit-frame-pointer -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_linux_x86 -DTARGET_OS_ARCH_MODEL_linux_x86_64 -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1 -fPIC -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden -m64 -pipe -fno-strict-aliasing -g -fno-omit-frame-pointer -O3 -DVM_LITTLE_ENDIAN -D_LP64=1 -Werror -Wpointer-arith -Wsign-compare -Wundef -Wunused-function -Wunused-value -c -MMD -MP -MF ../generated/dependencies/defaultMethods.o.d -fpch-deps -o defaultMethods.o /<<PKGBUILDDIR>>/src/share/vm/classfile/defaultMethods.cpp Compiling /<<PKGBUILDDIR>>/src/share/vm/runtime/deoptimization.cpp rm -f deoptimization.o g++ -DLINUX -D_GNU_SOURCE -DAMD64 -DPRODUCT -I. -I/<<PKGBUILDDIR>>/src/share/vm/prims -I/<<PKGBUILDDIR>>/src/share/vm -I/<<PKGBUILDDIR>>/src/share/vm/precompiled -I/<<PKGBUILDDIR>>/src/cpu/x86/vm -I/<<PKGBUILDDIR>>/src/os_cpu/linux_x86/vm -I/<<PKGBUILDDIR>>/src/os/linux/vm -I/<<PKGBUILDDIR>>/src/os/posix/vm -I../generated -DHOTSPOT_RELEASE_VERSION="\"25.71-b01-dcevm-light\"" -DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"user42\"" -DHOTSPOT_LIB_ARCH=\"amd64\" -DHOTSPOT_VM_DISTRO="\"Dynamic Code Evolution\"" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++98 -Wno-error=deprecated-declarations -fno-lifetime-dse -fno-delete-null-pointer-checks -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_linux_x86 -DTARGET_OS_ARCH_MODEL_linux_x86_64 -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1 -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden -m64 -pipe -fno-s trict-aliasing -g -fno-omit-frame-pointer -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_linux_x86 -DTARGET_OS_ARCH_MODEL_linux_x86_64 -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1 -fPIC -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden -m64 -pipe -fno-strict-aliasing -g -fno-omit-frame-pointer -O3 -DVM_LITTLE_ENDIAN -D_LP64=1 -Werror -Wpointer-arith -Wsign-compare -Wundef -Wunused-function -Wunused-value -c -MMD -MP -MF ../generated/dependencies/deoptimization.o.d -fpch-deps -o deoptimization.o /<<PKGBUILDDIR>>/src/share/vm/runtime/deoptimization.cpp Compiling /<<PKGBUILDDIR>>/src/cpu/x86/vm/depChecker_x86.cpp rm -f depChecker_x86.o g++ -DLINUX -D_GNU_SOURCE -DAMD64 -DPRODUCT -I. -I/<<PKGBUILDDIR>>/src/share/vm/prims -I/<<PKGBUILDDIR>>/src/share/vm -I/<<PKGBUILDDIR>>/src/share/vm/precompiled -I/<<PKGBUILDDIR>>/src/cpu/x86/vm -I/<<PKGBUILDDIR>>/src/os_cpu/linux_x86/vm -I/<<PKGBUILDDIR>>/src/os/linux/vm -I/<<PKGBUILDDIR>>/src/os/posix/vm -I../generated -DHOTSPOT_RELEASE_VERSION="\"25.71-b01-dcevm-light\"" -DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"user42\"" -DHOTSPOT_LIB_ARCH=\"amd64\" -DHOTSPOT_VM_DISTRO="\"Dynamic Code Evolution\"" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++98 -Wno-error=deprecated-declarations -fno-lifetime-dse -fno-delete-null-pointer-checks -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_linux_x86 -DTARGET_OS_ARCH_MODEL_linux_x86_64 -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1 -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden -m64 -pipe -fno-s trict-aliasing -g -fno-omit-frame-pointer -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_linux_x86 -DTARGET_OS_ARCH_MODEL_linux_x86_64 -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1 -fPIC -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden -m64 -pipe -fno-strict-aliasing -g -fno-omit-frame-pointer -O3 -DVM_LITTLE_ENDIAN -D_LP64=1 -Werror -Wpointer-arith -Wsign-compare -Wundef -Wunused-function -Wunused-value -c -MMD -MP -MF ../generated/dependencies/depChecker_x86.o.d -fpch-deps -o depChecker_x86.o /<<PKGBUILDDIR>>/src/cpu/x86/vm/depChecker_x86.cpp Compiling /<<PKGBUILDDIR>>/src/share/vm/code/dependencies.cpp rm -f dependencies.o g++ -DLINUX -D_GNU_SOURCE -DAMD64 -DPRODUCT -I. -I/<<PKGBUILDDIR>>/src/share/vm/prims -I/<<PKGBUILDDIR>>/src/share/vm -I/<<PKGBUILDDIR>>/src/share/vm/precompiled -I/<<PKGBUILDDIR>>/src/cpu/x86/vm -I/<<PKGBUILDDIR>>/src/os_cpu/linux_x86/vm -I/<<PKGBUILDDIR>>/src/os/linux/vm -I/<<PKGBUILDDIR>>/src/os/posix/vm -I../generated -DHOTSPOT_RELEASE_VERSION="\"25.71-b01-dcevm-light\"" -DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"user42\"" -DHOTSPOT_LIB_ARCH=\"amd64\" -DHOTSPOT_VM_DISTRO="\"Dynamic Code Evolution\"" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++98 -Wno-error=deprecated-declarations -fno-lifetime-dse -fno-delete-null-pointer-checks -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_linux_x86 -DTARGET_OS_ARCH_MODEL_linux_x86_64 -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1 -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden -m64 -pipe -fno-s trict-aliasing -g -fno-omit-frame-pointer -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_linux_x86 -DTARGET_OS_ARCH_MODEL_linux_x86_64 -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1 -fPIC -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden -m64 -pipe -fno-strict-aliasing -g -fno-omit-frame-pointer -O3 -DVM_LITTLE_ENDIAN -D_LP64=1 -Werror -Wpointer-arith -Wsign-compare -Wundef -Wunused-function -Wunused-value -c -MMD -MP -MF ../generated/dependencies/dependencies.o.d -fpch-deps -o dependencies.o /<<PKGBUILDDIR>>/src/share/vm/code/dependencies.cpp /<<PKGBUILDDIR>>/src/share/vm/code/dependencies.cpp: In function 'static void Dependencies::write_dependency_to(xmlStream*, Dependencies::DepType, GrowableArray<Dependencies::DepArgument>*, Klass*)': /<<PKGBUILDDIR>>/src/share/vm/code/dependencies.cpp:498:6: error: may write a terminating nul past the end of the destination [-Werror=format-overflow=] void Dependencies::write_dependency_to(xmlStream* xtty, ^~~~~~~~~~~~ /<<PKGBUILDDIR>>/src/share/vm/code/dependencies.cpp:528:27: note: format output between 3 and 12 bytes into a destination of size 10 char xn[10]; sprintf(xn, "x%d", j); ~~~~~~~^~~~~~~~~~~~~~ Compiling ../generated/adfiles/dfa_x86_64.cpp rm -f dfa_x86_64.o g++ -DLINUX -D_GNU_SOURCE -DAMD64 -DPRODUCT -I. -I/<<PKGBUILDDIR>>/src/share/vm/prims -I/<<PKGBUILDDIR>>/src/share/vm -I/<<PKGBUILDDIR>>/src/share/vm/precompiled -I/<<PKGBUILDDIR>>/src/cpu/x86/vm -I/<<PKGBUILDDIR>>/src/os_cpu/linux_x86/vm -I/<<PKGBUILDDIR>>/src/os/linux/vm -I/<<PKGBUILDDIR>>/src/os/posix/vm -I../generated -DHOTSPOT_RELEASE_VERSION="\"25.71-b01-dcevm-light\"" -DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"user42\"" -DHOTSPOT_LIB_ARCH=\"amd64\" -DHOTSPOT_VM_DISTRO="\"Dynamic Code Evolution\"" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++98 -Wno-error=deprecated-declarations -fno-lifetime-dse -fno-delete-null-pointer-checks -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_linux_x86 -DTARGET_OS_ARCH_MODEL_linux_x86_64 -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1 -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden -m64 -pipe -fno-s trict-aliasing -g -fno-omit-frame-pointer -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_linux_x86 -DTARGET_OS_ARCH_MODEL_linux_x86_64 -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1 -fPIC -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden -m64 -pipe -fno-strict-aliasing -g -fno-omit-frame-pointer -O3 -DVM_LITTLE_ENDIAN -D_LP64=1 -Werror -Wpointer-arith -Wsign-compare -Wundef -Wunused-function -Wunused-value -c -MMD -MP -MF ../generated/dependencies/dfa_x86_64.o.d -fpch-deps -o dfa_x86_64.o ../generated/adfiles/dfa_x86_64.cpp cc1plus: all warnings being treated as errors /<<PKGBUILDDIR>>/make/linux/makefiles/rules.make:149: recipe for target 'dependencies.o' failed make[6]: *** [dependencies.o] Error 1 make[6]: *** Waiting for unfinished jobs.... make[6]: Leaving directory '/<<PKGBUILDDIR>>/build/linux/linux_amd64_compiler2/product' /<<PKGBUILDDIR>>/make/linux/makefiles/top.make:119: recipe for target 'the_vm' failed make[5]: *** [the_vm] Error 2 make[5]: Leaving directory '/<<PKGBUILDDIR>>/build/linux/linux_amd64_compiler2/product' /<<PKGBUILDDIR>>/make/linux/Makefile:297: recipe for target 'product' failed make[4]: *** [product] Error 2 make[4]: Leaving directory '/<<PKGBUILDDIR>>/build/linux' Makefile:230: recipe for target 'generic_build2' failed make[3]: *** [generic_build2] Error 2 make[3]: Leaving directory '/<<PKGBUILDDIR>>/make' Makefile:177: recipe for target 'product' failed make[2]: *** [product] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>/make' debian/rules:24: recipe for target 'override_dh_auto_build' failed make[1]: *** [override_dh_auto_build] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules:21: recipe for target 'build' failed make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 __ This is the maintainer address of Debian's Java team <http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. Please use [email protected] for discussions and questions.

