Public bug reported:

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.

** Affects: android-framework-23 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: android-framework-23 (Debian)
     Importance: Unknown
         Status: Unknown

** Bug watch added: Debian Bug tracker #1011567
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1011567

** Also affects: android-framework-23 (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1011567
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2056085

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/android-framework-23/+bug/2056085/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to