• kotlin package and dependencies

    From Federico Kircheis@21:1/5 to All on Sun May 18 12:20:01 2025
    Hello,

    I've asked the question to debian-user@lists.debian.org and got the
    suggestion to ask here.


    I'm using the kotlin package since I wanted to use the kotlinc compiler,
    and noticed that it lists following packages as dependencies

    * ant
    * libmaven-compiler-plugin-java
    * libmaven-plugin-tools-java
    * libmaven3-core-java


    I'm not using ant or maven, so this install (through transitive
    dependencies) over 300 MB of unnecessary data:

    ----
    Summary:
    Upgrading: 0, Installing: 76, Removing: 0, Not Upgrading: 959
    Download size: 69.8 MB
    Space needed: 324 MB
    ----


    If I force the installation without those packages, I get following summary:

    ----
    Summary:
    Upgrading: 0, Installing: 3, Removing: 0, Not Upgrading: 959
    Download size: 0 B / 6,380 B
    Space needed: 27.6 kB
    ----


    Since the kotlin compiler does not depend on
    libmaven-compiler-plugin-java libmaven-plugin-tools-java
    libmaven3-core-java ant, would it make sense to move those dependencies
    to recommended, or remove them altogether?

    The complete list of installed transitive dependencies is

    ant libcommons-parent-java libjsoup-java
    libmaven3-core-java libplexus-utils2-java
    libaopalliance-java libcommons-text-java libjsr305-java
    libplexus-ant-factory-java libplexus-velocity-java
    libapache-pom-java libdoxia-core-java libjtidy-java
    libplexus-archiver-java libplexus-xml-java
    libasm-java liberror-prone-java
    libjuniversalchardet-java libplexus-bsh-factory-java libqdox2-java
    libatinject-jsr330-api-java libgeronimo-annotation-1.3-spec-java libmaven-archiver-java libplexus-build-api-java
    libsisu-inject-java
    libbsh-java libgeronimo-interceptor-3.0-spec-java libmaven-compiler-plugin-java libplexus-cipher-java libsisu-plexus-java
    libcdi-api-java libguava-java
    libmaven-file-management-java libplexus-classworlds-java libslf4j-java
    libcommons-cli-java libguice-java libmaven-jar-plugin-java
    libplexus-compiler-java libsnappy-java
    libcommons-codec-java libhttpclient-java libmaven-parent-java
    libplexus-component-annotations-java libsnappy-jni
    libcommons-collections3-java libhttpcore-java
    libmaven-plugin-tools-java libplexus-container-default-java libtrove-intellij-java
    libcommons-compress-java libjansi-java
    libmaven-reporting-api-java libplexus-container-default1.5-java libvavr0-java
    libcommons-io-java libjetbrains-annotations-java libmaven-resolver-java libplexus-interpolation-java libwagon-provider-api-java
    libcommons-lang-java libjline3-java libmaven-shared-incremental-java libplexus-io-java libxbean-reflect-java
    libcommons-lang3-java libjna-java libmaven-shared-io-java
    libplexus-languages-java libxz-java
    libcommons-logging-java libjna-jni libmaven-shared-utils-java
    libplexus-sec-dispatcher-java velocity

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Julien_Plissonneau_Duqu=C@21:1/5 to All on Sun May 18 14:00:01 2025
    Hi Federico,

    Le 2025-05-18 12:00, Federico Kircheis a écrit :
    Since the kotlin compiler does not depend on
    libmaven-compiler-plugin-java libmaven-plugin-tools-java
    libmaven3-core-java ant, would it make sense to move those dependencies
    to recommended, or remove them altogether?

    Thank you for reporting this. Could you please file a bugreport against
    the kotlin source package? This won't be fixed for trixie release due to
    the freeze, but it could deserve a stable update. I will also need to double-check in the source code that the dependencies are not required
    for some features or libraries that are shipped together with the
    compiler.

    Cheers,

    --
    Julien Plissonneau Duquène

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Federico Kircheis@21:1/5 to All on Sun May 18 14:40:01 2025
    On 18/05/2025 1:57 pm, Julien Plissonneau Duquène wrote:
    Thank you for reporting this. Could you please file a bugreport against
    the kotlin source package? This won't be fixed for trixie release due to
    the freeze, but it could deserve a stable update. I will also need to double-check in the source code that the dependencies are not required
    for some features or libraries that are shipped together with the compiler.

    Cheers,


    Reported with bugreport.

    Since it is the first time I've used it, I hope the details are all correct.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Julien_Plissonneau_Duqu=C@21:1/5 to All on Sun May 18 21:50:02 2025
    Le 2025-05-18 14:19, Federico Kircheis a écrit :

    Since it is the first time I've used it, I hope the details are all
    correct.

    That looks good. Thank you!

    Cheers,

    --
    Julien Plissonneau Duquène

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)