Bug#831153: openjdk-8-jre-dcevm: FTBFS with GCC 6: os.hpp:28:30: fatal error: jvmtifiles/jvmti.h: No such file or directory

Lucas Nussbaum lucas at debian.org
Thu Jul 14 07:19:20 UTC 2016


Source: openjdk-8-jre-dcevm
Version: 8u74-1
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20160713 qa-ftbfs
Justification: FTBFS with GCC 6 on amd64

Hi,

During a rebuild of all packages in sid using the gcc-defaults package
available in experimental to make GCC default to version 6, your package failed
to build on amd64. For more information about GCC 6 and Stretch, see:
- https://wiki.debian.org/GCC6
- https://lists.debian.org/debian-devel-announce/2016/06/msg00007.html

Relevant part (hopefully):
> 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="\"user\"" -DHOTSPOT_LIB_ARCH=\"amd64\" -DHOTSPOT_VM_DISTRO="\"Dynamic Code Evolution\""  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -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-strict-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/precompiled.hpp.gch.d -fpch-deps -x c++-header /«PKGBUILDDIR»/src/share/vm/precompiled/precompiled.hpp -o precompiled.hpp.gch 
> In file included from /«PKGBUILDDIR»/src/os_cpu/linux_x86/vm/atomic_linux_x86.inline.hpp:29:0,
>                  from /«PKGBUILDDIR»/src/share/vm/runtime/atomic.inline.hpp:32,
>                  from /«PKGBUILDDIR»/src/share/vm/memory/allocation.inline.hpp:28,
>                  from /«PKGBUILDDIR»/src/share/vm/utilities/array.hpp:29,
>                  from /«PKGBUILDDIR»/src/share/vm/memory/universe.hpp:29,
>                  from /«PKGBUILDDIR»/src/share/vm/code/oopRecorder.hpp:28,
>                  from /«PKGBUILDDIR»/src/share/vm/asm/codeBuffer.hpp:28,
>                  from /«PKGBUILDDIR»/src/share/vm/asm/assembler.hpp:28,
>                  from /«PKGBUILDDIR»/src/share/vm/precompiled/precompiled.hpp:29:
> /«PKGBUILDDIR»/src/share/vm/runtime/os.hpp:28:30: fatal error: jvmtifiles/jvmti.h: No such file or directory
>  #include "jvmtifiles/jvmti.h"
>                               ^
> compilation terminated.
> make[6]: *** [precompiled.hpp.gch] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2016/07/13/openjdk-8-jre-dcevm_8u74-1_unstable_gcc6.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the pkg-java-maintainers mailing list