Source: protobuf Version: 3.6.0.1-1 Severity: serious Justification: fails to build from source (but built successfully in the past)
Hi,
protobuf/experimental FTBFS with openjdk-10 as default jdk. I didn't
test the version in sid.
debian/rules override_dh_auto_build-indep
make[1]: Entering directory '/build/protobuf-3.6.0.1'
dh_auto_build --indep
make -j4
make[2]: Entering directory '/build/protobuf-3.6.0.1'
make all-recursive
make[3]: Entering directory '/build/protobuf-3.6.0.1'
Making all in .
make[4]: Entering directory '/build/protobuf-3.6.0.1'
make[4]: Leaving directory '/build/protobuf-3.6.0.1'
Making all in src
make[4]: Entering directory '/build/protobuf-3.6.0.1/src'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/build/protobuf-3.6.0.1/src'
make[3]: Leaving directory '/build/protobuf-3.6.0.1'
make[2]: Leaving directory '/build/protobuf-3.6.0.1'
# Java build.
ant -f debian/java-build.xml jar
Buildfile: /build/protobuf-3.6.0.1/debian/java-build.xml
generate:
[mkdir] Created dir:
/build/protobuf-3.6.0.1/java/core/target/generated-sources
[echo] src
compile:
[mkdir] Created dir: /build/protobuf-3.6.0.1/java/core/target/classes
[javac] Using javac -source 1.5 is no longer supported, switching to 7
[javac] Using javac -target 1.5 is no longer supported, switching to 7
[javac] Release attribute not specified, defaulting to the value of the
target attribute (7)
[javac] Compiling 79 source files to
/build/protobuf-3.6.0.1/java/core/target/classes
[javac] Ignoring source, target and bootclasspath as release has been set
[javac]
/build/protobuf-3.6.0.1/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:45:
error: package sun.misc does not exist
[javac] private static final sun.misc.Unsafe UNSAFE = getUnsafe();
[javac] ^
[javac]
/build/protobuf-3.6.0.1/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:292:
error: package sun.misc does not exist
[javac] static sun.misc.Unsafe getUnsafe() {
[javac] ^
[javac]
/build/protobuf-3.6.0.1/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:432:
error: package sun.misc does not exist
[javac] sun.misc.Unsafe unsafe;
[javac] ^
[javac]
/build/protobuf-3.6.0.1/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:434:
error: package sun.misc does not exist
[javac] MemoryAccessor(sun.misc.Unsafe unsafe) {
[javac] ^
[javac]
/build/protobuf-3.6.0.1/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:511:
error: package sun.misc does not exist
[javac] JvmMemoryAccessor(sun.misc.Unsafe unsafe) {
[javac] ^
[javac]
/build/protobuf-3.6.0.1/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:293:
error: package sun.misc does not exist
[javac] sun.misc.Unsafe unsafe = null;
[javac] ^
[javac]
/build/protobuf-3.6.0.1/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:297:
error: package sun.misc does not exist
[javac] new PrivilegedExceptionAction<sun.misc.Unsafe>() {
[javac] ^
[javac]
/build/protobuf-3.6.0.1/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:299:
error: package sun.misc does not exist
[javac] public sun.misc.Unsafe run() throws Exception {
[javac] ^
[javac]
/build/protobuf-3.6.0.1/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:300:
error: package sun.misc does not exist
[javac] Class<sun.misc.Unsafe> k = sun.misc.Unsafe.class;
[javac] ^
[javac]
/build/protobuf-3.6.0.1/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:300:
error: package sun.misc does not exist
[javac] Class<sun.misc.Unsafe> k = sun.misc.Unsafe.class;
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 10 errors
BUILD FAILED
/build/protobuf-3.6.0.1/debian/java-build.xml:27: Compile failed; see the
compiler error output for details.
Total time: 5 seconds
make[1]: *** [debian/rules:69: override_dh_auto_build-indep] Error 1
make[1]: Leaving directory '/build/protobuf-3.6.0.1'
make: *** [debian/rules:18: build] Error 2
Andreas
protobuf_3.6.0.1-1.log.gz
Description: application/gzip

