[Android-tools-devel] Bug#1011567: android-framework-23: FTBFS with OpenJDK 17 due to com.sun.javadoc removal

Emmanuel Bourg ebourg at apache.org
Tue May 24 23:31:44 BST 2022


Package: android-framework-23
Version: 6.0.1+r72-6
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17


android-framework-23 fails to build with OpenJDK 17, Doclava no longer
works due to the removal of the com.sun.javadoc API:


  :android:stubs
  Putting task artifact state for task ':android:stubs' into context took 0.013 secs.
  :uiautomator:processResources (Thread[Task worker for ':' Thread 2,5,main]) started.
  :uiautomator:processResources
  Putting task artifact state for task ':uiautomator:processResources' into context took 0.0 secs.
  Up-to-date check for task ':android:stubs' took 0.004 secs. It is not up-to-date because:
    No history is available.
  file or directory '/<<PKGBUILDDIR>>/debian/out/uiautomator/src/main/resources', not found
  Skipping task ':uiautomator:processResources' as it has no source files and no previous output files.
  :uiautomator:processResources NO-SOURCE
  :uiautomator:processResources (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.011 secs.
  :uiautomator:debianMavenPom (Thread[Task worker for ':' Thread 2,5,main]) started.
  :uiautomator:debianMavenPom
  Putting task artifact state for task ':uiautomator:debianMavenPom' into context took 0.0 secs.
  file or directory '/<<PKGBUILDDIR>>/debian/out/android/src/forStubs/java', not found
  Up-to-date check for task ':uiautomator:debianMavenPom' took 0.001 secs. It is not up-to-date because:
    No history is available.
          Generating pom file /<<PKGBUILDDIR>>/debian/out/uiautomator/build/debian/uiautomator.pom
  :uiautomator:debianMavenPom (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.104 secs.
          Loading the Maven rules...
          Passing through com.google.doclava:doclava:jar:debian
          Passing through com.google.guava:guava:jar:debian
          Passing through com.google.guava:guava-parent:jar:debian
          Passing through com.google.jsilver:jsilver:jar:debian
          Passing through org.antlr:antlr-runtime:jar:3.x
          Passing through org.antlr:antlr-master:jar:3.x
          Passing through org.ccil.cowan.tagsoup:tagsoup:jar:debian
          Passing through org.jsr-305:jsr305:jar:0.x
  Error: Unable to initialize main class com.google.doclava.Doclava
  Caused by: java.lang.NoClassDefFoundError: com/sun/javadoc/Doc
  :android:stubs FAILED
  :android:stubs (Thread[Task worker for ':',5,main]) completed. Took 0.478 secs.
  
  FAILURE: Build failed with an exception.



More information about the Android-tools-devel mailing list