Bug#1011567: android-framework-23: FTBFS with OpenJDK 17 due to com.sun.javadoc removal

2022-12-20 Thread Petter Reinholdtsen
[Emmanuel Bourg]
> android-framework-23 fails to build with OpenJDK 17, Doclava no longer
> works due to the removal of the com.sun.javadoc API:

Is there any hope to have this fixed for bookworm?  This bug block the
Android SDK to entering testing.
-- 
Happy hacking
Petter Reinholdtsen



Bug#1011567: android-framework-23: FTBFS with OpenJDK 17 due to com.sun.javadoc removal

2022-05-24 Thread Emmanuel Bourg
Package: android-framework-23
Version: 6.0.1+r72-6
Severity: important
Tags: ftbfs sid bookworm
User: debian-j...@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 
'/<>/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 '/<>/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 
/<>/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.