Bug#750749: jruby: FTBFS with Java 8: package com.sun.mirror.apt does not exist

Emmanuel Bourg ebourg at apache.org
Fri Jun 6 14:00:56 UTC 2014


Source: jruby
Version: 1.5.6-7
Severity: important
User: debian-java at lists.debian.org
Usertags: openjdk-8-transition

Hi,

During a rebuild of all Java packages in sid with OpenJDK 8,
this package failed to build with the following error:


  compile-annotation-binder:
      [mkdir] Created dir: /«PKGBUILDDIR»/src_gen
      [javac] /«PKGBUILDDIR»/build.xml:201: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
      [javac] Compiling 6 source files to /«PKGBUILDDIR»/build/classes/jruby
      [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
      [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
      [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
      [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
      [javac] /«PKGBUILDDIR»/src/org/jruby/anno/AnnotationBinder.java:3: error: package com.sun.mirror.apt does not exist
      [javac] import com.sun.mirror.apt.*;
      [javac] ^
      [javac] /«PKGBUILDDIR»/src/org/jruby/anno/AnnotationBinder.java:4: error: package com.sun.mirror.declaration does not exist
      [javac] import com.sun.mirror.declaration.*;
      [javac] ^
      [javac] /«PKGBUILDDIR»/src/org/jruby/anno/AnnotationBinder.java:5: error: package com.sun.mirror.type does not exist
      [javac] import com.sun.mirror.type.ReferenceType;
      [javac]                           ^
      [javac] /«PKGBUILDDIR»/src/org/jruby/anno/AnnotationBinder.java:6: error: package com.sun.mirror.util does not exist
      [javac] import com.sun.mirror.util.*;
      [javac] ^
      [javac] /«PKGBUILDDIR»/src/org/jruby/anno/AnnotationBinder.java:25: error: package com.sun.mirror.util does not exist
      [javac] import static com.sun.mirror.util.DeclarationVisitors.*;
      [javac]                                  ^

 
The full build log is available from:
    http://87.98.165.193/debian/openjdk8-rebuild/logs-failed-jdk8/jruby_1.5.6-7_unstable_jdk8.log

OpenJDK 8 packages are available for testing here:
    http://87.98.165.193/debian/openjdk-8u5-b13/



More information about the pkg-java-maintainers mailing list