advice on android-framework-23
- To: "debian-java@lists.debian.org" <debian-java@lists.debian.org>
- Cc: Chirayu Desai <chirayudesai1@gmail.com>, 殷啟聰 <seamlikok@gmail.com>, Android tools Maintainer <android-tools-devel@lists.alioth.debian.org>
- Subject: advice on android-framework-23
- From: Hans-Christoph Steiner <hans@eds.org>
- Date: Sun, 27 Jan 2019 11:38:02 +0100
- Message-id: <[🔎] 6e04778f-18fa-fdfe-2707-9f726bece7cb@eds.org>
Hey Java Team! We're trying to get some version of the android-framework-2x into buster, and it is a struggle. Since y'all have helped with this package before, and know lots about packaging Java, I'm asking for some advice. seamlik, cdesai, and I are stumped. I did apply some upstream patches to fix some Java9 code issues, but that's not enough. android-framework-23 doesn't work with Java 9+, but will build with Java 8. But that would make it the only package in buster that needs java8. So no go. Building with default-jdk runs into this new Java "module" feature, which I have no idea about. It seems that there needs to be some custom config for javac now in order to compile Java base classes. Some example errors: /export/share/code/android-tools-team/android-framework-23/debian/out/android/build/stubs/javax/crypto/Cipher.java:1: error: package exists in another module: java.base package javax.crypto; ^ /export/share/code/android-tools-team/android-framework-23/debian/out/android/build/stubs/javax/xml/transform/TransformerException.java:1: error: package exists in another module: java.xml Here are some full build logs: https://salsa.debian.org/android-tools-team/android-framework-23/-/jobs/114477 https://salsa.debian.org/android-tools-team/android-framework-23/-/jobs/114476 .hc
Reply to:
- Follow-Ups:
- Re: advice on android-framework-23
- From: Thorsten Glaser <t.glaser@tarent.de>
- Re: advice on android-framework-23
- Prev by Date: Re: How to replace javax.xml.bind in milib
- Next by Date: Re: advice on android-framework-23
- Previous by thread: Re: How to replace javax.xml.bind in milib
- Next by thread: Re: advice on android-framework-23
- Index(es):