Project

General

Profile

Actions

Dependencies » History » Revision 62

« Previous | Revision 62/63 (diff) | Next »
Björn Höfling, 08/20/2019 06:54 AM
Gradle/Scala: Add more information from a Guix/bootstrappable perspective


Dependencies

Stub

This page is a stub, feel free to improve it

Replicant 6.0

Dependency Working version Potentially compatible versions Debian 9 Guix PureOS Parabola Trisquel 7 Trisquel 8
Android SDK:
API Level 23 (Android 6)
* android-sdk(25.0.0)
* android-sdk-platform-23(6.0.1)
? OK Absent (NDK only) as October 2018) OK Absent as October 2018 ? * android-sdk(24.3.3)
* no android-sdk-platform-23 (why? needed?)
gcc * gcc(6.3.0) ? OK:gcc(6.3.0) OK: gcc 4-9, with gcc-5 the default OK:gcc-6(6.4.0) ? ? * gcc-5
* gcc-4.9
* gcc-4.8
* gcc-4.7
Java (jdk and jre) * openjdk-8-jdk
* openjdk-8-jre
7 OK:openjdk 8 OK: Icedtea 1-3 (=OpenJDK 6-7), OpenJDK 9-11 OK:openjdk 8 openjdk 7, 8, 10 7, 8 8, 9
i686 packages feed support * zlib1g-dev:i386 ? OK ? No 32bit packages ? ? ?
32bit libc * libc6-dev-i386
* libc6-i386
? OK OK: glibc defined in gnu/packages/base.scm OK ? ? ?
lib32 packages * lib32z1-dev
* lib32readline-dev
* lib32ncurses5-dev
? OK ? OK ? ? ?
? libemma-java ? OK ? missing package (why?) ? ? ?
? * libandroidsdk-ddmlib-java
* libandroidsdk-sdklib-java
? OK ? missing package (why?) ? ? ?
Status Working but not FSDG compliant No SDK (NDK only) Few missing packages No SDK, no NDK Based on Ubuntu 14.04 which can build AOSP 6 The toolchain builds with lots of hacks

AOSP 6.0

Dependency Version Providers
Java 7.0 Debian 9
GNU/Linux distribution Ubuntu 14.04 Trisquel 7.0

Distributions

Debian 9 packages versions

Debian 'build' dependencies:

Dependency Version
gcc
binutils
llvm-defaults
Debian dependencies:
Dependency Version
gcc-arm-none-eabi
cmake
python-dev
swig
ant
bc
proguard
maven-debian-helper
libemma-java
libasm4-java
libguava-java
libnb-platform18-java
libnb-org-openide-util-java
libandroidsdk-ddmlib-java
libmaven-source-plugin-java
libfreemarker-java
libmaven-javadoc-plugin-java
ca-cacert
curl
gawk
libgmp3-dev
libmpfr-dev
libmpc-dev
git-core
gperf
libncurses-dev
squashfs-tools
pngcrush
zip
zlib1g-dev
lzma
libc6-dev-i386
g++-multilib
lib32z1-dev
lib32readline-dev
lib32ncurses5-dev
zlib1g-dev:i386
xsltproc
python-mako
schedtool
gradle
dirmngr
libandroidsdk-sdklib-java
eclipse-jdt
libgradle-android-plugin-java
android-sdk-build-tools
android-sdk-platform-23
aapt
lzop

Gradle

TODO:
  • Does Gradle depends on gradle for being able to built Android1?
  • Does gradle or other dependencies really depends on scala?
  • if so where are the efforts to build scala without scala?

Answers from a Guix perspective:

  • Julien Lepiller is mainly working on bringing Gradle/Scala into Guix. In his Guix development project he writes that Gradle depends on Scala/SBT without mentioning the exact blocker.
  • Scala depends on Scala to bootstrap. If you go down the long bootstrap chain you will end up at Pizza. It is unsure if you can successfully bootstrap Scala from Pizza from Java.
  • Julien wrote this blog post (French) about the whole Android/Scala/Kotlin bootstrapping problem.
  • Scabo is The Scala Bootstrapping Project, Julien's attempt to bootstrap Scala from Java.
  • Scala 3.0 will be the new Dotty project, see also this blog post. I have not investigated if this project cleans up bootstrapping or will make it worse.

1 A debian build log of gradle "Merged Build-Depends: [...] gradle (>= 3.4)[...]"

References

Updated by Björn Höfling 30 days ago · 62 revisions